fix: 修复提示词模板识别’{{}}‘的问题
This commit is contained in:
@@ -102,7 +102,7 @@ export function convertToUITemplate(template: PromptTemplate & { sso_users?: { u
|
||||
template_type: template.template_type as "LLM_Extraction" | "VLM_Extraction" | "Evaluation" | "Summary" | "Common",
|
||||
description: template.description || '',
|
||||
template_content: template.template_content,
|
||||
variables: template.variables,
|
||||
variables: template.variables || {}, // 如果variables为null,则使用空对象
|
||||
status: mapStatusToUI(template.status),
|
||||
version: template.version,
|
||||
created_by: template.created_by,
|
||||
|
||||
Reference in New Issue
Block a user