chore(crush): switch to openai-compat endpoint

Amolith created

Change summary

dot_config/crush/crush.json | 54 +++++++++++++++++++++++---------------
1 file changed, 33 insertions(+), 21 deletions(-)

Detailed changes

dot_config/crush/crush.json 🔗

@@ -17,8 +17,8 @@
 	"providers": {
 		"axonhub": {
 			"name": "AxonHub",
-			"type": "anthropic",
-			"base_url": "http://100.108.156.33:8090/anthropic",
+			"type": "openai-compat",
+			"base_url": "http://100.108.156.33:8090/v1",
 			"api_key": "$(op read 'op://Private/tgnktfktlvqikye426a7mhbvo4/crush')",
 			"models": [
 				{
@@ -27,6 +27,18 @@
 					"context_window": 200000,
 					"default_max_tokens": 50000,
 					"can_reason": true,
+					"reasoning_levels": ["low", "medium", "high"],
+					"default_reasoning_effort": "high",
+					"supports_attachments": true
+				},
+				{
+					"id": "kimi-k2.5h",
+					"name": "Kimi K2.5",
+					"context_window": 262144,
+					"default_max_tokens": 32768,
+					"can_reason": true,
+					"reasoning_levels": ["low", "medium", "high"],
+					"default_reasoning_effort": "high",
 					"supports_attachments": true
 				},
 				{
@@ -35,6 +47,8 @@
 					"context_window": 400000,
 					"default_max_tokens": 50000,
 					"can_reason": true,
+					"reasoning_levels": ["low", "medium", "high"],
+					"default_reasoning_effort": "high",
 					"supports_attachments": true
 				},
 				{
@@ -43,23 +57,18 @@
 					"context_window": 400000,
 					"default_max_tokens": 50000,
 					"can_reason": true,
+					"reasoning_levels": ["low", "medium", "high"],
+					"default_reasoning_effort": "high",
 					"supports_attachments": true
 				},
-				{
-					"id": "kimi-k2.5",
-					"name": "Kimi K2.5",
-					"context_window": 262144,
-					"default_max_tokens": 32768,
-					"can_reason": true,
-					"supports_attachments": true,
-					"options": {}
-				},
 				{
 					"id": "glm-4.7",
 					"name": "GLM 4.7",
 					"context_window": 202752,
 					"default_max_tokens": 20275,
 					"can_reason": true,
+					"reasoning_levels": ["low", "medium", "high"],
+					"default_reasoning_effort": "high",
 					"supports_attachments": false
 				},
 				{
@@ -68,8 +77,9 @@
 					"context_window": 262144,
 					"default_max_tokens": 32768,
 					"can_reason": true,
-					"supports_attachments": false,
-					"options": {}
+					"reasoning_levels": ["low", "medium", "high"],
+					"default_reasoning_effort": "high",
+					"supports_attachments": false
 				},
 				{
 					"id": "deepseek-v3.2",
@@ -77,8 +87,9 @@
 					"context_window": 162816,
 					"default_max_tokens": 16281,
 					"can_reason": true,
-					"supports_attachments": false,
-					"options": {}
+					"reasoning_levels": ["low", "medium", "high"],
+					"default_reasoning_effort": "high",
+					"supports_attachments": false
 				},
 				{
 					"id": "minimax-m2.1",
@@ -86,8 +97,9 @@
 					"context_window": 196608,
 					"default_max_tokens": 19660,
 					"can_reason": true,
-					"supports_attachments": false,
-					"options": {}
+					"reasoning_levels": ["low", "medium", "high"],
+					"default_reasoning_effort": "high",
+					"supports_attachments": false
 				},
 				{
 					"id": "gpt-oss-120b",
@@ -95,8 +107,9 @@
 					"context_window": 131072,
 					"default_max_tokens": 13107,
 					"can_reason": true,
-					"supports_attachments": true,
-					"options": {}
+					"reasoning_levels": ["low", "medium", "high"],
+					"default_reasoning_effort": "high",
+					"supports_attachments": true
 				},
 				{
 					"id": "qwen3-vl-235b-a22b-instruct",
@@ -104,8 +117,7 @@
 					"context_window": 256000,
 					"default_max_tokens": 25600,
 					"can_reason": false,
-					"supports_attachments": true,
-					"options": {}
+					"supports_attachments": true
 				}
 			]
 		}