Emitted after a successful save with the new (or null) agent ID.
The conversation whose DefaultAgentID this widget edits.
Required for the Save() audit context.
Disable the picker (e.g. read-only conversation).
A callback method that is invoked immediately after the default change detector has checked the directive's data-bound properties for the first time, and before any of the view or content children have been checked. It is invoked only once when the directive is instantiated.
Close the menu when the user clicks outside the picker.
Header widget that lets a user pin a default AI agent on the active conversation. The pinned agent (saved to
MJConversationEntity.DefaultAgentID) takes precedence over the embedder-supplied default inMessageInputComponent.routeMessage()— non-mention messages route to it instead of Sage.Eligible agents are top-level, Active, non-Sub-Agent rows from
AIEngineBase.Instance.Agents. The widget renders as a compact button showing the current pin (or "Auto" when nothing is pinned). Clicking opens an inline list with a "Clear" option to remove the pin.The host controls visibility via
<mj-conversation-chat-area>'s[showAgentPicker]input (default true). Surfaces that don't want this UX (e.g. agent-less embed) set it to false.