Closed zhouhesheng closed 1 year ago
1.0.8正常 升级到1.0.9出错。
在本项目中可以重现: 设置 apikey 运行 test application
调用 curl http://127.0.0.1:6060/chat/sse\?message\=what%20is%20python 出错信息如下:
2023-07-04 14:27:36.873 ERROR 50758 --- [.openai.com/...] c.l.c.sse.AbstractEventSourceListener : Execute onFailure method, response: Response{protocol=http/1.1, code=200, message=OK, url=https://api.openai.com/v1/chat/completions}, error: closed Exception in thread "OkHttp Dispatcher" com.lzhpo.chatgpt.exception.OpenAiException: closed at com.lzhpo.chatgpt.sse.AbstractEventSourceListener.onFailure(AbstractEventSourceListener.java:55)
已修复,新版本已发布,请使用1.1.0版本。
1.0.8正常 升级到1.0.9出错。
在本项目中可以重现: 设置 apikey 运行 test application
调用 curl http://127.0.0.1:6060/chat/sse\?message\=what%20is%20python
出错信息如下:
2023-07-04 14:27:36.873 ERROR 50758 --- [.openai.com/...] c.l.c.sse.AbstractEventSourceListener : Execute onFailure method, response: Response{protocol=http/1.1, code=200, message=OK, url=https://api.openai.com/v1/chat/completions}, error: closed Exception in thread "OkHttp Dispatcher" com.lzhpo.chatgpt.exception.OpenAiException: closed at com.lzhpo.chatgpt.sse.AbstractEventSourceListener.onFailure(AbstractEventSourceListener.java:55)