From 081079da629cf33206108e01ac736e1be725ded2 Mon Sep 17 00:00:00 2001 From: Khoi Le Date: Sun, 8 Mar 2026 13:07:19 -0700 Subject: [PATCH] fix(setup): correct import of get_codex_model_ids in setup wizard The setup wizard imported `get_codex_models` which does not exist; the actual function is `get_codex_model_ids`. This caused a runtime ImportError when selecting the openai-codex provider during setup. Co-Authored-By: Claude Opus 4.6 --- hermes_cli/setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hermes_cli/setup.py b/hermes_cli/setup.py index 43a0cd6d9..b244027be 100644 --- a/hermes_cli/setup.py +++ b/hermes_cli/setup.py @@ -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: