hermes-agent/tests/agent/transports
kshitij 78e2987e20 feat(transport): imply prompt_cache_key capability for api.openai.com
Review follow-up on the #56798 salvage: the gate shipped fully dormant
(no provider profile sets supports_prompt_cache_key, no production
caller passes it, and no plain 'openai' profile exists to set it on) —
AGENTS.md rejects dead code wired in without E2E proof.

Activate the one endpoint where the field is first-class: exact-host
api.openai.com (OpenAI documents prompt_cache_key; GPT-5.6+ docs
recommend it for cache routing). Deliberately NOT substring matching —
Azure/OpenAI-compat endpoints may reject unknown fields and stay
opt-in via the flag. 4 new tests (imply + 3 spoof/proxy/Azure
negatives); mutation-checked (substring-weakened host check fails the
spoof tests).
2026-08-03 17:17:05 +05:30
..
__init__.py
…
test_bedrock_transport.py
…
test_chat_completions.py
…
test_codex_app_server_runtime.py
…
test_codex_app_server_session.py
…
test_codex_event_projector.py
…
test_codex_transport.py
…
test_hermes_tools_mcp_server.py
…
test_transport.py
…
test_types.py
…