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
ekzhu
left a comment
There was a problem hiding this comment.
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