emma-hermes/tests/agent
sprmn24 e053433c84 fix(error_classifier): disambiguate usage-limit patterns in _classify_by_message
_classify_by_message had no handling for _USAGE_LIMIT_PATTERNS, so
messages like 'usage limit exceeded, try again in 5 minutes' arriving
without an HTTP status code fell through to FailoverReason.unknown
instead of rate_limit.

Apply the same billing/rate-limit disambiguation that _classify_402
already uses: USAGE_LIMIT_PATTERNS + transient signal → rate_limit,
USAGE_LIMIT_PATTERNS alone → billing.

Add 4 tests covering the no-status-code usage-limit path.
2026-04-09 16:24:13 -07:00
..
__init__.py
test_anthropic_adapter.py
test_auxiliary_client.py fix: restore codex fallback auth-store lookup 2026-04-09 01:56:10 -07:00
test_auxiliary_config_bridge.py
test_auxiliary_named_custom_providers.py
test_context_compressor.py
test_context_references.py
test_credential_pool.py fix: reduce credential exhaustion TTL from 24 hours to 1 hour (#6504) 2026-04-09 02:37:23 -07:00
test_credential_pool_routing.py
test_crossloop_client_cache.py
test_display.py
test_display_emoji.py
test_error_classifier.py fix(error_classifier): disambiguate usage-limit patterns in _classify_by_message 2026-04-09 16:24:13 -07:00
test_external_skills.py
test_insights.py
test_memory_plugin_e2e.py
test_memory_provider.py
test_memory_user_id.py
test_minimax_auxiliary_url.py
test_minimax_provider.py
test_model_metadata.py
test_model_metadata_local_ctx.py
test_models_dev.py
test_prompt_builder.py
test_prompt_caching.py
test_rate_limit_tracker.py feat: capture provider rate limit headers and show in /usage (#6541) 2026-04-09 03:43:14 -07:00
test_redact.py
test_skill_commands.py
test_smart_model_routing.py
test_subagent_progress.py
test_subdirectory_hints.py fix(agent): catch PermissionError in subdirectory hint discovery 2026-04-09 03:10:30 -07:00
test_title_generator.py
test_usage_pricing.py