docs: add Nadir provider page - #861
Open
doramirdor wants to merge 1 commit into
Open
Conversation
Nadir (https://getnadir.com) is an OpenAI-compatible intelligent router. The provider is added to litellm in BerriAI/litellm#33227; this documents the env vars it reads (NADIR_API_KEY, NADIR_API_BASE) and the constraints the provider actually enforces. Disclosure: I work on Nadir.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
Adds a provider page for Nadir, the provider added to litellm in BerriAI/litellm#33227.
Disclosure: I work on Nadir.
Why this is needed
tests/documentation_tests/test_env_keys.pyin the main repo fails on that PR:Since the docs moved to this repo, the
code-qualityanddocumentationjobs there cloneBerriAI/litellm-docs@main, so that check cannot pass until a page here documents those two variables.provider_endpoints_support.jsonin the main repo also already links to/docs/providers/nadir, which is currently a dead link.What the page says
The page documents what the provider actually enforces, not the full OpenAI surface:
nadir/auto; the concrete model is chosen server-side per request./chat/completionsonly, matching theprovider_endpoints_support.jsonentry.extra_headersandmax_retriesare noted as transport-side.tools/tool_choice/functionsare not supported._hidden_params['additional_headers']['llm_provider-x-litellm-response-cost'], the same mechanism and doc phrasing the OpenRouter page uses, because the routed model is a vendor name with nonadir/*pricing entry.Verification
npm run buildpasses. The page produces no warnings; the 5 broken-anchor warnings are pre-existing onrelease_notes/*pages and unrelated.docs/my-website, all four documentation tests in the main repo pass, including the one currently failing:Every environment variable read under ./litellm is documented.sidebars.jsentry added alongside the other providers.