fix(regulatory-info-package): 使用干净字段模板生成材料包
This commit is contained in:
@@ -39,7 +39,12 @@ def _generate_one(
|
||||
actual_format = actual_path.suffix.lower().lstrip(".")
|
||||
highlight_count = missing_count = llm_only_count = 0
|
||||
else:
|
||||
highlight_count, missing_count, llm_only_count = write_docx_from_template(template_path, output_path, merged_fields)
|
||||
highlight_count, missing_count, llm_only_count = write_docx_from_template(
|
||||
template_path,
|
||||
output_path,
|
||||
merged_fields,
|
||||
template_code=spec.code,
|
||||
)
|
||||
actual_path = output_path
|
||||
actual_format = "docx"
|
||||
status = "success"
|
||||
|
||||
Reference in New Issue
Block a user