Team.deep_copy() fails with TypeError: Team.__init__() got an unexpected keyword argument 'parent_team_id' when using nested Teams (subteams) #6967
Unanswered
user1500177
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Version: agno 2.5.0
Description:
When using nested Team objects (Team → sub-Team → Agents), the deep_copy() method in _utils.py fails because it collects ALL dataclass fields (including parent_team_id and workflow_id which are set internally) and passes them to Team.init(), which does not accept these parameters.
Error:
Is this a known , issue ?
Is this error/warning supposedly not going to affect me functionally ? From what i saw as the delagations and the tool calls were successfully performed and i got the response as required.)
I saw a related issue but it was closed in #6296 , Still i face the issue in version 2.5.0 of Agno
Beta Was this translation helpful? Give feedback.
All reactions