mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 11:28:35 -05:00
[PR #20043] [MERGED] perf: Only call the backend if feature is enabled (api keys / channels) #25442
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/20043
Author: @Classic298
Created: 12/19/2025
Status: ✅ Merged
Merged: 12/20/2025
Merged by: @tjbck
Base:
dev← Head:frontent-calls📝 Commits (1)
d05637afeat: Align conditional fetching with conditional rendering for API Keys and Channels (#118)📊 Changes
2 files changed (+18 additions, -5 deletions)
View changed files
📝
src/lib/components/chat/Settings/Account.svelte(+11 -4)📝
src/lib/components/layout/Sidebar.svelte(+7 -1)📄 Description
devbranch. Not targeting thedevbranch will lead to immediate closure of the PR.Changelog Entry
Description
Fixes #19967
Adds checks on the frontend to verify if the feature (api keys + channels) is enabled before making any calls to the backend for channels and or api keys, therefore preventing failures on api keys and eliminating noise to the backend where repeated API calls would be made, increasing the performance overall.
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.