Skip to main content

aconnect

AsyncMethod
This is a method of the RealtimeAgent class in the realtime_agent module.
Connect to the Realtime API asynchronously.

Signature

async def aconnect() -> bool

Returns

Returns
bool
True if connected successfully

Uses

  • ImportError
  • ValueError
  • websockets.connect
  • to_dict
  • callback

Used By

Source

View on GitHub

praisonaiagents/agent/realtime_agent.py at line 152