feat(llms): update model list; update patch

This commit is contained in:
Simon
2026-07-03 03:04:43 +08:00
parent 556bc7448a
commit 5aeb67f6d6
2 changed files with 9 additions and 2 deletions
+1
View File
@@ -163,6 +163,7 @@ export function modelPatch(body: Record<string, any>, baseURL?: string) {
let reasoningEnabled = true
if (body.thinking?.type === 'disabled') reasoningEnabled = false
if (body.enable_thinking === false) reasoningEnabled = false
if (reasoningEffort === 'none') reasoningEnabled = false
body.reasoning = { enabled: reasoningEnabled }