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

openai库版本是否有要求 #1556

Open
5 tasks done
chenhengzh opened this issue Jun 25, 2024 · 2 comments
Open
5 tasks done

openai库版本是否有要求 #1556

chenhengzh opened this issue Jun 25, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@chenhengzh
Copy link

例行检查

  • 我已确认目前没有类似 issue
  • 我已确认我已升级到最新版本
  • 我已完整查看过项目 README,尤其是常见问题部分
  • 我理解并愿意跟进此 issue,协助测试和提供反馈
  • 我理解并认可上述内容,并理解项目维护者精力有限,不遵循规则的 issue 可能会被无视或直接关闭

问题描述
已部署好oneapi,并且可正常调用。但在部分需要使用旧版本openai库(例如0.28)的项目中调用oneapi时会报错

'Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'

猜测是oneapi对openai库的版本有要求

复现步骤
安装0.28版本openai库,并用 response = openai.ChatCompletion.create(**{"messages": messages,**raw_request})

预期结果
'Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'

我的问题

请问oneapi是否对openai库的版本有要求,如果有,支持哪些版本?

@chenhengzh chenhengzh added the bug Something isn't working label Jun 25, 2024
@igophper
Copy link
Collaborator

这个看起来像是网络问题

@chenhengzh
Copy link
Author

但是新版本库可以正常访问

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants