Closed Bug 2034643 Opened 4 months ago Closed 3 months ago

Add inline model picker to Smartbar

Categories

(Core :: Machine Learning: Frontend, task)

task

Tracking

()

VERIFIED FIXED
153 Branch
Tracking Status
relnote-firefox --- 153+
firefox-esr140 --- disabled
firefox151 --- disabled
firefox152 --- wontfix
firefox153 --- verified

People

(Reporter: jlevinsohn, Assigned: flozia)

References

Details

(Whiteboard: [aiasst])

Attachments

(7 files)

Display the current model in the Smartbar and allow users to open a picker to select a model.

  • Current model is shown in the Smartbar (descriptor + model name + icon)
  • Clicking the current model opens the picker menu
  • Picker displays available models:
    • Fast
    • Flexible
    • Personal
    • Custom model (if configured)
  • Each model displays:
    • icon
    • descriptor
    • model name/provider
  • Current model is visually indicated in the picker
  • Selecting a model updates the selected state in the picker UI
  • Picker supports:
    • hover states
    • focus states
    • keyboard navigation
  • Picker includes link/entry point to model settings
  • Display and picker render correctly in:
    • new tab state
    • active Smart Window conversations
  • No persistence or behavioral changes required in this ticket (UI only)

Figma Specs

Attached image default.png
Attached image select model.png

Adds a model selector dropdown to the smartbar that allows users to:

  • Select from available models per tab
  • Access Smart Window model settings

Adds support for switching models per tab:

  • Extends openAIEngine.build() to accept a modelChoiceId override
  • Adds ChatConversation.updateSystemPromptForModel() to update the system prompt when model changes
Assignee: nobody → fzia
Attachment #9588024 - Attachment description: WIP: Bug 2034643 - Part 1: Add model select to smartbar → Bug 2034643 - Part 1: Add model select to smartbar
Status: NEW → ASSIGNED
Attachment #9588025 - Attachment description: WIP: Bug 2034643 - Part 2: Update system prompt to reflect model switch → Bug 2034643 - Part 2: Update system prompt to reflect model switch
Attachment #9588026 - Attachment description: WIP: Bug 2034643 - Part 3: Add test for smartbar model switch → Bug 2034643 - Part 3: Add test for smartbar model switch
Blocks: 2041081
Attachment #9588193 - Attachment description: WIP: Bug 2034643 - Part 4: Handle default model setting change in open tabs → Bug 2034643 - Part 4: Handle default model setting change in open tabs
Pushed by amarc@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/f8ee411b2f86 https://hg.mozilla.org/integration/autoland/rev/91a45c0a367d Revert "Bug 2034643 - Part 4: Handle default model setting change in open tabs r=echa" for causing bc failures @ browser_all_files_referenced

Backed out for causing bc failures

Flags: needinfo?(fzia)
Blocks: 2040712

This issue is verified as fixed in our latest Nightly 153.0a1 (2026-06-11)

QA Whiteboard: [qa-ver-done-c153/b152]
QA Contact: rdoghi
Blocks: 2044078
See Also: → 2034646
Flags: needinfo?(fzia)
Duplicate of this bug: 2034646

Updating the main status flag.

Status: RESOLVED → VERIFIED
No longer blocks: 2046201

Release Note Request (optional, but appreciated)
[Why is this notable]: new smart window control
[Affects Firefox for Android]: no
[Suggested wording]: See and choose AI models directly from the Smart Window assistant. (Bug 2034643)
[Links (documentation, blog post, etc)]: https://www.firefox.com/smart-window is needed to activate the feature and it's region restricted, so we should probably show the "progressive roll out" indicator

relnote-firefox: --- → ?
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: