mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-04-27 17:36:25 +02:00
Exclude escalation agents from giving up chat control
This commit is contained in:
parent
affb6c18ca
commit
8423fff2c7
1 changed files with 1 additions and 1 deletions
|
|
@ -173,7 +173,7 @@ def get_agents(agent_configs, tool_configs, localize_history, available_tool_map
|
|||
child.candidate_parent_functions[agent.name] = func
|
||||
|
||||
for agent in agents:
|
||||
if agent.candidate_parent_functions:
|
||||
if agent.candidate_parent_functions and agent.type != "escalation":
|
||||
agent = add_transfer_instructions_to_child_agents(
|
||||
child=agent,
|
||||
children_aware_of_parent=children_aware_of_parent
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue