对话时候严格要求json输出

This commit is contained in:
2026-07-29 08:12:37 +08:00
parent c90718c6de
commit 0e17abd653
2 changed files with 3 additions and 2 deletions

View File

@@ -187,7 +187,7 @@ async function callDeepSeekForSummary(prompt, userId) {
{ role: 'system', content: '你是一个财务助手,请根据采购记录生成简洁回复。' },
{ role: 'user', content: prompt }
];
return callDeepSeek(messages, userId);
return callDeepSeek(messages, userId, 0.3, false);
}
module.exports = {