We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
能支持下http的超时时间配置不,有时候到等比较久gpt的回答。
The text was updated successfully, but these errors were encountered:
看了代码发现用的是go底层标准库,也没有限制客户端超时时间。但是系统上的tcp fin时间我也从默认60调整成300了。但是就是不生效。依然是一分钟客户端自己报超时。
Sorry, something went wrong.
在openai包的底层fetch包这里,应该是这个配置限制的。希望能在环境变量里调整这个参数。尽量久地等待gpt回复,而非自己客户端超时退出。
@SuperLight-007 非常感谢,这个问题之前没太注意,确实是个问题
Successfully merging a pull request may close this issue.
能支持下http的超时时间配置不,有时候到等比较久gpt的回答。
The text was updated successfully, but these errors were encountered: