From 09cecb009d975eb55b3747a505f93c65cf715d8c Mon Sep 17 00:00:00 2001 From: rogersun Date: Fri, 4 Sep 2026 11:31:19 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0max=5Ftokens=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ai/utils/show_prompt.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ai/utils/show_prompt.py b/ai/utils/show_prompt.py index 067c14b..ba40f04 100644 --- a/ai/utils/show_prompt.py +++ b/ai/utils/show_prompt.py @@ -261,6 +261,7 @@ class ShowAI: {'role': 'user', 'content': self.prompt if prompt is None else prompt}, ], stream=False, + max_tokens=100000, reasoning_effort="high", extra_body={"thinking": {"type": "enabled"}, "user_id": user_id},