* fix: setting extension placeholder apikey * fix: extension settings migration --------- Co-authored-by: Louis <louis@jan.ai>
25 lines
888 B
JSON
25 lines
888 B
JSON
[
|
|
{
|
|
"key": "openrouter-api-key",
|
|
"title": "API Key",
|
|
"description": "The OpenRouter API uses API keys for authentication. Visit your [API Keys](https://openrouter.ai/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": "openrouter-model",
|
|
"title": "Model",
|
|
"description": "If the model parameter is omitted, the user or payer's default is used. Otherwise, remember to select a value for model from the [supported models](https://openrouter.ai/docs/models) or API, and include the organization prefix.",
|
|
"controllerType": "input",
|
|
"controllerProps": {
|
|
"placeholder": "Leave empty for default model",
|
|
"value": ""
|
|
}
|
|
}
|
|
]
|