Closed Bug 2012830 Opened 2 months ago Closed 2 months ago

Move real time context prompts to remote settings

Categories

(Core :: Machine Learning: General, task)

task

Tracking

()

RESOLVED FIXED
149 Branch
Tracking Status
firefox149 --- fixed

People

(Reporter: bjohns, Assigned: bjohns)

References

Details

(Whiteboard: [genai][models])

Attachments

(1 file)

Currently, real time information is injected into the conversation using a hard-coded prompt (here: https://searchfox.org/firefox-main/source/browser/components/aiwindow/models/ChatUtils.sys.mjs#96). We move this prompt to remote settings to allow for model-level prompting and prompt iteration.

The Bugbug bot thinks this bug should belong to the 'Core::Machine Learning: General' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: General → Machine Learning: General
Product: Firefox → Core
Assignee: nobody → bjohns
Status: NEW → ASSIGNED
Duplicate of this bug: 2008865
Pushed by bjohns@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/acc5e916a90f https://hg.mozilla.org/integration/autoland/rev/48f7bd1975dd updating ChatConversation starters to pull systemPrompt and realTimeInfo prompt from remote settings r=omarg,ai-models-reviewers,ai-frontend-reviewers,cdipersio
Pushed by sstanca@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/6bd6641eda46 https://hg.mozilla.org/integration/autoland/rev/1a50801c42aa Revert "Bug 2012830 - updating ChatConversation starters to pull systemPrompt and realTimeInfo prompt from remote settings r=omarg,ai-models-reviewers,ai-frontend-reviewers,cdipersio" for causing xpcshell failures in test_ChatConversation.js.

Reverted this because it was causing xpcshell failures in test_ChatConversation.js.

Please ,also, check these mochitests failures .

Flags: needinfo?(bjohns)
Pushed by bjohns@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/247068d1082d https://hg.mozilla.org/integration/autoland/rev/c895861b1d7a updating ChatConversation starters to pull systemPrompt and realTimeInfo prompt from remote settings r=omarg,ai-models-reviewers,ai-frontend-reviewers,cdipersio
Pushed by sstanca@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/820a8e1c86f2 https://hg.mozilla.org/integration/autoland/rev/2abca9f7de4c Revert "Bug 2012830 - updating ChatConversation starters to pull systemPrompt and realTimeInfo prompt from remote settings r=omarg,ai-models-reviewers,ai-frontend-reviewers,cdipersio" for causing xpcshell failures.

Reverted this because it was causing xpcshell failures.

  • Revert link

  • Push with failures

  • Failure Log

  • Failure line: TEST-UNEXPECTED-FAIL | browser/components/aiwindow/models/tests/xpcshell/test_ChatUtils.js | test_constructRealTimeInfoInjectionMessage_with_tab_info - [test_constructRealTimeInfoInjectionMessage_with_tab_info : 193] Should return system role - "undefined" == "system"

  • Failure Log - mochitests falures

Pushed by bjohns@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/d30fdfd28b09 https://hg.mozilla.org/integration/autoland/rev/3d1d887c2410 updating ChatConversation starters to pull systemPrompt and realTimeInfo prompt from remote settings r=omarg,ai-models-reviewers,ai-frontend-reviewers,cdipersio
Pushed by smolnar@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/04e7e3f5cd91 https://hg.mozilla.org/integration/autoland/rev/87f3d6064722 Revert "Bug 2012830 - updating ChatConversation starters to pull systemPrompt and realTimeInfo prompt from remote settings r=omarg,ai-models-reviewers,ai-frontend-reviewers,cdipersio" for causing bc failures @ browser_smartwindow_prompts.js / browser_conversation_stream.js
Pushed by bjohns@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/279ac24ebe5e https://hg.mozilla.org/integration/autoland/rev/0c1c89ddca0d updating ChatConversation starters to pull systemPrompt and realTimeInfo prompt from remote settings r=omarg,ai-models-reviewers,ai-frontend-reviewers,cdipersio
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 149 Branch
Regressions: 2016702
Blocks: 2016859
Blocks: 2017213
Flags: needinfo?(bjohns)
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

Creator:
Created:
Updated:
Size: