@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.
- package/dist/{chunk-BTXJ546F.js → chunk-QZ4423EL.js} +6 -2
- package/dist/{chunk-BTXJ546F.js.map → chunk-QZ4423EL.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
package/dist/model-registry.cjs
CHANGED
|
@@ -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") {
|