hermes-agent/tests/run_agent
alt-glitch bbcff8dcd0 fix(tools): address PR review — remove _extract_raw_output, BudgetConfig everywhere, read_file hardening
- Remove _extract_raw_output: persist content verbatim (fixes size mismatch bug)
- Drop import aliases: import from budget_config directly, one canonical name
- BudgetConfig param on maybe_persist_tool_result and enforce_turn_budget
- read_file: limit=None signature, pre-read guard fires only when limit omitted (256KB)
- Unify binary extensions: file_operations.py imports from binary_extensions.py
- Exclude .pdf and .svg from binary set (text-based, agents may inspect)
- Remove redundant outer try/except in eval path (internal fallback handles it)
- Fix broken tests: update assertion strings for new persistence format
- Module-level constants: _PRE_READ_MAX_BYTES, _DEFAULT_READ_LIMIT
- Remove redundant pathlib import (Path already at module level)
- Update spec.md with IMPLEMENTED annotations and design decisions
2026-04-08 02:24:32 -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_persistence.py
…
test_compressor_fallback_update.py
…
test_context_pressure.py
…
test_context_token_tracking.py
…
test_dict_tool_call_args.py
…
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
…
test_openai_client_lifecycle.py
…
test_percentage_clamp.py
…
test_primary_runtime_restore.py
…
test_provider_fallback.py
…
test_provider_parity.py
…
test_real_interrupt_subagent.py
…
test_redirect_stdout_issue.py
…
test_run_agent.py fix(tools): address PR review — remove _extract_raw_output, BudgetConfig everywhere, read_file hardening 2026-04-08 02:24:32 -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_token_persistence_non_cli.py
…
test_tool_arg_coercion.py
…