# NousResearch/hermes-agent · xAI base_url relay routing not honored

## Open now

- Nothing open on GitHub.

These issues and fixes address a bug where xAI requests ignore a configured base_url or relay endpoint, falling back to the default api.x.ai host instead. Changes span runtime, fallback, listing, and validation paths to respect the configured base_url.

## TL;DR

- 4 member(s): 0 open issue(s), 1 closed issue(s), 0 open PR(s), 1 merged PR(s), 2 PR(s) closed without merging.
- A fix was merged to main in PR #121614. Verify it addresses your case.
- **Recommended:** read PR #121614 (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-121614`. 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

- #121347: \[Bug\]: xai ignores model.base_url — request and XAI_API_KEY go to api.x.ai instead of the configured relay

## Prior & competing PRs

- **#121614: fix(providers): honor a configured base_url instead of the vendor host across runtime, fallback, listing and validation**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `agent/auxiliary_client.py`, `contributors/emails/ahisblessed@users.noreply.github.com`, `hermes_cli/models.py`, `hermes_cli/models_validate.py`, `hermes_cli/runtime_provider.py`, `tests/agent/test_fallback_entry_base_url.py`, `tests/hermes_cli/test_model_validation.py`, `tests/hermes_cli/test_models_relay_base_url.py`, `tests/hermes_cli/test_runtime_provider_resolution.py`
- **#121353: fix(runtime): honor xai relay base URL from pool**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#121614`, `#121347`
- **#121545: fix(xai): honor model.base_url when the pool row is still the registry host**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `#121614`

## Fix status

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