Skip to content

Commit 4bdad9a

Browse files
authored
Merge pull request #476 from ElcanoTek/bradflaugher-patch-1
Simplify OpenRouter configuration by removing models
2 parents 6bab5ec + 4b7ff98 commit 4bdad9a

File tree

2 files changed

+3
-40
lines changed

2 files changed

+3
-40
lines changed

configs/crush/crush.local.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"models": {
3-
"large": {"model":"openai/gpt-5","provider":"openrouter","reasoning_effort":"medium","max_tokens":32768},
4-
"small": {"model":"x-ai/grok-code-fast-1","provider":"openrouter","reasoning_effort":"medium","max_tokens":5000}
3+
"large": {"model":"google/gemini-3-pro-preview","provider":"openrouter","reasoning_effort":"medium","max_tokens":32768},
4+
"small": {"model":"x-ai/grok-4.1-fast","provider":"openrouter","reasoning_effort":"medium","max_tokens":5000}
55
}
66
}

configs/crush/crush.template.json

Lines changed: 1 addition & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -14,44 +14,7 @@
1414
"type": "openai",
1515
"base_url": "https://openrouter.ai/api/v1",
1616
"api_key": "${OPENROUTER_API_KEY}",
17-
"name": "OpenRouter",
18-
"models": [
19-
{
20-
"id": "openai/gpt-5",
21-
"name": "ChatGPT 5",
22-
"context_window": 256000,
23-
"default_max_tokens": 4096,
24-
"supports_tools": true
25-
},
26-
{
27-
"id": "openai/gpt-5-mini",
28-
"name": "ChatGPT 5 Mini",
29-
"context_window": 128000,
30-
"default_max_tokens": 2048,
31-
"supports_tools": true
32-
},
33-
{
34-
"id": "xai/grok-code-fast-1",
35-
"name": "xAI Grok Code Fast 1",
36-
"context_window": 131072,
37-
"default_max_tokens": 4096,
38-
"supports_tools": true
39-
},
40-
{
41-
"id": "google/gemini-2.5-pro",
42-
"name": "Google Gemini 2.5 Pro",
43-
"context_window": 1000000,
44-
"default_max_tokens": 4096,
45-
"supports_tools": true
46-
},
47-
{
48-
"id": "google/gemini-2.5-flash",
49-
"name": "Google Gemini 2.5 Flash",
50-
"context_window": 128000,
51-
"default_max_tokens": 4096,
52-
"supports_tools": true
53-
}
54-
]
17+
"name": "OpenRouter"
5518
},
5619
"lmstudio": {
5720
"type": "openai",

0 commit comments

Comments
 (0)