diff --git a/cockpit/chat/a2ui/python/src/graph.py b/cockpit/chat/a2ui/python/src/graph.py index 2d3b0616c..30a571169 100644 --- a/cockpit/chat/a2ui/python/src/graph.py +++ b/cockpit/chat/a2ui/python/src/graph.py @@ -66,7 +66,7 @@ "action": {"event": {"name": "formSubmit", "context": {"formId": "contact"}}}}, ], }}), -]) +]) + "\n" # Trailing newline required — parser processes at \n boundaries def build_a2ui_graph(): diff --git a/cockpit/langgraph/streaming/python/src/a2ui_graph.py b/cockpit/langgraph/streaming/python/src/a2ui_graph.py index 2d3b0616c..30a571169 100644 --- a/cockpit/langgraph/streaming/python/src/a2ui_graph.py +++ b/cockpit/langgraph/streaming/python/src/a2ui_graph.py @@ -66,7 +66,7 @@ "action": {"event": {"name": "formSubmit", "context": {"formId": "contact"}}}}, ], }}), -]) +]) + "\n" # Trailing newline required — parser processes at \n boundaries def build_a2ui_graph():