mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-07-29 18:05:37 +08:00
30409878bd
Add three fallback endpoints alongside the primary www.packyapi.ai across the five preset files that support endpointCandidates: https://cf.api.fan https://slb-v1.api.fan https://www.packyapi.com The /v1 suffix follows each file's existing convention rather than the literal values supplied: bare domains for the Anthropic-native presets (Claude Code, Claude Desktop, Gemini), /v1 for Codex and Grok Build. Candidates are consumed as complete base URLs by the endpoint picker and the speed test, so they must sit at the same path level as the primary. www.packyapi.com is the pre-b0482320 domain, kept here deliberately as a fallback -- not a leftover of that migration. OpenCode, OpenClaw and Hermes have no endpointCandidates field in their interfaces and are untouched.