# NousResearch/hermes-agent · Avoiding unwanted /anthropic to /v1 base URL rewriting

## Open now

- 1 issue, 0 PRs open on GitHub.
- #61256: 百炼 Anthropic 端点用子路径 /apps/anthropic，Hermes SDK 的 _to_openai_base_url() 无条件把 /anthropic 改写为 /v1。这是 SDK 层的结构性问题，改 config 绕不过去。

The members all concern the auxiliary/provider URL helper that rewrites an /anthropic base_url to /v1, including cases involving anthropic_messages mode, dual-surface hosts, and sub-paths like /apps/anthropic (Bailian). They describe proposed changes or a reported problem to limit when that rewrite applies; their outcomes are not stated here.

## TL;DR

- 5 member(s): 1 open issue(s), 0 closed issue(s), 0 open PR(s), 2 merged PR(s), 2 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: `unresolved`. 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.40`: 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.

## Open related issues

- #61256: 百炼 Anthropic 端点用子路径 /apps/anthropic，Hermes SDK 的 _to_openai_base_url() 无条件把 /anthropic 改写为 /v1。这是 SDK 层的结构性问题，改 config 绕不过去。

## 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`
- **#61333: fix(auxiliary): skip /anthropic to /v1 rewrite when api_mode is anthropic_messages**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `#85466`, `#83782`
- **#61394: fix(providers): skip /anthropic rewrite for sub-application paths like /apps/anthropic**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `#85532`, `#83782`, `#61256`

## Fix status

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