diff --git a/public/css/mobile-styles.css b/public/css/mobile-styles.css index a36816725..5d4e44a1b 100644 --- a/public/css/mobile-styles.css +++ b/public/css/mobile-styles.css @@ -344,7 +344,6 @@ @media screen and (min-width: 1001px) { - #PygOverrides, #ContextFormatting, #UI-Theme-Block, #UI-Customization, diff --git a/public/css/st-tailwind.css b/public/css/st-tailwind.css index d43bd8e01..f4ec1c35d 100644 --- a/public/css/st-tailwind.css +++ b/public/css/st-tailwind.css @@ -360,6 +360,10 @@ margin-right: 2px; } +.flexAuto { + flex: auto; +} + .flex0 { flex: 0; } @@ -490,7 +494,8 @@ } input:disabled, -textarea:disabled { +textarea:disabled, +.disabled { cursor: not-allowed; filter: brightness(0.5); } diff --git a/public/index.html b/public/index.html index d6649266b..4696f289d 100644 --- a/public/index.html +++ b/public/index.html @@ -98,12 +98,12 @@
- - - - - - + + + + + +
@@ -120,12 +120,12 @@
- - - - - - + + + + + +
@@ -140,9 +140,9 @@ - - - + + + @@ -154,17 +154,17 @@
- - - - - - + + + + + +
-
+
AI Module @@ -271,7 +271,7 @@
-
+
Rep Pen Range
@@ -284,7 +284,7 @@
-
+
Repetition Penalty Slope
@@ -297,7 +297,7 @@
-
+
Repetition Penalty Frequency
@@ -310,7 +310,7 @@
-
+
Repetition Penalty Presence
@@ -323,7 +323,7 @@
-
+
TFS
@@ -336,7 +336,7 @@
-
+
Phrase Repetition Penalty
@@ -351,7 +351,7 @@
-
+
-
+
Frequency Penalty
@@ -449,7 +449,7 @@
-
+
Presence Penalty
@@ -462,7 +462,7 @@
-
+
Top K
@@ -475,7 +475,7 @@
-
+
Top P
@@ -488,7 +488,7 @@
-
+
Repetition Penalty
@@ -501,7 +501,7 @@
-
+
Min P
@@ -514,7 +514,7 @@
-
+
Top A
@@ -553,7 +553,7 @@
-
+
Utility Prompts
@@ -712,7 +712,7 @@
-
+
Seed
@@ -736,7 +736,7 @@
-
+
Top K
@@ -744,7 +744,7 @@
-
+
Top P
@@ -752,7 +752,7 @@
-
+
Typical P
@@ -768,7 +768,7 @@
-
+
Top A
@@ -776,7 +776,7 @@
-
+
TFS
@@ -798,14 +798,14 @@
-
+
Repetition Penalty Slope
-
+

Mirostat

@@ -835,7 +835,7 @@

-
+
-
+
Seed
-
+ -
+

Samplers Order @@ -906,7 +906,7 @@
-
+
Preamble @@ -1117,7 +1117,7 @@
-
+
@@ -1128,7 +1128,7 @@
-
+
Multiple swipes per generation
@@ -1141,7 +1141,7 @@
-
+
Top K
@@ -1149,7 +1149,7 @@
-
+
Top P
@@ -1157,7 +1157,7 @@
-
+
Typical P
@@ -1173,7 +1173,7 @@
-
+
Top A
@@ -1181,7 +1181,7 @@
-
+
TFS
@@ -1189,7 +1189,7 @@
-
+
Epsilon Cutoff
@@ -1197,7 +1197,7 @@
-
+
Eta Cutoff
@@ -1225,53 +1225,53 @@
-
+
Encoder Penalty
-
+
Frequency Penalty
-
+
Presence Penalty
-
+
No Repeat Ngram Size
-
+
Skew
-
+
Min Length
-
+
Maximum tokens/second
-
+

- -
+

Contrastive Search

@@ -1435,7 +1435,7 @@
-
+
-
+
Seed - +
-
-
+
+

Banned Tokens/Strings
@@ -1515,7 +1515,7 @@

-
+

CFG
@@ -1537,7 +1537,7 @@

-
-->
- +
@@ -1978,7 +1978,7 @@

API url

Example: http://127.0.0.1:5000/api - +
KoboldCpp works better when you select the Text Completion API and then KoboldCpp as a type!
@@ -2006,7 +2006,7 @@
- +
@@ -2056,7 +2056,7 @@

TogetherAI API Key

- +
@@ -2080,7 +2080,7 @@ View Remaining Credits
- +
@@ -2107,7 +2107,7 @@

InfermaticAI API Key

- +
@@ -2130,7 +2130,7 @@
- +
@@ -2155,7 +2155,7 @@
- +
@@ -2185,7 +2185,7 @@

API key (optional)

- +
@@ -2195,9 +2195,9 @@

Server URL

Example: http://127.0.0.1:5000 - +
- +
@@ -2207,7 +2207,7 @@

API key

- +
@@ -2228,7 +2228,7 @@

vLLM API key

- +
@@ -2238,7 +2238,7 @@

API URL

Example: http://127.0.0.1:8000 - +

vLLM Model

@@ -2252,7 +2252,7 @@

HuggingFace Token

- +
@@ -2262,7 +2262,7 @@

Endpoint URL

Example: https://****.endpoints.huggingface.cloud - +
@@ -2274,7 +2274,7 @@

Aphrodite API key

- +
@@ -2284,7 +2284,7 @@

API URL

Example: http://127.0.0.1:5000 - +

Aphrodite Model

@@ -2303,7 +2303,7 @@

API key (optional)

- +
@@ -2313,7 +2313,7 @@

API URL

Example: http://127.0.0.1:8080 - +
@@ -2325,7 +2325,7 @@

API URL

Example: http://127.0.0.1:11434 - +

@@ -2351,7 +2351,7 @@

Tabby API key

- +
@@ -2361,7 +2361,7 @@

API URL

Example: http://127.0.0.1:5000 - +

@@ -2382,7 +2382,7 @@

koboldcpp API key (optional)

- +
@@ -2392,7 +2392,7 @@

API URL

Example: http://127.0.0.1:5001 - +
@@ -2438,7 +2438,7 @@ -
+
Reverse Proxy
@@ -2467,7 +2467,7 @@
- +
Proxy Server URL @@ -2478,7 +2478,7 @@
- + Doesn't work? Try adding /v1 at the end! @@ -2492,7 +2492,7 @@
- +
@@ -2533,7 +2533,7 @@
- +
@@ -2618,7 +2618,7 @@
- +
@@ -2670,7 +2670,7 @@ View Remaining Credits
- +
@@ -2746,19 +2746,19 @@

Scale API Key

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

Scale API URL

- +

Scale Cookie (_jwt)

- +
@@ -2775,7 +2775,7 @@

AI21 API Key

- +
@@ -2797,7 +2797,7 @@

Google AI Studio API Key

- +
@@ -2836,7 +2836,7 @@

MistralAI API Key

- +
@@ -2875,7 +2875,7 @@

Groq API Key

- +
@@ -2898,7 +2898,7 @@

Perplexity API Key

- +
@@ -2938,7 +2938,7 @@

Cohere API Key

- +
@@ -2966,7 +2966,7 @@

Block Entropy API Key

- +
@@ -2980,7 +2980,7 @@

Custom Endpoint (Base URL)

- +
@@ -2992,7 +2992,7 @@ (Optional)
- +
@@ -3000,7 +3000,7 @@

Enter a Model ID

- +

Available Models

@@ -3020,7 +3020,7 @@
- +
@@ -3059,8 +3059,8 @@

Advanced Formatting

-
-
+
+

@@ -3069,32 +3069,32 @@
-
- - - - -

-
- +
- - + + + + + +
-
+
+ +
+
- +
- +
@@ -3102,401 +3102,70 @@ Chat Start
- +
- - +
+

+ + Context Formatting + + + (Saves to Template) + +

+ + + + + + + + + + +
+
- - -
-
-

-
- Instruct Mode - - - -
-
- - - - -
-

-
- - -
- -
- - - - - -
- -
- -
-
- - - - - -
-
- - -
-
-
- Instruct Mode Sequences -
-
-
-
- System Prompt Wrapping -
-
-
- -
- -
-
-
- -
- -
-
-
-
- Chat Messages Wrapping -
-
-
- -
- -
-
-
- -
- -
-
-
-
-
- -
- -
-
-
- -
- -
-
-
-
-
- -
- -
-
-
- -
- -
-
-
- -
-
-
- Misc. Sequences -
-
-
- -
- -
-
-
- -
- -
-
-
-
-
- -
- -
-
-
- -
- -
-
-
-
-
- -
- -
-
-
- -
- -
-
-
-
-
- -
- -
-
-
-
-
-
-
-
-
-
-

- Context Formatting -

- -  (Saved to Context Template) - -
- - - - - -
-

- Misc. Settings -

- - -
-

Tokenizer - - - -

- -
-
-
- Token Padding - - - -
- -
-
-

- - Start Reply With - -

-
- -
- -
-
-

- - Non-markdown strings - -

-
- -
-
-
-

+

Custom Stopping Strings @@ -3507,43 +3176,267 @@
JSON serialized array of strings +
- +

-
-

- Auto-Continue +

+
+
+

+
+ Instruct Mode + + + +
+
+ + +
+

+
+ + + + + + + + +
+ +
+ +
+ +
+ +
+
+ +
+
+ +
+ + + + + +
+
+
+
+

Tokenizer + + + +

+ +
+
+
+ Token Padding + + + + +
+ +
+
+
+

Miscellaneous

+
+ + + Non-markdown strings + + +
+ +
+
+ +
+
+ + + Start Reply With + + +
+
+
+ +
+
+
+
+
+
+

+ + + Instruct Sequences + + + (Saves to Template) + +

- -
+
+
+ User Message Prefix +
+
+
+ User Message Suffix +
+
+
+
+
+ Assistant Message Prefix +
+
+
+ Assistant Message Suffix +
+
+
+
+
+ System Message Prefix +
+
+
+ System Message Suffix +
+
+
+
+
-
- +
+ Misc. Sequences +
+
+
+ First Assistant Prefix +
+
+
+ Last Assistant Prefix +
+
+
+
+
+ First User Prefix +
+
+
+ Last User Prefix +
+
+
+
+
+ System Instruction Prefix +
+
+
+ Stop Sequence +
+
+
+
+
+ User Filler Message +
+
@@ -3556,12 +3449,14 @@
- -
+
@@ -3841,7 +3732,7 @@
-
+
Theme Colors
@@ -3892,7 +3783,7 @@

-
+
@@ -3938,11 +3829,11 @@ Reduced Motion -
-
+

Character Handling

@@ -4022,7 +3913,7 @@
-
+
-

Miscellaneous

-
+
@@ -4100,15 +3991,15 @@ Background Sound Only -
+
-
+

Custom CSS @@ -4172,7 +4069,7 @@

-
+
@@ -4182,7 +4079,7 @@
-
+
Enter to Send: @@ -4192,7 +4089,7 @@
-
-
-

AutoComplete Settings

- -
-
- - + + Automatically hide details + + +
+
+ + +
+
+ +
+ + +
+
+
+
+ +
-
- -
- - -
+
+ + +
-
-
- - -
-
- - - -
-
- -
-
- - - - - - -
-
- - - - - - +
+ +
+
+ + + + + + +
+
+ + + + + + +
@@ -4495,8 +4427,8 @@
- - + +
@@ -4540,7 +4472,7 @@
Create
- + +

Persona Description

- +
Tokens: 0
-
+
+
Tokens: counting...
@@ -4735,7 +4667,7 @@
- +
@@ -4820,12 +4752,12 @@
- +
- +
@@ -4867,7 +4799,7 @@
- +
- +
@@ -4930,7 +4862,7 @@
- +
@@ -4944,7 +4876,7 @@ @@ -4955,7 +4887,7 @@ - + -
- - +
+
-
-
-
-

- Advanced - Definitions -
-
-
-
-
-

- Prompt Overrides - (For Chat Completion and Instruct Mode) -

-
-
-
- Insert {{original}} into either box to include the respective default prompt from system settings. -
-

Main Prompt

- -
- Tokens: counting... -
-
-
-

Post-History Instructions

- -
- Tokens: counting... -
+ +
+
+
+ User Avatar
-
-
-

Creator's Notes

- -
-
-

Tags to Embed

- -
-
-
-
-
-
-

- Personality summary - -

- -
- Tokens: counting... -
-
-
-

- Scenario - - - -

- -
- Tokens: counting... -
-
-
-
-

- - Character's Note - -

- -
-
-

- - @ Depth - -

- -

- - Role - -

- -
- Tokens: counting... -
-
-
-
-

Talkativeness

-
- How often the character speaks in group chats! -
- -
- Shy - Normal - Chatty -
-
-
-
-
-

Examples of dialogue

-
Important to set the character's writing style.
-
- -
- Tokens: counting... -
- + + - --> -
- -
-
-
-
-
- + + + +
+
+
+
+

text

+
+ +
+ + +
-
- Chat History - +
+
+
+
+

- Advanced + Definitions +
+
+
+
+
+

+ Prompt Overrides + (For Chat Completion and Instruct Mode) +

+
- - - -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-

- Chat Lorebook for -

-
-
- - A selected World Info will be bound to this chat. When generating an AI reply, - it will be combined with the entries from global and character lorebooks. - -
-
- -
-
-
-
-
-
-

- Select a World Info file for : -

-
-

Primary Lorebook

-
- A selected World Info will be bound to this character as its own Lorebook. - When generating an AI reply, it will be combined with the entries from a global World Info selector. - Exporting a character would also export the selected Lorebook file embedded in the JSON data. -
-
- -
-
-

- Additional Lorebooks -

-
-
- Associate one or more auxillary Lorebooks with this character.
- NOTE: These choices are optional and won't be preserved on character export! -
-
- -
-
-
-
-
-
-
+
+ Insert {{original}} into either box to include the respective default prompt from system settings.
- -
+

Main Prompt

+ +
+ Tokens: counting... +
-
-
- - - +
+

Post-History Instructions

+ +
+ Tokens: counting... +
+
+
+
+
+
+
+

+ Creator's Metadata + (Not sent with the AI Prompt) +

+
+
+
+ Everything here is optional +
+
+

Created by

+ +
+
+

Character Version

+ +
+
+
+
+

Creator's Notes

+ +
+
+

Tags to Embed

+ +
+
+
+
+
+
+

+ Personality summary + +

+ +
+ Tokens: counting... +
+
+
+

+ Scenario + + + +

+ +
+ Tokens: counting... +
+
+
+
+

+ + Character's Note + +

+ +
+
+

+ + @ Depth + +

+ +

+ + Role + +

+ +
+ Tokens: counting... +
+
+
+
+

Talkativeness

+
+ How often the character speaks in group chats! +
+ +
+ Shy + Normal + Chatty +
+
+
+
+
+

Examples of dialogue

+
Important to set the character's writing style.
+
+ +
+ Tokens: counting... +
+ +
+ +
+ +
+
+
+
+ +
+
+ Chat History + +
+ + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+
+

+ Chat Lorebook for +

+
+
+ + A selected World Info will be bound to this chat. When generating an AI reply, + it will be combined with the entries from global and character lorebooks. + +
+
+ +
+
+
+
+
+
+

+ Select a World Info file for : +

+
+

Primary Lorebook

+
+ A selected World Info will be bound to this character as its own Lorebook. + When generating an AI reply, it will be combined with the entries from a global World Info selector. + Exporting a character would also export the selected Lorebook file embedded in the JSON data. +
+
+ +
+
+

+ Additional Lorebooks +

+
+
+ Associate one or more auxillary Lorebooks with this character.
+ NOTE: These choices are optional and won't be preserved on character export! +
+
+ +
+
+
+
+
+
+
+
+ +
-
-
-
+
+ + + +
+
+
+
+
+
+
-
-
-
-
-
-
- +
+
+
+
+ +
+
+
+
+
 entries
+
-
-
-
-
 entries
-
-
-
-
-
-
-
- -
-
-
-
- -
- -
- +
+
+ +
+
+ +
+
+
+
+
+
+ +
+ + +
+
+
+ + +
+
+ + +
+
+ + +
+
+ + +
-
-
-
- - + + +
+
+ Logic + +
+
+ + + (ignored if empty) + + + Optional Filter + + + +
+
+
+
+ Scan Depth + +
+
+ Case-Sensitive + +
+
+ Match Whole Words + +
+
+ Use Group Scoring + +
+
+ Automation ID + +
+
+
+
+ + +
+
+
+
+
+
+
+
+ + Inclusion Group + + + + + +
+
+ +
+
+
+
+ + Group Weight + +
+
+ +
+
+
+
+ + + Sticky + + + +
+
+ +
+
+
+
+ + + Cooldown + + + +
+
+ +
+
+
+
+ + + Delay + + + +
+
+ +
+
+
+
+
+
+ + Filter to Characters or Tags + + +
+
+
-
- - -
-
- - -
-
- - -
-
- - -
-
-
-
-
- - - Comma separated (required) - - - Primary Keywords - - - -
-
- Logic - -
-
- - - (ignored if empty) - - - Optional Filter - - - -
-
-
-
- Scan Depth - -
-
- Case-Sensitive - -
-
- Match Whole Words - -
-
- Use Group Scoring - -
-
- Automation ID - -
-
-
-
-
-
-
-
- - Inclusion Group - - - - -
-
- -
-
-
-
- - Group Weight - -
-
- -
-
-
-
- - - Sticky - - - -
-
- -
-
-
-
- - - Cooldown - - - -
-
- -
-
-
-
- - - Delay - - - -
-
- -
-
-
-
- - Filter to Characters or Tags - - -
-
- -
-
-
-
- -
-
-
- -
-
-
-
-
- -
-
-
- - +++ - - -
- - -
-
-
-
-
-
- - - - -
-
-
- - - - -
-
-
-
- - - -
-
-