Member Junction
    Preparing search index...

    Per-agent quality/speed mode picker. Sits next to the agent picker in the chat-area header. Lists the active agent's configured presets (e.g. Draft / Standard / High) from AIEngineBase.Instance.GetAgentConfigurationPresets(agentId) and lets the user pick the one applied to all SUBSEQUENT requests in this conversation. Past messages are not retroactively re-routed.

    Choice persists per-user, per-agent via UserInfoEngine (key mj.agentMode.<agentId> = preset name). Cross-device, cross-browser — same model the form-variant preference uses. No DB schema changes.

    Auto-hides when the active agent has fewer than 2 presets — a single-mode agent doesn't need a switcher.

    Implements

    • OnInit
    Index

    Constructors

    Properties

    CurrentPreset: MJAIAgentConfigurationEntity | null = null
    Disabled: boolean = false

    Disable interactions (e.g. during agent execution).

    IsOpen: boolean = false
    PresetChanged: EventEmitter<string | null> = ...

    Emitted whenever the user picks a preset. Payload is the MJ: AI Agent Configurations.ID — exactly what MessageInputComponent forwards as agentConfigurationPresetId on the next message route. Null when the picker is cleared or the active agent has no presets.

    Accessors

    Methods