Fix Nous Research model API names to match case-sensitive API#100
Merged
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
HERMES_4_405Bmodel config:api_namechanged from"hermes-4-405b"to"Hermes-4-405B"HERMES_4_70Bmodel config:api_namechanged from"hermes-4-70b"to"Hermes-4-70B"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