diff --git a/.env.example b/.env.example index 452f23eb57..ac6a187f34 100644 --- a/.env.example +++ b/.env.example @@ -2,14 +2,10 @@ # Copy this file to .env and fill in your API keys # ============================================================================= -# LLM PROVIDER +# LLM PROVIDER (OpenRouter) # ============================================================================= -# Provider selection override: auto | openrouter | nous | openai-codex -# If unset, Hermes auto-detects from auth/config. -# HERMES_INFERENCE_PROVIDER=auto - -# OpenRouter key (required when using OpenRouter directly, and still used by -# some tools even when your primary chat provider is Nous/Codex/custom). +# OpenRouter provides access to many models through one API +# All LLM calls go through OpenRouter - no direct provider keys needed # Get your key at: https://openrouter.ai/keys OPENROUTER_API_KEY= @@ -17,11 +13,6 @@ OPENROUTER_API_KEY= # Examples: anthropic/claude-opus-4.6, openai/gpt-4o, google/gemini-2.0-flash, zhipuai/glm-4-plus LLM_MODEL=anthropic/claude-opus-4.6 -# OpenAI Codex provider uses Codex CLI auth state: -# hermes login --provider openai-codex -# (reads CODEX_HOME/auth.json, default: ~/.codex/auth.json) -# CODEX_HOME=~/.codex - # ============================================================================= # TOOL API KEYS # ============================================================================= diff --git a/cli-config.yaml.example b/cli-config.yaml.example index d42d9db267..0b49368dc5 100644 --- a/cli-config.yaml.example +++ b/cli-config.yaml.example @@ -13,7 +13,6 @@ model: # "auto" - Use Nous Portal if logged in, otherwise OpenRouter/env vars (default) # "openrouter" - Always use OpenRouter API key from OPENROUTER_API_KEY # "nous" - Always use Nous Portal (requires: hermes login) - # "openai-codex" - Always use Codex CLI auth (requires: hermes login --provider openai-codex) # Can also be overridden with --provider flag or HERMES_INFERENCE_PROVIDER env var. provider: "auto" diff --git a/hermes_cli/main.py b/hermes_cli/main.py index 3d1c76c005..e611f69293 100644 --- a/hermes_cli/main.py +++ b/hermes_cli/main.py @@ -197,7 +197,7 @@ def cmd_model(args): providers = [ ("openrouter", "OpenRouter (100+ models, pay-per-use)"), ("nous", "Nous Portal (Nous Research subscription)"), - ("openai-codex", "OpenAI Codex (ChatGPT/Codex CLI login)"), + ("openai-codex", "OpenAI Codex"), ("custom", "Custom endpoint (self-hosted / VLLM / etc.)"), ] diff --git a/hermes_cli/setup.py b/hermes_cli/setup.py index 08fd28dddd..021c429a6a 100644 --- a/hermes_cli/setup.py +++ b/hermes_cli/setup.py @@ -634,7 +634,7 @@ def run_setup_wizard(args): provider_choices = [ "Login with Nous Portal (Nous Research subscription)", - "Login with OpenAI Codex (ChatGPT/Codex CLI auth)", + "Login with OpenAI Codex", "OpenRouter API key (100+ models, pay-per-use)", "Custom OpenAI-compatible endpoint (self-hosted / VLLM / etc.)", ] @@ -698,8 +698,6 @@ def run_setup_wizard(args): selected_provider = "openai-codex" print() print_header("OpenAI Codex Login") - print_info("This uses your Codex CLI auth state from CODEX_HOME/auth.json.") - print_info("If you're not logged in, Hermes will run `codex login`.") print() try: