Closed Bug 2047885 Opened 2 months ago Closed

The AI Assistant will not see or close all opened tabs when asked

Categories

(Core :: Machine Learning: Frontend, defect)

Desktop
Unspecified
defect

Tracking

()

VERIFIED FIXED
154 Branch
Tracking Status
firefox153 --- wontfix
firefox154 --- verified

People

(Reporter: rdoghi, Assigned: jlewis)

References

(Blocks 1 open bug)

Details

(Whiteboard: [aife])

Attachments

(4 files)

Attached video notalltabs.mp4

Found in

  • Nightly 153.0a1 (2026-06-15)

Affected versions

  • Nightly 153.0a1 (2026-06-15)

Affected platforms

  • all

Steps to reproduce

  1. Enable Smart Window.
  2. Have over 20 tabs opened.
  3. Open a New Tab and Ask the assistant to close all other tabs.
  4. Hover over the items from the list and Click them.

Expected result

  • All other tabs should be displayed inside the Close panel, and the Ai should be able to close them all.

Actual result

  • Some of the Tabs are not visible to the AI and the user cannot close them.
    Most of the tabs are displayed in the Close panel and can be closed.
    This issue occurs with All 3 AI models.

Regression range
N/A

Attached file notalltabs1.json

Attaching the exported conversation

Assignee: nobody → jlewis
Attachment #9598106 - Attachment description: WIP: Bug 2047885 - Clean up trailing commas in AI Assistant token output → Bug 2047885 - Clean up trailing commas in AI Assistant token output
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 154 Branch
Attached video 2026-06-19_12h07_52.mp4

Hi, This issue seems to still occur on my end, I was asking the AI to close all my other tabs and at least 1 tab is missed, in this case the CNN tab, before it missed a google page.
I have 14 tabs opened including the new tab where I am prompting to close my other tabs, and 1 tab seems to remain opened and it never shows up in the confirmation prompt.

This happens in our latest Nightly ID 20260619040854

Flags: needinfo?(jlewis)

Hey Rares, thanks for flagging this. I'm looking into the cause here.

Depends on: 2049510

Thanks again for flagging this, I have filed a follow-up here: https://bugzilla.mozilla.org/show_bug.cgi?id=2049510

While my fix lessened the issue around detecting all tabs, there is a deeper issue around how the model produces URL tokens that potentially affects all tools calls and not just this one. Please let me know if you have any further questions, but the remaining fix should solve this.

No longer depends on: 2049510
Flags: needinfo?(jlewis) → needinfo?(rdoghi)

Verified as fixed in our latest Nightly 154.0a1 (2026-06-22) , I will verify the remaining issue when the fix for Bug 2049510 lands.

QA Whiteboard: [qa-found-in-c153][QA-4747][S3] → [qa-found-in-c153][QA-4747][S3][qa-ver-needed-c154/b153]
Flags: needinfo?(rdoghi)
QA Contact: rdoghi

The patch landed in nightly and beta is affected.
:jlewis, is this bug important enough to require an uplift?

For more information, please visit BugBot documentation.

Flags: needinfo?(jlewis)
Flags: needinfo?(jlewis)

Updating the main status flag.

Status: RESOLVED → VERIFIED
QA Whiteboard: [qa-found-in-c153][QA-4747][S3][qa-ver-needed-c154/b153] → [qa-found-in-c153][QA-4747][S3][qa-ver-done-c154/b153]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: