@prestyj/core 5.19.0 → 5.21.0

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.
@@ -1994,6 +1994,7 @@ var MODELS = [
1994
1994
  codexContextWindow: 272e3,
1995
1995
  maxOutputTokens: 128e3,
1996
1996
  supportsThinking: true,
1997
+ defaultThinkingLevel: "low",
1997
1998
  supportsImages: true,
1998
1999
  supportsVideo: false,
1999
2000
  costTier: "high",
@@ -2017,6 +2018,7 @@ var MODELS = [
2017
2018
  codexContextWindow: 272e3,
2018
2019
  maxOutputTokens: 128e3,
2019
2020
  supportsThinking: true,
2021
+ defaultThinkingLevel: "low",
2020
2022
  supportsImages: true,
2021
2023
  supportsVideo: false,
2022
2024
  costTier: "high",
@@ -2032,6 +2034,7 @@ var MODELS = [
2032
2034
  codexContextWindow: 272e3,
2033
2035
  maxOutputTokens: 128e3,
2034
2036
  supportsThinking: true,
2037
+ defaultThinkingLevel: "medium",
2035
2038
  supportsImages: true,
2036
2039
  supportsVideo: false,
2037
2040
  costTier: "medium",
@@ -2047,6 +2050,7 @@ var MODELS = [
2047
2050
  codexContextWindow: 272e3,
2048
2051
  maxOutputTokens: 128e3,
2049
2052
  supportsThinking: true,
2053
+ defaultThinkingLevel: "medium",
2050
2054
  supportsImages: true,
2051
2055
  supportsVideo: false,
2052
2056
  costTier: "low",
@@ -2541,7 +2545,7 @@ function getMaxThinkingLevel(modelId) {
2541
2545
  function getDefaultThinkingLevel(modelId, options) {
2542
2546
  const model = getModel(modelId);
2543
2547
  if (model?.id === "kimi-k3" && isKimiCodingEndpoint(options?.baseUrl)) return "high";
2544
- return model?.maxThinkingLevel ?? "high";
2548
+ return model?.defaultThinkingLevel ?? model?.maxThinkingLevel ?? "high";
2545
2549
  }
2546
2550
  function getSummaryModel(provider, currentModelId) {
2547
2551
  if (provider === "anthropic") {
@@ -2615,4 +2619,4 @@ export {
2615
2619
  getSummaryModel,
2616
2620
  getFastModel
2617
2621
  };
2618
- //# sourceMappingURL=chunk-LQNMFHK5.js.map
2622
+ //# sourceMappingURL=chunk-Z3QR45IX.js.map