Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass context between AssistantAgent for handoffs #5084

Merged
merged 6 commits into from
Jan 17, 2025
Merged

Conversation

ekzhu
Copy link
Collaborator

@ekzhu ekzhu commented Jan 16, 2025

Resolves #5045

Now AssistantAgent can pass context about tool calls happened in the same turn to another AssistantAgent through HandoffMessage

@ekzhu
Copy link
Collaborator Author

ekzhu commented Jan 16, 2025

@jochenvw @vincent-herlemont please try this branch to verify if your issue is fixed.

Copy link

codecov bot commented Jan 16, 2025

Codecov Report

Attention: Patch coverage is 97.22222% with 1 line in your changes missing coverage. Please review.

Project coverage is 69.95%. Comparing base (0363388) to head (dc0947c).
Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
...t/src/autogen_agentchat/agents/_assistant_agent.py 96.96% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5084      +/-   ##
==========================================
+ Coverage   69.91%   69.95%   +0.04%     
==========================================
  Files         168      168              
  Lines       10698    10716      +18     
==========================================
+ Hits         7479     7496      +17     
- Misses       3219     3220       +1     
Flag Coverage Δ
unittests 69.95% <97.22%> (+0.04%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ekzhu ekzhu enabled auto-merge (squash) January 17, 2025 17:14
@ekzhu ekzhu merged commit 8643ff6 into main Jan 17, 2025
63 checks passed
@ekzhu ekzhu deleted the assistant-agent-handoff branch January 17, 2025 23:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

In a Swarm team the tool call output of an agent is not transferred to the next agent.
2 participants