mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-11-20 07:52:52 +08:00
0d69dd062d
Parse inline Copilot link config through one CopilotLinkConfig parser that understands both the native providers.json shape and the legacy env shape. A URL apiKey overrides any inline credential, otherwise bearerToken is preferred. The model from the URL becomes the first card model and the remaining inline model IDs are kept. The import dialog preview mirrors the effective credential type and ordered model IDs.