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.
Files changed (78) hide show
  1. {llms_py-3.0.0b1 → llms_py-3.0.0b2}/PKG-INFO +1 -1
  2. llms_py-3.0.0b2/llms/__pycache__/__init__.cpython-312.pyc +0 -0
  3. llms_py-3.0.0b2/llms/__pycache__/__init__.cpython-313.pyc +0 -0
  4. llms_py-3.0.0b2/llms/__pycache__/__init__.cpython-314.pyc +0 -0
  5. llms_py-3.0.0b2/llms/__pycache__/__main__.cpython-312.pyc +0 -0
  6. llms_py-3.0.0b2/llms/__pycache__/__main__.cpython-314.pyc +0 -0
  7. llms_py-3.0.0b2/llms/__pycache__/llms.cpython-312.pyc +0 -0
  8. llms_py-3.0.0b2/llms/__pycache__/main.cpython-312.pyc +0 -0
  9. llms_py-3.0.0b2/llms/__pycache__/main.cpython-313.pyc +0 -0
  10. llms_py-3.0.0b2/llms/__pycache__/main.cpython-314.pyc +0 -0
  11. llms_py-3.0.0b2/llms/__pycache__/plugins.cpython-314.pyc +0 -0
  12. llms_py-3.0.0b2/llms/index.html +69 -0
  13. {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms/llms.json +2 -2
  14. {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms/main.py +452 -93
  15. llms_py-3.0.0b2/llms/providers.json +1 -0
  16. {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms/ui/App.mjs +25 -4
  17. {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms/ui/Avatar.mjs +3 -2
  18. {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms/ui/ChatPrompt.mjs +43 -52
  19. {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms/ui/Main.mjs +87 -98
  20. {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms/ui/OAuthSignIn.mjs +2 -33
  21. {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms/ui/ProviderStatus.mjs +7 -8
  22. {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms/ui/Recents.mjs +10 -9
  23. {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms/ui/Sidebar.mjs +2 -1
  24. {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms/ui/SignIn.mjs +7 -6
  25. {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms/ui/ai.mjs +9 -41
  26. {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms/ui/app.css +137 -138
  27. llms_py-3.0.0b2/llms/ui/index.mjs +213 -0
  28. llms_py-3.0.0b1/llms/ui/ModelSelector.mjs → llms_py-3.0.0b2/llms/ui/model-selector.mjs +193 -200
  29. llms_py-3.0.0b2/llms/ui/tailwind.input.css +634 -0
  30. {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms/ui/threadStore.mjs +17 -6
  31. {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms/ui/utils.mjs +1 -0
  32. {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms_py.egg-info/PKG-INFO +1 -1
  33. {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms_py.egg-info/SOURCES.txt +12 -3
  34. {llms_py-3.0.0b1 → llms_py-3.0.0b2}/pyproject.toml +1 -1
  35. {llms_py-3.0.0b1 → llms_py-3.0.0b2}/setup.py +1 -1
  36. llms_py-3.0.0b1/llms/index.html +0 -100
  37. llms_py-3.0.0b1/llms/providers.json +0 -1
  38. llms_py-3.0.0b1/llms/ui/SystemPromptEditor.mjs +0 -31
  39. llms_py-3.0.0b1/llms/ui/SystemPromptSelector.mjs +0 -56
  40. llms_py-3.0.0b1/llms/ui/tailwind.input.css +0 -272
  41. {llms_py-3.0.0b1 → llms_py-3.0.0b2}/LICENSE +0 -0
  42. {llms_py-3.0.0b1 → llms_py-3.0.0b2}/MANIFEST.in +0 -0
  43. {llms_py-3.0.0b1 → llms_py-3.0.0b2}/README.md +0 -0
  44. {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms/__init__.py +0 -0
  45. {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms/__main__.py +0 -0
  46. {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms/ui/Analytics.mjs +0 -0
  47. {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms/ui/Brand.mjs +0 -0
  48. {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms/ui/ProviderIcon.mjs +0 -0
  49. {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms/ui/SettingsDialog.mjs +0 -0
  50. {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms/ui/Welcome.mjs +0 -0
  51. {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms/ui/fav.svg +0 -0
  52. {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms/ui/lib/chart.js +0 -0
  53. {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms/ui/lib/charts.mjs +0 -0
  54. {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms/ui/lib/color.js +0 -0
  55. {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms/ui/lib/highlight.min.mjs +0 -0
  56. {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms/ui/lib/idb.min.mjs +0 -0
  57. {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms/ui/lib/marked.min.mjs +0 -0
  58. {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms/ui/lib/servicestack-client.mjs +0 -0
  59. {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms/ui/lib/servicestack-vue.mjs +0 -0
  60. {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms/ui/lib/vue-router.min.mjs +0 -0
  61. {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms/ui/lib/vue.min.mjs +0 -0
  62. {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms/ui/lib/vue.mjs +0 -0
  63. {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms/ui/markdown.mjs +0 -0
  64. {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms/ui/typography.css +0 -0
  65. {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms/ui.json +0 -0
  66. {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms_py.egg-info/dependency_links.txt +0 -0
  67. {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms_py.egg-info/entry_points.txt +0 -0
  68. {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms_py.egg-info/not-zip-safe +0 -0
  69. {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms_py.egg-info/requires.txt +0 -0
  70. {llms_py-3.0.0b1 → llms_py-3.0.0b2}/llms_py.egg-info/top_level.txt +0 -0
  71. {llms_py-3.0.0b1 → llms_py-3.0.0b2}/requirements.txt +0 -0
  72. {llms_py-3.0.0b1 → llms_py-3.0.0b2}/setup.cfg +0 -0
  73. {llms_py-3.0.0b1 → llms_py-3.0.0b2}/tests/test_async.py +0 -0
  74. {llms_py-3.0.0b1 → llms_py-3.0.0b2}/tests/test_config.py +0 -0
  75. {llms_py-3.0.0b1 → llms_py-3.0.0b2}/tests/test_integration.py +0 -0
  76. {llms_py-3.0.0b1 → llms_py-3.0.0b2}/tests/test_provider_checks.py +0 -0
  77. {llms_py-3.0.0b1 → llms_py-3.0.0b2}/tests/test_provider_config.py +0 -0
  78. {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.0b1
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
@@ -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": true,
209
+ "enabled": false,
210
210
  "id": "ollama",
211
211
  "npm": "ollama",
212
212
  "api": "http://localhost:11434"
213
213
  },
214
214
  "lmstudio": {
215
- "enabled": true,
215
+ "enabled": false,
216
216
  "npm": "lmstudio",
217
217
  "api": "http://127.0.0.1:1234/v1",
218
218
  "models": {}