-
Notifications
You must be signed in to change notification settings - Fork 36
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
[Bug]仓库中引用的 openai 库,在某些模型服务中会导致 SSE 返回异常 #98
Comments
官方sdk还在alpha版本,切换成本可能会出乎意料的高,所以我们暂时没有切换到官方sdk,等官方sdk稳定后我们会尽快切换。 |
|
暂时只能这样了😂,顺便问下你是已经确认了官方sdk里没有这个问题嘛 |
|
同步下进展,最近开始尝试切换到openai官方sdk,但是测试中发现有个bug(https://github.com/openai/openai-go/issues/239),等解决后再切。。 |
先说结论
libs/acl/openai
中的openai api
使用库从sashabaranov/go-openai
为openai
官方的sdk
原因
sashabaranov/go-openai
没有妥善处理SSE
返回data
的两种情况data:
和data:
(The text was updated successfully, but these errors were encountered: