hermes-agent/tests/acp_adapter
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Austin Pickett 81f481b2db fix(agent): carry a custom provider's extra_body into TUI/Desktop agents and aux calls
TUI/Desktop `_make_agent` (plus `hermes -z` and ACP) built AIAgent without the
resolver's `request_overrides`, so a custom entry's `extra_body` only reached
the agent through the init-time re-derivation, which matches `custom:*` alone.
Auxiliary requests never read the entry's `extra_body` at all. A proxy that
requires a body field (`user`) therefore 400'd in the app and on smart
approval while `hermes chat` worked.

- Pass `runtime["request_overrides"]` at every remaining AIAgent build site
  (ACP only when no explicit base_url points at another endpoint).
- `_build_call_kwargs` layers the destination entry's `extra_body` under the
  task/caller body, using the agent's own matcher, so primary, retry and
  fallback requests each get their own endpoint's body and nothing leaks.

Covers holes 1 and 3 of #103738; hole 2 (matching bare/unprefixed names) is
#124290 and is untouched here.
2026-09-28 19:49:00 -04:00
..
__init__.py test: make tests/ mirror the source tree; drop issue numbers from filenames 2026-09-13 09:18:02 -07:00
conftest.py test: make tests/ mirror the source tree; drop issue numbers from filenames 2026-09-13 09:18:02 -07:00
test_acp_commands.py test(acp): stub load_config on the real hermes_cli.config module 2026-09-23 16:27:05 -07:00
test_acp_dashboard_model_switch_validation.py fix: ACP set_model no longer runs queued prompts inside the RPC (review follow-up) 2026-09-20 12:55:37 -07:00
test_acp_images.py Merge remote-tracking branch 'origin/main' into ethie/pm-clean 2026-09-23 07:02:44 -04:00
test_acp_logging_redaction.py fix(security): redact terminal exception results and ACP stderr logs (#77484) 2026-08-08 04:19:49 -07:00
test_acp_mcp_discovery.py test(multiplex): invariants for the residue fixes; retire allowlist tests 2026-09-11 19:50:46 -07:00
test_approval_isolation.py test: purge low-value tests, lane py01 (345 removed) 2026-09-23 03:15:26 -07:00
test_auth.py Merge remote-tracking branch 'origin/main' into ethie/pm-clean 2026-09-23 07:02:44 -04:00
test_detect_provider_entra.py Merge remote-tracking branch 'origin/main' into ethie/pm-clean 2026-09-23 07:02:44 -04:00
test_edit_approval.py test(acp): trim the V4A per-path tests to two invariants 2026-09-20 10:26:06 -07:00
test_empty_session_persistence.py test: make tests/ mirror the source tree; drop issue numbers from filenames 2026-09-13 09:18:02 -07:00
test_entry.py Merge remote-tracking branch 'origin/main' into ethie/pm-clean 2026-09-14 15:38:34 -04:00
test_events.py test: purge low-value tests, lane py01 (345 removed) 2026-09-23 03:15:26 -07:00
test_failed_turn_closure.py test(agent): cover unanswered ACP prompt across turns 2026-09-29 03:30:52 +05:30
test_finish_turn_finally.py fix(acp): release the turn in a finally so a mid-tail failure cannot wedge the session running 2026-09-20 10:21:16 -07:00
test_mcp_e2e.py test: purge low-value tests, lane py01 (345 removed) 2026-09-23 03:15:26 -07:00
test_named_provider_catalogs.py test: purge low-value tests, lane py01 (345 removed) 2026-09-23 03:15:26 -07:00
test_permissions.py test: purge low-value tests, lane py01 (345 removed) 2026-09-23 03:15:26 -07:00
test_ping_suppression.py Merge remote-tracking branch 'origin/main' into ethie/pm-clean 2026-09-14 15:38:34 -04:00
test_runtime_identity.py refactor: make install-stamp.json the single runtime version identity 2026-09-23 11:41:01 -04:00
test_server.py test(acp): trim the salvaged disabled_toolsets tests to one invariant 2026-09-23 16:27:05 -07:00
test_session.py fix(sessions): close the identity gaps the review found and prove the recovery paths 2026-09-29 04:15:21 +05:30
test_session_construction_off_loop.py fix(acp): warm numpy with the memory provider so hindsight is covered too (#58083) 2026-09-19 02:43:28 -07:00
test_session_cwd_column.py fix(acp): run the cwd backfill once when the session manager first opens the DB 2026-09-20 10:40:48 -07:00
test_session_db_private_access.py test: purge low-value tests, lane py01 (345 removed) 2026-09-23 03:15:26 -07:00
test_session_provenance.py test: make tests/ mirror the source tree; drop issue numbers from filenames 2026-09-13 09:18:02 -07:00
test_session_reasoning_config.py fix(agent): carry a custom provider's extra_body into TUI/Desktop agents and aux calls 2026-09-28 19:49:00 -04:00
test_tools.py test: purge low-value tests, lane py01 (345 removed) 2026-09-23 03:15:26 -07:00