[PR #13690] [MERGED] x/cmd: enable web search and web fetch with flag #76635

Closed
opened 2026-05-05 09:16:31 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/13690
Author: @ParthSareen
Created: 1/12/2026
Status: Merged
Merged: 1/12/2026
Merged by: @ParthSareen

Base: mainHead: parth/enable-websearch-with-flag


📝 Commits (2)

  • 80f0462 x: add --experimental-websearch flag to enable web search tool
  • f26ebd3 x: add web_fetch tool alongside web_search

📊 Changes

5 files changed (+209 additions, -2 deletions)

View changed files

📝 cmd/cmd.go (+3 -1)
📝 x/agent/approval.go (+21 -0)
📝 x/cmd/run.go (+13 -1)
📝 x/tools/registry.go (+10 -0)
x/tools/webfetch.go (+162 -0)

📄 Description

Adds a --experimental-websearch flag to enable web search and web fetch tools through the ollama.com API.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/13690 **Author:** [@ParthSareen](https://github.com/ParthSareen) **Created:** 1/12/2026 **Status:** ✅ Merged **Merged:** 1/12/2026 **Merged by:** [@ParthSareen](https://github.com/ParthSareen) **Base:** `main` ← **Head:** `parth/enable-websearch-with-flag` --- ### 📝 Commits (2) - [`80f0462`](https://github.com/ollama/ollama/commit/80f046233fa191af3dd1aeec4a47aeee50b1b729) x: add --experimental-websearch flag to enable web search tool - [`f26ebd3`](https://github.com/ollama/ollama/commit/f26ebd30689fe15a1079aeea50ab906df06ff644) x: add web_fetch tool alongside web_search ### 📊 Changes **5 files changed** (+209 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `cmd/cmd.go` (+3 -1) 📝 `x/agent/approval.go` (+21 -0) 📝 `x/cmd/run.go` (+13 -1) 📝 `x/tools/registry.go` (+10 -0) ➕ `x/tools/webfetch.go` (+162 -0) </details> ### 📄 Description Adds a `--experimental-websearch` flag to enable web search and web fetch tools through the ollama.com API. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-05-05 09:16:31 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#76635