Bug 2017989 Comment 4 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

Guard duplicate run_search tool calls within the same user message turn
in fetchWithHistory(). When the model requests run_search after one has
already executed for the current turn, the guard returns an error tool
result instead of executing the search and navigating the browser. The
model continues generating text and can search again on the next user
message.

Also dismiss the searching indicator after normal stream completion in
ai-window.mjs to prevent a stuck "analyzing search results" state.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
 -
 .

Back to Bug 2017989 Comment 4