mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-08 04:16:03 -05:00
[PR #21168] [CLOSED] fix: Remove duplicate import statement #49004
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/21168
Author: @therealmichaelberna
Created: 2/4/2026
Status: ❌ Closed
Base:
main← Head:patch-2📝 Commits (1)
fc7697bRemove duplicate import statement📊 Changes
1 file changed (+0 additions, -1 deletions)
View changed files
📝
backend/open_webui/utils/tools.py(+0 -1)📄 Description
Removed duplicate import of 'inspect' in tools.py
fix: Remove duplicate import of
inspectin tools.pyPull Request Checklist
devbranch.fix.Changelog Entry
Description
This pull request removes a duplicate
import inspectstatement intools.py.The duplication provided no functional benefit and slightly increased code noise.
This cleanup improves code clarity and maintainability.
Added
Changed
Deprecated
Removed
inspectimport removed.Fixed
tools.py.Security
Breaking Changes
Additional Information
Screenshots or Videos
Not applicable — no UI or behavior changes.
Contributor License Agreement
By submitting this pull request, I confirm that I have read and fully agree to the https://github.com/open-webui/open-webui/blob/main/CONTRIBUTOR_LICENSE_AGREEMENT, 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.