forked from tagspaces/tagspaces
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathextconfig-ai.js
35 lines (35 loc) · 921 Bytes
/
extconfig-ai.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
window.ExtIsFirstRun = false;
window.ExtCheckForUpdatesOnStartup = false;
window.ExtUseGenerateThumbnails = true;
window.ExtAI = {
defaultEngine: 'internalTSEngineId1',
engines: [
{
id: 'internalTSEngineId1',
engine: 'ollama',
name: 'Olama Local',
url: 'http://localhost:11434',
defaultTextModel: 'llama3.2', // optional
defaultImageModel: 'llava', // optional
enable: true,
},
{
id: 'internalTSEngineId2',
engine: 'ollama',
name: 'Olama Remote',
url: 'http://192.168.178.234:11432',
enable: false,
/* authKey: '', // optional*/
},
/*{
type: 'chatgpt',
name: 'ChatGpt',
id: 'internalTSEngineId3',
url: 'https://api.openai.com',
apiKey: 'blablabla',
defaultImageModel: 'chatGptInternalModelID',
defaultTextModel: 'chatGptInternalModelID',
enabled: false,
},*/
],
};