refactor: pluginize litellm auth onboarding

This commit is contained in:
Peter Steinberger
2026-03-27 12:25:55 +00:00
parent 324cddee4c
commit bcfddcc768
21 changed files with 271 additions and 328 deletions

View File

@@ -8010,6 +8010,48 @@ export const GENERATED_BUNDLED_PLUGIN_METADATA = [
},
},
},
{
dirName: "litellm",
idHint: "litellm",
source: {
source: "./index.ts",
built: "index.js",
},
packageName: "@openclaw/litellm-provider",
packageVersion: "2026.3.26",
packageDescription: "OpenClaw LiteLLM provider plugin",
packageManifest: {
extensions: ["./index.ts"],
},
manifest: {
id: "litellm",
configSchema: {
type: "object",
additionalProperties: false,
properties: {},
},
providers: ["litellm"],
providerAuthEnvVars: {
litellm: ["LITELLM_API_KEY"],
},
providerAuthChoices: [
{
provider: "litellm",
method: "api-key",
choiceId: "litellm-api-key",
choiceLabel: "LiteLLM API key",
choiceHint: "Unified gateway for 100+ LLM providers",
groupId: "litellm",
groupLabel: "LiteLLM",
groupHint: "Unified LLM gateway (100+ providers)",
optionKey: "litellmApiKey",
cliFlag: "--litellm-api-key",
cliOption: "--litellm-api-key <key>",
cliDescription: "LiteLLM API key",
},
],
},
},
{
dirName: "llm-task",
idHint: "llm-task",