fix(autotitle): disable GLM thinking + raise max_tokens — reasoning model burned the 24-token budget before emitting any text

This commit is contained in:
Raphael Westphal
2026-08-20 11:52:15 +02:00
parent 1b6bd54a74
commit 5292a69d66
+2 -1
View File
@@ -110,7 +110,8 @@ func requestTitle(userText string) (string, error) {
"messages": []map[string]string{
{"role": "user", "content": userText + autoTitlePromptTail},
},
"max_tokens": 24,
"max_tokens": 512,
"thinking": map[string]any{"type": "disabled"},
})
if err != nil {
return "", err