* fix: setting extension placeholder apikey * fix: extension settings migration --------- Co-authored-by: Louis <louis@jan.ai>
25 lines
907 B
JSON
25 lines
907 B
JSON
[
|
|
{
|
|
"key": "anthropic-api-key",
|
|
"title": "API Key",
|
|
"description": "The Anthropic API uses API keys for authentication. Visit your [API Keys](https://console.anthropic.com/settings/keys) page to retrieve the API key you'll use in your requests.",
|
|
"controllerType": "input",
|
|
"controllerProps": {
|
|
"placeholder": "Insert API Key",
|
|
"value": "",
|
|
"type": "password",
|
|
"inputActions": ["unobscure", "copy"]
|
|
}
|
|
},
|
|
{
|
|
"key": "chat-completions-endpoint",
|
|
"title": "Chat Completions Endpoint",
|
|
"description": "The endpoint to use for chat completions. See the [Anthropic API documentation](https://docs.anthropic.com/claude/docs/intro-to-claude) for more information.",
|
|
"controllerType": "input",
|
|
"controllerProps": {
|
|
"placeholder": "https://api.anthropic.com/v1/messages",
|
|
"value": "https://api.anthropic.com/v1/messages"
|
|
}
|
|
}
|
|
]
|