mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-11 08:34:32 -05:00
[PR #20380] [CLOSED] feat: native function calling for builtin tools: web, files #25589
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/20380
Author: @jannikstdl
Created: 1/5/2026
Status: ❌ Closed
Base:
dev← Head:feat-native-fc-web-file📝 Commits (7)
2d08583feat: native fuction calling for builtin internal knowledge file seatcha0ed58efeat: show sources and use citations for native web and file tool calls5010b5afeat: native function calling for builtin internal knowledge file search75ac9eafeat: show sources and use citations for native web and file tool callsc4501bcMerge branch 'dev' into feat-native-fc-web-file1f74670resolved conflictsd1bb203chore: lock sync📊 Changes
3 files changed (+371 additions, -34 deletions)
View changed files
📝
backend/open_webui/tools/builtin.py(+162 -0)📝
backend/open_webui/utils/middleware.py(+201 -34)📝
backend/open_webui/utils/tools.py(+8 -0)📄 Description
Added native function calling support for knowledge bases with citations
Changes
query_knowledgebuilt-in tool that searches model-configured knowledge bases when native FC is enabledweb_search,query_knowledge) - results now show in WebSearchResults UI and model cites sources automaticallyBehavior
Screenshots or Videos
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.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.