mirror of
https://github.com/router-for-me/CLIProxyAPI.git
synced 2026-11-26 20:03:32 +08:00
Resolve Copilot routes from Home-provided model info when Home is enabled, allowing models absent from the local catalog to execute, stream, and count tokens. Attach resolved info before after-auth interception and skip the local catalog refresh in Home mode. Expose Copilot device-login completion and model discovery through the SDK. Fix Codex token counting for string inputs, string message content, and role-only messages.