mirror of
https://github.com/mudler/LocalAI.git
synced 2026-09-12 22:33:54 -04:00
fix(config): register original diffusers config field
Expose original_config_file through the model configuration metadata registry so registry completeness checks and generated configuration surfaces stay in sync. Assisted-by: Codex:gpt-5 [systematic-debugging] Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
1 parent
a9f8062dd5
commit
419375baae
1 file changed
+9
-1
@@ -911,11 +911,19 @@ func DefaultRegistry() map[string]FieldMetaOverride {
|
||||
Options: DiffusersSchedulerOptions,
|
||||
Order: 81,
|
||||
},
|
||||
"diffusers.original_config_file": {
|
||||
Section: "diffusers",
|
||||
Label: "Original Config File",
|
||||
Description: "Original model configuration file used when loading a single-file checkpoint",
|
||||
Component: "input",
|
||||
Advanced: true,
|
||||
Order: 82,
|
||||
},
|
||||
"diffusers.cuda": {
|
||||
Section: "diffusers",
|
||||
Label: "CUDA",
|
||||
Description: "Enable CUDA for diffusers",
|
||||
Order: 82,
|
||||
Order: 83,
|
||||
},
|
||||
|
||||
// --- PII filtering (per-model) ---
|
||||
|
||||
Reference in new issue
Block a user