fix(ai): disable Moonshot thinking when requested

closes #5531
This commit is contained in:
Mario Zechner
2026-06-09 12:23:41 +02:00
parent c6bdfa1971
commit 2326d5cb4a
3 changed files with 47 additions and 25 deletions

View File

@@ -1215,6 +1215,7 @@ async function loadModelsDevData(): Promise<Model<any>[]> {
supportsReasoningEffort: false,
maxTokensField: "max_tokens",
supportsStrictMode: false,
thinkingFormat: "deepseek",
};
for (const { key, provider, baseUrl } of moonshotVariants) {