Skip to content

Commit cc075a5

Browse files
author
1bcMax
committed
fix: add auto-router and router aliases for auto routing profile
1 parent e08c9cc commit cc075a5

3 files changed

Lines changed: 7 additions & 3 deletions

File tree

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@blockrun/clawrouter",
3-
"version": "0.9.29",
3+
"version": "0.9.30",
44
"description": "Smart LLM router — save 78% on inference costs. 30+ models, one wallet, x402 micropayments.",
55
"type": "module",
66
"main": "dist/index.js",

src/models.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,10 @@ export const MODEL_ALIASES: Record<string, string> = {
6868
// MiniMax
6969
minimax: "minimax/minimax-m2.5",
7070

71+
// Routing profile aliases (common variations)
72+
"auto-router": "auto",
73+
router: "auto",
74+
7175
// Note: auto, free, eco, premium are virtual routing profiles registered in BLOCKRUN_MODELS
7276
// They don't need aliases since they're already top-level model IDs
7377
};

0 commit comments

Comments
 (0)