34 lines
1.3 KiB
JSON
34 lines
1.3 KiB
JSON
[
|
|
{
|
|
"key": "chat-completions-endpoint",
|
|
"title": "Chat Completions Endpoint",
|
|
"description": "The endpoint to use for chat completions. See the [OpenRouter API documentation](https://openrouter.ai/docs) for more information.",
|
|
"controllerType": "input",
|
|
"controllerProps": {
|
|
"placeholder": "https://openrouter.ai/api/v1/chat/completions",
|
|
"value": "https://openrouter.ai/api/v1/chat/completions"
|
|
}
|
|
},
|
|
{
|
|
"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": "sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
|
|
"value": "",
|
|
"type": "password"
|
|
}
|
|
},
|
|
{
|
|
"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": ""
|
|
}
|
|
}
|
|
]
|