diff --git a/default/config.yaml b/default/config.yaml index fd0be655c..04781eb19 100644 --- a/default/config.yaml +++ b/default/config.yaml @@ -25,6 +25,9 @@ autorun: true disableThumbnails: false # Thumbnail quality (0-100) thumbnailsQuality: 95 +# Generate avatar thumbnails as PNG instead of JPG (preserves transparency but increases filesize by about 100%) +# Changing this only affects new thumbnails. To recreate the old ones, clear out your ST/thumbnails/ folder. +avatarThumbnailsPng: false # Allow secret keys exposure via API allowKeysExposure: false # Skip new default content checks @@ -54,6 +57,10 @@ extras: openai: # Will send a random user ID to OpenAI completion API randomizeUserId: false + # If not empty, will add this as a system message to the start of every caption completion prompt + # Example: "Perform the instructions to the best of your ability.\n" (for LLaVA) + # Not used in image inlining mode + captionSystemPrompt: "" # -- DEEPL TRANSLATION CONFIGURATION -- deepl: # Available options: default, more, less, prefer_more, prefer_less diff --git a/default/settings.json b/default/settings.json index 1f3a3260d..75e785724 100644 --- a/default/settings.json +++ b/default/settings.json @@ -2,8 +2,6 @@ "firstRun": true, "username": "User", "api_server": "http://127.0.0.1:5000/api", - "api_server_textgenerationwebui": "http://127.0.0.1:5000/api", - "api_use_mancer_webui": false, "preset_settings": "RecoveredRuins", "user_avatar": "user-default.png", "amount_gen": 250, diff --git a/public/css/select2-overrides.css b/public/css/select2-overrides.css index 36d0e43a9..f3cc9356a 100644 --- a/public/css/select2-overrides.css +++ b/public/css/select2-overrides.css @@ -121,7 +121,7 @@ } /* Add the custom checkbox */ -.select2-results__option:before { +.select2-results__option::before { content: ''; display: inline-block; position: absolute; @@ -141,11 +141,19 @@ } /* Add the custom checkbox checkmark */ -.select2-results__option--selected.select2-results__option:before { +.select2-results__option--selected.select2-results__option::before { content: '\2713'; font-weight: bold; color: var(--SmartThemeBodyColor); background-color: var(--SmartThemeBlurTintColor); text-align: center; line-height: 14px; -} \ No newline at end of file +} + +.select2-results__option.select2-results__message { + background-color: inherit; +} + +.select2-results__option.select2-results__message::before { + display: none; +} diff --git a/public/img/llamacpp.svg b/public/img/llamacpp.svg new file mode 100644 index 000000000..d3237d247 --- /dev/null +++ b/public/img/llamacpp.svg @@ -0,0 +1,39 @@ + + + + + + diff --git a/public/img/mistralai.svg b/public/img/mistralai.svg index 383094210..8c9dabdb2 100644 --- a/public/img/mistralai.svg +++ b/public/img/mistralai.svg @@ -5,8 +5,7 @@ width="64.000000pt" height="64.000000pt" viewBox="0 0 53.000000 60.000000" preserveAspectRatio="xMidYMid meet"> - + + + + + + + + + + + + diff --git a/public/img/tabby.svg b/public/img/tabby.svg new file mode 100644 index 000000000..cc19e6ed5 --- /dev/null +++ b/public/img/tabby.svg @@ -0,0 +1,23 @@ + + + + + + + + diff --git a/public/img/togetherai.svg b/public/img/togetherai.svg new file mode 100644 index 000000000..e1e4c0407 --- /dev/null +++ b/public/img/togetherai.svg @@ -0,0 +1,55 @@ + + + + + + + + + + + + + diff --git a/public/index.html b/public/index.html index c63249179..28d41d52d 100644 --- a/public/index.html +++ b/public/index.html @@ -69,7 +69,7 @@ - + @@ -437,14 +437,15 @@ Streaming
- Display - the response bit by bit as it is generated.
- When - this is off, responses will be displayed all at once when they are - complete. + + Display the response bit by bit as it is generated. +
+ + When this is off, responses will be displayed all at once when they are complete. +
-
+
Temperature
@@ -457,7 +458,7 @@
-
+
Frequency Penalty
@@ -470,7 +471,7 @@
-
+
Presence Penalty
@@ -509,7 +510,7 @@
-
+
Top P
@@ -546,10 +547,6 @@
-
- Assistant Prefill - -
@@ -581,7 +578,7 @@
Wraps activated World Info entries before inserting into the prompt. Use - {0} to mark a place where the content is inserted. + {0} to mark a place where the content is inserted.
@@ -595,7 +592,7 @@
- Use {{scenario}} to mark a place where the content is inserted. + Use {{scenario}} to mark a place where the content is inserted.
@@ -609,7 +606,7 @@
- Use {{personality}} to mark a place where the content is inserted. + Use {{personality}} to mark a place where the content is inserted.
@@ -733,6 +730,9 @@
+ + Doesn't work? Try adding /v1 at the end! +
@@ -749,7 +749,7 @@
-
+
Seed
@@ -978,7 +978,7 @@ Helps to ban or reinforce the usage of certain tokens.
-
+
@@ -1383,6 +1383,21 @@
+
+
+ Logit Bias +
+ + Add +
+
+
+ Helps to ban or reinforce the usage of certain tokens. +
+
+
+
+

CFG @@ -1480,7 +1495,18 @@ Add character names
- Send names in the ChatML objects. Helps the model to associate messages with characters. + Send names in the message objects. Helps the model to associate messages with characters. +
+

+
+ +
+ + Continue sends the last message as assistant role instead of system message with instruction. +
@@ -1497,7 +1523,7 @@
-
+
- Exclude the assistant suffix from being added to the end of prompt (Requires jailbreak with 'Assistant:' in it). + + Exclude the assistant suffix from being added to the end of prompt (Requires jailbreak with 'Assistant:' in it). + +
+
+ Assistant Prefill + +
+ +
+ + Exclude the 'Human: ' prefix from being added to the beginning of the prompt. + Instead, place it between the system prompt and the first message with the role 'assistant' (right before 'Chat History' by default). + +
+
+
+ Human: first message +
+
+
+
+
@@ -1592,8 +1646,8 @@ - - + +
@@ -1723,8 +1777,29 @@ + + +
+
+

TogetherAI API Key

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

TogetherAI Model

+ +
+
@@ -1744,7 +1819,11 @@

Mancer Model

- +
@@ -1753,7 +1832,7 @@ oobabooga/text-generation-webui - Make sure you run it with --api flag + Make sure you run it with --api flag
@@ -1783,6 +1862,44 @@
+
+ +
+

API URL

+ Example: http://127.0.0.1:8080 + +
+
+
+ +
+

API URL

+ Example: http://127.0.0.1:11434 + +
+
+

+ Ollama Model

+ + + +
+
-
+
+

Custom Endpoint (Base URL)

+
+ +
+
+ + Doesn't work? Try adding /v1 at the end of the URL! + +
+

+ Custom API Key + (Optional) +

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

Enter a Model ID

+
+ +
+

Available Models

+
+ +
+
+
@@ -2266,11 +2415,15 @@
-
-
@@ -4253,11 +4406,11 @@ -
-
- - - +
+
+ + +