Closed Bug 2011478 Opened 6 months ago Closed 6 months ago

try generating memories when activating ai window

Categories

(Core :: Machine Learning: Frontend, enhancement, P1)

enhancement

Tracking

()

RESOLVED FIXED
149 Branch
Iteration:
149.1 - Jan 12 - Jan 23
Tracking Status
firefox149 --- fixed

People

(Reporter: Mardak, Assigned: pdahiya)

References

(Blocks 1 open bug)

Details

(Whiteboard: [genai][onboarding])

Attachments

(1 file)

bug 2010143 added conditions for generating memories such as checking for tos and active ai window with a MemoriesSchedulers.maybeRunAndSchedule api

we should trigger memory scheduling and kick off memory generation when the user activates an ai window which would have required the user to accept terms, so maybe when hasToSConsent gets set https://searchfox.org/firefox-main/rev/93aad2a6615f670b1279c229dd37f7397236131a/browser/components/aiwindow/ui/modules/AIWindowAccountAuth.sys.mjs#91

i don't think we need to wait for firstrun completion as the model we use for memories is independent of assistant response model?

more generally, we should probably trigger potential memory generation (it handles its own "too recent" backoff heuristics) whenever we checked if we need to show firstrun bug 2005368? https://searchfox.org/firefox-main/rev/93aad2a6615f670b1279c229dd37f7397236131a/browser/components/aiwindow/ui/modules/AIWindow.sys.mjs#363-374

we also need to flip the default pref value to true https://searchfox.org/firefox-main/rev/93aad2a6615f670b1279c229dd37f7397236131a/browser/app/profile/firefox.js#2270

Depends on: 2011527
Assignee: nobody → pdahiya
Iteration: --- → 149.1 - Jan 12 - Jan 23
Priority: -- → P1
Status: NEW → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → 149 Branch
QA Whiteboard: [qa-triage-done-c150/b149]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: