Skip to content

Python: as_agent() fails for Magentic workflow #1309

@sogansky

Description

@sogansky

Calling as_agent() on a magentic workflow built following the example here: https://github.com/microsoft/agent-framework/blob/main/python/samples/getting_started/workflows/orc…
results in an error:
ValueError: Workflow's start executor cannot handle list[ChatMessage]

Indeed, the magentic workflow's start executor (MagenticOrchestratorExecutor https://github.com/microsoft/agent-framework/blob/5a7ca13af686a5b4770d83393943efc54ffeebb5/python/p… ) does not seem to have a method that handles list[ChatMessage].

Metadata

Metadata

Assignees

Labels

agent orchestrationIssues related to agent orchestrationpythonworkflowsRelated to Workflows in agent-framework

Type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions