@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.
- package/dist/{chunk-LQNMFHK5.js → chunk-Z3QR45IX.js} +6 -2
- package/dist/{chunk-LQNMFHK5.js.map → chunk-Z3QR45IX.js.map} +1 -1
- package/dist/index.cjs +22 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +13 -2
- package/dist/index.d.ts +13 -2
- package/dist/index.js +16 -1
- package/dist/index.js.map +1 -1
- package/dist/model-registry.cjs +5 -1
- package/dist/model-registry.cjs.map +1 -1
- package/dist/model-registry.d.cts +8 -0
- package/dist/model-registry.d.ts +8 -0
- package/dist/model-registry.js +1 -1
- package/package.json +2 -2
|
@@ -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-
|
|
2622
|
+
//# sourceMappingURL=chunk-Z3QR45IX.js.map
|