copilot-bridge icon indicating copy to clipboard operation
copilot-bridge copied to clipboard

Web search yields zero results

Open LeonarddeR opened this issue 6 months ago • 8 comments

STR:

  1. On https://github.com/settings/copilot/features, ensure that web search is listed as enabled. Copilot can search the web using model native search is enabled as well
  2. In Claude Code, perform a web search with a prompt like: search the web for test

The actual result is that Claude code yields zero results using web search every time.

LeonarddeR avatar May 02 '26 11:05 LeonarddeR

Thanks, this is a known issue. But I think it’s worth making some improvements, so I’ve made an update. Please try the latest version.

Some models do not support web search. If it fails, you can try one of the following:

  1. Set COPILOT_WEB_SEARCH_BACKEND and use a dedicated model for search.
  2. Try the SearXNG skill I built: https://github.com/betaHi/openclaw-searxng-search
  3. Use Copilot CLI search.

For more details, please see: https://github.com/betaHi/copilot-bridge#web-search

betaHi avatar May 04 '26 04:05 betaHi

Thanks. It looks like the web search works now using gpt 5.5, but with version 0.20.6, I only get web search output, nothing else, e.g.

 ▐▛███▜▌   Claude Code v2.1.126                                                                                         
▝▜█████▛▘  claude-haiku-4.5 with medium effort · API Usage Billing                                                      
  ▘▘ ▝▝    <random folder>                                                                                              
                                                                                                                        
> i don't want you to search the web                                                                                    
                                                                                                                        
● No search run.                                                                                                        
                                                                                                                        
✻ Baked for 4s                                                                                                          
                                                                                                                        
> hello                                                                                                                 
                                                                                                                        
● 1. CLI reference - https://docs.anthropic.com/en/docs/claude-code/cli-usage                                           
  2. Claude Code: Deep coding at terminal velocity \ Anthropic - https://www.anthropic.com/claude-code                  
  3. CLI reference - Claude Code Docs - https://code.claude.com/docs/en/cli-usage                                       
  4. CLI reference - Claude Docs - https://docs.claude.com/en/docs/claude-code/cli-reference                            
  5. Claude Code by Anthropic | AI Coding Agent, Terminal, IDE - https://claude.com/product/claude-code?hsLang=en       
                                                                                                                        
✻ Worked for 8s                                                                                                         
                                                                                                                        
─

LeonarddeR avatar May 04 '26 16:05 LeonarddeR

thanks, please try the latest version

betaHi avatar May 05 '26 13:05 betaHi

I'm now getting "invalid tool parameters" all over the place.

LeonarddeR avatar May 05 '26 15:05 LeonarddeR

Oh, sorry about that. I released a new fix, please try the latest version. Thanks

betaHi avatar May 06 '26 04:05 betaHi

Yeah, this works for me now. That is, when web search env var is not set, it falls back to the old behavior where web search yielded no results, but that's now documented in the readme so that's fine with me.

LeonarddeR avatar May 06 '26 16:05 LeonarddeR

Great, thanks for confirming. Yes, without COPILOT_WEB_SEARCH_BACKEND, the bridge keeps the old native web search behavior, as documented.

Feel free to open a new issue if you find anything else.

I'll close this as fixed.

betaHi avatar May 07 '26 02:05 betaHi

Aslo I updated recommended model for web search: gpt-5.5, gpt-5.4, gpt-5.4-mini, gpt-5.3-codex, gpt-5.2, gpt-5.2-codex.

betaHi avatar May 07 '26 09:05 betaHi