feat: dynamic OpenRouter model selection with search (#482, #337)

This commit is contained in:
Yijia-Xiao
2026-04-04 07:56:44 +00:00
parent bdb9c29d44
commit 4f965bf46a
2 changed files with 48 additions and 10 deletions
+2 -10
View File
@@ -63,16 +63,8 @@ MODEL_OPTIONS: ProviderModeOptions = {
("Grok 4.1 Fast (Non-Reasoning) - Speed optimized, 2M ctx", "grok-4-1-fast-non-reasoning"),
],
},
"openrouter": {
"quick": [
("NVIDIA Nemotron 3 Nano 30B (free)", "nvidia/nemotron-3-nano-30b-a3b:free"),
("Z.AI GLM 4.5 Air (free)", "z-ai/glm-4.5-air:free"),
],
"deep": [
("Z.AI GLM 4.5 Air (free)", "z-ai/glm-4.5-air:free"),
("NVIDIA Nemotron 3 Nano 30B (free)", "nvidia/nemotron-3-nano-30b-a3b:free"),
],
},
# OpenRouter models are fetched dynamically at CLI runtime.
# No static entries needed; any model ID is accepted by the validator.
"ollama": {
"quick": [
("Qwen3:latest (8B, local)", "qwen3:latest"),