Merge pull request #452 from SuanmoSuanyangTechnology/fix/workflow-api-stream

fix(workflow): fix incorrect fields in streaming API output
This commit is contained in:
Mark
2026-03-04 16:06:03 +08:00
committed by GitHub

View File

@@ -249,6 +249,7 @@ async def chat(
app_id=app.id,
workspace_id=workspace_id,
release_id=app.current_release.id,
public=True
):
event_type = event.get("event", "message")
event_data = event.get("data", {})