# NousResearch/hermes-agent · Fix URL rewriting scoped to dual-surface hosts only

## Open now

- Nothing open on GitHub.

A bug was reported where automatic /anthropic→/v1 endpoint rewriting broke Anthropic-only custom gateways, causing 404 errors. Two fix attempts address this by restricting the rewrite logic to dual-surface hosts only.

## TL;DR

- 4 member(s): 0 open issue(s), 1 closed issue(s), 0 open PR(s), 2 merged PR(s), 1 PR(s) closed without merging.
- A fix was merged to main in PR #85532. Verify it addresses your case.
- **Recommended:** read PR #85532 (and any competing PRs below) before filing. Confirm the merged change covers your symptom.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `resolved` · deciding PR(s): `pr-85532`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_SPANNING`): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
- Pairwise link density `0.50`: the share of member pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. `1.00` means every pair is linked.

## Closed / duplicate issues

- #83642: \[Bug\]: auxiliary auto endpoint rewrite breaks Anthropic-only custom gateways (compression/vision 404)

## Prior & competing PRs

- **#85466: fix(auxiliary): keep /anthropic base_url for anthropic_messages custom endpoints (salvage #64891)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `agent/auxiliary_client.py`, `tests/agent/test_auxiliary_explicit_base_anthropic.py`
- **#85532: fix(auxiliary): only rewrite /anthropic to /v1 for dual-surface hosts (salvage #83782)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `agent/auxiliary_client.py`, `tests/agent/test_auxiliary_explicit_base_anthropic.py`, `tests/agent/test_minimax_auxiliary_url.py`
- **#83782: fix(agent): only rewrite /anthropic→/v1 for dual-surface hosts**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `f51aa6a9b5`, `#85532`, `#85466`

## Fix status

- Merged to main in PR #85532 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-08-13`.
