[PR #21697] [CLOSED] Fix #21579: issue: count in MCP call parameter no longer works #65071

Closed
opened 2026-05-06 10:50:28 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/21697
Author: @danielalanbates
Created: 2/21/2026
Status: Closed

Base: mainHead: fix/issue-21579


📝 Commits (1)

  • d091e48 fix: restore model-provided count parameter in web search tool

📊 Changes

2 files changed (+35 additions, -32 deletions)

View changed files

📝 backend/open_webui/routers/retrieval.py (+29 -27)
📝 backend/open_webui/tools/builtin.py (+6 -5)

📄 Description

Fixes #21579

Summary

This PR fixes: issue: count in MCP call parameter no longer works

Changes

backend/open_webui/routers/retrieval.py | 56 +++++++++++++++++----------------
 backend/open_webui/tools/builtin.py     | 11 ++++---
 2 files changed, 35 insertions(+), 32 deletions(-)

Testing

Please review the changes carefully. The fix was verified against the existing test suite.


This PR was created with the assistance of Claude Sonnet 4.6 by Anthropic | effort: low. Happy to make any adjustments!


🔄 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/open-webui/open-webui/pull/21697 **Author:** [@danielalanbates](https://github.com/danielalanbates) **Created:** 2/21/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix/issue-21579` --- ### 📝 Commits (1) - [`d091e48`](https://github.com/open-webui/open-webui/commit/d091e48b59f905d84221989a4c7fdbe6fa5695cb) fix: restore model-provided count parameter in web search tool ### 📊 Changes **2 files changed** (+35 additions, -32 deletions) <details> <summary>View changed files</summary> 📝 `backend/open_webui/routers/retrieval.py` (+29 -27) 📝 `backend/open_webui/tools/builtin.py` (+6 -5) </details> ### 📄 Description Fixes #21579 ## Summary This PR fixes: issue: count in MCP call parameter no longer works ## Changes ``` backend/open_webui/routers/retrieval.py | 56 +++++++++++++++++---------------- backend/open_webui/tools/builtin.py | 11 ++++--- 2 files changed, 35 insertions(+), 32 deletions(-) ``` ## Testing Please review the changes carefully. The fix was verified against the existing test suite. --- *This PR was created with the assistance of Claude Sonnet 4.6 by Anthropic | effort: low. Happy to make any adjustments!* --- <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-06 10:50:28 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#65071