dsh-model-think-level 1.1.3 → 1.1.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/lib/client/ComposerSlider.d.ts +3 -0
- package/lib/client/EffortEditor.d.ts +2 -57
- package/lib/client/configured-inputs.d.ts +12 -0
- package/lib/client/injection/composer-menu.d.ts +3 -0
- package/lib/client/injection/models-page-editor.d.ts +1 -14
- package/lib/client/locales.d.ts +0 -14
- package/lib/client/ops.d.ts +0 -1
- package/lib/client/styles.d.ts +1 -1
- package/lib/client/types.d.ts +5 -21
- package/lib/client.js +2 -31
- package/lib/client.js.map +4 -4
- package/lib/index.js +1 -7
- package/lib/index.js.map +2 -2
- package/lib/knowledge.d.ts +15 -2
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -1488,18 +1488,12 @@ function sanitizeCompatForProtocol(compat, api) {
|
|
|
1488
1488
|
delete copy["supportsMidConvoEffort"];
|
|
1489
1489
|
delete copy["allowedFallbackModels"];
|
|
1490
1490
|
if (norm === ANTHROPIC_PROTOCOL) {
|
|
1491
|
-
for (const key of ["thinkingFormat", "supportsReasoningEffort", "thinkingTokenBudgetField", "supportsThinkingTokenBudget", "vllmPriority"
|
|
1491
|
+
for (const key of ["thinkingFormat", "supportsReasoningEffort", "thinkingTokenBudgetField", "supportsThinkingTokenBudget", "vllmPriority"]) delete copy[key];
|
|
1492
1492
|
if (copy["forceAdaptiveThinking"] === void 0) return void 0;
|
|
1493
1493
|
return { forceAdaptiveThinking: copy["forceAdaptiveThinking"] };
|
|
1494
1494
|
}
|
|
1495
|
-
if (norm === "openai-responses") {
|
|
1496
|
-
for (const key of ["thinkingFormat", "supportsReasoningEffort", "thinkingTokenBudgetField", "supportsThinkingTokenBudget", "vllmPriority"]) delete copy[key];
|
|
1497
|
-
if (copy["supportsMaxOutputTokens"] === void 0) return void 0;
|
|
1498
|
-
return { supportsMaxOutputTokens: copy["supportsMaxOutputTokens"] };
|
|
1499
|
-
}
|
|
1500
1495
|
if (norm !== COMPAT_CAPABLE_PROTOCOL) return void 0;
|
|
1501
1496
|
delete copy["forceAdaptiveThinking"];
|
|
1502
|
-
delete copy["supportsMaxOutputTokens"];
|
|
1503
1497
|
return Object.keys(copy).length === 0 ? void 0 : copy;
|
|
1504
1498
|
}
|
|
1505
1499
|
function compatForRoute(entry, route) {
|