mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-24 03:18:21 -05:00
[PR #19053] [CLOSED] feat: allow custom models to inherit base model settings #128732
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/19053
Author: @kjpoccia
Created: 11/8/2025
Status: ❌ Closed
Base:
dev← Head:feat/inherit-base-model-settings📝 Commits (2)
e0d5de1Merge pull request #18978 from open-webui/dev60befa0feat: allow custom models to inherit advanced params and default features from base model📊 Changes
1 file changed (+116 additions, -3 deletions)
View changed files
📝
src/lib/components/workspace/Models/ModelEditor.svelte(+116 -3)📄 Description
Pull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions to discuss your idea/fix with the community before creating a pull request, and describe your changes before submitting a pull request.
Relevant discussion #18994
This is to ensure large feature PRs are discussed with the community first, before starting work on it. If the community does not want this feature or it is not relevant for Open WebUI as a project, it can be identified in the discussion before working on the feature and submitting the PR.
Before submitting, make sure you've checked the following:
devbranch. Not targeting thedevbranch will lead to immediate closure of the PR.Changelog Entry
✨ The model editor now supports inheriting configuration from a selected base model via an “Inherit settings” toggle and a “Fetch latest settings” control, making custom models consistent-by-default by inheriting vetted defaults from the selected base model, reducing configuration drift and user error.
Description
This PR allows custom models to inherit configuration from the selected base model. Introduces an “Inherit settings from base model” toggle and a “Fetch latest settings” control in the custom model editor.
Benefits:
Inherit behavior:
Added
Breaking Changes
Screenshots or Videos
In the below gif, we configure a base model how we want it:

Then we create a custom model based on that base model. We can see the advanced params are inherited:

We then decide to update the base model configuration. We can see the custom model is unaffected. The user may wish to fetch any new settings at some point in the future, so they can click "Fetch latest settings":

If the user then wants to update the base model, but doesn't want to update the configured params, they can toggle off the "Inherit settings" toggle and their params won't be affected when they update models.

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.