mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
The LiteLLM provider now only requires a Base URL. The API Key field is optional, allowing users with self-hosted or local LiteLLM proxies to use the extension without entering a dummy key. Changes: - validate.ts: require only litellmBaseUrl (not litellmApiKey) for LiteLLM - LiteLLM.tsx: allow Refresh Models with just a Base URL - shared/api.ts: make apiKey optional in litellm type - webviewMessageHandler.ts: fetch models when baseUrl is set (no key needed) - litellm.ts fetcher: accept undefined apiKey, skip Auth header when absent - lite-llm.ts handler: use empty string instead of "dummy-key" fallback - Added "baseUrl" validation translation key - Added tests for optional API key scenarios Fixes #11918 |
||
|---|---|---|
| .. | ||
| audio | ||
| public | ||
| src | ||
| .gitignore | ||
| components.json | ||
| eslint.config.mjs | ||
| index.html | ||
| package.json | ||
| tsconfig.json | ||
| turbo.json | ||
| vite.config.ts | ||
| vitest.config.ts | ||
| vitest.setup.ts | ||