* fix: setting extension placeholder apikey * fix: extension settings migration --------- Co-authored-by: Louis <louis@jan.ai>
25 lines
913 B
JSON
25 lines
913 B
JSON
[
|
|
{
|
|
"key": "openai-api-key",
|
|
"title": "API Key",
|
|
"description": "The OpenAI API uses API keys for authentication. Visit your [API Keys](https://platform.openai.com/account/api-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 [OpenAI API documentation](https://platform.openai.com/docs/api-reference/chat/create) for more information.",
|
|
"controllerType": "input",
|
|
"controllerProps": {
|
|
"placeholder": "https://api.openai.com/v1/chat/completions",
|
|
"value": "https://api.openai.com/v1/chat/completions"
|
|
}
|
|
}
|
|
]
|