mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-12-05 16:07:33 +00:00
#7618 新增的 Command Code(按模型分流)与 Cline(仅 Chat Completions)不满足池逻辑 「adaptive 多协议账号具备 Anthropic 原生端点」的前提:Cline 被 servable 门静默排除, Command Code 走 generic Anthropic 原生链绕过 protocol_rules(GPT 模型被发到 /messages)。 新增 Account.RequiresOpenAIProtocolChain:adaptive 且按模型分流或没有 Anthropic 原生 端点的多协议账号由 OpenAI 网关链(resolveUpstreamProtocol)转发;此类账号可入池但 不由 generic count_tokens 计数。国产厂商与 Ollama Cloud 行为不变。