diff --git a/codex-launcher_3.11.7_all.deb b/codex-launcher_3.11.7_all.deb index 8bf923e..d1fea6a 100644 Binary files a/codex-launcher_3.11.7_all.deb and b/codex-launcher_3.11.7_all.deb differ diff --git a/src/translate-proxy.py b/src/translate-proxy.py index a097fdf..e4c3128 100755 --- a/src/translate-proxy.py +++ b/src/translate-proxy.py @@ -868,6 +868,10 @@ def _auto_detect_vision_fallback(target_url, api_key, models): chat_url = base + "/v1/chat/completions" vision_model = "" for m in (models or []): + if isinstance(m, dict): + m = m.get("name", m.get("id", str(m))) + if not isinstance(m, str): + continue ml = m.lower() if any(kw in ml for kw in _VISION_MODEL_KEYWORDS): vision_model = m