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
+5 -4
View File
@@ -10,10 +10,11 @@ DEPRECATED_VISION_MODELS: dict[str, str] = {
}
DEPRECATED_EXTRACT_MODELS: dict[str, str] = {
"google/gemini-2.0-flash-001": "google/gemini-2.5-flash-lite",
"google/gemini-2.0-flash": "google/gemini-2.5-flash-lite",
"google/gemini-2.0-flash-lite-001": "google/gemini-2.5-flash-lite",
"google/gemini-2.0-flash-lite": "google/gemini-2.5-flash-lite",
# Пустая строка → fallback на OPENROUTER_MODEL в SettingsService.get_effective
"google/gemini-2.0-flash-001": "",
"google/gemini-2.0-flash": "",
"google/gemini-2.0-flash-lite-001": "",
"google/gemini-2.0-flash-lite": "",
}