mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[PR #22307] [CLOSED] fix: Clear selected tools when switching models #65460
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/22307
Author: @fskeung
Created: 3/6/2026
Status: ❌ Closed
Base:
main← Head:fix/clear-tools-on-model-switch📝 Commits (1)
426b314fix: Clear selected tools when switching models📊 Changes
1 file changed (+2 additions, -3 deletions)
View changed files
📝
src/lib/components/chat/Chat.svelte(+2 -3)📄 Description
Summary
When user switches to a model without default toolIds, the previously selected tools should be cleared instead of being retained.
Changes
src/lib/components/chat/Chat.svelteIssue
Fixes #14157 - Switching models does not deselect previously selected tools
Testing
Manual testing recommended:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.