There's no formal permissions checking in ST's UI, so add a temporary
check in the server endpoint before requesting a download.
Signed-off-by: kingbri <bdashore3@proton.me>
Tabby has a HuggingFace downloader API endpoint. Add direct support
in SillyTavern by using the same method as ollama, but with the correct
parameters exposed.
Signed-off-by: kingbri <bdashore3@proton.me>
API docs: https://dreamgen.com/docs/models/opus/v1
API keys: https://dreamgen.com/account/api-keys
I decided to base this on the text-completion API since it's more
flexible with SillyTavern's prompt formating capabilities.
This also means that custom context and instruct settings are required.
Will add documentation in a followup PR.