Skip to content

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

Closed

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

  1. added
    bugUsage: [Issues], Target: all issues (Legacy, prefer issue type: bug)
    on Mar 4, 2026
  2. added
    pythonUsage: [Issues, PRs], Target: Python
    triageUsage: [Issues], Target: All issues that still need to be triaged
    on Mar 4, 2026
  3. added
    workflowsUsage: [Issues, PRs], Target: Workflows
    and removed
    triageUsage: [Issues], Target: All issues that still need to be triaged
    on Mar 4, 2026
  4. added 6 commits that reference this issue on Mar 5, 2026
    91bede1
    f209dc1
    bddc895
    d2ac6a2
    06b23ed
    77ee1bd
  5. added a commit that references this issue on Mar 10, 2026
    e35f530
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