@kenkaiiii/gg-core 5.60.3 → 5.60.4

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.
@@ -222,6 +222,7 @@ var MODELS = [
222
222
  codexContextWindow: 272e3,
223
223
  maxOutputTokens: 128e3,
224
224
  supportsThinking: true,
225
+ defaultThinkingLevel: "low",
225
226
  supportsImages: true,
226
227
  supportsVideo: false,
227
228
  costTier: "high",
@@ -245,6 +246,7 @@ var MODELS = [
245
246
  codexContextWindow: 272e3,
246
247
  maxOutputTokens: 128e3,
247
248
  supportsThinking: true,
249
+ defaultThinkingLevel: "low",
248
250
  supportsImages: true,
249
251
  supportsVideo: false,
250
252
  costTier: "high",
@@ -260,6 +262,7 @@ var MODELS = [
260
262
  codexContextWindow: 272e3,
261
263
  maxOutputTokens: 128e3,
262
264
  supportsThinking: true,
265
+ defaultThinkingLevel: "medium",
263
266
  supportsImages: true,
264
267
  supportsVideo: false,
265
268
  costTier: "medium",
@@ -275,6 +278,7 @@ var MODELS = [
275
278
  codexContextWindow: 272e3,
276
279
  maxOutputTokens: 128e3,
277
280
  supportsThinking: true,
281
+ defaultThinkingLevel: "medium",
278
282
  supportsImages: true,
279
283
  supportsVideo: false,
280
284
  costTier: "low",
@@ -769,7 +773,7 @@ function getMaxThinkingLevel(modelId) {
769
773
  function getDefaultThinkingLevel(modelId, options) {
770
774
  const model = getModel(modelId);
771
775
  if (model?.id === "kimi-k3" && isKimiCodingEndpoint(options?.baseUrl)) return "high";
772
- return model?.maxThinkingLevel ?? "high";
776
+ return model?.defaultThinkingLevel ?? model?.maxThinkingLevel ?? "high";
773
777
  }
774
778
  function getSummaryModel(provider, currentModelId) {
775
779
  if (provider === "anthropic") {