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()