Files
grok2api/app/dataplane/reverse/protocol
piexian e372d444a6 fix: 优化账号封禁与反馈链路
- classifier: 403 无凭证标记时回退为 FORBIDDEN 而非 AUTH_FAILURE
- refresh: record_failure_async 403 改走状态机打击计数, 不再直接 DISABLED
- state_machine: COOLING 恢复 ACTIVE 时清除 forbidden_strikes 残留
- feedback: 新增 SERVER_ERROR 健康度退化因子 (×0.75)
- executor: TRANSPORT_ERR/UNKNOWN 映射到 SERVER_ERROR, 不再静默忽略
- xai_usage: 扩展无效凭证检测模式 (session not found/account suspended/token revoked/expired)
- invalid_credentials: 优先检查 body 标记, 再按状态码分类
2026-04-11 20:18:02 +08:00
..