llms-py 3.0.0__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.0 → llms_py-3.0.0b2}/PKG-INFO +1 -1
- llms_py-3.0.0b2/llms/__pycache__/main.cpython-314.pyc +0 -0
- llms_py-3.0.0b2/llms/index.html +69 -0
- {llms_py-3.0.0 → llms_py-3.0.0b2}/llms/llms.json +21 -70
- {llms_py-3.0.0 → llms_py-3.0.0b2}/llms/main.py +731 -1426
- llms_py-3.0.0b2/llms/providers.json +1 -0
- llms_py-3.0.0/llms/extensions/analytics/ui/index.mjs → llms_py-3.0.0b2/llms/ui/Analytics.mjs +238 -154
- llms_py-3.0.0b2/llms/ui/App.mjs +118 -0
- llms_py-3.0.0b2/llms/ui/Avatar.mjs +86 -0
- llms_py-3.0.0b2/llms/ui/Brand.mjs +52 -0
- llms_py-3.0.0b2/llms/ui/ChatPrompt.mjs +597 -0
- llms_py-3.0.0b2/llms/ui/Main.mjs +862 -0
- llms_py-3.0.0b2/llms/ui/OAuthSignIn.mjs +61 -0
- llms_py-3.0.0b2/llms/ui/ProviderIcon.mjs +36 -0
- llms_py-3.0.0b2/llms/ui/ProviderStatus.mjs +104 -0
- {llms_py-3.0.0/llms/extensions/app → llms_py-3.0.0b2/llms}/ui/Recents.mjs +57 -82
- {llms_py-3.0.0/llms/ui/modules/chat → llms_py-3.0.0b2/llms/ui}/SettingsDialog.mjs +9 -9
- llms_py-3.0.0/llms/extensions/app/ui/index.mjs → llms_py-3.0.0b2/llms/ui/Sidebar.mjs +57 -122
- llms_py-3.0.0b2/llms/ui/SignIn.mjs +65 -0
- llms_py-3.0.0b2/llms/ui/Welcome.mjs +8 -0
- llms_py-3.0.0b2/llms/ui/ai.mjs +113 -0
- {llms_py-3.0.0 → llms_py-3.0.0b2}/llms/ui/app.css +49 -1776
- llms_py-3.0.0b2/llms/ui/index.mjs +213 -0
- llms_py-3.0.0b2/llms/ui/lib/charts.mjs +20 -0
- llms_py-3.0.0b2/llms/ui/lib/servicestack-vue.mjs +37 -0
- llms_py-3.0.0b2/llms/ui/lib/vue.min.mjs +12 -0
- {llms_py-3.0.0 → llms_py-3.0.0b2}/llms/ui/lib/vue.mjs +1602 -1763
- {llms_py-3.0.0 → llms_py-3.0.0b2}/llms/ui/markdown.mjs +2 -10
- llms_py-3.0.0b2/llms/ui/model-selector.mjs +686 -0
- {llms_py-3.0.0 → llms_py-3.0.0b2}/llms/ui/tailwind.input.css +1 -55
- llms_py-3.0.0b2/llms/ui/threadStore.mjs +583 -0
- llms_py-3.0.0b2/llms/ui/utils.mjs +229 -0
- llms_py-3.0.0b2/llms/ui.json +1069 -0
- {llms_py-3.0.0 → llms_py-3.0.0b2}/llms_py.egg-info/PKG-INFO +1 -1
- llms_py-3.0.0b2/llms_py.egg-info/SOURCES.txt +71 -0
- {llms_py-3.0.0 → llms_py-3.0.0b2}/pyproject.toml +2 -2
- {llms_py-3.0.0 → llms_py-3.0.0b2}/setup.py +2 -3
- {llms_py-3.0.0 → llms_py-3.0.0b2}/tests/test_config.py +3 -3
- llms_py-3.0.0/llms/__pycache__/main.cpython-314.pyc +0 -0
- llms_py-3.0.0/llms/extensions/app/README.md +0 -20
- llms_py-3.0.0/llms/extensions/app/__init__.py +0 -530
- llms_py-3.0.0/llms/extensions/app/__pycache__/__init__.cpython-314.pyc +0 -0
- llms_py-3.0.0/llms/extensions/app/__pycache__/db.cpython-314.pyc +0 -0
- llms_py-3.0.0/llms/extensions/app/__pycache__/db_manager.cpython-314.pyc +0 -0
- llms_py-3.0.0/llms/extensions/app/db.py +0 -644
- llms_py-3.0.0/llms/extensions/app/db_manager.py +0 -195
- llms_py-3.0.0/llms/extensions/app/requests.json +0 -9073
- llms_py-3.0.0/llms/extensions/app/threads.json +0 -15290
- llms_py-3.0.0/llms/extensions/app/ui/threadStore.mjs +0 -411
- llms_py-3.0.0/llms/extensions/core_tools/CALCULATOR.md +0 -32
- llms_py-3.0.0/llms/extensions/core_tools/__init__.py +0 -598
- llms_py-3.0.0/llms/extensions/core_tools/__pycache__/__init__.cpython-314.pyc +0 -0
- llms_py-3.0.0/llms/extensions/core_tools/ui/codemirror/addon/edit/closebrackets.js +0 -201
- llms_py-3.0.0/llms/extensions/core_tools/ui/codemirror/addon/edit/closetag.js +0 -185
- llms_py-3.0.0/llms/extensions/core_tools/ui/codemirror/addon/edit/continuelist.js +0 -101
- llms_py-3.0.0/llms/extensions/core_tools/ui/codemirror/addon/edit/matchbrackets.js +0 -160
- llms_py-3.0.0/llms/extensions/core_tools/ui/codemirror/addon/edit/matchtags.js +0 -66
- llms_py-3.0.0/llms/extensions/core_tools/ui/codemirror/addon/edit/trailingspace.js +0 -27
- llms_py-3.0.0/llms/extensions/core_tools/ui/codemirror/addon/selection/active-line.js +0 -72
- llms_py-3.0.0/llms/extensions/core_tools/ui/codemirror/addon/selection/mark-selection.js +0 -119
- llms_py-3.0.0/llms/extensions/core_tools/ui/codemirror/addon/selection/selection-pointer.js +0 -98
- llms_py-3.0.0/llms/extensions/core_tools/ui/codemirror/doc/docs.css +0 -225
- llms_py-3.0.0/llms/extensions/core_tools/ui/codemirror/doc/source_sans.woff +0 -0
- llms_py-3.0.0/llms/extensions/core_tools/ui/codemirror/lib/codemirror.css +0 -344
- llms_py-3.0.0/llms/extensions/core_tools/ui/codemirror/lib/codemirror.js +0 -9884
- llms_py-3.0.0/llms/extensions/core_tools/ui/codemirror/mode/clike/clike.js +0 -942
- llms_py-3.0.0/llms/extensions/core_tools/ui/codemirror/mode/javascript/index.html +0 -118
- llms_py-3.0.0/llms/extensions/core_tools/ui/codemirror/mode/javascript/javascript.js +0 -962
- llms_py-3.0.0/llms/extensions/core_tools/ui/codemirror/mode/javascript/typescript.html +0 -62
- llms_py-3.0.0/llms/extensions/core_tools/ui/codemirror/mode/python/python.js +0 -402
- llms_py-3.0.0/llms/extensions/core_tools/ui/codemirror/theme/dracula.css +0 -40
- llms_py-3.0.0/llms/extensions/core_tools/ui/codemirror/theme/mocha.css +0 -135
- llms_py-3.0.0/llms/extensions/core_tools/ui/index.mjs +0 -650
- llms_py-3.0.0/llms/extensions/gallery/README.md +0 -61
- llms_py-3.0.0/llms/extensions/gallery/__init__.py +0 -61
- llms_py-3.0.0/llms/extensions/gallery/__pycache__/__init__.cpython-314.pyc +0 -0
- llms_py-3.0.0/llms/extensions/gallery/__pycache__/db.cpython-314.pyc +0 -0
- llms_py-3.0.0/llms/extensions/gallery/db.py +0 -298
- llms_py-3.0.0/llms/extensions/gallery/ui/index.mjs +0 -482
- llms_py-3.0.0/llms/extensions/katex/README.md +0 -39
- llms_py-3.0.0/llms/extensions/katex/__init__.py +0 -6
- llms_py-3.0.0/llms/extensions/katex/__pycache__/__init__.cpython-314.pyc +0 -0
- llms_py-3.0.0/llms/extensions/katex/ui/README.md +0 -125
- llms_py-3.0.0/llms/extensions/katex/ui/contrib/auto-render.js +0 -338
- llms_py-3.0.0/llms/extensions/katex/ui/contrib/auto-render.min.js +0 -1
- llms_py-3.0.0/llms/extensions/katex/ui/contrib/auto-render.mjs +0 -244
- llms_py-3.0.0/llms/extensions/katex/ui/contrib/copy-tex.js +0 -127
- llms_py-3.0.0/llms/extensions/katex/ui/contrib/copy-tex.min.js +0 -1
- llms_py-3.0.0/llms/extensions/katex/ui/contrib/copy-tex.mjs +0 -105
- llms_py-3.0.0/llms/extensions/katex/ui/contrib/mathtex-script-type.js +0 -109
- llms_py-3.0.0/llms/extensions/katex/ui/contrib/mathtex-script-type.min.js +0 -1
- llms_py-3.0.0/llms/extensions/katex/ui/contrib/mathtex-script-type.mjs +0 -24
- llms_py-3.0.0/llms/extensions/katex/ui/contrib/mhchem.js +0 -3213
- llms_py-3.0.0/llms/extensions/katex/ui/contrib/mhchem.min.js +0 -1
- llms_py-3.0.0/llms/extensions/katex/ui/contrib/mhchem.mjs +0 -3109
- llms_py-3.0.0/llms/extensions/katex/ui/contrib/render-a11y-string.js +0 -887
- llms_py-3.0.0/llms/extensions/katex/ui/contrib/render-a11y-string.min.js +0 -1
- llms_py-3.0.0/llms/extensions/katex/ui/contrib/render-a11y-string.mjs +0 -800
- llms_py-3.0.0/llms/extensions/katex/ui/fonts/KaTeX_AMS-Regular.ttf +0 -0
- llms_py-3.0.0/llms/extensions/katex/ui/fonts/KaTeX_AMS-Regular.woff +0 -0
- llms_py-3.0.0/llms/extensions/katex/ui/fonts/KaTeX_AMS-Regular.woff2 +0 -0
- llms_py-3.0.0/llms/extensions/katex/ui/fonts/KaTeX_Caligraphic-Bold.ttf +0 -0
- llms_py-3.0.0/llms/extensions/katex/ui/fonts/KaTeX_Caligraphic-Bold.woff +0 -0
- llms_py-3.0.0/llms/extensions/katex/ui/fonts/KaTeX_Caligraphic-Bold.woff2 +0 -0
- llms_py-3.0.0/llms/extensions/katex/ui/fonts/KaTeX_Caligraphic-Regular.ttf +0 -0
- llms_py-3.0.0/llms/extensions/katex/ui/fonts/KaTeX_Caligraphic-Regular.woff +0 -0
- llms_py-3.0.0/llms/extensions/katex/ui/fonts/KaTeX_Caligraphic-Regular.woff2 +0 -0
- llms_py-3.0.0/llms/extensions/katex/ui/fonts/KaTeX_Fraktur-Bold.ttf +0 -0
- llms_py-3.0.0/llms/extensions/katex/ui/fonts/KaTeX_Fraktur-Bold.woff +0 -0
- llms_py-3.0.0/llms/extensions/katex/ui/fonts/KaTeX_Fraktur-Bold.woff2 +0 -0
- llms_py-3.0.0/llms/extensions/katex/ui/fonts/KaTeX_Fraktur-Regular.ttf +0 -0
- llms_py-3.0.0/llms/extensions/katex/ui/fonts/KaTeX_Fraktur-Regular.woff +0 -0
- llms_py-3.0.0/llms/extensions/katex/ui/fonts/KaTeX_Fraktur-Regular.woff2 +0 -0
- llms_py-3.0.0/llms/extensions/katex/ui/fonts/KaTeX_Main-Bold.ttf +0 -0
- llms_py-3.0.0/llms/extensions/katex/ui/fonts/KaTeX_Main-Bold.woff +0 -0
- llms_py-3.0.0/llms/extensions/katex/ui/fonts/KaTeX_Main-Bold.woff2 +0 -0
- llms_py-3.0.0/llms/extensions/katex/ui/fonts/KaTeX_Main-BoldItalic.ttf +0 -0
- llms_py-3.0.0/llms/extensions/katex/ui/fonts/KaTeX_Main-BoldItalic.woff +0 -0
- llms_py-3.0.0/llms/extensions/katex/ui/fonts/KaTeX_Main-BoldItalic.woff2 +0 -0
- llms_py-3.0.0/llms/extensions/katex/ui/fonts/KaTeX_Main-Italic.ttf +0 -0
- llms_py-3.0.0/llms/extensions/katex/ui/fonts/KaTeX_Main-Italic.woff +0 -0
- llms_py-3.0.0/llms/extensions/katex/ui/fonts/KaTeX_Main-Italic.woff2 +0 -0
- llms_py-3.0.0/llms/extensions/katex/ui/fonts/KaTeX_Main-Regular.ttf +0 -0
- llms_py-3.0.0/llms/extensions/katex/ui/fonts/KaTeX_Main-Regular.woff +0 -0
- llms_py-3.0.0/llms/extensions/katex/ui/fonts/KaTeX_Main-Regular.woff2 +0 -0
- llms_py-3.0.0/llms/extensions/katex/ui/fonts/KaTeX_Math-BoldItalic.ttf +0 -0
- llms_py-3.0.0/llms/extensions/katex/ui/fonts/KaTeX_Math-BoldItalic.woff +0 -0
- llms_py-3.0.0/llms/extensions/katex/ui/fonts/KaTeX_Math-BoldItalic.woff2 +0 -0
- llms_py-3.0.0/llms/extensions/katex/ui/fonts/KaTeX_Math-Italic.ttf +0 -0
- llms_py-3.0.0/llms/extensions/katex/ui/fonts/KaTeX_Math-Italic.woff +0 -0
- llms_py-3.0.0/llms/extensions/katex/ui/fonts/KaTeX_Math-Italic.woff2 +0 -0
- llms_py-3.0.0/llms/extensions/katex/ui/fonts/KaTeX_SansSerif-Bold.ttf +0 -0
- llms_py-3.0.0/llms/extensions/katex/ui/fonts/KaTeX_SansSerif-Bold.woff +0 -0
- llms_py-3.0.0/llms/extensions/katex/ui/fonts/KaTeX_SansSerif-Bold.woff2 +0 -0
- llms_py-3.0.0/llms/extensions/katex/ui/fonts/KaTeX_SansSerif-Italic.ttf +0 -0
- llms_py-3.0.0/llms/extensions/katex/ui/fonts/KaTeX_SansSerif-Italic.woff +0 -0
- llms_py-3.0.0/llms/extensions/katex/ui/fonts/KaTeX_SansSerif-Italic.woff2 +0 -0
- llms_py-3.0.0/llms/extensions/katex/ui/fonts/KaTeX_SansSerif-Regular.ttf +0 -0
- llms_py-3.0.0/llms/extensions/katex/ui/fonts/KaTeX_SansSerif-Regular.woff +0 -0
- llms_py-3.0.0/llms/extensions/katex/ui/fonts/KaTeX_SansSerif-Regular.woff2 +0 -0
- llms_py-3.0.0/llms/extensions/katex/ui/fonts/KaTeX_Script-Regular.ttf +0 -0
- llms_py-3.0.0/llms/extensions/katex/ui/fonts/KaTeX_Script-Regular.woff +0 -0
- llms_py-3.0.0/llms/extensions/katex/ui/fonts/KaTeX_Script-Regular.woff2 +0 -0
- llms_py-3.0.0/llms/extensions/katex/ui/fonts/KaTeX_Size1-Regular.ttf +0 -0
- llms_py-3.0.0/llms/extensions/katex/ui/fonts/KaTeX_Size1-Regular.woff +0 -0
- llms_py-3.0.0/llms/extensions/katex/ui/fonts/KaTeX_Size1-Regular.woff2 +0 -0
- llms_py-3.0.0/llms/extensions/katex/ui/fonts/KaTeX_Size2-Regular.ttf +0 -0
- llms_py-3.0.0/llms/extensions/katex/ui/fonts/KaTeX_Size2-Regular.woff +0 -0
- llms_py-3.0.0/llms/extensions/katex/ui/fonts/KaTeX_Size2-Regular.woff2 +0 -0
- llms_py-3.0.0/llms/extensions/katex/ui/fonts/KaTeX_Size3-Regular.ttf +0 -0
- llms_py-3.0.0/llms/extensions/katex/ui/fonts/KaTeX_Size3-Regular.woff +0 -0
- llms_py-3.0.0/llms/extensions/katex/ui/fonts/KaTeX_Size3-Regular.woff2 +0 -0
- llms_py-3.0.0/llms/extensions/katex/ui/fonts/KaTeX_Size4-Regular.ttf +0 -0
- llms_py-3.0.0/llms/extensions/katex/ui/fonts/KaTeX_Size4-Regular.woff +0 -0
- llms_py-3.0.0/llms/extensions/katex/ui/fonts/KaTeX_Size4-Regular.woff2 +0 -0
- llms_py-3.0.0/llms/extensions/katex/ui/fonts/KaTeX_Typewriter-Regular.ttf +0 -0
- llms_py-3.0.0/llms/extensions/katex/ui/fonts/KaTeX_Typewriter-Regular.woff +0 -0
- llms_py-3.0.0/llms/extensions/katex/ui/fonts/KaTeX_Typewriter-Regular.woff2 +0 -0
- llms_py-3.0.0/llms/extensions/katex/ui/index.mjs +0 -92
- llms_py-3.0.0/llms/extensions/katex/ui/katex-swap.css +0 -1230
- llms_py-3.0.0/llms/extensions/katex/ui/katex-swap.min.css +0 -1
- llms_py-3.0.0/llms/extensions/katex/ui/katex.css +0 -1230
- llms_py-3.0.0/llms/extensions/katex/ui/katex.js +0 -19080
- llms_py-3.0.0/llms/extensions/katex/ui/katex.min.css +0 -1
- llms_py-3.0.0/llms/extensions/katex/ui/katex.min.js +0 -1
- llms_py-3.0.0/llms/extensions/katex/ui/katex.min.mjs +0 -1
- llms_py-3.0.0/llms/extensions/katex/ui/katex.mjs +0 -18547
- llms_py-3.0.0/llms/extensions/providers/__init__.py +0 -18
- llms_py-3.0.0/llms/extensions/providers/__pycache__/__init__.cpython-314.pyc +0 -0
- llms_py-3.0.0/llms/extensions/providers/__pycache__/anthropic.cpython-314.pyc +0 -0
- llms_py-3.0.0/llms/extensions/providers/__pycache__/chutes.cpython-314.pyc +0 -0
- llms_py-3.0.0/llms/extensions/providers/__pycache__/google.cpython-314.pyc +0 -0
- llms_py-3.0.0/llms/extensions/providers/__pycache__/nvidia.cpython-314.pyc +0 -0
- llms_py-3.0.0/llms/extensions/providers/__pycache__/openai.cpython-314.pyc +0 -0
- llms_py-3.0.0/llms/extensions/providers/__pycache__/openrouter.cpython-314.pyc +0 -0
- llms_py-3.0.0/llms/extensions/providers/anthropic.py +0 -229
- llms_py-3.0.0/llms/extensions/providers/chutes.py +0 -155
- llms_py-3.0.0/llms/extensions/providers/google.py +0 -378
- llms_py-3.0.0/llms/extensions/providers/nvidia.py +0 -105
- llms_py-3.0.0/llms/extensions/providers/openai.py +0 -156
- llms_py-3.0.0/llms/extensions/providers/openrouter.py +0 -72
- llms_py-3.0.0/llms/extensions/system_prompts/README.md +0 -22
- llms_py-3.0.0/llms/extensions/system_prompts/__init__.py +0 -45
- llms_py-3.0.0/llms/extensions/system_prompts/__pycache__/__init__.cpython-314.pyc +0 -0
- llms_py-3.0.0/llms/extensions/system_prompts/ui/index.mjs +0 -280
- llms_py-3.0.0/llms/extensions/system_prompts/ui/prompts.json +0 -1067
- llms_py-3.0.0/llms/extensions/tools/__init__.py +0 -5
- llms_py-3.0.0/llms/extensions/tools/__pycache__/__init__.cpython-314.pyc +0 -0
- llms_py-3.0.0/llms/extensions/tools/ui/index.mjs +0 -204
- llms_py-3.0.0/llms/index.html +0 -58
- llms_py-3.0.0/llms/providers-extra.json +0 -356
- llms_py-3.0.0/llms/providers.json +0 -1
- llms_py-3.0.0/llms/ui/App.mjs +0 -188
- llms_py-3.0.0/llms/ui/ai.mjs +0 -217
- llms_py-3.0.0/llms/ui/ctx.mjs +0 -365
- llms_py-3.0.0/llms/ui/index.mjs +0 -129
- llms_py-3.0.0/llms/ui/lib/charts.mjs +0 -16
- llms_py-3.0.0/llms/ui/lib/servicestack-vue.mjs +0 -37
- llms_py-3.0.0/llms/ui/lib/vue.min.mjs +0 -13
- llms_py-3.0.0/llms/ui/modules/chat/ChatBody.mjs +0 -691
- llms_py-3.0.0/llms/ui/modules/chat/index.mjs +0 -828
- llms_py-3.0.0/llms/ui/modules/layout.mjs +0 -243
- llms_py-3.0.0/llms/ui/modules/model-selector.mjs +0 -851
- llms_py-3.0.0/llms/ui/utils.mjs +0 -224
- llms_py-3.0.0/llms_py.egg-info/SOURCES.txt +0 -216
- llms_py-3.0.0/tests/test_extensions.py +0 -48
- {llms_py-3.0.0 → llms_py-3.0.0b2}/LICENSE +0 -0
- {llms_py-3.0.0 → llms_py-3.0.0b2}/MANIFEST.in +0 -0
- {llms_py-3.0.0 → llms_py-3.0.0b2}/README.md +0 -0
- {llms_py-3.0.0 → llms_py-3.0.0b2}/llms/__init__.py +0 -0
- {llms_py-3.0.0 → llms_py-3.0.0b2}/llms/__main__.py +0 -0
- {llms_py-3.0.0 → llms_py-3.0.0b2}/llms/__pycache__/__init__.cpython-312.pyc +0 -0
- {llms_py-3.0.0 → llms_py-3.0.0b2}/llms/__pycache__/__init__.cpython-313.pyc +0 -0
- {llms_py-3.0.0 → llms_py-3.0.0b2}/llms/__pycache__/__init__.cpython-314.pyc +0 -0
- {llms_py-3.0.0 → llms_py-3.0.0b2}/llms/__pycache__/__main__.cpython-312.pyc +0 -0
- {llms_py-3.0.0 → llms_py-3.0.0b2}/llms/__pycache__/__main__.cpython-314.pyc +0 -0
- {llms_py-3.0.0 → llms_py-3.0.0b2}/llms/__pycache__/llms.cpython-312.pyc +0 -0
- {llms_py-3.0.0 → llms_py-3.0.0b2}/llms/__pycache__/main.cpython-312.pyc +0 -0
- {llms_py-3.0.0 → llms_py-3.0.0b2}/llms/__pycache__/main.cpython-313.pyc +0 -0
- {llms_py-3.0.0 → llms_py-3.0.0b2}/llms/__pycache__/plugins.cpython-314.pyc +0 -0
- {llms_py-3.0.0 → llms_py-3.0.0b2}/llms/ui/fav.svg +0 -0
- {llms_py-3.0.0 → llms_py-3.0.0b2}/llms/ui/lib/chart.js +0 -0
- {llms_py-3.0.0 → llms_py-3.0.0b2}/llms/ui/lib/color.js +0 -0
- {llms_py-3.0.0 → llms_py-3.0.0b2}/llms/ui/lib/highlight.min.mjs +0 -0
- {llms_py-3.0.0 → llms_py-3.0.0b2}/llms/ui/lib/idb.min.mjs +0 -0
- {llms_py-3.0.0 → llms_py-3.0.0b2}/llms/ui/lib/marked.min.mjs +0 -0
- {llms_py-3.0.0 → llms_py-3.0.0b2}/llms/ui/lib/servicestack-client.mjs +0 -0
- {llms_py-3.0.0 → llms_py-3.0.0b2}/llms/ui/lib/vue-router.min.mjs +0 -0
- {llms_py-3.0.0 → llms_py-3.0.0b2}/llms/ui/typography.css +0 -0
- {llms_py-3.0.0 → llms_py-3.0.0b2}/llms_py.egg-info/dependency_links.txt +0 -0
- {llms_py-3.0.0 → llms_py-3.0.0b2}/llms_py.egg-info/entry_points.txt +0 -0
- {llms_py-3.0.0 → llms_py-3.0.0b2}/llms_py.egg-info/not-zip-safe +0 -0
- {llms_py-3.0.0 → llms_py-3.0.0b2}/llms_py.egg-info/requires.txt +0 -0
- {llms_py-3.0.0 → llms_py-3.0.0b2}/llms_py.egg-info/top_level.txt +0 -0
- {llms_py-3.0.0 → llms_py-3.0.0b2}/requirements.txt +0 -0
- {llms_py-3.0.0 → llms_py-3.0.0b2}/setup.cfg +0 -0
- {llms_py-3.0.0 → llms_py-3.0.0b2}/tests/test_async.py +0 -0
- {llms_py-3.0.0 → llms_py-3.0.0b2}/tests/test_integration.py +0 -0
- {llms_py-3.0.0 → llms_py-3.0.0b2}/tests/test_provider_checks.py +0 -0
- {llms_py-3.0.0 → llms_py-3.0.0b2}/tests/test_provider_config.py +0 -0
- {llms_py-3.0.0 → 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
|
|
@@ -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>
|
|
@@ -9,11 +9,10 @@
|
|
|
9
9
|
"restrict_to": "GITHUB_USERS"
|
|
10
10
|
}
|
|
11
11
|
},
|
|
12
|
-
"disable_extensions": [],
|
|
13
12
|
"defaults": {
|
|
14
13
|
"headers": {
|
|
15
14
|
"Content-Type": "application/json",
|
|
16
|
-
"User-Agent": "llmspy.org/
|
|
15
|
+
"User-Agent": "llmspy.org/1.0"
|
|
17
16
|
},
|
|
18
17
|
"text": {
|
|
19
18
|
"model": "kimi-k2",
|
|
@@ -30,7 +29,7 @@
|
|
|
30
29
|
]
|
|
31
30
|
},
|
|
32
31
|
"image": {
|
|
33
|
-
"model": "
|
|
32
|
+
"model": "qwen2.5vl",
|
|
34
33
|
"messages": [
|
|
35
34
|
{
|
|
36
35
|
"role": "user",
|
|
@@ -91,31 +90,6 @@
|
|
|
91
90
|
}
|
|
92
91
|
]
|
|
93
92
|
},
|
|
94
|
-
"out:image": {
|
|
95
|
-
"model": "gemini-2.5-flash-image",
|
|
96
|
-
"messages": [
|
|
97
|
-
{
|
|
98
|
-
"role": "user",
|
|
99
|
-
"content": "Create a picture of a nano banana dish in a fancy restaurant with a Gemini theme"
|
|
100
|
-
}
|
|
101
|
-
],
|
|
102
|
-
"modalities": [
|
|
103
|
-
"image",
|
|
104
|
-
"text"
|
|
105
|
-
],
|
|
106
|
-
"image_config": {
|
|
107
|
-
"aspect_ratio": "9:16"
|
|
108
|
-
},
|
|
109
|
-
"stream": false
|
|
110
|
-
},
|
|
111
|
-
"out:audio": {
|
|
112
|
-
"model": "gemini-2.5-flash-preview-tts",
|
|
113
|
-
"messages": [],
|
|
114
|
-
"modalities": [
|
|
115
|
-
"audio"
|
|
116
|
-
],
|
|
117
|
-
"stream": false
|
|
118
|
-
},
|
|
119
93
|
"check": {
|
|
120
94
|
"messages": [
|
|
121
95
|
{
|
|
@@ -199,10 +173,10 @@
|
|
|
199
173
|
}
|
|
200
174
|
},
|
|
201
175
|
"github-copilot": {
|
|
202
|
-
"enabled":
|
|
176
|
+
"enabled": false
|
|
203
177
|
},
|
|
204
178
|
"github-models": {
|
|
205
|
-
"enabled":
|
|
179
|
+
"enabled": false,
|
|
206
180
|
"check": {
|
|
207
181
|
"messages": [
|
|
208
182
|
{
|
|
@@ -226,6 +200,11 @@
|
|
|
226
200
|
"enabled": true,
|
|
227
201
|
"temperature": 1.0
|
|
228
202
|
},
|
|
203
|
+
"openrouter_free": {
|
|
204
|
+
"enabled": true,
|
|
205
|
+
"id": "openrouter",
|
|
206
|
+
"include_models": ":free$"
|
|
207
|
+
},
|
|
229
208
|
"ollama": {
|
|
230
209
|
"enabled": false,
|
|
231
210
|
"id": "ollama",
|
|
@@ -240,6 +219,13 @@
|
|
|
240
219
|
},
|
|
241
220
|
"google": {
|
|
242
221
|
"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
|
+
},
|
|
243
229
|
"safety_settings": [
|
|
244
230
|
{
|
|
245
231
|
"category": "HARM_CATEGORY_DANGEROUS_CONTENT",
|
|
@@ -250,13 +236,6 @@
|
|
|
250
236
|
"thinkingBudget": 1024,
|
|
251
237
|
"includeThoughts": true
|
|
252
238
|
},
|
|
253
|
-
"speech_config": {
|
|
254
|
-
"voiceConfig": {
|
|
255
|
-
"prebuiltVoiceConfig": {
|
|
256
|
-
"voiceName": "Kore"
|
|
257
|
-
}
|
|
258
|
-
}
|
|
259
|
-
},
|
|
260
239
|
"check": {
|
|
261
240
|
"messages": [
|
|
262
241
|
{
|
|
@@ -331,55 +310,27 @@
|
|
|
331
310
|
}
|
|
332
311
|
},
|
|
333
312
|
"chutes": {
|
|
334
|
-
"enabled": true
|
|
335
|
-
"modalities": {
|
|
336
|
-
"image": {
|
|
337
|
-
"name": "Chutes Image",
|
|
338
|
-
"npm": "chutes/image",
|
|
339
|
-
"negative_prompt": "blur, distortion, low quality",
|
|
340
|
-
"cfg_scale": 7.5,
|
|
341
|
-
"width": 1024,
|
|
342
|
-
"height": 1024,
|
|
343
|
-
"steps": 50
|
|
344
|
-
}
|
|
345
|
-
}
|
|
313
|
+
"enabled": true
|
|
346
314
|
},
|
|
347
315
|
"deepseek": {
|
|
348
316
|
"enabled": true
|
|
349
317
|
},
|
|
350
318
|
"moonshotai": {
|
|
351
|
-
"enabled":
|
|
319
|
+
"enabled": false
|
|
352
320
|
},
|
|
353
321
|
"nvidia": {
|
|
354
|
-
"enabled": true
|
|
355
|
-
"modalities": {
|
|
356
|
-
"image": {
|
|
357
|
-
"name": "NVIDIA Gen AI",
|
|
358
|
-
"npm": "nvidia/image",
|
|
359
|
-
"height": 1024,
|
|
360
|
-
"width": 1024,
|
|
361
|
-
"cfg_scale": 3.5,
|
|
362
|
-
"mode": "base",
|
|
363
|
-
"samples": 1,
|
|
364
|
-
"steps": 50
|
|
365
|
-
}
|
|
366
|
-
}
|
|
322
|
+
"enabled": true
|
|
367
323
|
},
|
|
368
324
|
"huggingface": {
|
|
369
325
|
"enabled": true
|
|
370
326
|
},
|
|
371
327
|
"fireworks-ai": {
|
|
372
|
-
"enabled":
|
|
328
|
+
"enabled": false
|
|
373
329
|
},
|
|
374
330
|
"openrouter": {
|
|
375
331
|
"enabled": true,
|
|
376
332
|
"id": "openrouter",
|
|
377
|
-
"
|
|
378
|
-
"image": {
|
|
379
|
-
"name": "OpenRouter Image",
|
|
380
|
-
"npm": "openrouter/image"
|
|
381
|
-
}
|
|
382
|
-
}
|
|
333
|
+
"exclude_models": ":free$"
|
|
383
334
|
}
|
|
384
335
|
}
|
|
385
336
|
}
|