File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -455,7 +455,7 @@ def reset(self):
455455 self ._process_output_task = loop .create_task (self ._process_output ())
456456 except RuntimeError :
457457 logger .info ("No running event loop, creating one and running process output task" )
458- self ._process_output_task = run_coro_in_new_loop (self ._process_output ())
458+ self ._process_output_task = run_coro_in_new_loop (self ._process_output (), name = "process_output" )
459459
460460 def on_stop (self ):
461461 super ().on_stop ()
Original file line number Diff line number Diff line change @@ -229,7 +229,7 @@ async def _init_websocket_connection(self):
229229 logger .info (f"WebSocket connection for realtime mode initialized: { self ._websocket } " )
230230
231231 # Handle websocket messages and input streams
232- self ._loop .create_task (self ._handle_websocket_messages ())
232+ self ._loop .create_task (self ._handle_websocket_messages (), name = "handle_websocket_messages" )
233233
234234 # Create an initial response
235235 await self ._send_websocket_message ({"type" : "response.create" })
You can’t perform that action at this time.
0 commit comments