马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?立即注册
×
题意:“我在 C# OpenAI 库中碰到 HttpClient.Timeout 错误。”
题目配景:
I am using the OpenAI library in my c# project, but I get the following error if it does not receive a response for more than 100 seconds. I cannot add a custom httpclient element. how can I solve this problem. Thanks in advance.
“我在 C# 项目中使用 OpenAI 库,但假如高出 100 秒未收到相应,我就会碰到以下错误。我无法添加自界说的 HttpClient 元素。怎样办理这个题目?提前感谢。”
‘system Threading Tasks.TaskCanceledException: The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing,‘
“‘体系抛出 Threading.Tasks.TaskCanceledException:哀求由于设置的 100 秒 HttpClient 超时而被取消,’”
The library I use:
|