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

python
async def adisconnect() -> bool

Returns

ResponseField bool

True if disconnected successfully

Uses

  • close

Used By

Source

View on GitHub

praisonaiagents/agent/realtime_agent.py at line 283