removeAgentWithId

expect abstract suspend fun removeAgentWithId(id: String): Boolean(source)

Removes an AI agent based on its unique identifier.

Return

True if the agent with the specified ID was successfully removed, or false if no such agent was found.

Parameters

id

The unique identifier of the AI agent to be removed.

fun removeAgentWithId(id: String, executorService: ExecutorService? = null): Boolean(source)

Removes an agent identified by the provided ID.

Return

true if the agent was successfully removed, otherwise false.

Parameters

id

The unique identifier of the agent to be removed.

executorService

An optional ExecutorService that can be provided to control the execution context.


actual abstract suspend fun removeAgentWithId(id: String): Boolean(source)

Removes an AI agent based on its unique identifier.

Return

True if the agent with the specified ID was successfully removed, or false if no such agent was found.

Parameters

id

The unique identifier of the AI agent to be removed.

actual abstract suspend fun removeAgentWithId(id: String): Boolean(source)

Removes an AI agent based on its unique identifier.

Return

True if the agent with the specified ID was successfully removed, or false if no such agent was found.

Parameters

id

The unique identifier of the AI agent to be removed.