call subordinate profile fix

frdel committed Aug 4, 2025 at 17:31 UTC e6e1a49617a298edb64f1191ba7636d9d3607c5b
1 file changed +1 -1
python/tools/call_subordinate.py
+1 -1
@@ -23,7 +23,7 @@ class Delegation(Tool):
23 subordinate.hist_add_user_message(UserMessage(message=message, attachments=[]))
24
25 # set subordinate prompt profile if provided, if not, keep original
26 - agent_profile = kwargs.get("agent_profile")
26 + agent_profile = kwargs.get("profile")
27 if agent_profile:
28 subordinate.config.profile = agent_profile
29