mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-05-08 01:41:42 +00:00
Merge branch 'main' into development
This commit is contained in:
commit
d0a9444fb8
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