Skip to content

Commit cb45be4

Browse files
author
1bcMax
committed
feat: add model fallback on provider errors (v0.4.0)
- Add fallback chain execution when primary model fails with provider error - Detect billing errors, rate limits, model unavailable, and server errors - Try up to 3 models from tier's fallback chain before returning error - Add skipBalanceCheck option for testing - Add fallback.ts test suite (16 tests) - Add getProxyPort() and checkExistingProxy() helpers
1 parent 4534205 commit cb45be4

3 files changed

Lines changed: 552 additions & 29 deletions

File tree

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.3.41",
3+
"version": "0.4.0",
44
"description": "Smart LLM router — save 78% on inference costs. 30+ models, one wallet, x402 micropayments.",
55
"type": "module",
66
"main": "dist/index.js",

0 commit comments

Comments
 (0)