mirror of
https://github.com/pbek/QOwnNotes.git
synced 2025-06-28 21:09:52 +00:00
#3037 add: setting of backend settings and allow reloading of the UI
Signed-off-by: Patrizio Bekerle <patrizio@bekerle.com>
This commit is contained in:
parent
ecc48539f1
commit
b0d309a8b4
4 changed files with 47 additions and 5 deletions
|
@ -8,10 +8,18 @@ Script {
|
|||
function openAiBackendsHook() {
|
||||
const result = [
|
||||
{
|
||||
"id": "my-custom-ai"
|
||||
"id": "my-custom-ai",
|
||||
"name": "My Custom AI12",
|
||||
"baseUrl": "http://localhost:5000",
|
||||
"apiKey": "kDFJkjk3asdm",
|
||||
"models": ["gpt-3.5-turbo", "gpt-4.0-turbo"],
|
||||
},
|
||||
{
|
||||
"id": "my-custom-ai2"
|
||||
"id": "my-custom-ai2",
|
||||
"name": "My Custom AI 2",
|
||||
"baseUrl": "http://localhost:5001",
|
||||
"apiKey": "lOikf7eNdb9",
|
||||
"models": ["gpt-3.5-turbo2", "gpt-4.0-turbo2"],
|
||||
}
|
||||
];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue