@blockrun/llm 3.13.1 → 3.13.2
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/index.cjs +5 -6
- package/dist/index.js +5 -6
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -145,7 +145,7 @@ var APIError = class extends BlockrunError {
|
|
|
145
145
|
}
|
|
146
146
|
};
|
|
147
147
|
|
|
148
|
-
// node_modules/.pnpm/@blockrun+router-core@https+++codeload.github.com+BlockRunAI+router-core+tar.gz+
|
|
148
|
+
// node_modules/.pnpm/@blockrun+router-core@https+++codeload.github.com+BlockRunAI+router-core+tar.gz+18bf4abc7e345_6te54dzikmquqgkdjdanfxg4a4/node_modules/@blockrun/router-core/dist/index.js
|
|
149
149
|
function scoreTokenCount(estimatedTokens, thresholds) {
|
|
150
150
|
if (estimatedTokens < thresholds.simple) {
|
|
151
151
|
return { name: "tokenCount", score: -1, signal: `short (${estimatedTokens} tokens)` };
|
|
@@ -3124,10 +3124,9 @@ var DEFAULT_ROUTING_CONFIG = {
|
|
|
3124
3124
|
fallback: [
|
|
3125
3125
|
"free/gpt-oss-20b",
|
|
3126
3126
|
// FREE — smaller, faster
|
|
3127
|
-
|
|
3128
|
-
//
|
|
3129
|
-
//
|
|
3130
|
-
// gpt-oss-120b/20b already head this chain, so the rung is dropped, not retargeted.
|
|
3127
|
+
// deepseek-v4-flash and seed-oss-36b sat here until NVIDIA EOL'd them
|
|
3128
|
+
// (410; 2026-08-12 and 2026-08-03 respectively). gpt-oss-120b/20b already
|
|
3129
|
+
// head this chain, so the rungs are dropped, not retargeted.
|
|
3131
3130
|
"google/gemini-3.1-flash-lite",
|
|
3132
3131
|
// $0.25/$1.50 — newest flash-lite
|
|
3133
3132
|
"openai/gpt-5.4-nano",
|
|
@@ -3964,7 +3963,7 @@ function getCostSummary() {
|
|
|
3964
3963
|
}
|
|
3965
3964
|
|
|
3966
3965
|
// src/version.ts
|
|
3967
|
-
var SDK_VERSION = "3.13.
|
|
3966
|
+
var SDK_VERSION = "3.13.2";
|
|
3968
3967
|
var USER_AGENT = `blockrun-ts/${SDK_VERSION}`;
|
|
3969
3968
|
|
|
3970
3969
|
// src/client.ts
|
package/dist/index.js
CHANGED
|
@@ -31,7 +31,7 @@ var APIError = class extends BlockrunError {
|
|
|
31
31
|
}
|
|
32
32
|
};
|
|
33
33
|
|
|
34
|
-
// node_modules/.pnpm/@blockrun+router-core@https+++codeload.github.com+BlockRunAI+router-core+tar.gz+
|
|
34
|
+
// node_modules/.pnpm/@blockrun+router-core@https+++codeload.github.com+BlockRunAI+router-core+tar.gz+18bf4abc7e345_6te54dzikmquqgkdjdanfxg4a4/node_modules/@blockrun/router-core/dist/index.js
|
|
35
35
|
function scoreTokenCount(estimatedTokens, thresholds) {
|
|
36
36
|
if (estimatedTokens < thresholds.simple) {
|
|
37
37
|
return { name: "tokenCount", score: -1, signal: `short (${estimatedTokens} tokens)` };
|
|
@@ -3010,10 +3010,9 @@ var DEFAULT_ROUTING_CONFIG = {
|
|
|
3010
3010
|
fallback: [
|
|
3011
3011
|
"free/gpt-oss-20b",
|
|
3012
3012
|
// FREE — smaller, faster
|
|
3013
|
-
|
|
3014
|
-
//
|
|
3015
|
-
//
|
|
3016
|
-
// gpt-oss-120b/20b already head this chain, so the rung is dropped, not retargeted.
|
|
3013
|
+
// deepseek-v4-flash and seed-oss-36b sat here until NVIDIA EOL'd them
|
|
3014
|
+
// (410; 2026-08-12 and 2026-08-03 respectively). gpt-oss-120b/20b already
|
|
3015
|
+
// head this chain, so the rungs are dropped, not retargeted.
|
|
3017
3016
|
"google/gemini-3.1-flash-lite",
|
|
3018
3017
|
// $0.25/$1.50 — newest flash-lite
|
|
3019
3018
|
"openai/gpt-5.4-nano",
|
|
@@ -3850,7 +3849,7 @@ function getCostSummary() {
|
|
|
3850
3849
|
}
|
|
3851
3850
|
|
|
3852
3851
|
// src/version.ts
|
|
3853
|
-
var SDK_VERSION = "3.13.
|
|
3852
|
+
var SDK_VERSION = "3.13.2";
|
|
3854
3853
|
var USER_AGENT = `blockrun-ts/${SDK_VERSION}`;
|
|
3855
3854
|
|
|
3856
3855
|
// src/client.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blockrun/llm",
|
|
3
|
-
"version": "3.13.
|
|
3
|
+
"version": "3.13.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "BlockRun SDK - Pay-per-request AI (LLM, Image, Video, Music, Voice) via x402 on Base and Solana",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@blockrun/core": "^0.1.0",
|
|
59
|
-
"@blockrun/router-core": "https://codeload.github.com/BlockRunAI/router-core/tar.gz/
|
|
59
|
+
"@blockrun/router-core": "https://codeload.github.com/BlockRunAI/router-core/tar.gz/18bf4abc7e34599e51595b90703c385f53d4f4a6",
|
|
60
60
|
"@eslint/js": "^9.39.4",
|
|
61
61
|
"@types/node": "^20.19.41",
|
|
62
62
|
"eslint": "^9.39.4",
|