Fix recipe steps display and DAG visualization
- Check multiple locations for nodes: dag.nodes, recipe.nodes, pipeline, steps - Add dagre layout libraries for cytoscape DAG visualization - Fix inputs parsing when stored as JSON string in Redis Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -114,6 +114,12 @@ class RunService:
|
||||
task_actor_id = parsed.get("actor_id")
|
||||
task_recipe = parsed.get("recipe")
|
||||
task_inputs = parsed.get("inputs")
|
||||
# Ensure inputs is a list (might be JSON string)
|
||||
if isinstance(task_inputs, str):
|
||||
try:
|
||||
task_inputs = json.loads(task_inputs)
|
||||
except json.JSONDecodeError:
|
||||
task_inputs = None
|
||||
task_output_name = parsed.get("output_name")
|
||||
task_created_at = parsed.get("created_at")
|
||||
except json.JSONDecodeError:
|
||||
|
||||
Reference in New Issue
Block a user