closeAll

open suspend fun closeAll()(source)

Closes all AI agents currently managed by the service.

This method retrieves the list of all agents, regardless of their state (active, inactive, or finished), and invokes the AIAgent.close function on each of them, releasing any underlying resources.