mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
fix(workflows): rename WorkflowOutputEvent.source_executor_id to executor_id for API consistency (#3166)
This commit is contained in:
committed by
GitHub
Unverified
parent
ffe2e787ba
commit
80b25a782b
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user