llms-py 3.0.0b1__tar.gz → 3.0.0b2__tar.gz
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_py-3.0.0b1 → llms_py-3.0.0b2}/PKG-INFO +1 -1
- llms_py-3.0.0b2/llms/__pycache__/__init__.cpython-312.pyc +0 -0
- llms_py-3.0.0b2/llms/__pycache__/__init__.cpython-313.pyc +0 -0
- llms_py-3.0.0b2/llms/__pycache__/__init__.cpython-314.pyc +0 -0
- llms_py-3.0.0b2/llms/__pycache__/__main__.cpython-312.pyc +0 -0
- llms_py-3.0.0b2/llms/__pycache__/__main__.cpython-314.pyc +0 -0
- llms_py-3.0.0b2/llms/__pycache__/llms.cpython-312.pyc +0 -0
- llms_py-3.0.0b2/llms/__pycache__/main.cpython-312.pyc +0 -0
- llms_py-3.0.0b2/llms/__pycache__/main.cpython-313.pyc +0 -0
- llms_py-3.0.0b2/llms/__pycache__/main.cpython-314.pyc +0 -0
- llms_py-3.0.0b2/llms/__pycache__/plugins.cpython-314.pyc +0 -0
- llms_py-3.0.0b2/llms/index.html +69 -0
- {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms/llms.json +2 -2
- {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms/main.py +452 -93
- llms_py-3.0.0b2/llms/providers.json +1 -0
- {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms/ui/App.mjs +25 -4
- {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms/ui/Avatar.mjs +3 -2
- {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms/ui/ChatPrompt.mjs +43 -52
- {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms/ui/Main.mjs +87 -98
- {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms/ui/OAuthSignIn.mjs +2 -33
- {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms/ui/ProviderStatus.mjs +7 -8
- {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms/ui/Recents.mjs +10 -9
- {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms/ui/Sidebar.mjs +2 -1
- {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms/ui/SignIn.mjs +7 -6
- {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms/ui/ai.mjs +9 -41
- {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms/ui/app.css +137 -138
- llms_py-3.0.0b2/llms/ui/index.mjs +213 -0
- llms_py-3.0.0b1/llms/ui/ModelSelector.mjs → llms_py-3.0.0b2/llms/ui/model-selector.mjs +193 -200
- llms_py-3.0.0b2/llms/ui/tailwind.input.css +634 -0
- {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms/ui/threadStore.mjs +17 -6
- {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms/ui/utils.mjs +1 -0
- {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms_py.egg-info/PKG-INFO +1 -1
- {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms_py.egg-info/SOURCES.txt +12 -3
- {llms_py-3.0.0b1 → llms_py-3.0.0b2}/pyproject.toml +1 -1
- {llms_py-3.0.0b1 → llms_py-3.0.0b2}/setup.py +1 -1
- llms_py-3.0.0b1/llms/index.html +0 -100
- llms_py-3.0.0b1/llms/providers.json +0 -1
- llms_py-3.0.0b1/llms/ui/SystemPromptEditor.mjs +0 -31
- llms_py-3.0.0b1/llms/ui/SystemPromptSelector.mjs +0 -56
- llms_py-3.0.0b1/llms/ui/tailwind.input.css +0 -272
- {llms_py-3.0.0b1 → llms_py-3.0.0b2}/LICENSE +0 -0
- {llms_py-3.0.0b1 → llms_py-3.0.0b2}/MANIFEST.in +0 -0
- {llms_py-3.0.0b1 → llms_py-3.0.0b2}/README.md +0 -0
- {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms/__init__.py +0 -0
- {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms/__main__.py +0 -0
- {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms/ui/Analytics.mjs +0 -0
- {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms/ui/Brand.mjs +0 -0
- {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms/ui/ProviderIcon.mjs +0 -0
- {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms/ui/SettingsDialog.mjs +0 -0
- {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms/ui/Welcome.mjs +0 -0
- {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms/ui/fav.svg +0 -0
- {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms/ui/lib/chart.js +0 -0
- {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms/ui/lib/charts.mjs +0 -0
- {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms/ui/lib/color.js +0 -0
- {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms/ui/lib/highlight.min.mjs +0 -0
- {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms/ui/lib/idb.min.mjs +0 -0
- {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms/ui/lib/marked.min.mjs +0 -0
- {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms/ui/lib/servicestack-client.mjs +0 -0
- {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms/ui/lib/servicestack-vue.mjs +0 -0
- {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms/ui/lib/vue-router.min.mjs +0 -0
- {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms/ui/lib/vue.min.mjs +0 -0
- {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms/ui/lib/vue.mjs +0 -0
- {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms/ui/markdown.mjs +0 -0
- {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms/ui/typography.css +0 -0
- {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms/ui.json +0 -0
- {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms_py.egg-info/dependency_links.txt +0 -0
- {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms_py.egg-info/entry_points.txt +0 -0
- {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms_py.egg-info/not-zip-safe +0 -0
- {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms_py.egg-info/requires.txt +0 -0
- {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms_py.egg-info/top_level.txt +0 -0
- {llms_py-3.0.0b1 → llms_py-3.0.0b2}/requirements.txt +0 -0
- {llms_py-3.0.0b1 → llms_py-3.0.0b2}/setup.cfg +0 -0
- {llms_py-3.0.0b1 → llms_py-3.0.0b2}/tests/test_async.py +0 -0
- {llms_py-3.0.0b1 → llms_py-3.0.0b2}/tests/test_config.py +0 -0
- {llms_py-3.0.0b1 → llms_py-3.0.0b2}/tests/test_integration.py +0 -0
- {llms_py-3.0.0b1 → llms_py-3.0.0b2}/tests/test_provider_checks.py +0 -0
- {llms_py-3.0.0b1 → llms_py-3.0.0b2}/tests/test_provider_config.py +0 -0
- {llms_py-3.0.0b1 → llms_py-3.0.0b2}/tests/test_utils.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: llms-py
|
|
3
|
-
Version: 3.0.
|
|
3
|
+
Version: 3.0.0b2
|
|
4
4
|
Summary: A lightweight CLI tool and OpenAI-compatible server for querying multiple Large Language Model (LLM) providers
|
|
5
5
|
Home-page: https://github.com/ServiceStack/llms
|
|
6
6
|
Author: ServiceStack
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
<html>
|
|
2
|
+
|
|
3
|
+
<head>
|
|
4
|
+
<title>llms.py</title>
|
|
5
|
+
<link rel="stylesheet" href="/ui/app.css">
|
|
6
|
+
<link rel="stylesheet" href="/ui/typography.css">
|
|
7
|
+
<link rel="icon" type="image/svg" href="/ui/fav.svg">
|
|
8
|
+
<style>
|
|
9
|
+
[type='button'],
|
|
10
|
+
button[type='submit'] {
|
|
11
|
+
cursor: pointer
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
[type='checkbox'].switch:checked:hover,
|
|
15
|
+
[type='checkbox'].switch:checked:focus,
|
|
16
|
+
[type='checkbox'].switch:checked,
|
|
17
|
+
[type='checkbox'].switch:focus,
|
|
18
|
+
[type='checkbox'].switch {
|
|
19
|
+
border: none;
|
|
20
|
+
background: none;
|
|
21
|
+
outline: none;
|
|
22
|
+
box-shadow: none;
|
|
23
|
+
cursor: pointer;
|
|
24
|
+
}
|
|
25
|
+
</style>
|
|
26
|
+
</head>
|
|
27
|
+
<script type="importmap">
|
|
28
|
+
{
|
|
29
|
+
"imports": {
|
|
30
|
+
"vue": "/ui/lib/vue.min.mjs",
|
|
31
|
+
"vue-router": "/ui/lib/vue-router.min.mjs",
|
|
32
|
+
"@servicestack/client": "/ui/lib/servicestack-client.mjs",
|
|
33
|
+
"@servicestack/vue": "/ui/lib/servicestack-vue.mjs",
|
|
34
|
+
"idb": "/ui/lib/idb.min.mjs",
|
|
35
|
+
"marked": "/ui/lib/marked.min.mjs",
|
|
36
|
+
"highlight.js": "/ui/lib/highlight.min.mjs",
|
|
37
|
+
"chart.js": "/ui/lib/chart.js",
|
|
38
|
+
"color.js": "/ui/lib/color.js"
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
</script>
|
|
42
|
+
|
|
43
|
+
<body>
|
|
44
|
+
<div id="app"></div>
|
|
45
|
+
</body>
|
|
46
|
+
<script>
|
|
47
|
+
let colorScheme = location.search === "?dark"
|
|
48
|
+
? "dark"
|
|
49
|
+
: location.search === "?light"
|
|
50
|
+
? "light"
|
|
51
|
+
: localStorage.getItem('color-scheme')
|
|
52
|
+
let darkMode = colorScheme != null
|
|
53
|
+
? colorScheme === 'dark'
|
|
54
|
+
: window.matchMedia('(prefers-color-scheme: dark)').matches
|
|
55
|
+
let html = document.documentElement
|
|
56
|
+
html.classList.toggle('dark', darkMode)
|
|
57
|
+
html.style.setProperty('color-scheme', darkMode ? 'dark' : null)
|
|
58
|
+
if (localStorage.getItem('color-scheme') === null) {
|
|
59
|
+
localStorage.setItem('color-scheme', darkMode ? 'dark' : 'light')
|
|
60
|
+
}
|
|
61
|
+
</script>
|
|
62
|
+
<script type="module">
|
|
63
|
+
import { createContext } from '/ui/index.mjs'
|
|
64
|
+
|
|
65
|
+
const context = await createContext()
|
|
66
|
+
context.app.mount('#app')
|
|
67
|
+
</script>
|
|
68
|
+
|
|
69
|
+
</html>
|
|
@@ -206,13 +206,13 @@
|
|
|
206
206
|
"include_models": ":free$"
|
|
207
207
|
},
|
|
208
208
|
"ollama": {
|
|
209
|
-
"enabled":
|
|
209
|
+
"enabled": false,
|
|
210
210
|
"id": "ollama",
|
|
211
211
|
"npm": "ollama",
|
|
212
212
|
"api": "http://localhost:11434"
|
|
213
213
|
},
|
|
214
214
|
"lmstudio": {
|
|
215
|
-
"enabled":
|
|
215
|
+
"enabled": false,
|
|
216
216
|
"npm": "lmstudio",
|
|
217
217
|
"api": "http://127.0.0.1:1234/v1",
|
|
218
218
|
"models": {}
|