[PR #4760] [MERGED] Fix: tools filter #44604

Closed
opened 2026-04-29 18:44:18 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/4760
Author: @michaelpoluektov
Created: 8/20/2024
Status: Merged
Merged: 8/20/2024
Merged by: @tjbck

Base: devHead: tools-refac-2.1


📝 Commits (2)

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 backend/main.py (+1 -1)

📄 Description

Fix tools filter broken in https://github.com/open-webui/open-webui/pull/4724

By moving "tool_ids" and "files" to "metadata", I was popping body["tool_ids"] before "metadata" was added, which broke files and tools filters.


🔄 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/4760 **Author:** [@michaelpoluektov](https://github.com/michaelpoluektov) **Created:** 8/20/2024 **Status:** ✅ Merged **Merged:** 8/20/2024 **Merged by:** [@tjbck](https://github.com/tjbck) **Base:** `dev` ← **Head:** `tools-refac-2.1` --- ### 📝 Commits (2) - [`bd47bbb`](https://github.com/open-webui/open-webui/commit/bd47bbbce90e01a4421d29dbc4d8e0c7e05c361d) fix tools filter - [`3d6ac3a`](https://github.com/open-webui/open-webui/commit/3d6ac3a7db0d44143a7ffc4253fe6c92d6414c2c) Merge branch 'dev' of https://github.com/open-webui/open-webui into tools-refac-2.1 ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `backend/main.py` (+1 -1) </details> ### 📄 Description Fix tools filter broken in https://github.com/open-webui/open-webui/pull/4724 By moving "tool_ids" and "files" to "metadata", I was popping `body["tool_ids"]` before "metadata" was added, which broke files and tools filters. --- <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-04-29 18:44:18 -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#44604