feat(routes): sync model globals via config API, fix log message
- Add models.text, models.evil, models.japanese to config/set globals sync - Fix language toggle log to show actual model name instead of hardcoded string
This commit is contained in:
@@ -93,6 +93,9 @@ async def set_config_value(request: Request):
|
||||
"voice.debug_mode": ("VOICE_DEBUG_MODE", bool),
|
||||
"memory.use_cheshire_cat": ("USE_CHESHIRE_CAT", bool),
|
||||
"gpu.prefer_amd": ("PREFER_AMD_GPU", bool),
|
||||
"models.text": ("TEXT_MODEL", str),
|
||||
"models.evil": ("EVIL_TEXT_MODEL", str),
|
||||
"models.japanese": ("JAPANESE_TEXT_MODEL", str),
|
||||
}
|
||||
|
||||
if key_path in _GLOBALS_SYNC:
|
||||
|
||||
Reference in New Issue
Block a user