Web search enters loop of empty queries after first successful search
Pre-submit Checks
- [x] I have searched Warp bugs and there are no duplicates
- [x] I have searched Warp known issues page and my issue is not there
- [ ] I have an issue with AI and have included the debugging ID (Optional, but helps expedite the AI quality fix). Debugging ID instructions
- [ ] I have technical issue and have included the logs (optional, but helps expedite the bug fix). Log instructions
Describe the bug
When the AI agent invokes web search, the first search executes correctly with a visible query and returns URLs. However, subsequent searches fire with no query string and return 0 URLs. This repeats in a loop indefinitely until the user manually interrupts with Ctrl+C.
To reproduce
- Ask the agent a question that triggers web searches
- Observe the first "Searched the web" completes successfully with a query and results
- Subsequent searches show "Searched the web — 0 URLs" with no query
- The agent continues firing empty searches in a loop
- Must press Ctrl+C to stop
Expected behavior
Each web search should include a query string, return results, and the agent should stop searching once it has sufficient information.
Screenshots, videos, and logs
Operating system (OS)
Linux
Operating system and version
15.2 (24C101)
Shell Version
No response
Current Warp version
v0.2026.02.11.08.23.stable_02
Regression
Yes, this bug started recently or with an X Warp version
Recent working Warp date
Feb 14?
Additional context
This happens occasionally. First noticed about two weeks ago
Does this block you from using Warp daily?
No
Is this an issue only in Warp?
Yes, I confirmed that this only happens in Warp, not other terminals.
Warp Internal (ignore): linear-label:b9d78064-c89e-4973-b153-5178a31ee54e
None
When this is in auto-approve, this will continue to loop until manually stopped, costing me tokens.
Hey! Sorry for the trouble - we've noticed this in rare cases with OpenAI's web search tool/its models (we've flagged this internally/to them, and we're trying to figure out which cases this is happening in/how to mitigate); which model were you using?
Do you see this consistently?
Could you right-click the agent mode conversation and copy the debugging ID, to send here too?
@Advait-M
From the original conversation:
This does not happen consistently. But I think I have managed to identify a pattern: ask warp to look up raw code examples from github.
Here is a debugging ID from a new conversation: {"request_id":"ba504953-348f-4163-8786-85dcd9471d3f","conversation_id":"e96c8e3c-dbb0-4182-8f9c-900e1b34c004"}
Thanks - hmm, weird that it's Claude 4.6; guessing that it may have fallen back since Anthropic had several outages recently.
Ah, I believe you may have telemetry turned off, so not seeing the specific debug data for that ID.
But, I was able to repro a similar issue with GPT models on xhigh thinking - found the root cause there and I have a fix in review! Will circle back once that gets into a release
We're still missing some information before we can move this forward. If the problem is still happening on the latest version of Warp, an update with any relevant logs, screenshots, or a short video would help a lot.
If there's no activity after 3 business days, we'll close this out to help keep the tracker tidy.
This is part of an automated backlog review and may be inaccurate. If you believe this assessment is wrong, please let us know.
This issue has been automatically closed because it was labeled needs-info and received no response for 3 business days. If you have the requested information, please reply and we will reopen.