genai-lite 0.5.0 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/config/image-presets.json +22 -4
- package/package.json +3 -2
- package/src/config/image-presets.json +212 -0
- package/src/config/llm-presets.json +327 -0
package/README.md
CHANGED
|
@@ -183,7 +183,7 @@ export GENAI_ELECTRON_IMAGE_BASE_URL=http://localhost:8081
|
|
|
183
183
|
|
|
184
184
|
#### Using Image Presets
|
|
185
185
|
|
|
186
|
-
genai-lite includes
|
|
186
|
+
genai-lite includes 13 built-in presets for common use cases:
|
|
187
187
|
|
|
188
188
|
```typescript
|
|
189
189
|
const imageService = new ImageService(fromEnvironment);
|
|
@@ -214,7 +214,7 @@ const result = await imageService.generateImage({
|
|
|
214
214
|
|
|
215
215
|
**Available Presets:**
|
|
216
216
|
- **OpenAI:** `openai-gpt-image-1-mini-default`, `openai-gpt-image-1-quality`, `openai-dalle-3-hd`, `openai-dalle-3-natural`, `openai-dalle-2-default`, `openai-dalle-2-fast`
|
|
217
|
-
- **Local Diffusion:** `genai-electron-sdxl-quality`, `genai-electron-sdxl-balanced`, `genai-electron-sdxl-fast`, `genai-electron-sdxl-portrait`, `genai-electron-sdxl-turbo`, `genai-electron-sdxl-lightning`
|
|
217
|
+
- **Local Diffusion:** `genai-electron-sdxl-quality`, `genai-electron-sdxl-balanced`, `genai-electron-sdxl-fast`, `genai-electron-sdxl-portrait`, `genai-electron-sdxl-turbo`, `genai-electron-sdxl-lightning`, `genai-electron-sdxl-lightning-medium`
|
|
218
218
|
|
|
219
219
|
#### Progress Callbacks (Local Diffusion)
|
|
220
220
|
|
|
@@ -162,7 +162,7 @@
|
|
|
162
162
|
"displayName": "Local - SDXL Turbo",
|
|
163
163
|
"description": "Real-time generation with SDXL Turbo (optimal at 512x512, 1-4 steps)",
|
|
164
164
|
"providerId": "genai-electron-images",
|
|
165
|
-
"modelId": "
|
|
165
|
+
"modelId": "stable-diffusion",
|
|
166
166
|
"settings": {
|
|
167
167
|
"width": 512,
|
|
168
168
|
"height": 512,
|
|
@@ -176,17 +176,35 @@
|
|
|
176
176
|
},
|
|
177
177
|
{
|
|
178
178
|
"id": "genai-electron-sdxl-lightning",
|
|
179
|
-
"displayName": "Local - SDXL Lightning",
|
|
179
|
+
"displayName": "Local - SDXL Lightning (Large)",
|
|
180
|
+
"displayName": "Local - SDXL Lightning (Large)",
|
|
180
181
|
"description": "Lightning-fast generation with quality (trained at 1024x1024, 2-8 steps)",
|
|
181
182
|
"providerId": "genai-electron-images",
|
|
182
|
-
"modelId": "
|
|
183
|
+
"modelId": "stable-diffusion",
|
|
183
184
|
"settings": {
|
|
184
185
|
"width": 1024,
|
|
185
186
|
"height": 1024,
|
|
186
187
|
"responseFormat": "buffer",
|
|
187
188
|
"diffusion": {
|
|
188
189
|
"steps": 8,
|
|
189
|
-
"cfgScale": 1.
|
|
190
|
+
"cfgScale": 1.5,
|
|
191
|
+
"sampler": "euler_a"
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
"id": "genai-electron-sdxl-lightning-medium",
|
|
197
|
+
"displayName": "Local - SDXL Lightning (Medium)",
|
|
198
|
+
"description": "Lightning-fast generation at medium size (trained at 1024x1024, 2-8 steps)",
|
|
199
|
+
"providerId": "genai-electron-images",
|
|
200
|
+
"modelId": "stable-diffusion",
|
|
201
|
+
"settings": {
|
|
202
|
+
"width": 768,
|
|
203
|
+
"height": 768,
|
|
204
|
+
"responseFormat": "buffer",
|
|
205
|
+
"diffusion": {
|
|
206
|
+
"steps": 8,
|
|
207
|
+
"cfgScale": 1.5,
|
|
190
208
|
"sampler": "euler_a"
|
|
191
209
|
}
|
|
192
210
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "genai-lite",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.1",
|
|
4
4
|
"description": "A lightweight, portable toolkit for interacting with various Generative AI APIs.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -32,7 +32,8 @@
|
|
|
32
32
|
"homepage": "https://github.com/lacerbi/genai-lite#readme",
|
|
33
33
|
"files": [
|
|
34
34
|
"dist",
|
|
35
|
-
"src/config/presets.json"
|
|
35
|
+
"src/config/llm-presets.json",
|
|
36
|
+
"src/config/image-presets.json"
|
|
36
37
|
],
|
|
37
38
|
"scripts": {
|
|
38
39
|
"build": "tsc",
|
|
@@ -0,0 +1,212 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"id": "openai-gpt-image-1-mini-default",
|
|
4
|
+
"displayName": "OpenAI - GPT-Image 1 Mini",
|
|
5
|
+
"description": "Fast and efficient image generation with GPT-Image (32K char prompts)",
|
|
6
|
+
"providerId": "openai-images",
|
|
7
|
+
"modelId": "gpt-image-1-mini",
|
|
8
|
+
"settings": {
|
|
9
|
+
"width": 1024,
|
|
10
|
+
"height": 1024,
|
|
11
|
+
"quality": "auto",
|
|
12
|
+
"responseFormat": "buffer",
|
|
13
|
+
"openai": {
|
|
14
|
+
"outputFormat": "png",
|
|
15
|
+
"background": "auto",
|
|
16
|
+
"moderation": "auto"
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"id": "openai-gpt-image-1-quality",
|
|
22
|
+
"displayName": "OpenAI - GPT-Image 1 (High Quality)",
|
|
23
|
+
"description": "Highest quality OpenAI image model with advanced features (32K char prompts)",
|
|
24
|
+
"providerId": "openai-images",
|
|
25
|
+
"modelId": "gpt-image-1",
|
|
26
|
+
"settings": {
|
|
27
|
+
"width": 1024,
|
|
28
|
+
"height": 1024,
|
|
29
|
+
"quality": "high",
|
|
30
|
+
"responseFormat": "buffer",
|
|
31
|
+
"openai": {
|
|
32
|
+
"outputFormat": "png",
|
|
33
|
+
"background": "auto",
|
|
34
|
+
"moderation": "auto"
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"id": "openai-dalle-3-hd",
|
|
40
|
+
"displayName": "OpenAI - DALL-E 3 HD",
|
|
41
|
+
"description": "High-quality DALL-E 3 with vivid style (4K char prompts)",
|
|
42
|
+
"providerId": "openai-images",
|
|
43
|
+
"modelId": "dall-e-3",
|
|
44
|
+
"settings": {
|
|
45
|
+
"width": 1024,
|
|
46
|
+
"height": 1024,
|
|
47
|
+
"quality": "hd",
|
|
48
|
+
"style": "vivid",
|
|
49
|
+
"responseFormat": "buffer"
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"id": "openai-dalle-3-natural",
|
|
54
|
+
"displayName": "OpenAI - DALL-E 3 Natural",
|
|
55
|
+
"description": "DALL-E 3 with natural style for realistic photographs (4K char prompts)",
|
|
56
|
+
"providerId": "openai-images",
|
|
57
|
+
"modelId": "dall-e-3",
|
|
58
|
+
"settings": {
|
|
59
|
+
"width": 1024,
|
|
60
|
+
"height": 1024,
|
|
61
|
+
"quality": "standard",
|
|
62
|
+
"style": "natural",
|
|
63
|
+
"responseFormat": "buffer"
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"id": "openai-dalle-2-default",
|
|
68
|
+
"displayName": "OpenAI - DALL-E 2",
|
|
69
|
+
"description": "Cost-effective DALL-E 2 generation (1K char prompts)",
|
|
70
|
+
"providerId": "openai-images",
|
|
71
|
+
"modelId": "dall-e-2",
|
|
72
|
+
"settings": {
|
|
73
|
+
"width": 1024,
|
|
74
|
+
"height": 1024,
|
|
75
|
+
"quality": "standard",
|
|
76
|
+
"responseFormat": "buffer"
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"id": "openai-dalle-2-fast",
|
|
81
|
+
"displayName": "OpenAI - DALL-E 2 Fast",
|
|
82
|
+
"description": "Rapid prototyping with smaller image size (1K char prompts)",
|
|
83
|
+
"providerId": "openai-images",
|
|
84
|
+
"modelId": "dall-e-2",
|
|
85
|
+
"settings": {
|
|
86
|
+
"width": 512,
|
|
87
|
+
"height": 512,
|
|
88
|
+
"quality": "standard",
|
|
89
|
+
"responseFormat": "buffer"
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"id": "genai-electron-sdxl-quality",
|
|
94
|
+
"displayName": "Local - SDXL Quality",
|
|
95
|
+
"description": "High-quality SDXL generation for final production images",
|
|
96
|
+
"providerId": "genai-electron-images",
|
|
97
|
+
"modelId": "stable-diffusion",
|
|
98
|
+
"settings": {
|
|
99
|
+
"width": 1024,
|
|
100
|
+
"height": 1024,
|
|
101
|
+
"responseFormat": "buffer",
|
|
102
|
+
"diffusion": {
|
|
103
|
+
"steps": 30,
|
|
104
|
+
"cfgScale": 7.5,
|
|
105
|
+
"sampler": "dpm++2m"
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"id": "genai-electron-sdxl-balanced",
|
|
111
|
+
"displayName": "Local - SDXL Balanced",
|
|
112
|
+
"description": "Balanced quality and speed for general use",
|
|
113
|
+
"providerId": "genai-electron-images",
|
|
114
|
+
"modelId": "stable-diffusion",
|
|
115
|
+
"settings": {
|
|
116
|
+
"width": 768,
|
|
117
|
+
"height": 768,
|
|
118
|
+
"responseFormat": "buffer",
|
|
119
|
+
"diffusion": {
|
|
120
|
+
"steps": 20,
|
|
121
|
+
"cfgScale": 7.0,
|
|
122
|
+
"sampler": "euler_a"
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"id": "genai-electron-sdxl-fast",
|
|
128
|
+
"displayName": "Local - SDXL Fast",
|
|
129
|
+
"description": "Quick iterations with reduced steps",
|
|
130
|
+
"providerId": "genai-electron-images",
|
|
131
|
+
"modelId": "stable-diffusion",
|
|
132
|
+
"settings": {
|
|
133
|
+
"width": 512,
|
|
134
|
+
"height": 512,
|
|
135
|
+
"responseFormat": "buffer",
|
|
136
|
+
"diffusion": {
|
|
137
|
+
"steps": 15,
|
|
138
|
+
"cfgScale": 6.5,
|
|
139
|
+
"sampler": "euler_a"
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"id": "genai-electron-sdxl-portrait",
|
|
145
|
+
"displayName": "Local - SDXL Portrait",
|
|
146
|
+
"description": "Portrait-oriented image generation",
|
|
147
|
+
"providerId": "genai-electron-images",
|
|
148
|
+
"modelId": "stable-diffusion",
|
|
149
|
+
"settings": {
|
|
150
|
+
"width": 768,
|
|
151
|
+
"height": 1024,
|
|
152
|
+
"responseFormat": "buffer",
|
|
153
|
+
"diffusion": {
|
|
154
|
+
"steps": 20,
|
|
155
|
+
"cfgScale": 7.5,
|
|
156
|
+
"sampler": "dpm++2m"
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"id": "genai-electron-sdxl-turbo",
|
|
162
|
+
"displayName": "Local - SDXL Turbo",
|
|
163
|
+
"description": "Real-time generation with SDXL Turbo (optimal at 512x512, 1-4 steps)",
|
|
164
|
+
"providerId": "genai-electron-images",
|
|
165
|
+
"modelId": "stable-diffusion",
|
|
166
|
+
"settings": {
|
|
167
|
+
"width": 512,
|
|
168
|
+
"height": 512,
|
|
169
|
+
"responseFormat": "buffer",
|
|
170
|
+
"diffusion": {
|
|
171
|
+
"steps": 4,
|
|
172
|
+
"cfgScale": 1.0,
|
|
173
|
+
"sampler": "euler_a"
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"id": "genai-electron-sdxl-lightning",
|
|
179
|
+
"displayName": "Local - SDXL Lightning (Large)",
|
|
180
|
+
"displayName": "Local - SDXL Lightning (Large)",
|
|
181
|
+
"description": "Lightning-fast generation with quality (trained at 1024x1024, 2-8 steps)",
|
|
182
|
+
"providerId": "genai-electron-images",
|
|
183
|
+
"modelId": "stable-diffusion",
|
|
184
|
+
"settings": {
|
|
185
|
+
"width": 1024,
|
|
186
|
+
"height": 1024,
|
|
187
|
+
"responseFormat": "buffer",
|
|
188
|
+
"diffusion": {
|
|
189
|
+
"steps": 8,
|
|
190
|
+
"cfgScale": 1.5,
|
|
191
|
+
"sampler": "euler_a"
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
"id": "genai-electron-sdxl-lightning-medium",
|
|
197
|
+
"displayName": "Local - SDXL Lightning (Medium)",
|
|
198
|
+
"description": "Lightning-fast generation at medium size (trained at 1024x1024, 2-8 steps)",
|
|
199
|
+
"providerId": "genai-electron-images",
|
|
200
|
+
"modelId": "stable-diffusion",
|
|
201
|
+
"settings": {
|
|
202
|
+
"width": 768,
|
|
203
|
+
"height": 768,
|
|
204
|
+
"responseFormat": "buffer",
|
|
205
|
+
"diffusion": {
|
|
206
|
+
"steps": 8,
|
|
207
|
+
"cfgScale": 1.5,
|
|
208
|
+
"sampler": "euler_a"
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
]
|
|
@@ -0,0 +1,327 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"id": "anthropic-claude-sonnet-4-20250514-default",
|
|
4
|
+
"displayName": "Anthropic - Claude Sonnet 4",
|
|
5
|
+
"description": "Default preset for Claude Sonnet 4.",
|
|
6
|
+
"providerId": "anthropic",
|
|
7
|
+
"modelId": "claude-sonnet-4-20250514",
|
|
8
|
+
"settings": {
|
|
9
|
+
"temperature": 0.7,
|
|
10
|
+
"reasoning": {
|
|
11
|
+
"enabled": false
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"id": "anthropic-claude-sonnet-4-20250514-thinking",
|
|
17
|
+
"displayName": "Anthropic - Claude Sonnet 4 (Thinking)",
|
|
18
|
+
"description": "Claude Sonnet 4 with reasoning enabled for step-by-step thinking.",
|
|
19
|
+
"providerId": "anthropic",
|
|
20
|
+
"modelId": "claude-sonnet-4-20250514",
|
|
21
|
+
"settings": {
|
|
22
|
+
"temperature": 0.7,
|
|
23
|
+
"reasoning": {
|
|
24
|
+
"enabled": true
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"id": "anthropic-claude-opus-4-20250514-default",
|
|
30
|
+
"displayName": "Anthropic - Claude Opus 4",
|
|
31
|
+
"description": "Default preset for Claude Opus 4.",
|
|
32
|
+
"providerId": "anthropic",
|
|
33
|
+
"modelId": "claude-opus-4-20250514",
|
|
34
|
+
"settings": {
|
|
35
|
+
"temperature": 0.7,
|
|
36
|
+
"reasoning": {
|
|
37
|
+
"enabled": false
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"id": "anthropic-claude-opus-4-20250514-thinking",
|
|
44
|
+
"displayName": "Anthropic - Claude Opus 4 (Thinking)",
|
|
45
|
+
"description": "Claude Opus 4 with reasoning enabled for complex problem solving.",
|
|
46
|
+
"providerId": "anthropic",
|
|
47
|
+
"modelId": "claude-opus-4-20250514",
|
|
48
|
+
"settings": {
|
|
49
|
+
"temperature": 0.7,
|
|
50
|
+
"reasoning": {
|
|
51
|
+
"enabled": true
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"id": "anthropic-claude-3-7-sonnet-20250219-default",
|
|
57
|
+
"displayName": "Anthropic - Claude 3.7 Sonnet",
|
|
58
|
+
"description": "Default preset for Claude 3.7 Sonnet.",
|
|
59
|
+
"providerId": "anthropic",
|
|
60
|
+
"modelId": "claude-3-7-sonnet-20250219",
|
|
61
|
+
"settings": {
|
|
62
|
+
"temperature": 0.7,
|
|
63
|
+
"reasoning": {
|
|
64
|
+
"enabled": false
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"id": "anthropic-claude-3-7-sonnet-20250219-thinking",
|
|
70
|
+
"displayName": "Anthropic - Claude 3.7 Sonnet (Thinking)",
|
|
71
|
+
"description": "Claude 3.7 Sonnet with full reasoning output for detailed analysis.",
|
|
72
|
+
"providerId": "anthropic",
|
|
73
|
+
"modelId": "claude-3-7-sonnet-20250219",
|
|
74
|
+
"settings": {
|
|
75
|
+
"temperature": 0.7,
|
|
76
|
+
"reasoning": {
|
|
77
|
+
"enabled": true
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"id": "anthropic-claude-3-5-sonnet-20241022-default",
|
|
83
|
+
"displayName": "Anthropic - Claude 3.5 Sonnet",
|
|
84
|
+
"description": "Default preset for Claude 3.5 Sonnet.",
|
|
85
|
+
"providerId": "anthropic",
|
|
86
|
+
"modelId": "claude-3-5-sonnet-20241022",
|
|
87
|
+
"settings": {
|
|
88
|
+
"temperature": 0.7
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"id": "anthropic-claude-3-5-haiku-20241022-default",
|
|
93
|
+
"displayName": "Anthropic - Claude 3.5 Haiku",
|
|
94
|
+
"description": "Default preset for Claude 3.5 Haiku.",
|
|
95
|
+
"providerId": "anthropic",
|
|
96
|
+
"modelId": "claude-3-5-haiku-20241022",
|
|
97
|
+
"settings": {
|
|
98
|
+
"temperature": 0.7
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"id": "google-gemini-2.5-pro",
|
|
103
|
+
"displayName": "Google - Gemini 2.5 Pro",
|
|
104
|
+
"description": "Default preset for Gemini 2.5 Pro.",
|
|
105
|
+
"providerId": "gemini",
|
|
106
|
+
"modelId": "gemini-2.5-pro",
|
|
107
|
+
"settings": {
|
|
108
|
+
"temperature": 0.7,
|
|
109
|
+
"geminiSafetySettings": [
|
|
110
|
+
{ "category": "HARM_CATEGORY_HATE_SPEECH", "threshold": "BLOCK_NONE" },
|
|
111
|
+
{
|
|
112
|
+
"category": "HARM_CATEGORY_SEXUALLY_EXPLICIT",
|
|
113
|
+
"threshold": "BLOCK_NONE"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"category": "HARM_CATEGORY_DANGEROUS_CONTENT",
|
|
117
|
+
"threshold": "BLOCK_NONE"
|
|
118
|
+
},
|
|
119
|
+
{ "category": "HARM_CATEGORY_HARASSMENT", "threshold": "BLOCK_NONE" }
|
|
120
|
+
]
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"id": "google-gemini-2.5-flash",
|
|
125
|
+
"displayName": "Google - Gemini 2.5 Flash",
|
|
126
|
+
"description": "Default preset for Gemini 2.5 Flash.",
|
|
127
|
+
"providerId": "gemini",
|
|
128
|
+
"modelId": "gemini-2.5-flash",
|
|
129
|
+
"settings": {
|
|
130
|
+
"temperature": 0.7,
|
|
131
|
+
"geminiSafetySettings": [
|
|
132
|
+
{ "category": "HARM_CATEGORY_HATE_SPEECH", "threshold": "BLOCK_NONE" },
|
|
133
|
+
{
|
|
134
|
+
"category": "HARM_CATEGORY_SEXUALLY_EXPLICIT",
|
|
135
|
+
"threshold": "BLOCK_NONE"
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"category": "HARM_CATEGORY_DANGEROUS_CONTENT",
|
|
139
|
+
"threshold": "BLOCK_NONE"
|
|
140
|
+
},
|
|
141
|
+
{ "category": "HARM_CATEGORY_HARASSMENT", "threshold": "BLOCK_NONE" }
|
|
142
|
+
],
|
|
143
|
+
"reasoning": {
|
|
144
|
+
"enabled": false
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"id": "google-gemini-2.5-flash-thinking",
|
|
150
|
+
"displayName": "Google - Gemini 2.5 Flash (Thinking)",
|
|
151
|
+
"description": "Gemini 2.5 Flash with dynamic reasoning for adaptive problem solving.",
|
|
152
|
+
"providerId": "gemini",
|
|
153
|
+
"modelId": "gemini-2.5-flash",
|
|
154
|
+
"settings": {
|
|
155
|
+
"temperature": 0.7,
|
|
156
|
+
"geminiSafetySettings": [
|
|
157
|
+
{ "category": "HARM_CATEGORY_HATE_SPEECH", "threshold": "BLOCK_NONE" },
|
|
158
|
+
{
|
|
159
|
+
"category": "HARM_CATEGORY_SEXUALLY_EXPLICIT",
|
|
160
|
+
"threshold": "BLOCK_NONE"
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"category": "HARM_CATEGORY_DANGEROUS_CONTENT",
|
|
164
|
+
"threshold": "BLOCK_NONE"
|
|
165
|
+
},
|
|
166
|
+
{ "category": "HARM_CATEGORY_HARASSMENT", "threshold": "BLOCK_NONE" }
|
|
167
|
+
],
|
|
168
|
+
"reasoning": {
|
|
169
|
+
"enabled": true
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"id": "google-gemini-2.5-flash-lite-preview",
|
|
175
|
+
"displayName": "Google - Gemini 2.5 Flash-Lite Preview",
|
|
176
|
+
"description": "Default preset for Gemini 2.5 Flash-Lite.",
|
|
177
|
+
"providerId": "gemini",
|
|
178
|
+
"modelId": "gemini-2.5-flash-lite-preview-06-17",
|
|
179
|
+
"settings": {
|
|
180
|
+
"temperature": 0.7,
|
|
181
|
+
"geminiSafetySettings": [
|
|
182
|
+
{ "category": "HARM_CATEGORY_HATE_SPEECH", "threshold": "BLOCK_NONE" },
|
|
183
|
+
{
|
|
184
|
+
"category": "HARM_CATEGORY_SEXUALLY_EXPLICIT",
|
|
185
|
+
"threshold": "BLOCK_NONE"
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"category": "HARM_CATEGORY_DANGEROUS_CONTENT",
|
|
189
|
+
"threshold": "BLOCK_NONE"
|
|
190
|
+
},
|
|
191
|
+
{ "category": "HARM_CATEGORY_HARASSMENT", "threshold": "BLOCK_NONE" }
|
|
192
|
+
],
|
|
193
|
+
"reasoning": {
|
|
194
|
+
"enabled": false
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"id": "google-gemini-2.5-flash-lite-preview-thinking",
|
|
200
|
+
"displayName": "Google - Gemini 2.5 Flash-Lite Preview (Thinking)",
|
|
201
|
+
"description": "Gemini 2.5 Flash-Lite with dynamic reasoning for efficient thinking.",
|
|
202
|
+
"providerId": "gemini",
|
|
203
|
+
"modelId": "gemini-2.5-flash-lite-preview-06-17",
|
|
204
|
+
"settings": {
|
|
205
|
+
"temperature": 0.7,
|
|
206
|
+
"geminiSafetySettings": [
|
|
207
|
+
{ "category": "HARM_CATEGORY_HATE_SPEECH", "threshold": "BLOCK_NONE" },
|
|
208
|
+
{
|
|
209
|
+
"category": "HARM_CATEGORY_SEXUALLY_EXPLICIT",
|
|
210
|
+
"threshold": "BLOCK_NONE"
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
"category": "HARM_CATEGORY_DANGEROUS_CONTENT",
|
|
214
|
+
"threshold": "BLOCK_NONE"
|
|
215
|
+
},
|
|
216
|
+
{ "category": "HARM_CATEGORY_HARASSMENT", "threshold": "BLOCK_NONE" }
|
|
217
|
+
],
|
|
218
|
+
"reasoning": {
|
|
219
|
+
"enabled": true
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"id": "google-gemini-2.0-flash-default",
|
|
225
|
+
"displayName": "Google - Gemini 2.0 Flash",
|
|
226
|
+
"description": "Default preset for Gemini 2.0 Flash.",
|
|
227
|
+
"providerId": "gemini",
|
|
228
|
+
"modelId": "gemini-2.0-flash",
|
|
229
|
+
"settings": {
|
|
230
|
+
"temperature": 0.7,
|
|
231
|
+
"geminiSafetySettings": [
|
|
232
|
+
{ "category": "HARM_CATEGORY_HATE_SPEECH", "threshold": "BLOCK_NONE" },
|
|
233
|
+
{
|
|
234
|
+
"category": "HARM_CATEGORY_SEXUALLY_EXPLICIT",
|
|
235
|
+
"threshold": "BLOCK_NONE"
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
"category": "HARM_CATEGORY_DANGEROUS_CONTENT",
|
|
239
|
+
"threshold": "BLOCK_NONE"
|
|
240
|
+
},
|
|
241
|
+
{ "category": "HARM_CATEGORY_HARASSMENT", "threshold": "BLOCK_NONE" }
|
|
242
|
+
]
|
|
243
|
+
}
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
"id": "google-gemini-2.0-flash-lite-default",
|
|
247
|
+
"displayName": "Google - Gemini 2.0 Flash Lite",
|
|
248
|
+
"description": "Default preset for Gemini 2.0 Flash Lite.",
|
|
249
|
+
"providerId": "gemini",
|
|
250
|
+
"modelId": "gemini-2.0-flash-lite",
|
|
251
|
+
"settings": {
|
|
252
|
+
"temperature": 0.7,
|
|
253
|
+
"geminiSafetySettings": [
|
|
254
|
+
{ "category": "HARM_CATEGORY_HATE_SPEECH", "threshold": "BLOCK_NONE" },
|
|
255
|
+
{
|
|
256
|
+
"category": "HARM_CATEGORY_SEXUALLY_EXPLICIT",
|
|
257
|
+
"threshold": "BLOCK_NONE"
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
"category": "HARM_CATEGORY_DANGEROUS_CONTENT",
|
|
261
|
+
"threshold": "BLOCK_NONE"
|
|
262
|
+
},
|
|
263
|
+
{ "category": "HARM_CATEGORY_HARASSMENT", "threshold": "BLOCK_NONE" }
|
|
264
|
+
]
|
|
265
|
+
}
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
"id": "openai-o4-mini-default",
|
|
269
|
+
"displayName": "OpenAI - o4-mini",
|
|
270
|
+
"description": "Default preset for o4-mini.",
|
|
271
|
+
"providerId": "openai",
|
|
272
|
+
"modelId": "o4-mini",
|
|
273
|
+
"settings": {
|
|
274
|
+
"temperature": 1.0
|
|
275
|
+
}
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
"id": "openai-gpt-4.1-default",
|
|
279
|
+
"displayName": "OpenAI - GPT-4.1",
|
|
280
|
+
"description": "Default preset for GPT-4.1.",
|
|
281
|
+
"providerId": "openai",
|
|
282
|
+
"modelId": "gpt-4.1",
|
|
283
|
+
"settings": {
|
|
284
|
+
"temperature": 0.7
|
|
285
|
+
}
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
"id": "openai-gpt-4.1-mini-default",
|
|
289
|
+
"displayName": "OpenAI - GPT-4.1 Mini",
|
|
290
|
+
"description": "Default preset for GPT-4.1 Mini.",
|
|
291
|
+
"providerId": "openai",
|
|
292
|
+
"modelId": "gpt-4.1-mini",
|
|
293
|
+
"settings": {
|
|
294
|
+
"temperature": 0.7
|
|
295
|
+
}
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
"id": "openai-gpt-4.1-nano-default",
|
|
299
|
+
"displayName": "OpenAI - GPT-4.1 Nano",
|
|
300
|
+
"description": "Default preset for GPT-4.1 Nano.",
|
|
301
|
+
"providerId": "openai",
|
|
302
|
+
"modelId": "gpt-4.1-nano",
|
|
303
|
+
"settings": {
|
|
304
|
+
"temperature": 0.7
|
|
305
|
+
}
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
"id": "mistral-codestral-2501-default",
|
|
309
|
+
"displayName": "Mistral AI - Codestral",
|
|
310
|
+
"description": "Default preset for Codestral.",
|
|
311
|
+
"providerId": "mistral",
|
|
312
|
+
"modelId": "codestral-2501",
|
|
313
|
+
"settings": {
|
|
314
|
+
"temperature": 0.7
|
|
315
|
+
}
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
"id": "mistral-devstral-small-2505-default",
|
|
319
|
+
"displayName": "Mistral AI - Devstral Small",
|
|
320
|
+
"description": "Default preset for Devstral Small.",
|
|
321
|
+
"providerId": "mistral",
|
|
322
|
+
"modelId": "devstral-small-2505",
|
|
323
|
+
"settings": {
|
|
324
|
+
"temperature": 0.7
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
]
|