@wy51ai/clawzenmux 0.1.3 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -147,20 +147,16 @@ USE COMPLEX 设计一个分布式消息队列的架构
147
147
  "routing": {
148
148
  "tiers": {
149
149
  "SIMPLE": {
150
- "primary": "deepseek/deepseek-chat",
151
- "fallback": ["google/gemini-2.5-flash"]
150
+ "primary": "deepseek/deepseek-chat"
152
151
  },
153
152
  "MEDIUM": {
154
- "primary": "google/gemini-3-flash-preview",
155
- "fallback": ["deepseek/deepseek-chat"]
153
+ "primary": "google/gemini-3-flash-preview"
156
154
  },
157
155
  "COMPLEX": {
158
- "primary": "anthropic/claude-sonnet-4.5",
159
- "fallback": ["anthropic/claude-sonnet-4", "openai/gpt-4o"]
156
+ "primary": "anthropic/claude-sonnet-4.5"
160
157
  },
161
158
  "REASONING": {
162
- "primary": "deepseek/deepseek-reasoner",
163
- "fallback": ["openai/gpt-5.2"]
159
+ "primary": "deepseek/deepseek-reasoner"
164
160
  }
165
161
  }
166
162
  }
@@ -177,7 +173,6 @@ USE COMPLEX 设计一个分布式消息队列的架构
177
173
  |------|------|--------|------|
178
174
  | `apiKey` | string | — | ZenMux API Key,也可用环境变量 `ZENMUX_API_KEY` |
179
175
  | `routing.tiers.{TIER}.primary` | string | 见上表 | 该层级的首选模型 |
180
- | `routing.tiers.{TIER}.fallback` | string[] | 见上表 | 首选不可用时的备选模型 |
181
176
 
182
177
  ## 动态模型同步
183
178
 
@@ -20,29 +20,25 @@
20
20
  "SIMPLE": {
21
21
  "type": "object",
22
22
  "properties": {
23
- "primary": { "type": "string", "description": "Model ID for simple tasks (e.g. deepseek/deepseek-chat)" },
24
- "fallback": { "type": "array", "items": { "type": "string" }, "description": "Fallback models" }
23
+ "primary": { "type": "string", "description": "Model ID for simple tasks (e.g. deepseek/deepseek-chat)" }
25
24
  }
26
25
  },
27
26
  "MEDIUM": {
28
27
  "type": "object",
29
28
  "properties": {
30
- "primary": { "type": "string", "description": "Model ID for medium tasks" },
31
- "fallback": { "type": "array", "items": { "type": "string" } }
29
+ "primary": { "type": "string", "description": "Model ID for medium tasks" }
32
30
  }
33
31
  },
34
32
  "COMPLEX": {
35
33
  "type": "object",
36
34
  "properties": {
37
- "primary": { "type": "string", "description": "Model ID for complex tasks" },
38
- "fallback": { "type": "array", "items": { "type": "string" } }
35
+ "primary": { "type": "string", "description": "Model ID for complex tasks" }
39
36
  }
40
37
  },
41
38
  "REASONING": {
42
39
  "type": "object",
43
40
  "properties": {
44
- "primary": { "type": "string", "description": "Model ID for reasoning tasks" },
45
- "fallback": { "type": "array", "items": { "type": "string" } }
41
+ "primary": { "type": "string", "description": "Model ID for reasoning tasks" }
46
42
  }
47
43
  }
48
44
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wy51ai/clawzenmux",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "Smart LLM router via ZenMux — 90+ models, intelligent routing, token cost savings.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",