[GH-ISSUE #15361] Ollama Web Search API - Return Wrong Time and day. #9828

Closed
opened 2026-04-12 22:41:50 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @princekin0820-art on GitHub (Apr 6, 2026).
Original GitHub issue: https://github.com/ollama/ollama/issues/15361

What is the issue?

When using Ollama own interface web search function, the time and day return is always wrong.

It is fine when using web search with Open WebUI, seem not a issue of the LLM.

Image

Relevant log output


OS

No response

GPU

No response

CPU

No response

Ollama version

No response

Originally created by @princekin0820-art on GitHub (Apr 6, 2026). Original GitHub issue: https://github.com/ollama/ollama/issues/15361 ### What is the issue? When using Ollama own interface web search function, the time and day return is always wrong. It is fine when using web search with Open WebUI, seem not a issue of the LLM. <img width="1920" height="1080" alt="Image" src="https://github.com/user-attachments/assets/be2ca5a4-b8ac-4e6c-ba87-a0a446cca3f1" /> ### Relevant log output ```shell ``` ### OS _No response_ ### GPU _No response_ ### CPU _No response_ ### Ollama version _No response_
GiteaMirror added the bug label 2026-04-12 22:41:50 -05:00
Author
Owner

@rick-github commented on GitHub (Apr 6, 2026):

What web search tool are you using in open-webui?

<!-- gh-comment-id:4191799868 --> @rick-github commented on GitHub (Apr 6, 2026): What web search tool are you using in open-webui?
Author
Owner

@princekin0820-art commented on GitHub (Apr 6, 2026):

I am using Ollama Cloud API for web search in Open WebUI as well.
Don't know why not working with Ollama own interface.

<!-- gh-comment-id:4192728116 --> @princekin0820-art commented on GitHub (Apr 6, 2026): I am using Ollama Cloud API for web search in Open WebUI as well. Don't know why not working with Ollama own interface.
Author
Owner

@rick-github commented on GitHub (Apr 6, 2026):

Open-WebUI inserts the current date in the prompt. The ollama GUI is much more basic and just uses the websearch tool to send your request to the endpoint.

<!-- gh-comment-id:4192959722 --> @rick-github commented on GitHub (Apr 6, 2026): Open-WebUI inserts the current date in the [prompt](https://github.com/open-webui/open-webui/blob/9bd84258d09eefe7bf975878fb0e31a5dadfe0f8/backend/open_webui/config.py#L1854). The ollama GUI is much more basic and just uses the websearch tool to send your request to the endpoint.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#9828