activate_agent


Description:

public override void activate_agent (string agent_name) throws Error

Activates an agent for this session.

Handles agent changes by creating a new AgentHandler. Messages are already stored in session.messages, so the new AgentHandler will have access to the full conversation history when building message arrays.

Parameters:

agent_name

The name of the agent to activate

Exceptions:

Error

if agent not found or handler creation fails