openclaw/docs/providers
ryan-crabbe a36b9be245
Feat/litellm provider (#12823)
* feat: add LiteLLM provider types, env var, credentials, and auth choice

Add litellm-api-key auth choice, LITELLM_API_KEY env var mapping,
setLitellmApiKey() credential storage, and LITELLM_DEFAULT_MODEL_REF.

* feat: add LiteLLM onboarding handler and provider config

Add applyLitellmProviderConfig which properly registers
models.providers.litellm with baseUrl, api type, and model definitions.
This fixes the critical bug from PR #6488 where the provider entry was
never created, causing model resolution to fail at runtime.

* docs: add LiteLLM provider documentation

Add setup guide covering onboarding, manual config, virtual keys,
model routing, and usage tracking. Link from provider index.

* docs: add LiteLLM to sidebar navigation in docs.json

Add providers/litellm to both English and Chinese provider page lists
so the docs page appears in the sidebar navigation.

* test: add LiteLLM non-interactive onboarding test

Wire up litellmApiKey flag inference and auth-choice handler for the
non-interactive onboarding path, and add an integration test covering
profile, model default, and credential storage.

* fix: register --litellm-api-key CLI flag and add preferred provider mapping

Wire up the missing Commander CLI option, action handler mapping, and
help text for --litellm-api-key. Add litellm-api-key to the preferred
provider map for consistency with other providers.

* fix: remove zh-CN sidebar entry for litellm (no localized page yet)

* style: format buildLitellmModelDefinition return type

* fix(onboarding): harden LiteLLM provider setup (#12823)

* refactor(onboarding): keep auth-choice provider dispatcher under size limit

---------

Co-authored-by: Peter Steinberger <steipete@gmail.com>
2026-02-11 11:46:56 +01:00
..
anthropic.md docs: linting 2026-02-06 09:35:57 -05:00
bedrock.md docs: canonicalize docs paths and align zh navigation (#11428) 2026-02-07 15:40:35 -05:00
claude-max-api-proxy.md Docs: enable markdownlint autofixables except list numbering (#10476) 2026-02-06 10:08:59 -05:00
cloudflare-ai-gateway.md revert(docs): undo markdownlint autofix churn 2026-02-06 10:00:08 -05:00
deepgram.md Docs: enable markdownlint autofixables except list numbering (#10476) 2026-02-06 10:08:59 -05:00
github-copilot.md Docs: add nav titles across docs (#5689) 2026-01-31 15:04:03 -06:00
glm.md Docs: add nav titles across docs (#5689) 2026-01-31 15:04:03 -06:00
index.md Feat/litellm provider (#12823) 2026-02-11 11:46:56 +01:00
litellm.md Feat/litellm provider (#12823) 2026-02-11 11:46:56 +01:00
minimax.md Docs: enable markdownlint autofixables except list numbering (#10476) 2026-02-06 10:08:59 -05:00
models.md docs: canonicalize docs paths and align zh navigation (#11428) 2026-02-07 15:40:35 -05:00
moonshot.md Docs: enable markdownlint autofixables except list numbering (#10476) 2026-02-06 10:08:59 -05:00
ollama.md Docs: enable markdownlint autofixables except list numbering (#10476) 2026-02-06 10:08:59 -05:00
openai.md docs: linting 2026-02-06 09:35:57 -05:00
opencode.md chore: apply local workspace updates (#9911) 2026-02-05 16:54:44 -05:00
openrouter.md Docs: add nav titles across docs (#5689) 2026-01-31 15:04:03 -06:00
qianfan.md docs: canonicalize docs paths and align zh navigation (#11428) 2026-02-07 15:40:35 -05:00
qwen.md Docs: add nav titles across docs (#5689) 2026-01-31 15:04:03 -06:00
synthetic.md Docs: add nav titles across docs (#5689) 2026-01-31 15:04:03 -06:00
together.md Update Together default model to together/moonshotai/Kimi-K2.5 (#13324) 2026-02-11 08:39:15 +09:00
venice.md Docs: add nav titles across docs (#5689) 2026-01-31 15:04:03 -06:00
vercel-ai-gateway.md revert(docs): undo markdownlint autofix churn 2026-02-06 10:00:08 -05:00
xiaomi.md Docs: add nav titles across docs (#5689) 2026-01-31 15:04:03 -06:00
zai.md Docs: add nav titles across docs (#5689) 2026-01-31 15:04:03 -06:00