MCPcopy
hub / github.com/openai/openai-python / _get_connection

Method _get_connection

examples/realtime/push_to_talk_app.py:210–213  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

208 continue
209
210 async def _get_connection(self) -> AsyncRealtimeConnection:
211 await self.connected.wait()
212 assert self.connection is not None
213 return self.connection
214
215 async def send_mic_audio(self) -> None:
216 import sounddevice as sd # type: ignore

Callers 2

send_mic_audioMethod · 0.95
on_keyMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected