Skip to content

Fix Nous Research model API names to match case-sensitive API#100

Merged
adambalogh merged 2 commits into
mainfrom
claude/intelligent-ramanujan-rsnlnu
Jun 9, 2026
Merged

Fix Nous Research model API names to match case-sensitive API#100
adambalogh merged 2 commits into
mainfrom
claude/intelligent-ramanujan-rsnlnu

Conversation

@adambalogh

Copy link
Copy Markdown
Contributor

Summary

Corrects the Nous Research Hermes model API names to use the proper capitalized format required by the Nous inference API, which enforces case-sensitive model-id matching.

Changes

  • Updated HERMES_4_405B model config: api_name changed from "hermes-4-405b" to "Hermes-4-405B"
  • Updated HERMES_4_70B model config: api_name changed from "hermes-4-70b" to "Hermes-4-70B"
  • Added documentation comment explaining that the Nous API is case-sensitive and rejects the bare lowercase form with HTTP 400
  • Updated corresponding test assertions to expect the capitalized API names

Details

The Nous inference API operates as an OpenRouter-style aggregator with strict case-sensitive model-id matching. The lowercase forms (hermes-4-405b, hermes-4-70b) are rejected with HTTP 400 errors. The accepted form is the capitalized variant (Hermes-4-405B, Hermes-4-70B), though the canonical id format (nousresearch/hermes-4-70b) also works.

This fix ensures that requests to Nous Research models will use the correct API names and succeed without HTTP 400 errors.

https://claude.ai/code/session_01RrpWdThAsUepVHEUipEUQq

claude added 2 commits June 9, 2026 16:03
The Nous inference API is an OpenRouter-style aggregator that requires
model ids namespaced as <org>/<model>. The bare "hermes-4-405b" /
"hermes-4-70b" forms are not accepted aliases and were rejected with
HTTP 400. Prefix the provider-facing api_name with "nousresearch/".

The client-facing registry keys are unchanged.

https://claude.ai/code/session_01RrpWdThAsUepVHEUipEUQq
The Nous inference API uses case-sensitive model-id matching. The bare
lowercase "hermes-4-70b" / "hermes-4-405b" sent by the gateway are not
accepted aliases and were rejected with HTTP 400. Use the confirmed-working
capitalized aliases "Hermes-4-70B" / "Hermes-4-405B".

https://claude.ai/code/session_01RrpWdThAsUepVHEUipEUQq
@adambalogh adambalogh marked this pull request as ready for review June 9, 2026 16:05
@adambalogh adambalogh merged commit 47e6327 into main Jun 9, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants