Skip to content

Python: [Bug]: executor_completed event contains empty AgentResponse in workflow with mixed LLM agents #4455

Description

@ayhamakeed2000

Description

I am building a workflow using multiple agents with different LLMs (e.g., gpt-4o-mini and gemini-2.5-flash). When these agents are run using the magentic-one workflow, everything functions correctly. However, when the same agents are used inside a workflow, the executor_completed event includes an empty AgentResponse.

When I convert all agents to use only gpt-4o-mini, then all responses appear correctly.

Code Sample

Error Messages / Stack Traces

Package Versions

1.0.0rc2

Python Version

3.11.12

Additional Context

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugUsage: [Issues], Target: all issues (Legacy, prefer issue type: bug)pythonUsage: [Issues, PRs], Target: PythonworkflowsUsage: [Issues, PRs], Target: Workflows

Type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions