feat: AI-assisted flow builder with 4-stage wizard #87

Merged
chihlasm merged 25 commits from feat/ai-flow-builder into main 2026-02-23 05:03:54 +00:00
Showing only changes of commit cb36b7886b - Show all commits

View File

@@ -83,17 +83,17 @@ def _validate_node(node: dict[str, Any], path: str, errors: list[dict[str, str]]
}) })
elif node_type == "action": elif node_type == "action":
if "action" not in node or not node["action"]: if "title" not in node or not node["title"]:
errors.append({ errors.append({
"field": f"{path}.action", "field": f"{path}.title",
"message": "Action nodes must have a non-empty action" "message": "Action nodes must have a non-empty title"
}) })
elif node_type == "solution": elif node_type == "solution":
if "solution" not in node or not node["solution"]: if "title" not in node or not node["title"]:
errors.append({ errors.append({
"field": f"{path}.solution", "field": f"{path}.title",
"message": "Solution nodes must have a non-empty solution" "message": "Solution nodes must have a non-empty title"
}) })
elif node_type == "answer": elif node_type == "answer":