v3.11.7: vision auto-detect, proactive non-vision detection, unit tests (PR #7), auth fix

This commit is contained in:
Roman | RyzenAdvanced
2026-05-26 18:57:58 +04:00
Unverified
parent 7939de085a
commit ddb5f3dddc
8 changed files with 1257 additions and 185 deletions

View File

@@ -27,6 +27,13 @@ model_catalog_json = ""
"""
CHANGELOG = [
("3.11.7", "2026-05-26", [
"Vision auto-detect: uses provider's vision model for image description",
"Vision preprocessing replaces image stripping",
"Fix AttributeError in image_url string handling",
"Merge PR #6: vision/OCR preprocessing, PR #7: 177 unit tests",
"Auth os error 2 fix: proper config-missing message in GUI",
]),
("3.11.6", "2026-05-26", [
"Antigravity loop breakers: per-session tracking, repeated tool detection",
"has_content fix: function_call counts as valid output",
@@ -1303,6 +1310,9 @@ def _check_codex_auth():
if out.returncode == 0 and text:
return ("logged_in", text)
if text:
_tl = text.lower()
if "no such file" in _tl or "os error 2" in _tl or "not found" in _tl:
return ("not_configured", "Config missing — launch once to create")
return ("error", text)
return ("unknown", "No output from codex login status")
except FileNotFoundError: