You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
会话路由可靠性修复
自动逃离故障后端 (#123):v1.10.2 起 OpenCode Go 按会话亲和路由分发请求,当某个会话被分配到故障后端时,重试始终打到同一台坏机器,导致该对话永久失败(相同报错反复出现,换开场白才能恢复)。现在扩展会识别上游提供方错误(HTTP 400 api_error/上游请求失败/响应非 JSON,及 5xx),自动轮换会话 ID 并立即重试一次——换会话 ID 即换路由后端;轮换结果持久化,后续轮次自动留在健康后端。鉴权失败(401)、限流(429)与内容审核拒绝不参与轮换,维持原有处理。