fix mapping

This commit is contained in:
2026-06-16 10:03:14 +03:00
parent c69186c13b
commit b1506f8695
3 changed files with 13 additions and 6 deletions
+2 -1
View File
@@ -70,7 +70,8 @@ class SettingsService:
if key == "openrouter_vision_model":
return resolve_vision_model(raw.strip())
if key == "memory_extract_model":
return resolve_extract_model(raw.strip())
resolved = resolve_extract_model(raw.strip())
return resolved if resolved else self._default_for(key)
return raw
def snapshot(self) -> dict[str, Any]: