get_active_agent


Description:

public Factory get_active_agent ()

Gets the active agent for the current session.

Returns the agent based on the current session's agent_name. The client for the agent should be obtained from the session separately. Unknown agent_name falls back to just-ask (does not mutate session).

Returns:

The active agent factory (always non-null when just-ask is registered)