NousResearch/hermes-agent

XAI_API_KEY persisting in env overrides xai-oauth

Cluster 116155. Data as of

Nothing open on GitHub. Fix merged in #116773 on 20 Sep 2026. Check it covers your case.

The short answer

0open issues
0open PRs
4items grouped
Known?
Yes. 4 related items grouped here, 1 issue already closed.
Fix event
A fix was merged to main in PR #116773. Check it covers your case. No release data is tracked.
Tracker
The maintainers' tracker marks this resolved, deciding PR #116773. That is separate from the fix event.
Still open
Nothing open on GitHub.

A bug where a removed XAI_API_KEY remains in the gateway process environment and incorrectly overrides xai-oauth authentication. Multiple fixes address honoring suppressed environment variable sources in the key resolver.

Open issues0

No open issues.

Open PRs0

No open pull requests.

Fixes on record

Merged to main. A stamp counts the issues a fix is linked to.

  • #116773 fix(auth): a removed XAI_API_KEY still in the gateway environment no longer overrides xai-oauth for x_search (#116155, supersedes #116160)

    merged to main

    files: tests/tools/test_xai_http_credentials.py, tools/tool_backend_helpers.py

2 PRs closed without merging

From the close comments: done elsewhere 2

  • #116160 fix(xai): honor suppressed env:XAI_API_KEY source in explicit-key resolver · done elsewhere → #116773
  • #116182 fix(xai): honor suppressed process environment source · done elsewhere → c265f77, #116773, #116155, #116160
Closed issues · 1
  • Closed#116155Bug: dead XAI_API_KEY persists in gateway process env across update restarts and overrides xai-oauth for x_search
How this cluster was grouped
  • Link evidence (structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
  • Pairwise link density 0.50: the share of item 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.

Pick up a Lab task

Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.

Open the Lab

At a glance

Merged PRs
#116773
Closed issues
1
Attempts
2 PRs closed without merging
Fix link checked
20 Sep 2026

For your agent

The same facts, typed.