@blockrun/llm 3.24.2 → 3.24.3
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 +23 -2
- package/dist/index.js +23 -2
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -571,7 +571,7 @@ function withCost(body, response, bookedUsd, scheme) {
|
|
|
571
571
|
// src/client.ts
|
|
572
572
|
var import_accounts2 = require("viem/accounts");
|
|
573
573
|
|
|
574
|
-
// node_modules/.pnpm/@blockrun+router-core@https+++codeload.github.com+BlockRunAI+router-core+tar.gz+
|
|
574
|
+
// node_modules/.pnpm/@blockrun+router-core@https+++codeload.github.com+BlockRunAI+router-core+tar.gz+2cd5a1026f755_easf3bov3hzdfoup33nwewqudy/node_modules/@blockrun/router-core/dist/index.js
|
|
575
575
|
var UNSEGMENTED_SCRIPT = /[-ۿ -ヿ㐀-䶿一-鿿가-豈--]/;
|
|
576
576
|
var WORD_CHAR = /[\p{L}\p{N}]/u;
|
|
577
577
|
var ASCII_PHRASE = /^[a-z0-9' -]+$/;
|
|
@@ -1212,6 +1212,13 @@ var DEFAULT_MODEL_CAPABILITIES = Object.freeze({
|
|
|
1212
1212
|
supportsTools: true,
|
|
1213
1213
|
supportsVision: false
|
|
1214
1214
|
},
|
|
1215
|
+
"deepseek/deepseek-v4.1-flash": {
|
|
1216
|
+
// supportsTools: not probed — fails closed
|
|
1217
|
+
contextWindow: 1048576,
|
|
1218
|
+
maxOutputTokens: 65536,
|
|
1219
|
+
supportsTools: false,
|
|
1220
|
+
supportsVision: false
|
|
1221
|
+
},
|
|
1215
1222
|
"google/gemini-2.5-flash": {
|
|
1216
1223
|
contextWindow: 1048576,
|
|
1217
1224
|
maxOutputTokens: 65536,
|
|
@@ -1284,6 +1291,13 @@ var DEFAULT_MODEL_CAPABILITIES = Object.freeze({
|
|
|
1284
1291
|
supportsTools: true,
|
|
1285
1292
|
supportsVision: false
|
|
1286
1293
|
},
|
|
1294
|
+
"mistral/mistral-large-4": {
|
|
1295
|
+
// supportsTools: not probed — fails closed
|
|
1296
|
+
contextWindow: 524288,
|
|
1297
|
+
maxOutputTokens: 262144,
|
|
1298
|
+
supportsTools: false,
|
|
1299
|
+
supportsVision: true
|
|
1300
|
+
},
|
|
1287
1301
|
"moonshot/kimi-k3": {
|
|
1288
1302
|
contextWindow: 1048576,
|
|
1289
1303
|
maxOutputTokens: 65536,
|
|
@@ -1485,6 +1499,13 @@ var DEFAULT_MODEL_CAPABILITIES = Object.freeze({
|
|
|
1485
1499
|
supportsTools: true,
|
|
1486
1500
|
supportsVision: true
|
|
1487
1501
|
},
|
|
1502
|
+
"openai/gpt-6.1-sol": {
|
|
1503
|
+
// supportsTools: not probed — fails closed
|
|
1504
|
+
contextWindow: 105e4,
|
|
1505
|
+
maxOutputTokens: 128e3,
|
|
1506
|
+
supportsTools: false,
|
|
1507
|
+
supportsVision: true
|
|
1508
|
+
},
|
|
1488
1509
|
"openai/o1": {
|
|
1489
1510
|
contextWindow: 2e5,
|
|
1490
1511
|
maxOutputTokens: 1e5,
|
|
@@ -5045,7 +5066,7 @@ function getCostSummary() {
|
|
|
5045
5066
|
}
|
|
5046
5067
|
|
|
5047
5068
|
// src/version.ts
|
|
5048
|
-
var SDK_VERSION = "3.24.
|
|
5069
|
+
var SDK_VERSION = "3.24.3";
|
|
5049
5070
|
var USER_AGENT = `blockrun-ts/${SDK_VERSION}`;
|
|
5050
5071
|
|
|
5051
5072
|
// src/client.ts
|
package/dist/index.js
CHANGED
|
@@ -440,7 +440,7 @@ function withCost(body, response, bookedUsd, scheme) {
|
|
|
440
440
|
// src/client.ts
|
|
441
441
|
import { privateKeyToAccount } from "viem/accounts";
|
|
442
442
|
|
|
443
|
-
// node_modules/.pnpm/@blockrun+router-core@https+++codeload.github.com+BlockRunAI+router-core+tar.gz+
|
|
443
|
+
// node_modules/.pnpm/@blockrun+router-core@https+++codeload.github.com+BlockRunAI+router-core+tar.gz+2cd5a1026f755_easf3bov3hzdfoup33nwewqudy/node_modules/@blockrun/router-core/dist/index.js
|
|
444
444
|
var UNSEGMENTED_SCRIPT = /[-ۿ -ヿ㐀-䶿一-鿿가-豈--]/;
|
|
445
445
|
var WORD_CHAR = /[\p{L}\p{N}]/u;
|
|
446
446
|
var ASCII_PHRASE = /^[a-z0-9' -]+$/;
|
|
@@ -1081,6 +1081,13 @@ var DEFAULT_MODEL_CAPABILITIES = Object.freeze({
|
|
|
1081
1081
|
supportsTools: true,
|
|
1082
1082
|
supportsVision: false
|
|
1083
1083
|
},
|
|
1084
|
+
"deepseek/deepseek-v4.1-flash": {
|
|
1085
|
+
// supportsTools: not probed — fails closed
|
|
1086
|
+
contextWindow: 1048576,
|
|
1087
|
+
maxOutputTokens: 65536,
|
|
1088
|
+
supportsTools: false,
|
|
1089
|
+
supportsVision: false
|
|
1090
|
+
},
|
|
1084
1091
|
"google/gemini-2.5-flash": {
|
|
1085
1092
|
contextWindow: 1048576,
|
|
1086
1093
|
maxOutputTokens: 65536,
|
|
@@ -1153,6 +1160,13 @@ var DEFAULT_MODEL_CAPABILITIES = Object.freeze({
|
|
|
1153
1160
|
supportsTools: true,
|
|
1154
1161
|
supportsVision: false
|
|
1155
1162
|
},
|
|
1163
|
+
"mistral/mistral-large-4": {
|
|
1164
|
+
// supportsTools: not probed — fails closed
|
|
1165
|
+
contextWindow: 524288,
|
|
1166
|
+
maxOutputTokens: 262144,
|
|
1167
|
+
supportsTools: false,
|
|
1168
|
+
supportsVision: true
|
|
1169
|
+
},
|
|
1156
1170
|
"moonshot/kimi-k3": {
|
|
1157
1171
|
contextWindow: 1048576,
|
|
1158
1172
|
maxOutputTokens: 65536,
|
|
@@ -1354,6 +1368,13 @@ var DEFAULT_MODEL_CAPABILITIES = Object.freeze({
|
|
|
1354
1368
|
supportsTools: true,
|
|
1355
1369
|
supportsVision: true
|
|
1356
1370
|
},
|
|
1371
|
+
"openai/gpt-6.1-sol": {
|
|
1372
|
+
// supportsTools: not probed — fails closed
|
|
1373
|
+
contextWindow: 105e4,
|
|
1374
|
+
maxOutputTokens: 128e3,
|
|
1375
|
+
supportsTools: false,
|
|
1376
|
+
supportsVision: true
|
|
1377
|
+
},
|
|
1357
1378
|
"openai/o1": {
|
|
1358
1379
|
contextWindow: 2e5,
|
|
1359
1380
|
maxOutputTokens: 1e5,
|
|
@@ -4914,7 +4935,7 @@ function getCostSummary() {
|
|
|
4914
4935
|
}
|
|
4915
4936
|
|
|
4916
4937
|
// src/version.ts
|
|
4917
|
-
var SDK_VERSION = "3.24.
|
|
4938
|
+
var SDK_VERSION = "3.24.3";
|
|
4918
4939
|
var USER_AGENT = `blockrun-ts/${SDK_VERSION}`;
|
|
4919
4940
|
|
|
4920
4941
|
// src/client.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blockrun/llm",
|
|
3
|
-
"version": "3.24.
|
|
3
|
+
"version": "3.24.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "TypeScript SDK for BlockRun - every frontier model behind one OpenAI-compatible client. Pay with a BlockRun API key or per-call in USDC. Smart routing picks the cheapest capable model. No rate limits.",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
60
|
"@blockrun/core": "^0.1.0",
|
|
61
|
-
"@blockrun/router-core": "https://codeload.github.com/BlockRunAI/router-core/tar.gz/
|
|
61
|
+
"@blockrun/router-core": "https://codeload.github.com/BlockRunAI/router-core/tar.gz/2cd5a1026f755cd39a3f0d6e61cab23a5ad391a9",
|
|
62
62
|
"@eslint/js": "^10.0.1",
|
|
63
63
|
"@solana/kit": "^5.5.1",
|
|
64
64
|
"@types/node": "^26.4.1",
|