Agent
stop
Stop the currently running agent
This method sends a stop request to the agent, terminating its current execution. The agent will stop processing its current task immediately
Signature
Returns
AgentResponse
: The response from the stop operation.
Raises
ValueError
: If the agent hasn’t been run yet (no agent_id available).