adisconnect • AI Agent SDK
adisconnect: Disconnect from the Realtime API asynchronously.
adisconnect
Async
Method
</div>
This is a method of the RealtimeAgent class in the realtime_agent module.
Disconnect from the Realtime API asynchronously.
Signature
async def adisconnect() -> boolReturns
ResponseField
boolTrue if disconnected successfully
Uses
close
Used By
Source
View on GitHubpraisonaiagents/agent/realtime_agent.py at line 283