@blockrun/clawrouter 0.12.309 → 0.12.311
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/dist/cli.js +2251 -2180
- package/dist/index.js +3439 -3368
- package/dist/router/index.js +2612 -2572
- package/docs/features.md +3 -1
- package/package.json +2 -2
package/docs/features.md
CHANGED
|
@@ -46,8 +46,10 @@ The cache key is a SHA-256 hash of the request body (model + messages + params),
|
|
|
46
46
|
|
|
47
47
|
**Bypass cache:**
|
|
48
48
|
|
|
49
|
+
Either way, the request is neither answered from the cache nor stored in it. The separate 30-second dedup cache still applies, so an identical retry inside that window can replay the response.
|
|
50
|
+
|
|
49
51
|
```typescript
|
|
50
|
-
// Via header
|
|
52
|
+
// Via header ("no-store" works too)
|
|
51
53
|
fetch("/v1/chat/completions", {
|
|
52
54
|
headers: { "Cache-Control": "no-cache" }
|
|
53
55
|
})
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blockrun/clawrouter",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.311",
|
|
4
4
|
"description": "Smart LLM router — save 84% on inference costs. 91 models (8 free). Pay by credit card (API key) or USDC (x402 wallet).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
},
|
|
117
117
|
"devDependencies": {
|
|
118
118
|
"@blockrun/model-catalog": "https://codeload.github.com/BlockRunAI/model-catalog/tar.gz/b95efe2f025c9968742e6479bc9ec71b6a40c0f4",
|
|
119
|
-
"@blockrun/router-core": "https://codeload.github.com/BlockRunAI/router-core/tar.gz/
|
|
119
|
+
"@blockrun/router-core": "https://codeload.github.com/BlockRunAI/router-core/tar.gz/273c2af0a9abe70212efbad7117b72eb3038cffc",
|
|
120
120
|
"@eslint/js": "^10.0.1",
|
|
121
121
|
"eslint": "^10.2.0",
|
|
122
122
|
"openclaw": "^2026.7.2-beta.7",
|