From 5292a69d66cc1a8c76172709f578607021815094 Mon Sep 17 00:00:00 2001 From: Raphael Westphal Date: Thu, 20 Aug 2026 11:52:15 +0200 Subject: [PATCH] =?UTF-8?q?fix(autotitle):=20disable=20GLM=20thinking=20+?= =?UTF-8?q?=20raise=20max=5Ftokens=20=E2=80=94=20reasoning=20model=20burne?= =?UTF-8?q?d=20the=2024-token=20budget=20before=20emitting=20any=20text?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- daemon/autotitle.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/daemon/autotitle.go b/daemon/autotitle.go index 21a0403..063b2e3 100644 --- a/daemon/autotitle.go +++ b/daemon/autotitle.go @@ -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