apirrone commited on
Commit
2c23ac8
·
1 Parent(s): 34dc011
src/reachy_mini_conversation_app/openai_realtime.py CHANGED
@@ -84,7 +84,7 @@ class OpenaiRealtimeHandler(AsyncStreamHandler):
84
  """Start the handler with minimal retries on unexpected websocket closure."""
85
  openai_api_key = config.OPENAI_API_KEY
86
  if self.gradio_mode:
87
- await self.wait_for_args() #  type: ignore[no-untyped-call]
88
  args = list(self.latest_args)
89
  textbox_api_key = args[3] if len(args[3]) > 0 else None
90
  if textbox_api_key is not None:
 
84
  """Start the handler with minimal retries on unexpected websocket closure."""
85
  openai_api_key = config.OPENAI_API_KEY
86
  if self.gradio_mode:
87
+ await self.wait_for_args() # type: ignore[no-untyped-call]
88
  args = list(self.latest_args)
89
  textbox_api_key = args[3] if len(args[3]) > 0 else None
90
  if textbox_api_key is not None: