diff --git a/src/ai_client.py b/src/ai_client.py index 361a703..c2b053e 100644 --- a/src/ai_client.py +++ b/src/ai_client.py @@ -55,6 +55,7 @@ def summarize_email(ai_cfg: AIConfig, recipient: str, subject: str, sender: str, payload = { "model": ai_cfg.model, + "thinking": {"type": "disabled"}, "messages": [ {"role": "system", "content": SYSTEM_PROMPT}, {"role": "user", "content": content}, @@ -77,6 +78,7 @@ def expand_promo_detail(ai_cfg: AIConfig, sender: str, subject: str, body: str) content = f"发件人: {sender}\n主题: {subject}\n正文:\n{body}" payload = { "model": ai_cfg.model, + "thinking": {"type": "disabled"}, "messages": [ {"role": "system", "content": PROMO_DETAIL_PROMPT}, {"role": "user", "content": content},