更新说明

123
This commit is contained in:
SengokuCola
2025-03-01 12:55:02 +08:00
parent 691099f993
commit d9327d47fc
5 changed files with 170 additions and 73 deletions

View File

@@ -129,7 +129,7 @@ class LLMResponseGenerator:
content = response.choices[0].message.content
# 获取推理内容
reasoning_content = "模型思考过程:\n" + prompt
reasoning_content = ""
if hasattr(response.choices[0].message, "reasoning"):
reasoning_content = response.choices[0].message.reasoning or reasoning_content
elif hasattr(response.choices[0].message, "reasoning_content"):