From f31b996cb5fdc7b6228cb0f72c5ecab02e0d6a3e Mon Sep 17 00:00:00 2001 From: kingbri Date: Fri, 17 Nov 2023 00:32:49 -0500 Subject: [PATCH] Text Generation: Add TabbyAPI support TabbyAPI is an exllamav2 only API server that aims to provide a simple experience for loading and chatting with exl2 models. SillyTavern currently doesn't have the ability to load and unload models, so only add the OAI compatible completion endpoints. The repository can be found here: https://github.com/theroyallab/tabbyAPI Signed-off-by: kingbri --- public/index.html | 24 +++++++++++++++++++++++- public/script.js | 8 ++++++++ public/scripts/secrets.js | 2 ++ public/scripts/textgen-settings.js | 8 ++++++++ server.js | 27 +++++++++++++++++++++------ src/secrets.js | 1 + 6 files changed, 63 insertions(+), 7 deletions(-) diff --git a/public/index.html b/public/index.html index eb136b760..c4ed5bdc0 100644 --- a/public/index.html +++ b/public/index.html @@ -1599,6 +1599,7 @@ +
@@ -1659,8 +1660,29 @@
+
+ +

Tabby API key

+
+ + +
+
+ For privacy reasons, your API key will be hidden after you reload the page. +
+
+

API URL

+ Example: http://127.0.0.1:5000 + +
+
- +