Files
hermes-agent/tools
kshitijk4poor 8f4db9396f refactor(skills): collapse the pooled-else-fresh branches of _ssrf_safe_http_get
`_ssrf_safe_http_get` re-implemented the "active pool client else fresh
client" split that `_skills_hub_http_get` introduced, with two separate
`.get(...)` calls. Pick the context manager once (`nullcontext(pooled)`
or a fresh `create_ssrf_safe_client(...)`) and issue a single GET. The
fallbacks stay distinct on purpose: this helper builds a guarded client,
`_skills_hub_http_get` falls back to bare `httpx.get`.

PROOF: behaviour-preserving; 345 tests across the 21 hub/skills test
files (tests/hermes_cli + tests/tools matching skills_hub /
_ssrf_safe_http_get) pass, 0 failed, including the pool-reuse test that
asserts exactly one client is created during inspect.
2026-09-22 15:59:17 +05:30
..