Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSEFormatException: Invalid sse format! (blank) #91

Open
OvercookedBeef opened this issue Feb 25, 2025 · 1 comment
Open

SSEFormatException: Invalid sse format! (blank) #91

OvercookedBeef opened this issue Feb 25, 2025 · 1 comment

Comments

@OvercookedBeef
Copy link

Thanks for updating the library with the fix. I'm getting a new semi-related error now:

java.lang.RuntimeException: com.theokanning.openai.service.SSEFormatException: Invalid sse format! 
	at io.reactivex.internal.util.ExceptionHelper.wrapOrThrow(ExceptionHelper.java:46)
	at io.reactivex.internal.operators.flowable.BlockingFlowableIterable$BlockingFlowableIterator.hasNext(BlockingFlowableIterable.java:90)
	at io.reactivex.Flowable.blockingForEach(Flowable.java:5773)
	at net.minecraft.class_359$Anonymous$e1a0684f18b1420caab222875cbec555.run(ChatScreenMixin.java:113)
	at java.lang.Thread.run(Thread.java:750)
Caused by: com.theokanning.openai.service.SSEFormatException: Invalid sse format! 
	at com.theokanning.openai.service.ResponseBodyCallback.onResponse(ResponseBodyCallback.java:83)
	at retrofit2.OkHttpCall$1.onResponse(OkHttpCall.java:164)
	at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:519)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	... 1 more
@Lambdua
Copy link
Owner

Lambdua commented Feb 26, 2025

Please provide specific data or a reproduction of the code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants