hermes-agent/tests/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_anthropic_adapter.py fix: MiniMax/Alibaba incorrectly detected as Anthropic OAuth, causing mcp_ tool prefix (#7509) 2026-04-11 00:43:01 -07:00
test_auxiliary_client.py fix: update async fallback test mock to 5-tuple for api_mode 2026-04-11 01:52:58 -07:00
test_auxiliary_config_bridge.py
…
test_auxiliary_named_custom_providers.py
…
test_context_compressor.py fix: prevent agent from stopping mid-task — compression floor, budget overhaul, activity tracking 2026-04-11 16:18:57 -07:00
test_context_engine.py
…
test_context_references.py
…
test_credential_pool.py
…
test_credential_pool_routing.py
…
test_crossloop_client_cache.py
…
test_display.py
…
test_display_emoji.py
…
test_error_classifier.py
…
test_external_skills.py
…
test_insights.py
…
test_local_stream_timeout.py fix: is_local_endpoint misses Docker/Podman DNS names (#7950) 2026-04-11 14:46:18 -07:00
test_memory_provider.py
…
test_memory_user_id.py
…
test_minimax_auxiliary_url.py
…
test_minimax_provider.py fix: align MiniMax provider with official API docs 2026-04-11 01:04:41 -07:00
test_model_metadata.py fix: use ceiling division for token estimation, deduplicate inline formula 2026-04-11 16:33:40 -07:00
test_model_metadata_local_ctx.py
…
test_models_dev.py fix(vision): auto-resize oversized images, increase default timeout, fix vision capability detection 2026-04-11 11:12:50 -07:00
test_prompt_builder.py refactor: remove budget warning injection system (dead code) 2026-04-11 16:56:33 -07:00
test_prompt_caching.py
…
test_rate_limit_tracker.py
…
test_redact.py
…
test_skill_commands.py
…
test_smart_model_routing.py
…
test_subagent_progress.py
…
test_subdirectory_hints.py
…
test_title_generator.py
…
test_usage_pricing.py
…