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

Method on_mount

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

Source from the content-addressed store, hash-verified

150 yield RichLog(id="bottom-pane", wrap=True, highlight=True, markup=True)
151
152 async def on_mount(self) -> None:
153 self.run_worker(self.handle_realtime_connection())
154 self.run_worker(self.send_mic_audio())
155
156 async def handle_realtime_connection(self) -> None:
157 async with self.client.realtime.connect(model="gpt-realtime") as conn:

Callers

nothing calls this directly

Calls 2

send_mic_audioMethod · 0.95

Tested by

no test coverage detected