Skip to content

Revert "fix(anthropic): remove Claude Code fingerprinting from OAuth Messages API path" (#16957) - #17397

Merged
teknium1 merged 1 commit into
mainfrom
hermes/hermes-41bf0161
Apr 29, 2026
Merged

Revert "fix(anthropic): remove Claude Code fingerprinting from OAuth Messages API path" (#16957)#17397
teknium1 merged 1 commit into
mainfrom
hermes/hermes-41bf0161

Conversation

@teknium1

Copy link
Copy Markdown
Contributor

Reverts #16957.

Anthropic routes extra Claude Code subscription usage allowances to requests that identify as Claude Code. Removing the claude-cli/<version> User-Agent blocked Hermes users from that route. Bringing the fingerprinting back so OAuth Messages API requests keep hitting the Claude Code path.

Changes

Validation

scripts/run_tests.sh tests/agent/test_anthropic_adapter.py → 138 passed.

@teknium1
teknium1 merged commit 21676e8 into main Apr 29, 2026
11 of 12 checks passed
@teknium1
teknium1 deleted the hermes/hermes-41bf0161 branch April 29, 2026 10:55
@alt-glitch alt-glitch added type/bug Something isn't working P2 Medium — degraded but workaround exists provider/anthropic Anthropic native Messages API comp/agent Core agent runtime: loop, agent_init, prompt builder, context-compression, responses endpoint area/auth Authentication, OAuth, credential pools labels Apr 29, 2026
donald131 pushed a commit to donald131/hermes-agent that referenced this pull request May 2, 2026
02356abc pushed a commit to 02356abc/hermes-agent that referenced this pull request May 14, 2026
jsboige pushed a commit to jsboige/hermes-agent that referenced this pull request May 14, 2026
dannyJ848 pushed a commit to dannyJ848/hermes-agent that referenced this pull request May 17, 2026
gweeteve pushed a commit to gweeteve/hermes-agent that referenced this pull request Jun 2, 2026
Seven74AI pushed a commit to Seven74AI/hermes-agent that referenced this pull request Jun 13, 2026
waefrebeorn pushed a commit to waefrebeorn/slermes that referenced this pull request Jul 2, 2026
Gravezzz pushed a commit to Gravezzz/hermes-agent that referenced this pull request Jul 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/auth Authentication, OAuth, credential pools comp/agent Core agent runtime: loop, agent_init, prompt builder, context-compression, responses endpoint P2 Medium — degraded but workaround exists provider/anthropic Anthropic native Messages API type/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants