Skip to content

Python: Bug: Handoff functions with custom arguments #12522

Open
@hjerbii

Description

@hjerbii

Describe the bug
When using Handoff orchestration and defining the handoffs, we specify the source/target agents and the handoff rule but not the extra argument(s) or information that we want source agent to transfer to target agent.

I went through the code and if I am not mistaken, handoffs are converted to tools with empty parameters (here):

Image

Expected behavior
It would be nice if we can decide what parameters to transfer to target agent(s), or is it already possible to do so?. In my case, sometimes the source agent should act as a "supervisor" for the target agent and give it very specific task to accomplish to not get lost.

Platform

  • Language: Python
  • Source: main branch of repository
  • AI model: OpenAI:GPT-4o
  • OS: Windows

Thanks in advance!

Metadata

Metadata

Assignees

Labels

agentsbugSomething isn't workingpythonPull requests for the Python Semantic Kernel

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions