fix(workflows): rename WorkflowOutputEvent.source_executor_id to executor_id for API consistency (#3166)

This commit is contained in:
Evan Mattson
2026-01-15 11:11:25 +09:00
committed by GitHub
Unverified
parent ffe2e787ba
commit 80b25a782b
7 changed files with 16 additions and 17 deletions
@@ -881,7 +881,7 @@ class MessageMapper:
# Handle WorkflowOutputEvent separately to preserve output data
if event_class == "WorkflowOutputEvent":
output_data = getattr(event, "data", None)
source_executor_id = getattr(event, "source_executor_id", "unknown")
executor_id = getattr(event, "executor_id", "unknown")
if output_data is not None:
# Import required types
@@ -942,7 +942,7 @@ class MessageMapper:
# Emit output_item.added for each yield_output
logger.debug(
f"WorkflowOutputEvent converted to output_item.added "
f"(executor: {source_executor_id}, length: {len(text)})"
f"(executor: {executor_id}, length: {len(text)})"
)
return [
ResponseOutputItemAddedEvent(