@kenkaiiii/gg-core 5.60.3 → 5.60.5

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.
@@ -1988,6 +1988,7 @@ var MODELS = [
1988
1988
  codexContextWindow: 272e3,
1989
1989
  maxOutputTokens: 128e3,
1990
1990
  supportsThinking: true,
1991
+ defaultThinkingLevel: "low",
1991
1992
  supportsImages: true,
1992
1993
  supportsVideo: false,
1993
1994
  costTier: "high",
@@ -2011,6 +2012,7 @@ var MODELS = [
2011
2012
  codexContextWindow: 272e3,
2012
2013
  maxOutputTokens: 128e3,
2013
2014
  supportsThinking: true,
2015
+ defaultThinkingLevel: "low",
2014
2016
  supportsImages: true,
2015
2017
  supportsVideo: false,
2016
2018
  costTier: "high",
@@ -2026,6 +2028,7 @@ var MODELS = [
2026
2028
  codexContextWindow: 272e3,
2027
2029
  maxOutputTokens: 128e3,
2028
2030
  supportsThinking: true,
2031
+ defaultThinkingLevel: "medium",
2029
2032
  supportsImages: true,
2030
2033
  supportsVideo: false,
2031
2034
  costTier: "medium",
@@ -2041,6 +2044,7 @@ var MODELS = [
2041
2044
  codexContextWindow: 272e3,
2042
2045
  maxOutputTokens: 128e3,
2043
2046
  supportsThinking: true,
2047
+ defaultThinkingLevel: "medium",
2044
2048
  supportsImages: true,
2045
2049
  supportsVideo: false,
2046
2050
  costTier: "low",
@@ -2535,7 +2539,7 @@ function getMaxThinkingLevel(modelId) {
2535
2539
  function getDefaultThinkingLevel(modelId, options) {
2536
2540
  const model = getModel(modelId);
2537
2541
  if (model?.id === "kimi-k3" && isKimiCodingEndpoint(options?.baseUrl)) return "high";
2538
- return model?.maxThinkingLevel ?? "high";
2542
+ return model?.defaultThinkingLevel ?? model?.maxThinkingLevel ?? "high";
2539
2543
  }
2540
2544
  function getSummaryModel(provider, currentModelId) {
2541
2545
  if (provider === "anthropic") {
@@ -2609,4 +2613,4 @@ export {
2609
2613
  getSummaryModel,
2610
2614
  getFastModel
2611
2615
  };
2612
- //# sourceMappingURL=chunk-BTXJ546F.js.map
2616
+ //# sourceMappingURL=chunk-QZ4423EL.js.map