nexrall-code 0.5.105 → 0.5.106
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.js +7 -11
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -104313,8 +104313,7 @@ ${partial}` : "",
|
|
|
104313
104313
|
// modelRegistry.js's own TODO(unverified-by-400): DeepSeek accepts an
|
|
104314
104314
|
// oversized max_completion_tokens without rejecting it, so there was no 400
|
|
104315
104315
|
// to measure the ceiling from the way the OpenAI rows above were).
|
|
104316
|
-
"deepseek-
|
|
104317
|
-
"deepseek-v4-flash": 1048576,
|
|
104316
|
+
"deepseek-flash": 1048576,
|
|
104318
104317
|
// Qwen (DashScope), by real model id (documented max input, same caveat).
|
|
104319
104318
|
"qwen3.7-max": 991800,
|
|
104320
104319
|
// Z.ai (GLM), by real model id. contextWindow is documented (Z.ai/
|
|
@@ -153300,8 +153299,7 @@ var MODEL_LABELS = {
|
|
|
153300
153299
|
"gpt-5.4": "GPT-5.4",
|
|
153301
153300
|
"gpt-5.4-mini": "GPT-5.4 Mini",
|
|
153302
153301
|
"gpt-4.1": "GPT-4.1",
|
|
153303
|
-
"deepseek-
|
|
153304
|
-
"deepseek-v4-flash": "DeepSeek V4 Flash",
|
|
153302
|
+
"deepseek-flash": "DeepSeek Flash",
|
|
153305
153303
|
"qwen3.7-max": "Qwen3.7 Max",
|
|
153306
153304
|
"glm-5.3": "GLM 5.3"
|
|
153307
153305
|
};
|
|
@@ -153323,8 +153321,7 @@ var SELECTABLE_MODELS = [
|
|
|
153323
153321
|
"gpt-5.4",
|
|
153324
153322
|
"gpt-5.4-mini",
|
|
153325
153323
|
"gpt-4.1",
|
|
153326
|
-
"deepseek-
|
|
153327
|
-
"deepseek-v4-flash",
|
|
153324
|
+
"deepseek-flash",
|
|
153328
153325
|
"qwen3.7-max",
|
|
153329
153326
|
"glm-5.3"
|
|
153330
153327
|
];
|
|
@@ -153342,8 +153339,7 @@ var MODEL_COST_MULTIPLIER = {
|
|
|
153342
153339
|
"gpt-5.4": 2,
|
|
153343
153340
|
"gpt-5.4-mini": 0.5,
|
|
153344
153341
|
"gpt-4.1": 1,
|
|
153345
|
-
"deepseek-
|
|
153346
|
-
"deepseek-v4-flash": 0.05,
|
|
153342
|
+
"deepseek-flash": 0.1,
|
|
153347
153343
|
"qwen3.7-max": 1,
|
|
153348
153344
|
// $1.40/$4.40 per 1M in/out (docs.z.ai, 2026-08-30) vs gpt-4.1's $2.00/$8.00
|
|
153349
153345
|
// (migration 113) — roughly 0.6x on a blended 75/25 in/out turn. Rounded to
|
|
@@ -153355,7 +153351,7 @@ function modelWithCostHint(id) {
|
|
|
153355
153351
|
const mult = (0, import_code_core4.liveCostMultiplierFor)(id, MODEL_COST_MULTIPLIER[id]);
|
|
153356
153352
|
return mult === void 0 ? id : `${id} (${mult}x)`;
|
|
153357
153353
|
}
|
|
153358
|
-
var NO_VISION_MODELS = /* @__PURE__ */ new Set(["
|
|
153354
|
+
var NO_VISION_MODELS = /* @__PURE__ */ new Set(["qwen3.7-max", "glm-5.3"]);
|
|
153359
153355
|
var NO_PDF_MODELS = /* @__PURE__ */ new Set([
|
|
153360
153356
|
"gpt-5.6-sol",
|
|
153361
153357
|
"gpt-5.6-terra",
|
|
@@ -153364,6 +153360,7 @@ var NO_PDF_MODELS = /* @__PURE__ */ new Set([
|
|
|
153364
153360
|
"gpt-5.4-mini",
|
|
153365
153361
|
"gpt-4.1",
|
|
153366
153362
|
"gpt-4o-mini",
|
|
153363
|
+
"deepseek-flash",
|
|
153367
153364
|
...NO_VISION_MODELS
|
|
153368
153365
|
]);
|
|
153369
153366
|
function needsVisionSidecar(model) {
|
|
@@ -153394,8 +153391,7 @@ var MODEL_EFFORT_STYLE = {
|
|
|
153394
153391
|
"gpt-5.4-mini": "openai_gated",
|
|
153395
153392
|
"gpt-4.1": "none",
|
|
153396
153393
|
"gpt-4o-mini": "none",
|
|
153397
|
-
"deepseek-
|
|
153398
|
-
"deepseek-v4-flash": "deepseek",
|
|
153394
|
+
"deepseek-flash": "deepseek",
|
|
153399
153395
|
"qwen3.7-max": "qwen",
|
|
153400
153396
|
"glm-5.3": "glm"
|
|
153401
153397
|
// Everything else (all claude-* ids) falls through to 'anthropic' below.
|