fix(workflow): fix incorrect fields in streaming API output

This commit is contained in:
Eternity
2026-03-04 15:58:49 +08:00
parent 1738e45090
commit 778bc4bd70

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", {})