Skip to content

Add ability to register Agent instances #6131

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

Merged
merged 23 commits into from
May 12, 2025

Conversation

peterychang
Copy link
Collaborator

@peterychang peterychang commented Mar 27, 2025

Why are these changes needed?

Nice to have functionality

Related issue number

Closes #6060

Checks

Copy link

codecov bot commented Mar 27, 2025

Codecov Report

Attention: Patch coverage is 76.40449% with 21 lines in your changes missing coverage. Please review.

Project coverage is 79.23%. Comparing base (c26d894) to head (f4614a8).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
...kages/autogen-core/src/autogen_core/_base_agent.py 61.11% 14 Missing ⚠️
...t/src/autogen_ext/runtimes/grpc/_worker_runtime.py 87.50% 3 Missing ⚠️
...n/packages/autogen-core/src/autogen_core/_agent.py 60.00% 2 Missing ⚠️
...es/autogen-core/src/autogen_core/_agent_runtime.py 50.00% 1 Missing ⚠️
...src/autogen_core/_single_threaded_agent_runtime.py 94.11% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6131      +/-   ##
==========================================
+ Coverage   78.75%   79.23%   +0.48%     
==========================================
  Files         225      225              
  Lines       16589    16666      +77     
==========================================
+ Hits        13064    13205     +141     
+ Misses       3525     3461      -64     
Flag Coverage Δ
unittests 79.23% <76.40%> (+0.48%) ⬆️

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.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@peterychang peterychang requested a review from jackgerrits May 9, 2025 20:20
@peterychang peterychang enabled auto-merge (squash) May 12, 2025 15:10
@peterychang peterychang merged commit 9118f9b into microsoft:main May 12, 2025
62 checks passed
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.

Allow registration of instances instead of factories
3 participants