Merge pull request #450 from SuanmoSuanyangTechnology/fix/workflow-output

fix(workflow): rename output message field
This commit is contained in:
Ke Sun
2026-03-04 13:53:08 +08:00
committed by GitHub

View File

@@ -295,12 +295,12 @@ class WorkflowExecutor:
self.graph,
self.execution_context.checkpoint_config
):
full_content += msg_event["data"]['chunk']
full_content += msg_event["data"]['content']
yield msg_event
# Flush any remaining chunks
async for msg_event in self.stream_coordinator.flush_remaining_chunk(self.variable_pool):
full_content += msg_event["data"]['chunk']
full_content += msg_event["data"]['content']
yield msg_event
result = graph.get_state(self.execution_context.checkpoint_config).values