@@ -126,15 +126,16 @@ async def test_agent_transfer_includes_sorted_agent_names_in_system_instructions
126126Agent description: Peer agent
127127
128128
129- If you are the best to answer the question according to your description, you
130- can answer it.
129+ If you are the best to answer the question according to your description,
130+ you can answer it.
131131
132132If another agent is better for answering the question according to its
133- description, call `transfer_to_agent` function to transfer the
134- question to that agent. When transferring, do not generate any text other than
135- the function call.
133+ description, call `transfer_to_agent` function to transfer the question to that
134+ agent. When transferring, do not generate any text other than the function
135+ call.
136136
137- **NOTE**: the only available agents for `transfer_to_agent` function are `a_agent`, `m_agent`, `parent_agent`, `peer_agent`, `z_agent`.
137+ **NOTE**: the only available agents for `transfer_to_agent` function are
138+ `a_agent`, `m_agent`, `parent_agent`, `peer_agent`, `z_agent`.
138139
139140If neither you nor the other agents are best for the question, transfer to your parent agent parent_agent."""
140141
@@ -189,15 +190,16 @@ async def test_agent_transfer_system_instructions_without_parent():
189190Agent description: Second sub-agent
190191
191192
192- If you are the best to answer the question according to your description, you
193- can answer it.
193+ If you are the best to answer the question according to your description,
194+ you can answer it.
194195
195196If another agent is better for answering the question according to its
196- description, call `transfer_to_agent` function to transfer the
197- question to that agent. When transferring, do not generate any text other than
198- the function call.
197+ description, call `transfer_to_agent` function to transfer the question to that
198+ agent. When transferring, do not generate any text other than the function
199+ call.
199200
200- **NOTE**: the only available agents for `transfer_to_agent` function are `agent1`, `agent2`."""
201+ **NOTE**: the only available agents for `transfer_to_agent` function are
202+ `agent1`, `agent2`."""
201203
202204 assert expected_content in instructions
203205
@@ -248,15 +250,16 @@ async def test_agent_transfer_simplified_parent_instructions():
248250Agent description: Parent agent
249251
250252
251- If you are the best to answer the question according to your description, you
252- can answer it.
253+ If you are the best to answer the question according to your description,
254+ you can answer it.
253255
254256If another agent is better for answering the question according to its
255- description, call `transfer_to_agent` function to transfer the
256- question to that agent. When transferring, do not generate any text other than
257- the function call.
257+ description, call `transfer_to_agent` function to transfer the question to that
258+ agent. When transferring, do not generate any text other than the function
259+ call.
258260
259- **NOTE**: the only available agents for `transfer_to_agent` function are `parent_agent`, `sub_agent`.
261+ **NOTE**: the only available agents for `transfer_to_agent` function are
262+ `parent_agent`, `sub_agent`.
260263
261264If neither you nor the other agents are best for the question, transfer to your parent agent parent_agent."""
262265
0 commit comments