From 83bdab3205ce3e2c3bdcaa5a7afd9c9338c360e8 Mon Sep 17 00:00:00 2001 From: hubian <908234780@qq.com> Date: Sun, 26 Apr 2026 22:38:08 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=A0=87=E9=A2=98=E7=94=9F=E6=88=90?= =?UTF-8?q?=E7=A6=81=E7=94=A8=E6=80=9D=E8=80=83=E6=A8=A1=E5=BC=8F=E5=B9=B6?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0max=5Ftokens?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- www/app.js | 3 ++- www/index.html | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/www/app.js b/www/app.js index dccc478..bc36a99 100644 --- a/www/app.js +++ b/www/app.js @@ -1023,7 +1023,8 @@ ${conversationText}`; body: JSON.stringify({ model: CONFIG.model, messages: [{ role: 'user', content: titlePrompt }], - max_tokens: 50 + max_tokens: 100, + thinking: { type: 'disabled' } // 禁用思考模式,直接输出标题 }) }); diff --git a/www/index.html b/www/index.html index 81238e4..68f0809 100644 --- a/www/index.html +++ b/www/index.html @@ -8,12 +8,12 @@ AI助手 - +
- - + + \ No newline at end of file