removeAgent

abstract suspend fun removeAgent(agent: AIAgent<Input, Output>): Boolean(source)

Removes the specified AI agent from the service.

Return

True if the agent was successfully removed, or false if the agent was not found.

Parameters

agent

The AI agent to be removed.