mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-18 05:20:48 +00:00
38 lines
1.0 KiB
JSON
38 lines
1.0 KiB
JSON
{
|
|
"id": "anthropic",
|
|
"providers": ["anthropic"],
|
|
"providerAuthEnvVars": {
|
|
"anthropic": ["ANTHROPIC_OAUTH_TOKEN", "ANTHROPIC_API_KEY"]
|
|
},
|
|
"providerAuthChoices": [
|
|
{
|
|
"provider": "anthropic",
|
|
"method": "setup-token",
|
|
"choiceId": "token",
|
|
"choiceLabel": "Anthropic token (paste setup-token)",
|
|
"choiceHint": "Run `claude setup-token` elsewhere, then paste the token here",
|
|
"groupId": "anthropic",
|
|
"groupLabel": "Anthropic",
|
|
"groupHint": "setup-token + API key"
|
|
},
|
|
{
|
|
"provider": "anthropic",
|
|
"method": "api-key",
|
|
"choiceId": "apiKey",
|
|
"choiceLabel": "Anthropic API key",
|
|
"groupId": "anthropic",
|
|
"groupLabel": "Anthropic",
|
|
"groupHint": "setup-token + API key",
|
|
"optionKey": "anthropicApiKey",
|
|
"cliFlag": "--anthropic-api-key",
|
|
"cliOption": "--anthropic-api-key <key>",
|
|
"cliDescription": "Anthropic API key"
|
|
}
|
|
],
|
|
"configSchema": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {}
|
|
}
|
|
}
|