[GH-ISSUE #11727] Built‑in web browsing – optional activation #7765

Closed
opened 2026-04-12 19:55:10 -05:00 by GiteaMirror · 13 comments
Owner

Originally created by @j820301 on GitHub (Aug 6, 2025).
Original GitHub issue: https://github.com/ollama/ollama/issues/11727

What is the issue?

Is there an environment variable that can disable the built‑in web browsing in the new version of Ollama?
The reason is that I have my own web‑browsing tool, which causes the model to use it instead of my tool when executing tools.
Web browsing is a useful feature, but I’ve found that it sometimes doesn’t work. It should be an optional feature.

The tool sometimes hangs in this state when executed.
Image

Thank you again to the Ollama team for their contributions, making AI increasingly convenient to use.

Relevant log output


OS

Docker

GPU

Nvidia

CPU

AMD, Intel

Ollama version

0.11.2

Originally created by @j820301 on GitHub (Aug 6, 2025). Original GitHub issue: https://github.com/ollama/ollama/issues/11727 ### What is the issue? Is there an environment variable that can disable the built‑in web browsing in the new version of Ollama? The reason is that I have my own web‑browsing tool, which causes the model to use it instead of my tool when executing tools. Web browsing is a useful feature, but I’ve found that it sometimes doesn’t work. It should be an optional feature. The tool sometimes hangs in this state when executed. <img width="800" height="365" alt="Image" src="https://github.com/user-attachments/assets/470517a8-bb49-4799-a246-b8ddda7c0d27" /> Thank you again to the Ollama team for their contributions, making AI increasingly convenient to use. ### Relevant log output ```shell ``` ### OS Docker ### GPU Nvidia ### CPU AMD, Intel ### Ollama version 0.11.2
GiteaMirror added the bug label 2026-04-12 19:55:10 -05:00
Author
Owner

@iChristGit commented on GitHub (Aug 6, 2025):

Is the tool an MCP server? the default web search implementation in web-ui? a normal function? can you give more detail

<!-- gh-comment-id:3158476169 --> @iChristGit commented on GitHub (Aug 6, 2025): Is the tool an MCP server? the default web search implementation in web-ui? a normal function? can you give more detail
Author
Owner

@j820301 commented on GitHub (Aug 6, 2025):

There are no further details—only when using gpt‑oss does it execute browser.run. My tool, however, is the following:
TOOL:searver:2/tool_deep_research_post, which is an MCP service.

I have disabled network search in the OpenWebUI model, yet when GPT performs a search it still executes browser.run. This issue only occurs with the GPT model; it does not happen with Gemma3
Image

Image
<!-- gh-comment-id:3158583317 --> @j820301 commented on GitHub (Aug 6, 2025): There are no further details—only when using gpt‑oss does it execute browser.run. My tool, however, is the following: TOOL:searver:2/tool_deep_research_post, which is an MCP service. I have disabled network search in the OpenWebUI model, yet when GPT performs a search it still executes browser.run. This issue only occurs with the GPT model; it does not happen with Gemma3 <img width="204" height="81" alt="Image" src="https://github.com/user-attachments/assets/731b3cc5-7784-4ae9-bee1-70dcc203bfac" /> <img width="1147" height="819" alt="Image" src="https://github.com/user-attachments/assets/806530fb-48f3-44da-969c-3ef8da6bb1e5" />
Author
Owner

@j820301 commented on GitHub (Aug 6, 2025):

Interestingly, sometimes it’s called browser.run, other times browser search; the names differ, but it stalls on this screen and ends the conversation."
Image

<!-- gh-comment-id:3158646159 --> @j820301 commented on GitHub (Aug 6, 2025): Interestingly, sometimes it’s called browser.run, other times browser search; the names differ, but it stalls on this screen and ends the conversation." <img width="1031" height="1001" alt="Image" src="https://github.com/user-attachments/assets/8aaf29a5-8d95-4cb6-9192-e7d396149f8d" />
Author
Owner

@OracleToes commented on GitHub (Aug 6, 2025):

I'm also getting this issue while no tools are enabled, ollama or webui also seems to be breaking when ever i enable tools from webui as well.

<!-- gh-comment-id:3160775236 --> @OracleToes commented on GitHub (Aug 6, 2025): I'm also getting this issue while no tools are enabled, ollama or webui also seems to be breaking when ever i enable tools from webui as well.
Author
Owner

@drifkin commented on GitHub (Aug 7, 2025):

the ollama server doesn't include any web search by default, but if a client passes in browser.search or other gpt-oss built-ins ollama will include them in the prompt (using the special built-in formatting), and the model will call them. If I'm understanding correctly, this report looks like OpenWebUI is registering these tools.

<!-- gh-comment-id:3162148330 --> @drifkin commented on GitHub (Aug 7, 2025): the ollama server doesn't include any web search by default, but if a client passes in `browser.search` or other gpt-oss built-ins ollama will include them in the prompt (using the special built-in formatting), and the model will call them. If I'm understanding correctly, this report looks like OpenWebUI is registering these tools.
Author
Owner

@j820301 commented on GitHub (Aug 7, 2025):

Is it that GPT‑OSS supports Python tool calls and is using Python for the search?
I’m confused because, even when OWUI has disabled all tools, it still shows up, and this issue currently occurs only with the GPT‑OSS model
Is there a way to help me control these abnormal calls? Thank you again for your contributions on Ollama!

<!-- gh-comment-id:3162191769 --> @j820301 commented on GitHub (Aug 7, 2025): Is it that GPT‑OSS supports Python tool calls and is using Python for the search? I’m confused because, even when OWUI has disabled all tools, it still shows up, and this issue currently occurs only with the GPT‑OSS model Is there a way to help me control these abnormal calls? Thank you again for your contributions on Ollama!
Author
Owner

@iChristGit commented on GitHub (Aug 7, 2025):

Image I cannot replicate the issue, using DDG MCP or other MCPS, they are used correctly, Ollama is not on offline mode, but still can use other MCPS with GPT OSS

What Ollama version are you on? v11.3 ?
Did you try Function Calling set to Native?
Have you tried other tools/MCPS? its behaves the same?

<!-- gh-comment-id:3162202484 --> @iChristGit commented on GitHub (Aug 7, 2025): <img width="1177" height="500" alt="Image" src="https://github.com/user-attachments/assets/97f0ffde-4087-4af6-92de-72376531cf3a" /> I cannot replicate the issue, using DDG MCP or other MCPS, they are used correctly, Ollama is not on offline mode, but still can use other MCPS with GPT OSS What Ollama version are you on? v11.3 ? Did you try Function Calling set to Native? Have you tried other tools/MCPS? its behaves the same?
Author
Owner

@j820301 commented on GitHub (Aug 7, 2025):

He isn’t an MCP; it looks like it’s executing some tool on its own. When it only runs MCP, it works normally, so I think the issue isn’t with MCP.
Native also occurs
Perhaps the issue comes from the model itself, because it can actually execute image generation! Of course it’s fake, and it hangs again

Image

Maybe I can try updating the OpenWebUI version
openwebui : v0.6.16
Ollama : v0.11.2

<!-- gh-comment-id:3162215737 --> @j820301 commented on GitHub (Aug 7, 2025): He isn’t an MCP; it looks like it’s executing some tool on its own. When it only runs MCP, it works normally, so I think the issue isn’t with MCP. Native also occurs Perhaps the issue comes from the model itself, because it can actually execute image generation! Of course it’s fake, and it hangs again <img width="858" height="843" alt="Image" src="https://github.com/user-attachments/assets/779e6e28-9768-459c-a477-92f99d1ccb56" /> Maybe I can try updating the OpenWebUI version openwebui : v0.6.16 Ollama : v0.11.2
Author
Owner

@iChristGit commented on GitHub (Aug 7, 2025):

Image Surly an issue with open-webui, update to latest @j820301
<!-- gh-comment-id:3162217961 --> @iChristGit commented on GitHub (Aug 7, 2025): <img width="1338" height="852" alt="Image" src="https://github.com/user-attachments/assets/302d3ba4-bb71-4c19-8dcc-63c93ec7f976" /> Surly an issue with open-webui, update to latest @j820301
Author
Owner

@j820301 commented on GitHub (Aug 7, 2025):

It doesn’t seem to be a version issue—I’ve updated to 0.6.18, but the problem persists 😂
Image

<!-- gh-comment-id:3162225573 --> @j820301 commented on GitHub (Aug 7, 2025): It doesn’t seem to be a version issue—I’ve updated to 0.6.18, but the problem persists 😂 <img width="869" height="864" alt="Image" src="https://github.com/user-attachments/assets/171fb0e2-89cf-465a-8890-6d22019a15c1" />
Author
Owner

@j820301 commented on GitHub (Aug 7, 2025):

From observation, it seems the issue is caused by the OpenWebUI trigger‑tool and reply flow. I’ll keep the issue pending and wait for OpenWebUI to release a new version; if it improves, I’ll reply here.
https://github.com/open-webui/open-webui/issues/16305
https://github.com/open-webui/open-webui/issues/16303

<!-- gh-comment-id:3162542066 --> @j820301 commented on GitHub (Aug 7, 2025): From observation, it seems the issue is caused by the OpenWebUI trigger‑tool and reply flow. I’ll keep the issue pending and wait for OpenWebUI to release a new version; if it improves, I’ll reply here. https://github.com/open-webui/open-webui/issues/16305 https://github.com/open-webui/open-webui/issues/16303
Author
Owner

@FloGae commented on GitHub (Aug 8, 2025):

Found out when the gpt-oss model does a search, the ollama.exe connects with something like an API at 34.36.133.15 (tcp-monitor)
nslookup says ...googleusercontent.com

Image
<!-- gh-comment-id:3166653273 --> @FloGae commented on GitHub (Aug 8, 2025): Found out when the gpt-oss model does a search, the ollama.exe connects with something like an API at 34.36.133.15 (tcp-monitor) nslookup says ...googleusercontent.com <img width="433" height="54" alt="Image" src="https://github.com/user-attachments/assets/62778c1b-0750-4359-9f3e-7a96f2cbba2e" />
Author
Owner

@j820301 commented on GitHub (Aug 13, 2025):

The OWUI update fixes the function execution issue and should resolve this problem. I'm temporarily closing issue submissions on the ollama side. I will post here if a solution is found

<!-- gh-comment-id:3182056982 --> @j820301 commented on GitHub (Aug 13, 2025): The OWUI update fixes the function execution issue and should resolve this problem. I'm temporarily closing issue submissions on the ollama side. I will post here if a solution is found
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#7765