Load and unload models with TabbyAPI right from SillyTavern.
This extension is not feature complete by any means. However, it does support basic model loading and unloading. Updates will come incrementally as I add more features, so please be patient!
If you want to make a UI for TabbyAPI, please reference the documentation section of TabbyAPI's README.
Bridges the gap for model loading between TabbyAPI and SillyTavern without the need for a third-party UI.
-
Model loading -
Model unloading -
Configure model parameters -
Create config presets that can be applied across models
-
Speculative decoding -
Lora support
SillyTavern must be on the latest staging branch as this extension will receive updates that require newer functions from staging commits.
Method 1:
-
Add The Royal Lab's extensions repo using the following URL inside SillyTavern:
Method 2:
- Use SillyTavern's
Install Extension
button and input the URL for this repo. However, you won't get extension updates.
Make sure TabbyAPI is selected as your API in SillyTavern or none of the extension's features will work!
Make sure to use an Admin key for running load and unload operations! I can't state this enough, an API key will not work
TabbyAPI admin keys are fundamentally different from API keys. Admin keys give more scopes to the user including model loading and unloading. There are two ways this extension parses an admin key.
It's recommended to use method #1 for ease of use.
-
Set the admin key inside the extension's credential box.
- This stores the key in your browser's
localStorage
. It is NOT recommended to use a private window here as closing the window will delete your key from the browser's cache.
- This stores the key in your browser's
-
Set the admin key inside SillyTavern's API connection screen.
- Doing this stores the key in your server's secrets. However, to use this key,
allowKeysExposure
must be enabled in yourconfig.conf
so the extension can find your key.
- Doing this stores the key in your server's secrets. However, to use this key,
-
Select your model from the searchbar. There should be an autocomplete popup when you click it.
-
Select the
Load
button. If you get an error, a model may already be loaded and require an unload first.
- Select the
Unload
button. If you get an error, it's probably because you don't have a model that's loaded.
Follow toast messages.
-
If a toast tells you to check inside the JavaScript console, access it via
Inspect Element
then head to the console tab. From there, look for any red error lines that start withTabbyLoader
. -
If an error isn't properly described, check the TabbyAPI console in your terminal. It will most likely have a more detailed description of what went wrong.
If you have issues with the project:
-
Describe the issues in detail
-
If you have a feature request, please indicate it as such.
If you have a Pull Request
- Describe the pull request in detail, what, and why you are changing something
Creators/Developers:
- kingbri