warp icon indicating copy to clipboard operation
warp copied to clipboard

Web search enters loop of empty queries after first successful search

Open QuinceyJames opened this issue 9 months ago • 6 comments

Pre-submit Checks

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

  1. Ask the agent a question that triggers web searches
  2. Observe the first "Searched the web" completes successfully with a query and results
  3. Subsequent searches show "Searched the web — 0 URLs" with no query
  4. The agent continues firing empty searches in a loop
  5. 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

Image

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

QuinceyJames avatar Feb 24 '26 17:02 QuinceyJames

Image

When this is in auto-approve, this will continue to loop until manually stopped, costing me tokens.

QuinceyJames avatar Mar 03 '26 03:03 QuinceyJames

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 avatar Mar 03 '26 05:03 advait-m

@Advait-M

From the original conversation: Image

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"}

QuinceyJames avatar Mar 03 '26 12:03 QuinceyJames

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

advait-m avatar Mar 04 '26 01:03 advait-m

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.

warp-factories[bot] avatar Apr 20 '26 01:04 warp-factories[bot]

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.

github-actions[bot] avatar Apr 24 '26 00:04 github-actions[bot]