hermes-agent/agent
lkz-de 83d373aae6 fix(cli): guard expensive startup model overrides
Run the expensive-model warning for explicit startup `-m` / `--provider`
overrides before the chat loop starts, and fail closed for non-interactive
invocations that select an expensive or known-confusing model.

Also classify Nous paid-model 404s that say credits are required as billing
exhaustion so they fail fast with billing guidance.

Tested:
- scripts/run_tests.sh tests/hermes_cli/test_cli_startup_model_cost_guard.py tests/hermes_cli/test_model_cost_guard.py tests/agent/test_error_classifier.py -- --tb=short -q
2026-08-14 01:31:31 -07:00
..
lsp
monitoring
pet
proxy_sources
secret_sources fix(plugins): preserve force-path platform sweep + scoped plugin-source listing after rebase 2026-08-12 19:13:32 -07:00
transports fix(azure-foundry): scope Responses reasoning suppression to post-tool turns (#84320) 2026-08-14 12:41:26 +10:00
verify
__init__.py
account_usage.py
agent_init.py fix: security + efficiency review fixes for salvaged PR #74379 2026-08-13 23:15:25 +05:30
agent_runtime_helpers.py fix: address review feedback from #85512 2026-08-14 00:59:38 +05:30
anthropic_adapter.py fix: send Hermes Agent attribution headers to OpenCode Zen and Go 2026-08-13 02:03:40 -07:00
async_utils.py
aux_accounting.py
auxiliary_client.py fix(auxiliary): keep ZAI Coding Plan routing 2026-08-13 12:30:29 -07:00
azure_identity_adapter.py
backend_identity.py
background_review.py
battery.py
bedrock_adapter.py
billing_links.py
billing_usage.py
billing_view.py
bounded_response.py
browser_provider.py
browser_registry.py fix(plugins): isolate ownership by profile 2026-08-12 19:13:32 -07:00
chat_completion_helpers.py fix: explicit fallback api_mode always wins; clean up dead-code guard 2026-08-13 12:31:02 -07:00
codex_responses_adapter.py fix(compression): prune pre-checkpoint history on native compaction replay 2026-08-13 01:51:24 -07:00
codex_runtime.py fix: widen APIConnectionError handling to finalization drain loop 2026-08-12 12:42:39 +05:30
coding_context.py
context_breakdown.py
context_compressor.py fix(compression): ignore background process notifications 2026-08-14 01:08:13 -07:00
context_engine.py
context_references.py feat(plugins): allow plugins to register custom @-prefix context references 2026-08-12 18:41:59 -07:00
conversation_compression.py feat(relay): session-span segmentation for continuous sessions 2026-08-13 10:45:15 -07:00
conversation_loop.py fix(compression): clear preflight block on provider-confirmed rearm 2026-08-13 23:43:54 -07:00
copilot_acp_client.py fix(file-safety): approval-gate ~/.ssh/config writes instead of hard-denying (#84663) 2026-08-12 11:04:45 -07:00
credential_persistence.py
credential_pool.py
credential_sources.py
credits_tracker.py
curator.py
curator_backup.py
delegation_context.py
display.py feat(delegation): live orchestration of running subagents via delegate_task action param 2026-08-13 09:34:36 -07:00
error_classifier.py fix(cli): guard expensive startup model overrides 2026-08-14 01:31:31 -07:00
errors.py
estop.py
file_safety.py fix(file-safety): approval-gate ~/.ssh/config writes instead of hard-denying (#84663) 2026-08-12 11:04:45 -07:00
gemini_native_adapter.py
gemini_schema.py
i18n.py
image_gen_provider.py
image_gen_registry.py fix(plugins): isolate ownership by profile 2026-08-12 19:13:32 -07:00
image_routing.py fix(models): repair the two CI slices the default-flip broke 2026-08-14 03:31:22 +05:30
insights.py refactor(usage): simplify-pass follow-ups 2026-08-14 02:04:24 +05:30
interrupt_compat.py
iteration_budget.py
jiter_preload.py
kanban_stop.py
learn_prompt.py
learning_graph.py
learning_graph_render.py
learning_mutations.py
lmstudio_reasoning.py
manual_compression_feedback.py
markdown_tables.py
memory_manager.py fix: replace double-lambda with functools.partial, close from_env config_path gap 2026-08-13 23:43:15 +05:30
memory_provider.py fix: security + efficiency review fixes for salvaged PR #74379 2026-08-13 23:15:25 +05:30
message_content.py
message_sanitization.py
moa_loop.py fix: restore stale-base revert hunks in conversation_loop.py and moa_loop.py 2026-08-13 23:10:16 +05:30
moa_trace.py feat(langfuse): widen tracing to errors, sessions, subagents, and MoA fan-out 2026-08-13 23:10:16 +05:30
model_metadata.py fix(models): one canonical override schema, fill-gap _default semantics 2026-08-14 02:03:54 +05:30
models_dev.py refactor(models): simplify-pass follow-ups on the refresh path 2026-08-14 03:31:22 +05:30
moonshot_schema.py
native_compaction.py fix(agent): keep native compaction checkpoints out of the thinking-only drop 2026-08-13 03:04:45 -07:00
nous_rate_guard.py
onboarding.py
oneshot.py
outbound_webhooks.py
plugin_llm.py fix(plugins): complete task-routed LLM integration 2026-08-12 16:25:20 -07:00
plugin_stream_hooks.py feat(plugins): add streaming output observer hooks 2026-08-12 18:38:25 -07:00
portal_tags.py
process_bootstrap.py
prompt_builder.py feat(desktop): setup_mcp tool — inline MCP consent card over the clarify-style blocking bridge 2026-08-13 01:06:51 -05:00
prompt_cache_boundary.py
prompt_caching.py refactor: hoist preflight clear into restart handler, single-source qwen predicate 2026-08-13 15:24:47 +05:30
rate_limit_tracker.py
reactions.py
reasoning_summaries.py
reasoning_timeouts.py add grok 4.6 (#84661) 2026-08-12 13:37:04 -04:00
redact.py fix: reuse redact_sensitive_text, fix leaky abstraction, fix test data 2026-08-13 23:10:16 +05:30
relay_llm.py
relay_runtime.py fix(relay): defer rotating-compaction session close while a turn is live 2026-08-13 10:45:15 -07:00
relay_tools.py
replay_cleanup.py
retry_utils.py
runtime_cwd.py
secret_scope.py
session_activity.py
shell_hooks.py fix(plugins): synthetic hook fixture, shell-hook exclusion, docs per review 2026-08-13 09:36:02 -07:00
skill_bundles.py
skill_commands.py
skill_preprocessing.py
skill_utils.py
ssl_guard.py
ssl_verify.py
stream_diag.py
stream_single_writer.py
subagent_lifecycle.py
subdirectory_hints.py
subscription_view.py
system_prompt.py feat(plugins): add cache-safe system prompt sections 2026-08-12 16:34:58 -07:00
think_scrubber.py
thinking_timeout_guidance.py
thread_scoped_output.py
title_generator.py
tool_dispatch_helpers.py
tool_executor.py feat(delegation): live orchestration of running subagents via delegate_task action param 2026-08-13 09:34:36 -07:00
tool_guardrails.py feat(delegation): live orchestration of running subagents via delegate_task action param 2026-08-13 09:34:36 -07:00
tool_result_classification.py
trace_upload.py
trajectory.py
transcription_provider.py feat(plugins): add pre_transcription hook and STT prompt threading 2026-08-12 19:01:30 -07:00
transcription_registry.py fix(plugins): isolate ownership by profile 2026-08-12 19:13:32 -07:00
tts_provider.py
tts_registry.py fix(plugins): isolate ownership by profile 2026-08-12 19:13:32 -07:00
turn_context.py feat(hindsight): memory provider improvements — recall_sync, retain_source, setup templates, memory indicators, error hints 2026-08-13 23:15:25 +05:30
turn_finalizer.py
turn_retry_state.py
turn_summary.py
usage_pricing.py fix(usage): preserve OpenAI-wire cache writes at canonical accounting boundary (#85706) 2026-08-13 22:09:37 -07:00
verification_evidence.py
verification_stop.py fix: make verify_on_stop opt-in everywhere (default False, not auto) (#84383) 2026-08-12 01:15:25 -07:00
verify_hooks.py
vertex_adapter.py
video_gen_provider.py
video_gen_registry.py fix(plugins): isolate ownership by profile 2026-08-12 19:13:32 -07:00
web_search_provider.py
web_search_registry.py fix(plugins): isolate ownership by profile 2026-08-12 19:13:32 -07:00