hermes-agent/tests/run_agent
Teknium 39cd57083a
refactor: remove budget warning injection system (dead code)
The _get_budget_warning() method already returned None unconditionally —
the entire budget warning system was disabled. Remove all dead code:

- _BUDGET_WARNING_RE regex
- _strip_budget_warnings_from_history() function and its call site
- Both injection blocks (concurrent + sequential tool execution)
- _get_budget_warning() method
- 7 tests for the removed functions

The budget exhaustion grace call system (_budget_exhausted_injected,
_budget_grace_call) is a separate recovery mechanism and is preserved.
2026-04-11 16:56:33 -07:00
..
__init__.py
test_413_compression.py
test_860_dedup.py
test_1630_context_overflow_loop.py
test_agent_guardrails.py
test_agent_loop.py
test_agent_loop_tool_calling.py
test_agent_loop_vllm.py
test_anthropic_error_handling.py
test_async_httpx_del_neuter.py
test_compression_boundary.py
test_compression_feasibility.py
test_compression_persistence.py
test_compressor_fallback_update.py
test_context_pressure.py
test_context_token_tracking.py
test_dict_tool_call_args.py refactor(tests): re-architect tests + fix CI failures (#5946) 2026-04-07 17:19:07 -07:00
test_exit_cleanup_interrupt.py
test_fallback_model.py
test_flush_memories_codex.py
test_interactive_interrupt.py
test_interrupt_propagation.py
test_long_context_tier_429.py refactor(tests): re-architect tests + fix CI failures (#5946) 2026-04-07 17:19:07 -07:00
test_openai_client_lifecycle.py
test_percentage_clamp.py
test_primary_runtime_restore.py fix(run_agent): recover primary client on openai transport errors 2026-04-10 03:21:24 -07:00
test_provider_fallback.py
test_provider_parity.py
test_real_interrupt_subagent.py
test_redirect_stdout_issue.py
test_run_agent.py refactor: remove budget warning injection system (dead code) 2026-04-11 16:56:33 -07:00
test_run_agent_codex_responses.py
test_session_meta_filtering.py
test_session_reset_fix.py
test_streaming.py
test_strict_api_validation.py
test_switch_model_context.py
test_token_persistence_non_cli.py
test_tool_arg_coercion.py
test_unicode_ascii_codec.py