家人们,你们的 api 会爆 429 错误吗

351 天前
 Tdy95
{ "error": { "message": "That model is currently overloaded with other requests. You can retry your request, or contact us through our help center at help.openai.com if the error persists. (Please include the request ID c0f94d632679c099b596f304a0303739 in your message.)", "type": "server_error", "param": null, "code": null } }

请求的频率确定没有超过上限,重新再请求一次就会正确返回内容。3.5 和 4.0 都会这样。

最近两天才开始频繁的报错。

请求接口的方式是使用一台 azure 服务器做 openai 接口流量代理转发。

803 次点击
所在节点    OpenAI
3 条回复
xabcstack
351 天前
一样,有很多, 今天特别多,不知何故
xabcstack
351 天前
是官方服务器本身问题
Tdy95
344 天前
我加了一个超时重试功能,完美解决问题。
具体逻辑是接口超过 3S 没回复内容就重发请求。

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/940790

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX