deepcode-ai 1.2.31 → 1.2.32

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 CHANGED
@@ -2372,6 +2372,12 @@ function resolveModelExecutionProfile(provider, model) {
2372
2372
  };
2373
2373
  }
2374
2374
  if (provider === "deepseek") {
2375
+ if (normalized2.includes("v4-pro")) {
2376
+ return { toolSchemaMode: "minimal", supportsRequiredToolChoice: false, toolCallStrategy: "native" };
2377
+ }
2378
+ if (normalized2.includes("v4-flash")) {
2379
+ return { toolSchemaMode: "compact", supportsRequiredToolChoice: false, toolCallStrategy: "native" };
2380
+ }
2375
2381
  return {
2376
2382
  toolSchemaMode: reasonerFamily ? "minimal" : "compact",
2377
2383
  supportsRequiredToolChoice: false,
@@ -6413,6 +6419,8 @@ function normalizeProviderModelId(providerId, model) {
6413
6419
  }
6414
6420
  function shouldDisableDeepSeekThinking(model) {
6415
6421
  const normalized2 = model?.toLowerCase() ?? "";
6422
+ if (normalized2.includes("v4-pro")) return false;
6423
+ if (normalized2.includes("v4-flash")) return true;
6416
6424
  return !normalized2.includes("reasoner") && !normalized2.includes("thinking");
6417
6425
  }
6418
6426
  function shouldDisableProxiedDeepSeekThinking(model) {
@@ -11535,7 +11543,7 @@ function parseVersion(version) {
11535
11543
  if (!match) return null;
11536
11544
  return [Number(match[1]), Number(match[2]), Number(match[3])];
11537
11545
  }
11538
- var VERSION = "1.2.31".length > 0 ? "1.2.31" : "0.0.0-dev";
11546
+ var VERSION = "1.2.32".length > 0 ? "1.2.32" : "0.0.0-dev";
11539
11547
  async function updateCommand() {
11540
11548
  writeStdoutLine(`Current version: ${VERSION}`);
11541
11549
  const update = await checkForUpdate(VERSION, { force: true });