From 798bb40885d0884de30d2430be319e83ad9ef26c Mon Sep 17 00:00:00 2001 From: selfrelease Date: Mon, 31 Aug 2026 17:31:52 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20/samples=E8=B6=85=E6=97=B6=E4=BB=8E15s?= =?UTF-8?q?=E5=A2=9E=E8=87=B330s,=E5=90=8C=E6=AD=A5.env=E6=A8=A1=E5=9E=8B?= =?UTF-8?q?=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api.py b/api.py index b6b671d..c352f8d 100644 --- a/api.py +++ b/api.py @@ -490,7 +490,7 @@ def generate_samples(req: SampleRequest): [{"role": "system", "content": "你是问题生成助手,只返回 JSON 数组。"}, {"role": "user", "content": prompt}], temperature=0.8, - timeout=15, + timeout=30, ) # 解析 JSON answer = answer.strip()