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

更新依赖包go-gpt3的版本,解决超时参数不生效的问题 #2

Merged
merged 1 commit into from
Feb 10, 2023

Conversation

eryajf
Copy link
Contributor

@eryajf eryajf commented Feb 10, 2023

原来版本中go-gpt3包请求时写死了超时时间,参见:https://github.com/sashabaranov/go-gpt3/blob/0f9f4aa343ade4ff673cece6ae9240a239afbcf8/api.go#L14

导致此仓库的超时参数不生效,新版本已去掉了这个参数,见:sashabaranov/go-openai@cf013d3?diff=split

因此升级了依赖版本。

@solywsh solywsh merged commit 5099e01 into solywsh:main Feb 10, 2023
@solywsh
Copy link
Owner

solywsh commented Feb 10, 2023

感谢提醒,仓库已经更新,不过openai官方最近在测试chatgpt版本的api接口,gpt3确实无法达到chatgpt模型的效果,请随时关注

@eryajf
Copy link
Contributor Author

eryajf commented Feb 10, 2023

gpt3确实无法达到chatgpt模型的效果

的确如此,期待新的进展

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

Successfully merging this pull request may close these issues.

None yet

2 participants