llms-py 3.0.0b2__py3-none-any.whl → 3.0.0b3__py3-none-any.whl
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.
- llms/__pycache__/main.cpython-314.pyc +0 -0
- llms/index.html +2 -1
- llms/llms.json +50 -17
- llms/main.py +484 -544
- llms/providers/__pycache__/anthropic.cpython-314.pyc +0 -0
- llms/providers/__pycache__/chutes.cpython-314.pyc +0 -0
- llms/providers/__pycache__/google.cpython-314.pyc +0 -0
- llms/providers/__pycache__/nvidia.cpython-314.pyc +0 -0
- llms/providers/__pycache__/openai.cpython-314.pyc +0 -0
- llms/providers/__pycache__/openrouter.cpython-314.pyc +0 -0
- llms/providers/anthropic.py +189 -0
- llms/providers/chutes.py +152 -0
- llms/providers/google.py +306 -0
- llms/providers/nvidia.py +107 -0
- llms/providers/openai.py +159 -0
- llms/providers/openrouter.py +70 -0
- llms/providers-extra.json +356 -0
- llms/providers.json +1 -1
- llms/ui/App.mjs +132 -60
- llms/ui/ai.mjs +76 -10
- llms/ui/app.css +1 -4962
- llms/ui/ctx.mjs +196 -0
- llms/ui/index.mjs +75 -171
- llms/ui/lib/charts.mjs +9 -13
- llms/ui/markdown.mjs +6 -0
- llms/ui/{Analytics.mjs → modules/analytics.mjs} +76 -64
- llms/ui/{Main.mjs → modules/chat/ChatBody.mjs} +56 -133
- llms/ui/{SettingsDialog.mjs → modules/chat/SettingsDialog.mjs} +8 -8
- llms/ui/{ChatPrompt.mjs → modules/chat/index.mjs} +239 -45
- llms/ui/modules/layout.mjs +267 -0
- llms/ui/modules/model-selector.mjs +851 -0
- llms/ui/{Recents.mjs → modules/threads/Recents.mjs} +0 -2
- llms/ui/{Sidebar.mjs → modules/threads/index.mjs} +46 -44
- llms/ui/{threadStore.mjs → modules/threads/threadStore.mjs} +10 -7
- llms/ui/utils.mjs +82 -123
- {llms_py-3.0.0b2.dist-info → llms_py-3.0.0b3.dist-info}/METADATA +1 -1
- llms_py-3.0.0b3.dist-info/RECORD +65 -0
- llms/ui/Avatar.mjs +0 -86
- llms/ui/Brand.mjs +0 -52
- llms/ui/OAuthSignIn.mjs +0 -61
- llms/ui/ProviderIcon.mjs +0 -36
- llms/ui/ProviderStatus.mjs +0 -104
- llms/ui/SignIn.mjs +0 -65
- llms/ui/Welcome.mjs +0 -8
- llms/ui/model-selector.mjs +0 -686
- llms/ui.json +0 -1069
- llms_py-3.0.0b2.dist-info/RECORD +0 -58
- {llms_py-3.0.0b2.dist-info → llms_py-3.0.0b3.dist-info}/WHEEL +0 -0
- {llms_py-3.0.0b2.dist-info → llms_py-3.0.0b3.dist-info}/entry_points.txt +0 -0
- {llms_py-3.0.0b2.dist-info → llms_py-3.0.0b3.dist-info}/licenses/LICENSE +0 -0
- {llms_py-3.0.0b2.dist-info → llms_py-3.0.0b3.dist-info}/top_level.txt +0 -0
|
Binary file
|
llms/index.html
CHANGED
llms/llms.json
CHANGED
|
@@ -90,6 +90,23 @@
|
|
|
90
90
|
}
|
|
91
91
|
]
|
|
92
92
|
},
|
|
93
|
+
"out:image": {
|
|
94
|
+
"model": "black-forest-labs/flux.1-dev",
|
|
95
|
+
"messages": [
|
|
96
|
+
{
|
|
97
|
+
"role": "user",
|
|
98
|
+
"content": "Create a picture of a nano banana dish in a fancy restaurant with a Gemini theme"
|
|
99
|
+
}
|
|
100
|
+
],
|
|
101
|
+
"modalities": [
|
|
102
|
+
"image",
|
|
103
|
+
"text"
|
|
104
|
+
],
|
|
105
|
+
"image_config": {
|
|
106
|
+
"aspect_ratio": "9:16"
|
|
107
|
+
},
|
|
108
|
+
"stream": false
|
|
109
|
+
},
|
|
93
110
|
"check": {
|
|
94
111
|
"messages": [
|
|
95
112
|
{
|
|
@@ -200,32 +217,20 @@
|
|
|
200
217
|
"enabled": true,
|
|
201
218
|
"temperature": 1.0
|
|
202
219
|
},
|
|
203
|
-
"openrouter_free": {
|
|
204
|
-
"enabled": true,
|
|
205
|
-
"id": "openrouter",
|
|
206
|
-
"include_models": ":free$"
|
|
207
|
-
},
|
|
208
220
|
"ollama": {
|
|
209
|
-
"enabled":
|
|
221
|
+
"enabled": true,
|
|
210
222
|
"id": "ollama",
|
|
211
223
|
"npm": "ollama",
|
|
212
224
|
"api": "http://localhost:11434"
|
|
213
225
|
},
|
|
214
226
|
"lmstudio": {
|
|
215
|
-
"enabled":
|
|
227
|
+
"enabled": true,
|
|
216
228
|
"npm": "lmstudio",
|
|
217
229
|
"api": "http://127.0.0.1:1234/v1",
|
|
218
230
|
"models": {}
|
|
219
231
|
},
|
|
220
232
|
"google": {
|
|
221
233
|
"enabled": true,
|
|
222
|
-
"map_models": {
|
|
223
|
-
"gemini-flash-latest": "gemini-flash-latest",
|
|
224
|
-
"gemini-flash-lite-latest": "gemini-flash-lite-latest",
|
|
225
|
-
"gemini-2.5-pro": "gemini-2.5-pro",
|
|
226
|
-
"gemini-2.5-flash": "gemini-2.5-flash",
|
|
227
|
-
"gemini-2.5-flash-lite": "gemini-2.5-flash-lite"
|
|
228
|
-
},
|
|
229
234
|
"safety_settings": [
|
|
230
235
|
{
|
|
231
236
|
"category": "HARM_CATEGORY_DANGEROUS_CONTENT",
|
|
@@ -310,7 +315,18 @@
|
|
|
310
315
|
}
|
|
311
316
|
},
|
|
312
317
|
"chutes": {
|
|
313
|
-
"enabled": true
|
|
318
|
+
"enabled": true,
|
|
319
|
+
"modalities": {
|
|
320
|
+
"image": {
|
|
321
|
+
"name": "Chutes Image",
|
|
322
|
+
"npm": "chutes/image",
|
|
323
|
+
"negative_prompt": "blur, distortion, low quality",
|
|
324
|
+
"cfg_scale": 7.5,
|
|
325
|
+
"width": 1024,
|
|
326
|
+
"height": 1024,
|
|
327
|
+
"steps": 50
|
|
328
|
+
}
|
|
329
|
+
}
|
|
314
330
|
},
|
|
315
331
|
"deepseek": {
|
|
316
332
|
"enabled": true
|
|
@@ -319,7 +335,19 @@
|
|
|
319
335
|
"enabled": false
|
|
320
336
|
},
|
|
321
337
|
"nvidia": {
|
|
322
|
-
"enabled": true
|
|
338
|
+
"enabled": true,
|
|
339
|
+
"modalities": {
|
|
340
|
+
"image": {
|
|
341
|
+
"name": "NVIDIA Gen AI",
|
|
342
|
+
"npm": "nvidia/image",
|
|
343
|
+
"height": 1024,
|
|
344
|
+
"width": 1024,
|
|
345
|
+
"cfg_scale": 3.5,
|
|
346
|
+
"mode": "base",
|
|
347
|
+
"samples": 1,
|
|
348
|
+
"steps": 50
|
|
349
|
+
}
|
|
350
|
+
}
|
|
323
351
|
},
|
|
324
352
|
"huggingface": {
|
|
325
353
|
"enabled": true
|
|
@@ -330,7 +358,12 @@
|
|
|
330
358
|
"openrouter": {
|
|
331
359
|
"enabled": true,
|
|
332
360
|
"id": "openrouter",
|
|
333
|
-
"
|
|
361
|
+
"modalities": {
|
|
362
|
+
"image": {
|
|
363
|
+
"name": "OpenRouter Image",
|
|
364
|
+
"npm": "openrouter/image"
|
|
365
|
+
}
|
|
366
|
+
}
|
|
334
367
|
}
|
|
335
368
|
}
|
|
336
369
|
}
|