@@ -34,7 +34,7 @@ async def test_should_list_available_custom_agents(self):
3434 "description" : "Another test agent" ,
3535 "prompt" : "You are another agent." ,
3636 },
37- ]
37+ ],
3838 }
3939 )
4040
@@ -68,7 +68,7 @@ async def test_should_return_null_when_no_agent_is_selected(self):
6868 "description" : "A test agent" ,
6969 "prompt" : "You are a test agent." ,
7070 }
71- ]
71+ ],
7272 }
7373 )
7474
@@ -97,7 +97,7 @@ async def test_should_select_and_get_current_agent(self):
9797 "description" : "A test agent" ,
9898 "prompt" : "You are a test agent." ,
9999 }
100- ]
100+ ],
101101 }
102102 )
103103
@@ -136,7 +136,7 @@ async def test_should_deselect_current_agent(self):
136136 "description" : "A test agent" ,
137137 "prompt" : "You are a test agent." ,
138138 }
139- ]
139+ ],
140140 }
141141 )
142142
@@ -160,7 +160,9 @@ async def test_should_return_empty_list_when_no_custom_agents_configured(self):
160160
161161 try :
162162 await client .start ()
163- session = await client .create_session ({"on_permission_request" : PermissionHandler .approve_all })
163+ session = await client .create_session (
164+ {"on_permission_request" : PermissionHandler .approve_all }
165+ )
164166
165167 result = await session .rpc .agent .list ()
166168 assert result .agents == []
@@ -175,7 +177,9 @@ class TestSessionCompactionRpc:
175177 @pytest .mark .asyncio
176178 async def test_should_compact_session_history_after_messages (self , ctx : E2ETestContext ):
177179 """Test compacting session history via RPC."""
178- session = await ctx .client .create_session ({"on_permission_request" : PermissionHandler .approve_all })
180+ session = await ctx .client .create_session (
181+ {"on_permission_request" : PermissionHandler .approve_all }
182+ )
179183
180184 # Send a message to create some history
181185 await session .send_and_wait ({"prompt" : "What is 2+2?" })
0 commit comments