Merge pull request #3441 from janhq/chore/add-back-openrouter-endpoint-setting

chore: add back OpenRouter request endpoint setting
This commit is contained in:
Louis 2024-08-22 17:18:04 +07:00 committed by GitHub
commit aaeb18cd59
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -11,6 +11,16 @@
"inputActions": ["unobscure", "copy"]
}
},
{
"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/requests) for more information.",
"controllerType": "input",
"controllerProps": {
"placeholder": "https://openrouter.ai/api/v1/chat/completions",
"value": "https://openrouter.ai/api/v1/chat/completions"
}
},
{
"key": "openrouter-model",
"title": "Model",