- model-registry: export PROXY_FAMILY_PRIORITY and GLOBAL_PROVIDER_FALLBACK constants; add getModelsForProxy() returning candidates ordered by family priority then global fallback (opencode → opencode-go → openrouter → ollama-cloud); add getModel() convenience wrapper - proxy-server: add priorityOverrides option; handleChat iterates all candidates in priority order and falls through to the next on 429 - settings-manager: add ProxySettings type with providerPriority override map; add getProxyProviderPriority() / setProxyFamilyProvider() accessors - settings-selector: add ProxyPrioritySubmenu — a two-level TUI submenu (family → provider) that dynamically generates entries from PROXY_FAMILY_PRIORITY; wired in interactive-mode with full callback Family defaults: MiniMax→minimax, GLM→zai, Kimi→kimi-coding, MiMo→global-fallback, Gemini/Gemma→google-gemini-cli, Claude→anthropic, GPT/o-series→openai https://claude.ai/code/session_013BwmqG3NuwwZY3vsUb4Y9Y Co-authored-by: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| cli | ||
| core | ||
| modes | ||
| resources/extensions/memory | ||
| tests | ||
| types | ||
| utils | ||
| cli.ts | ||
| config.ts | ||
| index.ts | ||
| main.ts | ||
| migrations.ts | ||