From c3a133e0324ff257ba40ccef0e3c28b4356e6fe2 Mon Sep 17 00:00:00 2001 From: hmo Date: Fri, 14 Aug 2026 11:05:58 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20cron=5Fhealth=5Fmonitor=20max=5Ftokens?= =?UTF-8?q?=205=E2=86=92512=E2=80=94=E2=80=94deepseek=E5=AF=B9=E8=BF=87?= =?UTF-8?q?=E5=B0=8Fmax=5Ftokens=E8=BF=94=E5=9B=9E=E7=A9=BA=E5=AF=BC?= =?UTF-8?q?=E8=87=B4=E8=AF=AF=E6=8A=A5LLM=E7=AB=AF=E7=82=B9=E6=95=85?= =?UTF-8?q?=E9=9A=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy/profile-scripts/cron_health_monitor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/profile-scripts/cron_health_monitor.py b/deploy/profile-scripts/cron_health_monitor.py index fc26a35d..05ea1ab2 100644 --- a/deploy/profile-scripts/cron_health_monitor.py +++ b/deploy/profile-scripts/cron_health_monitor.py @@ -233,7 +233,7 @@ def main(): payload = json.dumps({ "model": "position-analyst", "messages": [{"role": "user", "content": "ok"}], - "max_tokens": 5 + "max_tokens": 512 # 2026-08-14 修复:5→512(deepseek对过小max_tokens返回空,导致误报LLM故障) }).encode() req = urllib.request.Request("http://127.0.0.1:8643/v1/chat/completions", data=payload,