Protected_Protected_Protected ReadonlyagentProtected ReadonlyagentProtected ReadonlyaiProtected ReadonlydefaultProtected ReadonlyfallbackProtectedhiddenProtected ReadonlyloggerReadonlyonFired when the effective default agent changes (either through preference change or when the configured agent becomes available/unavailable).
Protected ReadonlyonReadonlyonFired when an agent is registered or unregistered.
Protected ReadonlyonProtected ReadonlypreferenceProtectedcheckReturns all available agents.
Returns all agents, including disabled ones.
Returns the configured default chat agent, if available and enabled.
Returns the effective default agent by checking preference first, then DI-bound default.
The effective default agent, or undefined if none is configured or available
Returns the configured fallback chat agent, if available and enabled.
Returns the user's preference-configured default chat agent, if available and enabled. This takes precedence over the DI-bound default agent.
ProtectedhandleProtectedinitAllows to register a chat agent programmatically.
the agent to register
Resolves the agent from a parsed request. Checks for explicit
The parsed chat request to resolve the agent from
The resolved agent, or undefined if no agent could be determined
Allows to unregister a chat agent programmatically.
the agent id to unregister
The ChatAgentService provides access to the available chat agents.