Merge PR #711: fix(setup): correct import of get_codex_model_ids in setup wizard

Authored by dragonkhoi. Fixes #712.
This commit is contained in:
teknium1
2026-03-08 17:29:38 -07:00

View File

@@ -870,8 +870,8 @@ def setup_model_provider(config: dict):
config['model'] = custom
save_env_value("LLM_MODEL", custom)
elif selected_provider == "openai-codex":
from hermes_cli.codex_models import get_codex_models
codex_models = get_codex_models()
from hermes_cli.codex_models import get_codex_model_ids
codex_models = get_codex_model_ids()
model_choices = codex_models + [f"Keep current ({current_model})"]
default_codex = 0
if current_model in codex_models: