Closed
Bug 2008658
Opened 28 days ago
Closed 23 days ago
Messages array in Chat.sys.mjs is incorrect
Categories
(Core :: Machine Learning: Frontend, defect)
Core
Machine Learning: Frontend
Tracking
()
RESOLVED
FIXED
148 Branch
| Tracking | Status | |
|---|---|---|
| firefox148 | --- | fixed |
People
(Reporter: omarg, Assigned: omarg)
References
(Blocks 1 open bug)
Details
(Whiteboard: [genai][chat])
Attachments
(2 files, 1 obsolete file)
- Fix missing role values in assistant messages passed in ChatConversation.getMessagesInOpenAiFormat()
- Remove previously injected messages and recalculate on each submission
- Fix tool_calls key to the correct level
Updated•28 days ago
|
Updated•25 days ago
|
Attachment #9536427 -
Attachment is obsolete: true
Pushed by ogonzalez@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/a7adf02cc574
https://hg.mozilla.org/integration/autoland/rev/8a7bad82af50
fixes messages array for OpenAI api format r=tzhang,ai-frontend-reviewers,ai-models-reviewers
Pushed by smolnar@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/3dc471cd51b1
https://hg.mozilla.org/integration/autoland/rev/dcbd28585876
Revert "Bug 2008658 - fixes messages array for OpenAI api format r=tzhang,ai-frontend-reviewers,ai-models-reviewers" for causing xpc failures @ test_Tools_GetOpenTabs.js
Comment 5•24 days ago
|
||
Backed out for causing xpc failures @ test_Tools_GetOpenTabs.js
Backout link: https://hg.mozilla.org/integration/autoland/rev/dcbd28585876bb16095af8ff387e8649ed29c9dd
Flags: needinfo?(ogonzalez)
I am commenting out the failed assertions and noting the changes in Bug 2009194 where the issue for these failures is being fixed.
Flags: needinfo?(ogonzalez)
Updated•24 days ago
|
Attachment #9536425 -
Attachment description: Bug 2008658 - fixes messages array for OpenAI api format r=tzhang,bjohns → Bug 2008658 - fixes messages array for OpenAI api format r=tzhang,ai-frontend-reviewers,ai-models-reviewers
Pushed by ogonzalez@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/f30a4105039d
https://hg.mozilla.org/integration/autoland/rev/bd13b8fd9287
fixes messages array for OpenAI api format r=tzhang,ai-frontend-reviewers,ai-models-reviewers
Comment 8•23 days ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 23 days ago
status-firefox148:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 148 Branch
Updated•19 days ago
|
QA Whiteboard: [qa-triage-done-c149/b148]
Comment 10•18 days ago
|
||
A patch has been attached on this bug, which was already closed. Filing a separate bug will ensure better tracking. If this was not by mistake and further action is needed, please alert the appropriate party. (Or: if the patch doesn't change behavior -- e.g. landing a test case, or fixing a typo -- then feel free to disregard this message)
Comment 11•18 days ago
|
||
Pushed by gijskruitbosch@gmail.com:
https://github.com/mozilla-firefox/firefox/commit/812f1e64abee
https://hg.mozilla.org/integration/autoland/rev/12cc1fae1fd7
fix messages for OpenAI api format, landing reattempt r=ai-frontend-reviewers,Gijs
Comment 12•18 days ago
|
||
| bugherder | ||
You need to log in
before you can comment on or make changes to this bug.
Description
•