mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-10-26 01:34:51 +08:00
Qianwen / Bailian Token Plan Anthropic endpoints (e.g. https://token-plan.cn-beijing.maas.aliyuncs.com/apps/anthropic) return 404 for /v1/models and /models; the model list is only served under the OpenAI-compatible path {root}/compatible-mode/v1/models. Append it as the last candidate when the base URL ends with /apps/anthropic. Co-authored-by: Claude Code <noreply@anthropic.com>