mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-07-03 20:41:07 +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
|
child.candidate_parent_functions[agent.name] = func
|
||||||
|
|
||||||
for agent in agents:
|
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(
|
agent = add_transfer_instructions_to_child_agents(
|
||||||
child=agent,
|
child=agent,
|
||||||
children_aware_of_parent=children_aware_of_parent
|
children_aware_of_parent=children_aware_of_parent
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue