feat: KB Accelerator — convert KB articles into interactive flows #104
@@ -931,7 +931,7 @@ def _build_procedural_tree(nodes: list[KBImportNode]) -> dict:
|
|||||||
"id": content.get("original_id", str(node.id)),
|
"id": content.get("original_id", str(node.id)),
|
||||||
"type": step_type,
|
"type": step_type,
|
||||||
"title": step_title,
|
"title": step_title,
|
||||||
"content": step_content,
|
"description": step_content,
|
||||||
}
|
}
|
||||||
|
|
||||||
# Preserve content_type if present
|
# Preserve content_type if present
|
||||||
@@ -948,7 +948,7 @@ def _build_procedural_tree(nodes: list[KBImportNode]) -> dict:
|
|||||||
"id": "procedure-end",
|
"id": "procedure-end",
|
||||||
"type": "procedure_end",
|
"type": "procedure_end",
|
||||||
"title": "Procedure Complete",
|
"title": "Procedure Complete",
|
||||||
"content": "All steps have been completed.",
|
"description": "All steps have been completed.",
|
||||||
})
|
})
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|||||||
Reference in New Issue
Block a user