activate_agent


Description:

public void activate_agent (string fid, string agent_name)

Activates an agent for a session identified by fid.

Routes to session.activate_agent() to handle the agent change, including copying chat/messages from old AgentHandler to new AgentHandler. On failure logs GLib.warning and returns.

Parameters:

fid

The session identifier (file ID)

agent_name

The name of the agent to activate