feat(core): Add support for custom aliases for model configs. (#13546)

This commit is contained in:
joshualitt
2025-11-21 16:13:10 -08:00
committed by GitHub
parent 1e715d1e5c
commit 42c2e1b217
5 changed files with 151 additions and 2 deletions

View File

@@ -729,6 +729,16 @@ const SETTINGS_SCHEMA = {
'Named presets for model configs. Can be used in place of a model name and can inherit from other aliases using an `extends` property.',
showInDialog: false,
},
customAliases: {
type: 'object',
label: 'Custom Model Config Aliases',
category: 'Model',
requiresRestart: false,
default: {},
description:
'Custom named presets for model configs. These are merged with (and override) the built-in aliases.',
showInDialog: false,
},
overrides: {
type: 'array',
label: 'Model Config Overrides',