hermes-agent/hermes_cli
v1b3coder 4fdaf0b4d8 fix: use credential_pool for custom endpoint model listing probes
Same-provider /model switches on a 'custom' endpoint kept stale credentials
because (a) _resolve_named_custom_runtime's bare-custom + explicit_base_url
path went straight to OPENAI_API_KEY/OPENROUTER_API_KEY env fallbacks
without consulting the credential pool, and (b) switch_model() guarded
against custom-provider re-resolution to preserve base_url, locking in
the prior api_key.

Now the bare-custom path queries the credential pool first (mirroring
the named-custom-provider branch behavior), and the same-provider switch
guard is removed since resolve_runtime_provider has since grown a robust
custom-resolution path that preserves base_url from model_cfg.

Refs #18681 (the gateway-side api_key wiring is still separate),
#16254, #12919.
2026-05-09 17:54:58 -07:00
..
__init__.py
_parser.py
_subprocess_compat.py
auth.py
auth_commands.py
azure_detect.py
backup.py
banner.py fix(banner): resolve update-check repo from running code, not profile-scoped path 2026-05-09 04:10:35 -07:00
browser_connect.py
callbacks.py
checkpoints.py
claw.py
cli_output.py
clipboard.py
codex_models.py
colors.py
commands.py
completion.py fix(completion): use valid zsh _arguments exclusion-group syntax 2026-05-09 13:36:44 -07:00
config.py fix(terminal): bridge docker_env config to TERMINAL_DOCKER_ENV 2026-05-09 17:53:35 -07:00
copilot_auth.py
cron.py
curator.py
curses_ui.py
debug.py
default_soul.py
dingtalk_auth.py
doctor.py fix(doctor): normalize provider name and aliases before dedicated-skip check 2026-05-09 13:36:33 -07:00
dump.py
env_loader.py
fallback_cmd.py
gateway.py fix(gateway): detect gateway process via /proc in Docker without procps 2026-05-09 17:54:17 -07:00
gateway_windows.py fix(gateway): preserve Ctrl+C for Windows foreground runs 2026-05-09 14:34:18 -07:00
goals.py
hooks.py
kanban.py
kanban_db.py fix(kanban): make _migrate_add_optional_columns idempotent on concurrent open 2026-05-09 13:36:23 -07:00
kanban_diagnostics.py
kanban_specify.py
logs.py
main.py fix(install): also patch psutil on Termux fresh-install path 2026-05-09 17:53:15 -07:00
mcp_config.py feat(mcp): add codex preset for built-in MCP server discovery 2026-05-09 11:11:28 -07:00
memory_setup.py
model_catalog.py
model_normalize.py
model_switch.py fix: use credential_pool for custom endpoint model listing probes 2026-05-09 17:54:58 -07:00
models.py feat(openrouter): wire Pareto Code router with min_coding_score knob (#22838) 2026-05-09 14:47:00 -07:00
nous_subscription.py
oneshot.py fix: make session search initialize session db 2026-05-09 14:36:58 -07:00
pairing.py
platforms.py
plugins.py feat(plugins): HERMES_PLUGINS_DEBUG=1 surfaces plugin discovery logs (#22684) 2026-05-09 11:07:12 -07:00
plugins_cmd.py fix(plugins): resolve Git binary for installs under minimal PATH 2026-05-09 11:10:04 -07:00
profile_distribution.py
profiles.py fix(profiles): exclude infrastructure artifacts when cloning with --clone-all 2026-05-09 04:10:35 -07:00
providers.py
pt_input_extras.py fix(cli): make Ctrl+Enter insert newline on WSL/SSH/Windows Terminal (#22777) 2026-05-09 12:48:14 -07:00
pty_bridge.py
relaunch.py
runtime_provider.py fix: use credential_pool for custom endpoint model listing probes 2026-05-09 17:54:58 -07:00
setup.py
skills_config.py
skills_hub.py
skin_engine.py
slack_cli.py
status.py
stdio.py
timeouts.py
tips.py
tools_config.py fix(tools): install cua-driver when Computer Use is enabled via 'hermes tools' (#22765) 2026-05-09 13:02:25 -07:00
uninstall.py
vercel_auth.py
voice.py
web_server.py fix(async): replace get_event_loop() with get_running_loop() in async contexts 2026-05-09 02:34:19 -07:00
webhook.py