mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-05-05 15:31:08 +00:00
call subordinate profile fix
This commit is contained in:
parent
1654baf169
commit
e6e1a49617
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ class Delegation(Tool):
|
|||
subordinate.hist_add_user_message(UserMessage(message=message, attachments=[]))
|
||||
|
||||
# set subordinate prompt profile if provided, if not, keep original
|
||||
agent_profile = kwargs.get("agent_profile")
|
||||
agent_profile = kwargs.get("profile")
|
||||
if agent_profile:
|
||||
subordinate.config.profile = agent_profile
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue