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

Declarative BaseChat Agents #5055

Merged
merged 18 commits into from
Jan 17, 2025
Merged

Declarative BaseChat Agents #5055

merged 18 commits into from
Jan 17, 2025

Conversation

victordibia
Copy link
Collaborator

@victordibia victordibia commented Jan 15, 2025

Why are these changes needed?

Makes the following components declarative

  • AssistantAgent
  • UserProxyAgent
  • ChatCompletionContext and child classes (bufffered, unbuffered, headtail)

Open issues (possibly future PR)

Related issue number

Closes #5032

Checks

Copy link

codecov bot commented Jan 15, 2025

Codecov Report

Attention: Patch coverage is 90.80460% with 8 lines in your changes missing coverage. Please review.

Project coverage is 73.11%. Comparing base (1f22a7b) to head (8696814).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
.../src/autogen_agentchat/agents/_user_proxy_agent.py 87.50% 2 Missing ⚠️
...model_context/_buffered_chat_completion_context.py 85.71% 2 Missing ⚠️
..._context/_head_and_tail_chat_completion_context.py 86.66% 2 Missing ⚠️
...odel_context/_unbounded_chat_completion_context.py 84.61% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5055      +/-   ##
==========================================
+ Coverage   72.95%   73.11%   +0.15%     
==========================================
  Files         116      116              
  Lines        6800     6869      +69     
==========================================
+ Hits         4961     5022      +61     
- Misses       1839     1847       +8     
Flag Coverage Δ
unittests 73.11% <90.80%> (+0.15%) ⬆️

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.

@victordibia victordibia marked this pull request as ready for review January 15, 2025 21:38
@victordibia victordibia merged commit c2a43e8 into main Jan 17, 2025
63 of 64 checks passed
@victordibia victordibia deleted the declarative_agentchat_agents_vd branch January 17, 2025 06:29
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.

Support declarative configs for BaseChatAgents (and derivatives) - UserProxy, AssistantAgent, WebSurferAgent
3 participants