search_the_web tool swap forces tool calls into content
Categories
(Core :: Machine Learning: General, task)
Tracking
()
People
(Reporter: bjohns, Assigned: bjohns)
References
Details
(Whiteboard: [aiasst])
Attachments
(3 files, 3 obsolete files)
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
pascalc
:
approval-mozilla-release+
|
Details | Review |
|
48 bytes,
text/x-phabricator-request
|
phab-bot
:
approval-mozilla-beta+
|
Details | Review |
In the current system, search_the_web tool is swapped out for run_search immediately. This means what when the tool call returns, the tool is no longer in the tools list - however, the model still recognizes that this tool exists and occasionally tries to re-call it. This causes parsing bugs in the LiteLLM endpoint, forcing the tool call into the content.
see: https://mozilla.slack.com/archives/C0ADUFX0QRW/p1784544790026229
Updated•1 month ago
|
Comment 1•1 month ago
|
||
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.
Updated•1 month ago
|
Comment 4•1 month ago
|
||
| bugherder | ||
Comment 5•1 month ago
|
||
| bugherder | ||
Comment 6•1 month ago
|
||
| bugherder | ||
Comment 7•1 month ago
|
||
| bugherder | ||
Original Revision: https://phabricator.services.mozilla.com/D313088
Updated•1 month ago
|
Original Revision: https://phabricator.services.mozilla.com/D313088
Updated•1 month ago
|
| Assignee | ||
Comment 10•1 month ago
|
||
Original Revision: https://phabricator.services.mozilla.com/D313088
Updated•1 month ago
|
Comment 11•1 month ago
|
||
firefox-release Uplift Approval Request
- User impact if declined/Reason for urgency: the stack serves to add search_the_web tool call to smart window, which gives the assistant the ability to answer user questions directly, rather than handing off to a search engine
- Code covered by automated testing?: yes
- Fix verified in Nightly?: yes
- Needs manual QE testing?: yes
- Steps to reproduce for manual QE testing: ask the smart window assistant a question requiring web search (e.g. "what are the best things to do in fl?"). the assistant should respond directly -- possibly with references / links.
on occasion, the assistant may redirect to search engine, but it should generally respond directly.
- Risk associated with taking this patch: medium
- Explanation of risk level: most behavior is unchanged. search_the_web falls back to existing behavior.
medium due to size of stack.
- String changes made/needed?: no
- Is Android affected?: no
| Assignee | ||
Comment 12•1 month ago
|
||
Original Revision: https://phabricator.services.mozilla.com/D313088
Updated•1 month ago
|
Updated•1 month ago
|
Updated•1 month ago
|
Updated•1 month ago
|
Comment 13•1 month ago
|
||
Verified as fixed in our latest Nightly 155.0a1 (2026-07-23)
Updated•1 month ago
|
Updated•1 month ago
|
Comment 14•1 month ago
|
||
firefox-beta Uplift Approval Request
- User impact if declined/Reason for urgency: These patches add the search_the_web tool to the assistant, allowing the assistant to directly answer user queries, rather than handing off to a search engine.
- Code covered by automated testing?: yes
- Fix verified in Nightly?: yes
- Needs manual QE testing?: yes
- Steps to reproduce for manual QE testing: Ask the agent a question requiring web search. The agent should respond directly -- generally also providing links to sources (although this requirement is not part of the patch).
In some cases, the agent will still hand off to the search engine, but it should mostly answer queries directly.
- Risk associated with taking this patch: low
- Explanation of risk level: Fallback behavior reverts to baseline search engine.
- String changes made/needed?: no
- Is Android affected?: no
| Assignee | ||
Comment 15•1 month ago
|
||
Original Revision: https://phabricator.services.mozilla.com/D313088
Updated•1 month ago
|
Updated•1 month ago
|
Updated•1 month ago
|
Comment 16•1 month ago
|
||
| uplift | ||
Comment 17•1 month ago
|
||
this is part of the 9 patch stack for potential exa v0 153 ride along uplifts https://phabricator.services.mozilla.com/D313875 (some abandoned for now until we get 154 beta verified)
Comment 18•1 month ago
|
||
Verified as fixed in our latest Beta 154.0b3
Updated•1 month ago
|
Comment 19•1 month ago
|
||
firefox-release Uplift Approval Request
- User impact if declined/Reason for urgency: the stack serves to add search_the_web tool call to smart window, which gives the assistant the ability to answer user questions directly, rather than handing off to a search engine
- Code covered by automated testing?: yes
- Fix verified in Nightly?: yes
- Needs manual QE testing?: yes
- Steps to reproduce for manual QE testing: ask the smart window assistant a question requiring web search (e.g. "what are the best things to do in fl?"). the assistant should respond directly -- possibly with references / links.
on occasion, the assistant may redirect to search engine, but it should generally respond directly.
- Risk associated with taking this patch: medium
- Explanation of risk level: most behavior is unchanged. search_the_web falls back to existing behavior.
medium due to size of stack, qa verified with 154
- String changes made/needed?: yes, not exposed to localization with locales-preview
- Is Android affected?: no
Updated•1 month ago
|
Updated•1 month ago
|
Updated•1 month ago
|
Comment 20•1 month ago
|
||
| uplift | ||
Comment 21•1 month ago
|
||
Verified as fixed in our latest Release 153.0.3
Description
•