Merge pull request #735 from NousResearch/hermes/hermes-f8d56335

fix: allow non-codex-suffixed models (e.g. gpt-5.4) with OpenAI Codex provider
This commit is contained in:
Teknium 2026-03-08 18:30:27 -07:00 committed by GitHub
commit ebe60646db
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 194 additions and 56 deletions

View file

@ -94,8 +94,6 @@ def _read_cache_models(codex_home: Path) -> List[str]:
if not isinstance(slug, str) or not slug.strip():
continue
slug = slug.strip()
if "codex" not in slug.lower():
continue
if item.get("supported_in_api") is False:
continue
visibility = item.get("visibility")