mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-17 13:00:48 +00:00
38 lines
963 B
JSON
38 lines
963 B
JSON
{
|
|
"id": "openai",
|
|
"providers": ["openai", "openai-codex"],
|
|
"providerAuthEnvVars": {
|
|
"openai": ["OPENAI_API_KEY"]
|
|
},
|
|
"providerAuthChoices": [
|
|
{
|
|
"provider": "openai-codex",
|
|
"method": "oauth",
|
|
"choiceId": "openai-codex",
|
|
"choiceLabel": "OpenAI Codex (ChatGPT OAuth)",
|
|
"choiceHint": "Browser sign-in",
|
|
"groupId": "openai",
|
|
"groupLabel": "OpenAI",
|
|
"groupHint": "Codex OAuth + API key"
|
|
},
|
|
{
|
|
"provider": "openai",
|
|
"method": "api-key",
|
|
"choiceId": "openai-api-key",
|
|
"choiceLabel": "OpenAI API key",
|
|
"groupId": "openai",
|
|
"groupLabel": "OpenAI",
|
|
"groupHint": "Codex OAuth + API key",
|
|
"optionKey": "openaiApiKey",
|
|
"cliFlag": "--openai-api-key",
|
|
"cliOption": "--openai-api-key <key>",
|
|
"cliDescription": "OpenAI API key"
|
|
}
|
|
],
|
|
"configSchema": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {}
|
|
}
|
|
}
|