完善模型测试与参考文件历史能力
This commit is contained in:
@@ -117,6 +117,7 @@ async def run_generation(document_id: int, template_id: int):
|
||||
if model is None:
|
||||
content = build_mock_content(paragraph)
|
||||
else:
|
||||
setattr(paragraph, "enable_reasoning", bool(model.enable_reasoning))
|
||||
result_data = await call_ai(paragraph, model)
|
||||
content = result_data.content
|
||||
status = "success"
|
||||
|
||||
Reference in New Issue
Block a user