aconnect • AI Agent SDK
aconnect: Connect to the Realtime API asynchronously.
aconnect
Async
Method
</div>
This is a method of the RealtimeAgent class in the realtime_agent module.
Connect to the Realtime API asynchronously.
Signature
async def aconnect() -> boolReturns
ResponseField
boolTrue if connected successfully
Uses
ImportErrorValueErrorwebsockets.connectto_sessioncallback
Used By
Source
View on GitHubpraisonaiagents/agent/realtime_agent.py at line 209