-
Notifications
You must be signed in to change notification settings - Fork 6.4k
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
AssistantAgent.metadata for user/application identity information associated with the agent. #6048 #6057
Conversation
python/packages/autogen-agentchat/src/autogen_agentchat/agents/_assistant_agent.py
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Just the API docs need to be updated as well.
I've modified it, but I'm not sure if it's correct |
It's not. The api doc is the doc string of AssistantAgent |
I've added the metadata docstring to AssistantAgent — could you help confirm if the wording is correct? |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6057 +/- ##
=======================================
Coverage 76.64% 76.65%
=======================================
Files 191 191
Lines 13220 13222 +2
=======================================
+ Hits 10133 10135 +2
Misses 3087 3087
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Please run |
I’ve run poe format and pushed the changes. |
Why are these changes needed?
This PR introduces a metadata field in AssistantAgentConfig, allowing applications to assign and track identity information for agents.
The metadata field is a Dict[str, str] and is included in the configuration for proper serialization.
Related issue number
Closes #6048
Checks