[PR #15334] [CLOSED] fix: Add global model store and sync selected model across components #94833

Closed
opened 2026-05-15 20:55:06 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/15334
Author: @ShrootBuck
Created: 6/26/2025
Status: Closed

Base: devHead: main


📝 Commits (1)

  • 43d5e7a Add global model store and sync selected model across components

📊 Changes

3 files changed (+10 additions, -2 deletions)

View changed files

📝 src/lib/components/chat/Chat.svelte (+6 -0)
📝 src/lib/components/chat/Messages/ContentRenderer.svelte (+3 -2)
📝 src/lib/stores/index.ts (+1 -0)

📄 Description

Fixes a bug where the "Explain" and "Ask" features used the model that generated the message, instead of the currently selected model.

Description

  • Fixes model selection for "Explain" and "Ask" quick actions to always use the currently selected model.

Changed

  • FloatingButtons and ContentRenderer now use the global selected model.

Fixed

  • "Explain" and "Ask" now use the currently selected model, not the message's original model.

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.

## 📋 Pull Request Information **Original PR:** https://github.com/open-webui/open-webui/pull/15334 **Author:** [@ShrootBuck](https://github.com/ShrootBuck) **Created:** 6/26/2025 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `main` --- ### 📝 Commits (1) - [`43d5e7a`](https://github.com/open-webui/open-webui/commit/43d5e7ae3b59fbe291f1d12f7398986fae68225c) Add global model store and sync selected model across components ### 📊 Changes **3 files changed** (+10 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `src/lib/components/chat/Chat.svelte` (+6 -0) 📝 `src/lib/components/chat/Messages/ContentRenderer.svelte` (+3 -2) 📝 `src/lib/stores/index.ts` (+1 -0) </details> ### 📄 Description Fixes a bug where the "Explain" and "Ask" features used the model that generated the message, instead of the currently selected model. ### Description - Fixes model selection for "Explain" and "Ask" quick actions to always use the currently selected model. ### Changed - FloatingButtons and ContentRenderer now use the global selected model. ### Fixed - "Explain" and "Ask" now use the currently selected model, not the message's original model. ### Contributor License Agreement By submitting this pull request, I confirm that I have read and fully agree to the [Contributor License Agreement (CLA)](/CONTRIBUTOR_LICENSE_AGREEMENT), and I am providing my contributions under its terms. --- <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-15 20:55:06 -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#94833