sub2api icon indicating copy to clipboard operation
sub2api copied to clipboard

升级0.1.160后总是出Selected model is at capacity. Please try a different model.「已解决」

Open bingfenghd opened this issue 4 months ago • 2 comments

升级0.1.160后Selected model is at capacity. Please try a different model.

bingfenghd avatar Jul 17 '26 16:07 bingfenghd

OpenAI 返回了同类新文案: Our servers are currently overloaded. Please try again later. 它同时被标记为 invalid_request_error,旧逻辑因此直接把 response.failed 发给客户端,没有进入切号流程。现在明确识别服务器过载文案,在首个有效输出前转为 failover,自动切换同模型账号。 OpenAI 先对 gpt-5.6-sol 返回真实过载。 网关本应自动切换账号重试。 但 10 秒 SSE 心跳被误认为“已输出正文”,第 12.6 秒收到过载时禁止切号,错误便直接透传. 修复并上线: 心跳不再算作正文输出。 response.created 等前导事件在成功前保持缓冲。 容量不足和 overloaded 即使标记为 invalid_request_error,也会进入切号流程。 真正输出 token 后仍禁止重放,避免重复回答和重复计费。

修正后彻底解决了 没有再出了

bingfenghd avatar Jul 18 '26 03:07 bingfenghd

0.1.165还是有这个问题,要怎么解决呢

rookieOfIT avatar Jul 27 '26 14:07 rookieOfIT