[PR #18984] [CLOSED] Fix: Restore Native Tools function calls #63903

Closed
opened 2026-05-06 09:04:13 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/18984
Author: @Haervwe
Created: 11/6/2025
Status: Closed

Base: devHead: patch-1


📝 Commits (2)

  • e85c7f7 Merge pull request #18402 from open-webui/dev
  • 36963e8 Remove 'await' from async function call to restor native open webui function calls

📊 Changes

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

View changed files

📝 backend/open_webui/utils/tools.py (+1 -1)

📄 Description

Fix async function call by removing 'await' keyword.

Pull Request Checklist

Note to first-time contributors: Please open a discussion post in Discussions to discuss your idea/fix with the community before creating a pull request, and describe your changes before submitting a pull request.

This is to ensure large feature PRs are discussed with the community first, before starting work on it. If the community does not want this feature or it is not relevant for Open WebUI as a project, it can be identified in the discussion before working on the feature and submitting the PR.

Changelog Entry

Description

Removed an unnecesary await in the middleware to resotre tool calling functionality

Removed

an await keyword

Fixed

Fixes native Tool calling

Security

None

Breaking Changes

None


Additional Information

Fizes native tool caling from an incorrect await on a function

Contributor License Agreement

By submitting this pull request, I confirm that I have read and fully agree to the Contributor License Agreement (CLA), and I am providing my contributions under its terms.

Note

Deleting the CLA section will lead to immediate closure of your PR and it will not be merged in.


🔄 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/18984 **Author:** [@Haervwe](https://github.com/Haervwe) **Created:** 11/6/2025 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `patch-1` --- ### 📝 Commits (2) - [`e85c7f7`](https://github.com/open-webui/open-webui/commit/e85c7f79310f351672fe967a102396b6f3f5e88b) Merge pull request #18402 from open-webui/dev - [`36963e8`](https://github.com/open-webui/open-webui/commit/36963e8d9f7489d4c77cf596ab289a62358439d3) Remove 'await' from async function call to restor native open webui function calls ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `backend/open_webui/utils/tools.py` (+1 -1) </details> ### 📄 Description Fix async function call by removing 'await' keyword. # Pull Request Checklist ### Note to first-time contributors: Please open a discussion post in [Discussions](https://github.com/open-webui/open-webui/discussions) to discuss your idea/fix with the community before creating a pull request, and describe your changes before submitting a pull request. This is to ensure large feature PRs are discussed with the community first, before starting work on it. If the community does not want this feature or it is not relevant for Open WebUI as a project, it can be identified in the discussion before working on the feature and submitting the PR. # Changelog Entry ### Description Removed an unnecesary await in the middleware to resotre tool calling functionality ### Removed an await keyword ### Fixed Fixes native Tool calling ### Security None ### Breaking Changes None --- ### Additional Information Fizes native tool caling from an incorrect await on a function ### Contributor License Agreement By submitting this pull request, I confirm that I have read and fully agree to the [Contributor License Agreement (CLA)](https://github.com/open-webui/open-webui/blob/main/CONTRIBUTOR_LICENSE_AGREEMENT), and I am providing my contributions under its terms. > [!NOTE] > Deleting the CLA section will lead to immediate closure of your PR and it will not be merged in. --- <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 09:04:13 -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#63903