Agent Zero AI framework
call subordinate profile fix
frdele6e1a49617a2
diff --git a/python/tools/call_subordinate.py b/python/tools/call_subordinate.pyindex 0f1547c83..1a15f6dea 100644--- a/python/tools/call_subordinate.py+++ b/python/tools/call_subordinate.py@@ -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