activate_agent


Description:

public override void activate_agent (string agent_name)

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. On failure logs GLib.warning and returns.

Parameters:

agent_name

The name of the agent to activate