Tone down Codex docs and prompt wording

This commit is contained in:
George Pickett 2026-02-25 18:25:15 -08:00
parent 7727a792f2
commit 3ba8b15f13
4 changed files with 5 additions and 17 deletions

View file

@ -2,14 +2,10 @@
# Copy this file to .env and fill in your API keys # Copy this file to .env and fill in your API keys
# ============================================================================= # =============================================================================
# LLM PROVIDER # LLM PROVIDER (OpenRouter)
# ============================================================================= # =============================================================================
# Provider selection override: auto | openrouter | nous | openai-codex # OpenRouter provides access to many models through one API
# If unset, Hermes auto-detects from auth/config. # All LLM calls go through OpenRouter - no direct provider keys needed
# 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).
# Get your key at: https://openrouter.ai/keys # Get your key at: https://openrouter.ai/keys
OPENROUTER_API_KEY= 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 # 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 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 # TOOL API KEYS
# ============================================================================= # =============================================================================

View file

@ -13,7 +13,6 @@ model:
# "auto" - Use Nous Portal if logged in, otherwise OpenRouter/env vars (default) # "auto" - Use Nous Portal if logged in, otherwise OpenRouter/env vars (default)
# "openrouter" - Always use OpenRouter API key from OPENROUTER_API_KEY # "openrouter" - Always use OpenRouter API key from OPENROUTER_API_KEY
# "nous" - Always use Nous Portal (requires: hermes login) # "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. # Can also be overridden with --provider flag or HERMES_INFERENCE_PROVIDER env var.
provider: "auto" provider: "auto"

View file

@ -197,7 +197,7 @@ def cmd_model(args):
providers = [ providers = [
("openrouter", "OpenRouter (100+ models, pay-per-use)"), ("openrouter", "OpenRouter (100+ models, pay-per-use)"),
("nous", "Nous Portal (Nous Research subscription)"), ("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.)"), ("custom", "Custom endpoint (self-hosted / VLLM / etc.)"),
] ]

View file

@ -634,7 +634,7 @@ def run_setup_wizard(args):
provider_choices = [ provider_choices = [
"Login with Nous Portal (Nous Research subscription)", "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)", "OpenRouter API key (100+ models, pay-per-use)",
"Custom OpenAI-compatible endpoint (self-hosted / VLLM / etc.)", "Custom OpenAI-compatible endpoint (self-hosted / VLLM / etc.)",
] ]
@ -698,8 +698,6 @@ def run_setup_wizard(args):
selected_provider = "openai-codex" selected_provider = "openai-codex"
print() print()
print_header("OpenAI Codex Login") 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() print()
try: try: