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:
commit
ebe60646db
4 changed files with 194 additions and 56 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue