From 3b8188877fe0aeb22d1fc0c2c18f17f3f3b7b6c2 Mon Sep 17 00:00:00 2001
From: deffcolony <61471128+deffcolony@users.noreply.github.com>
Date: Sun, 31 Mar 2024 12:47:51 +0200
Subject: [PATCH 01/80] update ISSUE_TEMPLATE
---
.github/ISSUE_TEMPLATE/bug-report.yml | 10 +++++-----
.github/ISSUE_TEMPLATE/feature-request.yml | 6 +++---
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml
index 58f8ae2eb..53be9963f 100644
--- a/.github/ISSUE_TEMPLATE/bug-report.yml
+++ b/.github/ISSUE_TEMPLATE/bug-report.yml
@@ -69,16 +69,16 @@ body:
required: false
- type: checkboxes
- id: idiot-check
+ id: user-check
attributes:
label: Please tick the boxes
- description: Before submitting, please ensure that
+ description: Before submitting, please ensure that you have completed the following checklist
options:
- - label: You have explained the issue clearly, and included all relevant info
+ - label: I have explained the issue clearly, and I included all relevant info
required: true
- - label: You've checked that this [issue hasn't already been raised](https://github.com/SillyTavern/SillyTavern/issues?q=is%3Aissue)
+ - label: I have checked that this [issue hasn't already been raised](https://github.com/SillyTavern/SillyTavern/issues?q=is%3Aissue)
required: true
- - label: You've checked the [docs](https://docs.sillytavern.app/) ![important](https://img.shields.io/badge/Important!-F6094E)
+ - label: I have checked the [docs](https://docs.sillytavern.app/) ![important](https://img.shields.io/badge/Important!-F6094E)
required: true
- type: markdown
diff --git a/.github/ISSUE_TEMPLATE/feature-request.yml b/.github/ISSUE_TEMPLATE/feature-request.yml
index 4180f93da..761dec374 100644
--- a/.github/ISSUE_TEMPLATE/feature-request.yml
+++ b/.github/ISSUE_TEMPLATE/feature-request.yml
@@ -15,7 +15,7 @@ body:
- 'No'
- 'Yes'
validations:
- required: false
+ required: true
# Field 2 - Is it bug-related
- type: textarea
@@ -71,12 +71,12 @@ body:
- type: dropdown
id: canImplement
attributes:
- label: Is this something you would be keen to implement?
+ label: Are you willing to test this on staging/unstable branch if this is implemented?
description: Are you raising this ticket in order to get an issue number for your PR?
options:
- 'No'
- 'Maybe'
- - 'Yes!'
+ - 'Yes'
validations:
required: false
From 39f9ba0ef5818edf96bb91d6bc624e042b094e14 Mon Sep 17 00:00:00 2001
From: Cohee <18619528+Cohee1207@users.noreply.github.com>
Date: Sun, 31 Mar 2024 13:56:56 +0300
Subject: [PATCH 02/80] Update feature-request.yml
---
.github/ISSUE_TEMPLATE/feature-request.yml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/.github/ISSUE_TEMPLATE/feature-request.yml b/.github/ISSUE_TEMPLATE/feature-request.yml
index 761dec374..bbb97465e 100644
--- a/.github/ISSUE_TEMPLATE/feature-request.yml
+++ b/.github/ISSUE_TEMPLATE/feature-request.yml
@@ -67,12 +67,12 @@ body:
validations:
required: true
- # Field 7 - Can the user implement
+ # Field 7 - Can the user user test in staging
- type: dropdown
- id: canImplement
+ id: canTestStaging
attributes:
label: Are you willing to test this on staging/unstable branch if this is implemented?
- description: Are you raising this ticket in order to get an issue number for your PR?
+ description: Otherwise you'll need to wait until the next stable release after the feature is developed.
options:
- 'No'
- 'Maybe'
From 6f2adf2bcfdbdf7ffc4376bc2c7a4956a4b7aab7 Mon Sep 17 00:00:00 2001
From: deffcolony <61471128+deffcolony@users.noreply.github.com>
Date: Wed, 3 Apr 2024 19:05:31 +0200
Subject: [PATCH 03/80] Update readme.md
---
.github/readme.md | 143 +++++++++++++++++++++++++++-------------------
1 file changed, 85 insertions(+), 58 deletions(-)
diff --git a/.github/readme.md b/.github/readme.md
index 4b6892650..4032431d4 100644
--- a/.github/readme.md
+++ b/.github/readme.md
@@ -1,6 +1,8 @@
+
+
English | [中文](readme-zh_cn.md) | [日本語](readme-ja_jp.md)
-![SillyTavern-Banner](https://github.com/SillyTavern/SillyTavern/assets/18619528/c2be4c3f-aada-4f64-87a3-ae35a68b61a4)
+![][cover]
Mobile-friendly layout, Multi-API (KoboldAI/CPP, Horde, NovelAI, Ooba, OpenAI, OpenRouter, Claude, Scale), VN-like Waifu Mode, Stable Diffusion, TTS, WorldInfo (lorebooks), customizable UI, auto-translate, and more prompt options than you'd ever want or need + ability to install third-party extensions.
@@ -22,6 +24,11 @@ SillyTavern is a user interface you can install on your computer (and Android ph
SillyTavern is a fork of TavernAI 1.2.8 which is under more active development and has added many major features. At this point, they can be thought of as completely independent programs.
+## Screenshots
+
+
+
+
### Branches
SillyTavern is being developed using a two-branch system to ensure a smooth experience for all users.
@@ -31,36 +38,25 @@ SillyTavern is being developed using a two-branch system to ensure a smooth expe
If you're not familiar with using the git CLI or don't understand what a branch is, don't worry! The release branch is always the preferable option for you.
-### What do I need other than Tavern?
+### What do I need other than SillyTavern?
-On its own Tavern is useless, as it's just a user interface. You have to have access to an AI system backend that can act as the roleplay character. There are various supported backends: OpenAPI API (GPT), KoboldAI (either running locally or on Google Colab), and more. You can read more about this in [the FAQ](https://docs.sillytavern.app/usage/faq/).
+On its own SillyTavern is useless, as it's just a user interface. You have to have access to an AI system backend that can act as the roleplay character. There are various supported backends: OpenAPI API (GPT), KoboldAI (either running locally or on Google Colab), and more. You can read more about this in [the FAQ](https://docs.sillytavern.app/usage/faq/).
-### Do I need a powerful PC to run Tavern?
+### Do I need a powerful PC to run SillyTavern?
-Since Tavern is only a user interface, it has tiny hardware requirements, it will run on anything. It's the AI system backend that needs to be powerful.
-
-## Mobile support
-
-> **Note**
-
-> **This fork can be run natively on Android phones using Termux. Please refer to this guide by ArroganceComplex#2659:**
-
-
+Since SillyTavern is only a user interface, it has tiny hardware requirements, it will run on anything. It's the AI system backend that needs to be powerful.
## Questions or suggestions?
### We now have a community Discord server
-Get support, share favorite characters and prompts:
+| [![][discord-shield-badge]][discord-link] | [Join our Discord community!](https://discord.gg/sillytavern) Get support, share favorite characters and prompts. |
+| :---------------------------------------- | :----------------------------------------------------------------------------------------------------------------- |
-### [Join](https://discord.gg/sillytavern)
-
-***
-
-Get in touch with the developers directly:
+Or get in touch with the developers directly:
* Discord: cohee or rossascends
-* Reddit: /u/RossAscends or /u/sillylossy
+* Reddit: [/u/RossAscends](https://www.reddit.com/user/RossAscends/) or [/u/sillylossy](https://www.reddit.com/user/sillylossy/)
* [Post a GitHub issue](https://github.com/SillyTavern/SillyTavern/issues)
## This version includes
@@ -124,61 +120,88 @@ A full list of included extensions and tutorials on how to use them can be found
* Customizable page colors for 'main text', 'quoted text', and 'italics text'.
* Customizable UI background color and blur amount
-## Installation
+# ⌛ Installation
-*NOTE: This software is intended for local install purposes, and has not been thoroughly tested on a colab or other cloud notebook service.*
+> \[!WARNING]
+> * DO NOT INSTALL INTO ANY WINDOWS CONTROLLED FOLDER (Program Files, System32, etc).
+> * DO NOT RUN START.BAT WITH ADMIN PERMISSIONS
+> * INSTALLATION ON WINDOWS 7 IS IMPOSSIBLE AS IT CAN NOT RUN NODEJS 18.16
-> **Warning**
-
-> DO NOT INSTALL INTO ANY WINDOWS CONTROLLED FOLDER (Program Files, System32, etc).
-
-> DO NOT RUN START.BAT WITH ADMIN PERMISSIONS
-
-### Windows
-
-Installing via Git (recommended for easy updating)
-
-An easy-to-follow guide with pretty pictures:
-
+## 🪟 Windows
+## Installing via Git
1. Install [NodeJS](https://nodejs.org/en) (latest LTS version is recommended)
- 2. Install [GitHub Desktop](https://central.github.com/deployments/desktop/desktop/latest/win32)
+ 2. Install [Git for Windows](https://gitforwindows.org/)
3. Open Windows Explorer (`Win+E`)
4. Browse to or Create a folder that is not controlled or monitored by Windows. (ex: C:\MySpecialFolder\)
5. Open a Command Prompt inside that folder by clicking in the 'Address Bar' at the top, typing `cmd`, and pressing Enter.
6. Once the black box (Command Prompt) pops up, type ONE of the following into it and press Enter:
-* for Release Branch: `git clone https://github.com/SillyTavern/SillyTavern -b release`
-* for Staging Branch: `git clone https://github.com/SillyTavern/SillyTavern -b staging`
+- for Release Branch: `git clone https://github.com/SillyTavern/SillyTavern -b release`
+- for Staging Branch: `git clone https://github.com/SillyTavern/SillyTavern -b staging`
7. Once everything is cloned, double-click `Start.bat` to make NodeJS install its requirements.
8. The server will then start, and SillyTavern will pop up in your browser.
-Installing via ZIP download (discouraged)
+## Installing via SillyTavern Launcher
+ 1. Install [Git for Windows](https://gitforwindows.org/)
+ 2. Open Windows Explorer (`Win+E`) and make or choose a folder where you wanna install the launcher to
+ 3. Open a Command Prompt inside that folder by clicking in the 'Address Bar' at the top, typing `cmd`, and pressing Enter.
+ 4. When you see a black box, insert the following command: `git clone https://github.com/SillyTavern/SillyTavern-Launcher.git`
+ 5. Double-click on `installer.bat` and choose what you wanna install
+ 6. After installation double-click on `launcher.bat`
+## Installing via GitHub Desktop
+(This allows git usage **only** in GitHub Desktop, if you want to use `git` on the command line too, you also need to install [Git for Windows](https://gitforwindows.org/))
1. Install [NodeJS](https://nodejs.org/en) (latest LTS version is recommended)
- 2. Download the zip from this GitHub repo. (Get the `Source code (zip)` from [Releases](https://github.com/SillyTavern/SillyTavern/releases/latest))
- 3. Unzip it into a folder of your choice
- 4. Run `Start.bat` by double-clicking or in a command line.
- 5. Once the server has prepared everything for you, it will open a tab in your browser.
+ 2. Install [GitHub Desktop](https://central.github.com/deployments/desktop/desktop/latest/win32)
+ 3. After installing GitHub Desktop, click on `Clone a repository from the internet....` (Note: You **do NOT need** to create a GitHub account for this step)
+ 4. On the menu, click the URL tab, enter this URL `https://github.com/SillyTavern/SillyTavern`, and click Clone. You can change the Local path to change where SillyTavern is going to be downloaded.
+ 6. To open SillyTavern, use Windows Explorer to browse into the folder where you cloned the repository. By default, the repository will be cloned here: `C:\Users\[Your Windows Username]\Documents\GitHub\SillyTavern`
+ 7. Double-click on the `start.bat` file. (Note: the `.bat` part of the file name might be hidden by your OS, in that case, it will look like a file called "`Start`". This is what you double-click to run SillyTavern)
+ 8. After double-clicking, a large black command console window should open and SillyTavern will begin to install what it needs to operate.
+ 9. After the installation process, if everything is working, the command console window should look like this and a SillyTavern tab should be open in your browser:
+ 10. Connect to any of the [supported APIs](https://docs.sillytavern.app/usage/api-connections/) and start chatting!
-### Linux
+## 🐧 Linux & 🍎 MacOS
-#### Unofficial Debian/Ubuntu PKGBUILD
+For MacOS / Linux all of these will be done in a Terminal.
-> **This installation method is unofficial and not supported by the project. Report any issues to the PKGBUILD maintainer.**
-> The method is intended for Debian-based distributions (Ubuntu, Mint, etc).
+1. Install git and nodeJS (the method for doing this will vary depending on your OS)
+2. Clone the repo
-1. Install [makedeb](https://www.makedeb.org/).
-2. Ensure you have Node.js v18 or higher installed by running `node -v`. If you need to upgrade, you can install a [node.js repo](https://mpr.makedeb.org/packages/nodejs-repo) (you'll might need to edit the version inside the PKGBUILD). As an alternative, install and configure [nvm](https://mpr.makedeb.org/packages/nvm) to manage multiple node.js installations. Finally, you can [install node.js manually](https://nodejs.org/en/download), but you will need to update the PATH variable of your environment.
-3. Now build the [sillytavern package](https://mpr.makedeb.org/packages/sillytavern). The build needs to run with the correct node.js version.
+- for Release Branch: `git clone https://github.com/SillyTavern/SillyTavern -b release`
+- for Staging Branch: `git clone https://github.com/SillyTavern/SillyTavern -b staging`
-#### Manual
+3. `cd SillyTavern` to navigate into the install folder.
+4. Run the `start.sh` script with one of these commands:
+
+- `./start.sh`
+- `bash start.sh`
+
+## Installing via SillyTavern Launcher
+
+### For Linux users
+1. Open your favorite terminal and install git
+2. Download Sillytavern Launcher with: `git clone https://github.com/SillyTavern/SillyTavern-Launcher.git`
+3. Navigate to the SillyTavern-Launcher with: `cd SillyTavern-Launcher`
+4. Start the install launcher with: `chmod +x install.sh && ./install.sh` and choose what you wanna install
+5. After installation start the launcher with: `chmod +x launcher.sh && ./launcher.sh`
+
+### For Mac users
+1. Open a terminal and install brew with: `/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"`
+2. Then install git with: `brew install git`
+3. Download Sillytavern Launcher with: `git clone https://github.com/SillyTavern/SillyTavern-Launcher.git`
+4. Navigate to the SillyTavern-Launcher with: `cd SillyTavern-Launcher`
+5. Start the install launcher with: `chmod +x install.sh && ./install.sh` and choose what you wanna install
+6. After installation start the launcher with: `chmod +x launcher.sh && ./launcher.sh`
+
+## 📱 Mobile - Installing via termux
+
+> \[!NOTE]
+> **SillyTavern can be run natively on Android phones using Termux. Please refer to this guide by ArroganceComplex#2659:**
+> *
- 1. Ensure you have Node.js v18 or higher (the latest [LTS version](https://nodejs.org/en/download/) is recommended) installed by running `node -v`.
-Alternatively, use the [Node Version Manager](https://github.com/nvm-sh/nvm#installing-and-updating) script to quickly and easily manage your Node installations.
- 2. Run the `start.sh` script.
- 3. Enjoy.
## API keys management
@@ -222,7 +245,7 @@ or
CIDR masks are also accepted (eg. 10.0.0.0/24).
* Save the `whitelist.txt` file.
-* Restart your TAI server.
+* Restart your ST server.
Now devices which have the IP specified in the file will be able to connect.
@@ -293,10 +316,7 @@ You can find them archived here:
-## Screenshots
-
-
## License and credits
@@ -327,3 +347,10 @@ GNU Affero General Public License for more details.**
* Korean translation by @doloroushyeonse
* k_euler_a support for Horde by
* Chinese translation by [@XXpE3](https://github.com/XXpE3), 中文 ISSUES 可以联系 @XXpE3
+
+
+[back-to-top]: https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square
+[cover]: https://github.com/SillyTavern/SillyTavern/assets/18619528/c2be4c3f-aada-4f64-87a3-ae35a68b61a4
+[discord-link]: https://discord.gg/sillytavern
+[discord-shield]: https://img.shields.io/discord/1127171173982154893?color=5865F2&label=discord&labelColor=black&logo=discord&logoColor=white&style=flat-square
+[discord-shield-badge]: https://img.shields.io/discord/1127171173982154893?color=5865F2&label=discord&labelColor=black&logo=discord&logoColor=white&style=for-the-badge
From 9d87b233e1cdc357d7b3d221e9d5c11332a3e9ee Mon Sep 17 00:00:00 2001
From: deffcolony <61471128+deffcolony@users.noreply.github.com>
Date: Wed, 3 Apr 2024 19:24:52 +0200
Subject: [PATCH 04/80] Update readme.md
---
.github/readme.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.github/readme.md b/.github/readme.md
index 4032431d4..2504eec35 100644
--- a/.github/readme.md
+++ b/.github/readme.md
@@ -352,5 +352,5 @@ GNU Affero General Public License for more details.**
[back-to-top]: https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square
[cover]: https://github.com/SillyTavern/SillyTavern/assets/18619528/c2be4c3f-aada-4f64-87a3-ae35a68b61a4
[discord-link]: https://discord.gg/sillytavern
-[discord-shield]: https://img.shields.io/discord/1127171173982154893?color=5865F2&label=discord&labelColor=black&logo=discord&logoColor=white&style=flat-square
-[discord-shield-badge]: https://img.shields.io/discord/1127171173982154893?color=5865F2&label=discord&labelColor=black&logo=discord&logoColor=white&style=for-the-badge
+[discord-shield]: https://img.shields.io/discord/1100685673633153084?color=5865F2&label=discord&labelColor=black&logo=discord&logoColor=white&style=flat-square
+[discord-shield-badge]: https://img.shields.io/discord/1100685673633153084?color=5865F2&label=discord&labelColor=black&logo=discord&logoColor=white&style=for-the-badge
From 95c910a5218f69609616d24cf00c22e127569218 Mon Sep 17 00:00:00 2001
From: Aisu Wata
Date: Thu, 4 Apr 2024 02:56:39 -0300
Subject: [PATCH 05/80] fix: WI min activations skips seen buffer
---
public/scripts/world-info.js | 50 +++++++++++++++++++++++++++---------
1 file changed, 38 insertions(+), 12 deletions(-)
diff --git a/public/scripts/world-info.js b/public/scripts/world-info.js
index 29582a1f0..ca632fc6d 100644
--- a/public/scripts/world-info.js
+++ b/public/scripts/world-info.js
@@ -95,6 +95,11 @@ class WorldInfoBuffer {
*/
#skew = 0;
+ /**
+ * @type {number} The starting depth of the global scan depth. Incremented by "min activations" feature to not repeat scans. When > 0 it means a complete scan was done up to #startDepth already, and `advanceScanPosition` was called.
+ */
+ #startDepth = 0;
+
/**
* Initialize the buffer with the given messages.
* @param {string[]} messages Array of messages to add to the buffer
@@ -137,7 +142,10 @@ class WorldInfoBuffer {
* @returns {string} A slice of buffer until the given depth (inclusive)
*/
get(entry) {
- let depth = entry.scanDepth ?? (world_info_depth + this.#skew);
+ let depth = entry.scanDepth ?? this.getDepth();
+ if (depth <= this.#startDepth) {
+ return '';
+ }
if (depth < 0) {
console.error(`Invalid WI scan depth ${depth}. Must be >= 0`);
@@ -149,7 +157,7 @@ class WorldInfoBuffer {
depth = MAX_SCAN_DEPTH;
}
- let result = this.#depthBuffer.slice(0, depth).join('\n');
+ let result = this.#depthBuffer.slice(this.#startDepth, depth).join('\n');
if (this.#recurseBuffer.length > 0) {
result += '\n' + this.#recurseBuffer.join('\n');
@@ -197,11 +205,26 @@ class WorldInfoBuffer {
}
/**
- * Adds an increment to depth skew.
+ * Empties recursion buffer.
*/
- addSkew() {
+ recurseReset() {
+ this.#recurseBuffer = [];
+ }
+
+ /**
+ * Increments skew and sets startDepth to previous depth.
+ */
+ advanceScanPosition() {
+ this.#startDepth = this.getDepth();
this.#skew++;
}
+
+ /**
+ * @returns {number} Settings' depth + current skew.
+ */
+ getDepth() {
+ return world_info_depth + this.#skew;
+ }
}
export function getWorldInfoSettings() {
@@ -2009,7 +2032,6 @@ async function checkWorldInfo(chat, maxContext) {
const buffer = new WorldInfoBuffer(chat);
// Combine the chat
- let minActivationMsgIndex = world_info_depth; // tracks chat index to satisfy `world_info_min_activations`
// Add the depth or AN if enabled
// Put this code here since otherwise, the chat reference is modified
@@ -2214,6 +2236,9 @@ async function checkWorldInfo(chat, maxContext) {
}
if (needsToScan) {
+ // If you're here from a previous loop, clear recurse buffer
+ buffer.recurseReset();
+
const text = newEntries
.filter(x => !failedProbabilityChecks.has(x))
.filter(x => !x.preventRecursion)
@@ -2225,15 +2250,16 @@ async function checkWorldInfo(chat, maxContext) {
// world_info_min_activations
if (!needsToScan && !token_budget_overflowed) {
if (world_info_min_activations > 0 && (allActivatedEntries.size < world_info_min_activations)) {
- let over_max = false;
- over_max = (
+ let over_max = (
world_info_min_activations_depth_max > 0 &&
- minActivationMsgIndex > world_info_min_activations_depth_max
- ) || (minActivationMsgIndex >= chat.length);
+ buffer.getDepth() > world_info_min_activations_depth_max
+ ) || (buffer.getDepth() > chat.length);
+
if (!over_max) {
- needsToScan = true;
- minActivationMsgIndex += 1;
- buffer.addSkew();
+ needsToScan = true; // loop
+ buffer.advanceScanPosition();
+ // No recurse was added, since `!needsToScan`, but clear previous one since it was checked already
+ buffer.recurseReset();
}
}
}
From 5ab9d9b8630adba9488e5f91b00ff322efa8e202 Mon Sep 17 00:00:00 2001
From: Aisu Wata
Date: Thu, 4 Apr 2024 03:08:17 -0300
Subject: [PATCH 06/80] removed some remnant debug logs
---
public/script.js | 1 -
public/scripts/world-info.js | 4 +---
2 files changed, 1 insertion(+), 4 deletions(-)
diff --git a/public/script.js b/public/script.js
index 76a0b4d91..a5207c022 100644
--- a/public/script.js
+++ b/public/script.js
@@ -752,7 +752,6 @@ function reloadMarkdownProcessor(render_formulas = false) {
}
function getCurrentChatId() {
- console.debug(`selectedGroup:${selected_group}, this_chid:${this_chid}`);
if (selected_group) {
return groups.find(x => x.id == selected_group)?.chat_id;
}
diff --git a/public/scripts/world-info.js b/public/scripts/world-info.js
index 29582a1f0..4f9bd733f 100644
--- a/public/scripts/world-info.js
+++ b/public/scripts/world-info.js
@@ -2102,8 +2102,6 @@ async function checkWorldInfo(chat, maxContext) {
const substituted = substituteParams(key);
const textToScan = buffer.get(entry);
- console.debug(`${entry.uid}: ${substituted}`);
-
if (substituted && buffer.matchKeys(textToScan, substituted.trim(), entry)) {
console.debug(`WI UID ${entry.uid} found by primary match: ${substituted}.`);
@@ -2160,7 +2158,7 @@ async function checkWorldInfo(chat, maxContext) {
activatedNow.add(entry);
break primary;
}
- } else { console.debug(`No active entries for logic checks for word: ${substituted}.`); }
+ }
}
}
}
From 0d57f7ea4fb5ff505631d6194c48efc0b9ea195b Mon Sep 17 00:00:00 2001
From: Aisu Wata
Date: Thu, 4 Apr 2024 15:19:39 -0300
Subject: [PATCH 07/80] fix: removed `recurseReset()`
---
public/scripts/world-info.js | 12 ------------
1 file changed, 12 deletions(-)
diff --git a/public/scripts/world-info.js b/public/scripts/world-info.js
index ca632fc6d..4acdb225f 100644
--- a/public/scripts/world-info.js
+++ b/public/scripts/world-info.js
@@ -204,13 +204,6 @@ class WorldInfoBuffer {
this.#recurseBuffer.push(message);
}
- /**
- * Empties recursion buffer.
- */
- recurseReset() {
- this.#recurseBuffer = [];
- }
-
/**
* Increments skew and sets startDepth to previous depth.
*/
@@ -2236,9 +2229,6 @@ async function checkWorldInfo(chat, maxContext) {
}
if (needsToScan) {
- // If you're here from a previous loop, clear recurse buffer
- buffer.recurseReset();
-
const text = newEntries
.filter(x => !failedProbabilityChecks.has(x))
.filter(x => !x.preventRecursion)
@@ -2258,8 +2248,6 @@ async function checkWorldInfo(chat, maxContext) {
if (!over_max) {
needsToScan = true; // loop
buffer.advanceScanPosition();
- // No recurse was added, since `!needsToScan`, but clear previous one since it was checked already
- buffer.recurseReset();
}
}
}
From 813476d72ac9aefb45b42aed7855c77e5d1c42ac Mon Sep 17 00:00:00 2001
From: Cohee <18619528+Cohee1207@users.noreply.github.com>
Date: Thu, 4 Apr 2024 21:20:10 +0300
Subject: [PATCH 08/80] Fix stream error parsing when using Smooth Streaming
---
public/scripts/sse-stream.js | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/public/scripts/sse-stream.js b/public/scripts/sse-stream.js
index cc3160039..8e6a16f7c 100644
--- a/public/scripts/sse-stream.js
+++ b/public/scripts/sse-stream.js
@@ -227,7 +227,7 @@ async function* parseStreamData(json) {
}
}
- return null;
+ yield null;
}
/**
@@ -243,6 +243,12 @@ export class SmoothEventSourceStream extends EventSourceStream {
const data = event.data;
try {
const hasFocus = document.hasFocus();
+
+ if (data === '[DONE]') {
+ lastStr = '';
+ return controller.enqueue(event);
+ }
+
const json = JSON.parse(data);
if (!json) {
@@ -261,7 +267,8 @@ export class SmoothEventSourceStream extends EventSourceStream {
lastStr = parsed.chunk;
hasFocus && await eventSource.emit(event_types.SMOOTH_STREAM_TOKEN_RECEIVED, parsed.chunk);
}
- } catch {
+ } catch (error) {
+ console.error('Smooth Streaming parsing error', error);
controller.enqueue(event);
}
},
From ee3718ad7a82bba6b6bddb5a0c9ce5167b945217 Mon Sep 17 00:00:00 2001
From: Cohee <18619528+Cohee1207@users.noreply.github.com>
Date: Thu, 4 Apr 2024 21:20:30 +0300
Subject: [PATCH 09/80] Forward error messages from Cohere streams
---
src/endpoints/backends/chat-completions.js | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/src/endpoints/backends/chat-completions.js b/src/endpoints/backends/chat-completions.js
index 8fe7cb6bf..593f034b2 100644
--- a/src/endpoints/backends/chat-completions.js
+++ b/src/endpoints/backends/chat-completions.js
@@ -36,7 +36,13 @@ async function parseCohereStream(jsonStream, request, response) {
} catch (e) {
break;
}
- if (json.event_type === 'text-generation') {
+ if (json.message) {
+ const message = json.message || 'Unknown error';
+ const chunk = { error: { message: message } };
+ response.write(`data: ${JSON.stringify(chunk)}\n\n`);
+ partialData = '';
+ break;
+ } else if (json.event_type === 'text-generation') {
const text = json.text || '';
const chunk = { choices: [{ text }] };
response.write(`data: ${JSON.stringify(chunk)}\n\n`);
From 6cc73c2a0ba7104421c62b295c70b0dc110ed2c6 Mon Sep 17 00:00:00 2001
From: Cohee <18619528+Cohee1207@users.noreply.github.com>
Date: Thu, 4 Apr 2024 22:27:08 +0300
Subject: [PATCH 10/80] Add instruct last system sequence
---
.../content/presets/instruct/Adventure.json | 3 +-
.../presets/instruct/Alpaca-Roleplay.json | 1 +
.../presets/instruct/Alpaca-Single-Turn.json | 3 +-
default/content/presets/instruct/Alpaca.json | 1 +
default/content/presets/instruct/ChatML.json | 1 +
.../instruct/DreamGen Role-Play V1.json | 3 +-
default/content/presets/instruct/Koala.json | 3 +-
.../content/presets/instruct/Libra-32B.json | 3 +-
.../presets/instruct/Lightning 1.1.json | 3 +-
.../presets/instruct/Llama 2 Chat.json | 1 +
.../content/presets/instruct/Metharme.json | 3 +-
default/content/presets/instruct/Mistral.json | 1 +
.../presets/instruct/OpenOrca-OpenChat.json | 3 +-
.../content/presets/instruct/Pygmalion.json | 3 +-
default/content/presets/instruct/Story.json | 3 +-
default/content/presets/instruct/Synthia.json | 1 +
.../content/presets/instruct/Vicuna 1.0.json | 3 +-
.../content/presets/instruct/Vicuna 1.1.json | 3 +-
.../presets/instruct/WizardLM-13B.json | 3 +-
.../content/presets/instruct/WizardLM.json | 3 +-
.../instruct/simple-proxy-for-tavern.json | 3 +-
public/index.html | 18 ++++++--
public/scripts/instruct-mode.js | 44 ++++++++++++-------
public/scripts/power-user.js | 1 +
public/scripts/templates/macros.html | 1 +
25 files changed, 80 insertions(+), 35 deletions(-)
diff --git a/default/content/presets/instruct/Adventure.json b/default/content/presets/instruct/Adventure.json
index 827c6d5c9..a4093dff7 100644
--- a/default/content/presets/instruct/Adventure.json
+++ b/default/content/presets/instruct/Adventure.json
@@ -19,5 +19,6 @@
"system_suffix": "",
"user_alignment_message": "",
"system_same_as_user": false,
+ "last_system_sequence": "",
"name": "Adventure"
-}
\ No newline at end of file
+}
diff --git a/default/content/presets/instruct/Alpaca-Roleplay.json b/default/content/presets/instruct/Alpaca-Roleplay.json
index 5a5054340..b5aec1c92 100644
--- a/default/content/presets/instruct/Alpaca-Roleplay.json
+++ b/default/content/presets/instruct/Alpaca-Roleplay.json
@@ -19,5 +19,6 @@
"system_suffix": "\n\n",
"user_alignment_message": "",
"system_same_as_user": false,
+ "last_system_sequence": "",
"name": "Alpaca-Roleplay"
}
diff --git a/default/content/presets/instruct/Alpaca-Single-Turn.json b/default/content/presets/instruct/Alpaca-Single-Turn.json
index 6a6f052d2..9baca108c 100644
--- a/default/content/presets/instruct/Alpaca-Single-Turn.json
+++ b/default/content/presets/instruct/Alpaca-Single-Turn.json
@@ -19,5 +19,6 @@
"system_suffix": "",
"user_alignment_message": "",
"system_same_as_user": false,
+ "last_system_sequence": "",
"name": "Alpaca-Single-Turn"
-}
\ No newline at end of file
+}
diff --git a/default/content/presets/instruct/Alpaca.json b/default/content/presets/instruct/Alpaca.json
index 96fd2cc83..28b2065fb 100644
--- a/default/content/presets/instruct/Alpaca.json
+++ b/default/content/presets/instruct/Alpaca.json
@@ -19,5 +19,6 @@
"system_suffix": "\n\n",
"user_alignment_message": "",
"system_same_as_user": false,
+ "last_system_sequence": "",
"name": "Alpaca"
}
diff --git a/default/content/presets/instruct/ChatML.json b/default/content/presets/instruct/ChatML.json
index 348ae2458..513a72820 100644
--- a/default/content/presets/instruct/ChatML.json
+++ b/default/content/presets/instruct/ChatML.json
@@ -19,5 +19,6 @@
"system_suffix": "<|im_end|>\n",
"user_alignment_message": "",
"system_same_as_user": false,
+ "last_system_sequence": "",
"name": "ChatML"
}
diff --git a/default/content/presets/instruct/DreamGen Role-Play V1.json b/default/content/presets/instruct/DreamGen Role-Play V1.json
index 07f0301fc..002878b4d 100644
--- a/default/content/presets/instruct/DreamGen Role-Play V1.json
+++ b/default/content/presets/instruct/DreamGen Role-Play V1.json
@@ -19,5 +19,6 @@
"system_suffix": "",
"user_alignment_message": "",
"system_same_as_user": true,
+ "last_system_sequence": "",
"name": "DreamGen Role-Play V1"
-}
\ No newline at end of file
+}
diff --git a/default/content/presets/instruct/Koala.json b/default/content/presets/instruct/Koala.json
index 980482c1a..f5db8ff48 100644
--- a/default/content/presets/instruct/Koala.json
+++ b/default/content/presets/instruct/Koala.json
@@ -19,5 +19,6 @@
"system_suffix": "",
"user_alignment_message": "",
"system_same_as_user": true,
+ "last_system_sequence": "",
"name": "Koala"
-}
\ No newline at end of file
+}
diff --git a/default/content/presets/instruct/Libra-32B.json b/default/content/presets/instruct/Libra-32B.json
index 6014546f6..c665eb364 100644
--- a/default/content/presets/instruct/Libra-32B.json
+++ b/default/content/presets/instruct/Libra-32B.json
@@ -19,5 +19,6 @@
"system_suffix": "",
"user_alignment_message": "",
"system_same_as_user": false,
+ "last_system_sequence": "",
"name": "Libra-32B"
-}
\ No newline at end of file
+}
diff --git a/default/content/presets/instruct/Lightning 1.1.json b/default/content/presets/instruct/Lightning 1.1.json
index bf79e1358..9f9bd7ccf 100644
--- a/default/content/presets/instruct/Lightning 1.1.json
+++ b/default/content/presets/instruct/Lightning 1.1.json
@@ -19,5 +19,6 @@
"system_suffix": "",
"user_alignment_message": "",
"system_same_as_user": true,
+ "last_system_sequence": "",
"name": "Lightning 1.1"
-}
\ No newline at end of file
+}
diff --git a/default/content/presets/instruct/Llama 2 Chat.json b/default/content/presets/instruct/Llama 2 Chat.json
index aeb4e13fd..dc507b777 100644
--- a/default/content/presets/instruct/Llama 2 Chat.json
+++ b/default/content/presets/instruct/Llama 2 Chat.json
@@ -19,5 +19,6 @@
"system_suffix": "",
"user_alignment_message": "Let's get started. Please respond based on the information and instructions provided above.",
"system_same_as_user": true,
+ "last_system_sequence": "",
"name": "Llama 2 Chat"
}
diff --git a/default/content/presets/instruct/Metharme.json b/default/content/presets/instruct/Metharme.json
index 1c8474cdf..195fe5260 100644
--- a/default/content/presets/instruct/Metharme.json
+++ b/default/content/presets/instruct/Metharme.json
@@ -19,5 +19,6 @@
"system_suffix": "",
"user_alignment_message": "",
"system_same_as_user": true,
+ "last_system_sequence": "",
"name": "Metharme"
-}
\ No newline at end of file
+}
diff --git a/default/content/presets/instruct/Mistral.json b/default/content/presets/instruct/Mistral.json
index 4f35139fa..bd3a9ff3c 100644
--- a/default/content/presets/instruct/Mistral.json
+++ b/default/content/presets/instruct/Mistral.json
@@ -19,5 +19,6 @@
"system_suffix": "",
"user_alignment_message": "Let's get started. Please respond based on the information and instructions provided above.",
"system_same_as_user": true,
+ "last_system_sequence": "",
"name": "Mistral"
}
diff --git a/default/content/presets/instruct/OpenOrca-OpenChat.json b/default/content/presets/instruct/OpenOrca-OpenChat.json
index 924ea94f7..04d526d4d 100644
--- a/default/content/presets/instruct/OpenOrca-OpenChat.json
+++ b/default/content/presets/instruct/OpenOrca-OpenChat.json
@@ -19,5 +19,6 @@
"system_suffix": "",
"user_alignment_message": "",
"system_same_as_user": false,
+ "last_system_sequence": "",
"name": "OpenOrca-OpenChat"
-}
\ No newline at end of file
+}
diff --git a/default/content/presets/instruct/Pygmalion.json b/default/content/presets/instruct/Pygmalion.json
index 6278c0d23..cb5b60d8a 100644
--- a/default/content/presets/instruct/Pygmalion.json
+++ b/default/content/presets/instruct/Pygmalion.json
@@ -19,5 +19,6 @@
"system_suffix": "",
"user_alignment_message": "",
"system_same_as_user": true,
+ "last_system_sequence": "",
"name": "Pygmalion"
-}
\ No newline at end of file
+}
diff --git a/default/content/presets/instruct/Story.json b/default/content/presets/instruct/Story.json
index 1e42d3281..5c6b00cf0 100644
--- a/default/content/presets/instruct/Story.json
+++ b/default/content/presets/instruct/Story.json
@@ -19,5 +19,6 @@
"system_suffix": "",
"user_alignment_message": "",
"system_same_as_user": false,
+ "last_system_sequence": "",
"name": "Story"
-}
\ No newline at end of file
+}
diff --git a/default/content/presets/instruct/Synthia.json b/default/content/presets/instruct/Synthia.json
index 24ec4849e..21fa535c0 100644
--- a/default/content/presets/instruct/Synthia.json
+++ b/default/content/presets/instruct/Synthia.json
@@ -19,5 +19,6 @@
"system_suffix": "\n",
"user_alignment_message": "Let's get started. Please respond based on the information and instructions provided above.",
"system_same_as_user": false,
+ "last_system_sequence": "",
"name": "Synthia"
}
diff --git a/default/content/presets/instruct/Vicuna 1.0.json b/default/content/presets/instruct/Vicuna 1.0.json
index fbc8a2bf5..d96bf4cb2 100644
--- a/default/content/presets/instruct/Vicuna 1.0.json
+++ b/default/content/presets/instruct/Vicuna 1.0.json
@@ -19,5 +19,6 @@
"system_suffix": "",
"user_alignment_message": "",
"system_same_as_user": true,
+ "last_system_sequence": "",
"name": "Vicuna 1.0"
-}
\ No newline at end of file
+}
diff --git a/default/content/presets/instruct/Vicuna 1.1.json b/default/content/presets/instruct/Vicuna 1.1.json
index a31698d03..a42e4fbfc 100644
--- a/default/content/presets/instruct/Vicuna 1.1.json
+++ b/default/content/presets/instruct/Vicuna 1.1.json
@@ -19,5 +19,6 @@
"system_suffix": "",
"user_alignment_message": "",
"system_same_as_user": true,
+ "last_system_sequence": "",
"name": "Vicuna 1.1"
-}
\ No newline at end of file
+}
diff --git a/default/content/presets/instruct/WizardLM-13B.json b/default/content/presets/instruct/WizardLM-13B.json
index 21e7bd555..b15fea56f 100644
--- a/default/content/presets/instruct/WizardLM-13B.json
+++ b/default/content/presets/instruct/WizardLM-13B.json
@@ -19,5 +19,6 @@
"system_suffix": "",
"user_alignment_message": "",
"system_same_as_user": true,
+ "last_system_sequence": "",
"name": "WizardLM-13B"
-}
\ No newline at end of file
+}
diff --git a/default/content/presets/instruct/WizardLM.json b/default/content/presets/instruct/WizardLM.json
index 198f6a062..18e808da4 100644
--- a/default/content/presets/instruct/WizardLM.json
+++ b/default/content/presets/instruct/WizardLM.json
@@ -19,5 +19,6 @@
"system_suffix": "",
"user_alignment_message": "",
"system_same_as_user": false,
+ "last_system_sequence": "",
"name": "WizardLM"
-}
\ No newline at end of file
+}
diff --git a/default/content/presets/instruct/simple-proxy-for-tavern.json b/default/content/presets/instruct/simple-proxy-for-tavern.json
index 14d32d86c..986da1697 100644
--- a/default/content/presets/instruct/simple-proxy-for-tavern.json
+++ b/default/content/presets/instruct/simple-proxy-for-tavern.json
@@ -19,5 +19,6 @@
"system_suffix": "",
"user_alignment_message": "",
"system_same_as_user": false,
+ "last_system_sequence": "",
"name": "simple-proxy-for-tavern"
-}
\ No newline at end of file
+}
diff --git a/public/index.html b/public/index.html
index f4b1586c7..034942754 100644
--- a/public/index.html
+++ b/public/index.html
@@ -3034,12 +3034,12 @@
diff --git a/public/scripts/extensions/quick-reply/index.js b/public/scripts/extensions/quick-reply/index.js
index a032a12d6..7b58f4aaa 100644
--- a/public/scripts/extensions/quick-reply/index.js
+++ b/public/scripts/extensions/quick-reply/index.js
@@ -104,7 +104,7 @@ const loadSets = async () => {
qr.executeOnAi = slot.autoExecute_botMessage ?? false;
qr.executeOnChatChange = slot.autoExecute_chatLoad ?? false;
qr.executeOnGroupMemberDraft = slot.autoExecute_groupMemberDraft ?? false;
- qr.automationId = slot.automationId ?? false;
+ qr.automationId = slot.automationId ?? '';
qr.contextList = (slot.contextMenu ?? []).map(it=>({
set: it.preset,
isChained: it.chain,
From 9e4b765db133f979e7e673aef09a9ed907bf660e Mon Sep 17 00:00:00 2001
From: Cohee <18619528+Cohee1207@users.noreply.github.com>
Date: Fri, 5 Apr 2024 17:59:12 +0300
Subject: [PATCH 20/80] #2012 Replace all comfy seeds
---
public/scripts/extensions/stable-diffusion/index.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/public/scripts/extensions/stable-diffusion/index.js b/public/scripts/extensions/stable-diffusion/index.js
index f4e47ca84..6b656e549 100644
--- a/public/scripts/extensions/stable-diffusion/index.js
+++ b/public/scripts/extensions/stable-diffusion/index.js
@@ -2524,7 +2524,7 @@ async function generateComfyImage(prompt, negativePrompt) {
}
let workflow = (await workflowResponse.json()).replace('"%prompt%"', JSON.stringify(prompt));
workflow = workflow.replace('"%negative_prompt%"', JSON.stringify(negativePrompt));
- workflow = workflow.replace('"%seed%"', JSON.stringify(Math.round(Math.random() * Number.MAX_SAFE_INTEGER)));
+ workflow = workflow.replaceAll('"%seed%"', JSON.stringify(Math.round(Math.random() * Number.MAX_SAFE_INTEGER)));
placeholders.forEach(ph => {
workflow = workflow.replace(`"%${ph}%"`, JSON.stringify(extension_settings.sd[ph]));
});
From a1a8d7fe4ca9d35d1a46f94fe333b86d3b297ee6 Mon Sep 17 00:00:00 2001
From: caesarw
Date: Fri, 5 Apr 2024 15:39:06 +0000
Subject: [PATCH 21/80] Added workflows for nightly staging build
* the nightly staging build starts at 00:00 UTC everyday
* multi-arch build support is added (amd64, arm64)
---
.github/workflows/docker-publish.yml | 73 ++++++++++++++++++++--------
1 file changed, 53 insertions(+), 20 deletions(-)
diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml
index 06e8eac9e..588fcd80c 100644
--- a/.github/workflows/docker-publish.yml
+++ b/.github/workflows/docker-publish.yml
@@ -1,45 +1,78 @@
# This workflow will publish a docker image for every full release to the GitHub package repository
-name: Create Docker Image on Release
+name: Create Docker Image (Release and Staging)
on:
release:
# Allow pre-releases
types: [published]
+ schedule:
+ # Build the staging image everyday at 00:00 UTC
+ - cron: "0 0 * * *"
env:
# This should allow creation of docker images even in forked repositories
- # Image name may not contain uppercase characters, so we can not use the repository name
- # Creates a string like: ghcr.io/SillyTavern/sillytavern
- image_name: ghcr.io/sillytavern/sillytavern
+ IMAGE_NAME: ${{ github.repository }}
+ REGISTRY: ghcr.io
jobs:
-
build:
-
runs-on: ubuntu-latest
steps:
- - name: Checkout
+ # Using the following workaround because currently GitHub Actions
+ # does not support logical AND/OR operations on triggers
+ # It's currently not possible to have `branches` under the `schedule` trigger
+ - name: Checkout the release branch
+ if: ${{ github.event_name == 'release' }}
uses: actions/checkout@v3
+ with:
+ ref: "release"
- # Build docker image using dockerfile and tag it with branch name
- # Assumes branch name is the version number
- - name: Build the Docker image
- run: |
- docker build . --file Dockerfile --tag $image_name:${{ github.ref_name }}
+ - name: Checkout the staging branch
+ if: ${{ github.event_name == 'schedule' }}
+ uses: actions/checkout@v3
+ with:
+ ref: "staging"
+
+ # Setting up QEMU for multi-arch image build
+ - name: Set up QEMU
+ uses: docker/setup-qemu-action@v3
+
+ - name: Set up Docker Buildx
+ uses: docker/setup-buildx-action@v3
+
+ - name: Extract metadata (tags, labels) for the image
+ uses: docker/metadata-action@v5.5.1
+ id: metadata
+ with:
+ images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
+ tags: ${{ github.ref_name }}
# Login into package repository as the person who created the release
- - name: Login to GitHub Container Registry
- uses: docker/login-action@v1
+ - name: Log in to the Container registry
+ uses: docker/login-action@v3
with:
- registry: ghcr.io
+ registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- # Assumes release is the latest and marks image as such
- - name: Docker Tag and Push
+ # Build docker image using dockerfile for amd64 and arm64
+ # Tag it with branch name
+ # Assumes branch name is the version number
+ - name: Build and push
+ uses: docker/build-push-action@v5.3.0
+ with:
+ context: .
+ platforms: linux/amd64,linux/arm64
+ file: Dockerfile
+ push: true
+ tags: ${{ steps.metadata.outputs.tags }}
+ labels: ${{ steps.metadata.outputs.labels }}
+
+ # If the workflow is triggered by a release, marks and push the image as such
+ - name: Docker tag latest and push
+ if: ${{ github.event_name == 'release' }}
run: |
- docker tag $image_name:${{ github.ref_name }} $image_name:latest
- docker push $image_name:${{ github.ref_name }}
- docker push $image_name:latest
+ docker tag $IMAGE_NAME:${{ github.ref_name }} $IMAGE_NAME:latest
+ docker push $IMAGE_NAME:latest
From c0213c086c0680ee62da354c08d16e80785d7d19 Mon Sep 17 00:00:00 2001
From: KegaPlayer <128023803+KegaPlayer@users.noreply.github.com>
Date: Fri, 5 Apr 2024 12:12:32 -0500
Subject: [PATCH 22/80] Update es-es.json
Proofreading work done by a Spanish language native on the es-es.json file. Mostly centered around making some terminology consistent and a few minor grammar fixes.
---
public/locales/es-es.json | 398 +++++++++++++++++++-------------------
1 file changed, 199 insertions(+), 199 deletions(-)
diff --git a/public/locales/es-es.json b/public/locales/es-es.json
index c16ba2902..1f919c909 100644
--- a/public/locales/es-es.json
+++ b/public/locales/es-es.json
@@ -5,7 +5,7 @@
"novelaipreserts": "Preajustes de NovelAI",
"default": "Predeterminado",
"openaipresets": "Preajustes de OpenAI",
- "text gen webio(ooba) presets": "Preajustes de generación de texto WebUI(ooba)",
+ "text gen webio(ooba) presets": "Preajustes de Text Gen WebUI(ooba)",
"response legth(tokens)": "Longitud de respuesta (tokens)",
"select": "Seleccionar",
"context size(tokens)": "Tamaño de contexto (tokens)",
@@ -13,17 +13,17 @@
"Only select models support context sizes greater than 4096 tokens. Increase only if you know what you're doing.": "Solo algunos modelos admiten tamaños de contexto mayores de 4096 tokens. Aumenta solo si sabes lo que estás haciendo.",
"rep.pen": "Penalización de repetición",
"WI Entry Status:🔵 Constant🟢 Normal❌ Disabled": "Estado de entrada de WI:🔵 Constante🟢 Normal❌ Desactivado",
- "rep.pen range": "Rango de penalización de repetición",
+ "rep.pen range": "rango de penalización de repetición",
"Temperature controls the randomness in token selection": "La temperatura controla la aleatoriedad en la selección de tokens",
"temperature": "Temperatura",
"Top K sets a maximum amount of top tokens that can be chosen from": "Top K establece una cantidad máxima de tokens principales que se pueden elegir",
"Top P (a.k.a. nucleus sampling)": "Top P (también conocido como muestreo de núcleo)",
- "Typical P Sampling prioritizes tokens based on their deviation from the average entropy of the set": "El muestreo P típico prioriza tokens según su desviación de la entropía promedio del conjunto",
+ "Typical P Sampling prioritizes tokens based on their deviation from the average entropy of the set": "El Muestreo P Típico prioriza tokens según su desviación de la entropía promedio del conjunto",
"Min P sets a base minimum probability": "Min P establece una probabilidad mínima base",
"Top A sets a threshold for token selection based on the square of the highest token probability": "Top A establece un umbral para la selección de tokens basado en el cuadrado de la probabilidad de token más alta",
"Tail-Free Sampling (TFS)": "Muestreo sin cola (TFS)",
- "Epsilon cutoff sets a probability floor below which tokens are excluded from being sampled": "El corte epsilon establece un límite de probabilidad por debajo del cual se excluyen los tokens de ser muestreados",
- "Scale Temperature dynamically per token, based on the variation of probabilities": "Escalas de temperatura dinámicamente por token, basado en la variación de probabilidades",
+ "Epsilon cutoff sets a probability floor below which tokens are excluded from being sampled": "El corte Epsilon establece un límite de probabilidad por debajo del cual se excluyen los tokens de ser muestreados",
+ "Scale Temperature dynamically per token, based on the variation of probabilities": "Escala la Temperatura dinámicamente por token, basado en la variación de probabilidades",
"Minimum Temp": "Temperatura mínima",
"Maximum Temp": "Temperatura máxima",
"Exponent": "Exponente",
@@ -33,11 +33,11 @@
"Variability parameter for Mirostat outputs": "Parámetro de variabilidad para las salidas de Mirostat",
"Learning rate of Mirostat": "Tasa de aprendizaje de Mirostat",
"Strength of the Contrastive Search regularization term. Set to 0 to disable CS": "Fuerza del término de regularización de la Búsqueda Contrastiva. Establece en 0 para deshabilitar CS.",
- "Temperature Last": "Última temperatura",
+ "Temperature Last": "Temperatura de Último",
"Use the temperature sampler last": "Usar el muestreador de temperatura al final",
"LLaMA / Mistral / Yi models only": "Solo modelos LLaMA / Mistral / Yi",
"Example: some text [42, 69, 1337]": "Ejemplo: algún texto [42, 69, 1337]",
- "Classifier Free Guidance. More helpful tip coming soon": "Guía libre de clasificadores. Pronto llegará un consejo más útil",
+ "Classifier Free Guidance. More helpful tip coming soon": "Guía Libre de Clasificadores. Pronto llegará un consejo más útil",
"Scale": "Escala",
"GBNF Grammar": "Gramática GBNF",
"Usage Stats": "Estadísticas de uso",
@@ -74,7 +74,7 @@
"Add BOS Token": "Agregar token BOS",
"Add the bos_token to the beginning of prompts. Disabling this can make the replies more creative": "Agrega el token BOS al principio de las indicaciones. Desactivar esto puede hacer que las respuestas sean más creativas",
"Ban EOS Token": "Prohibir token EOS",
- "Ban the eos_token. This forces the model to never end the generation prematurely": "Prohibir el token eos. Esto obliga al modelo a nunca terminar la generación prematuramente",
+ "Ban the eos_token. This forces the model to never end the generation prematurely": "Prohibir el token EOS. Esto obliga al modelo a nunca terminar la generación prematuramente",
"Skip Special Tokens": "Omitir tokens especiales",
"Beam search": "Búsqueda de haz",
"Number of Beams": "Número de haces",
@@ -83,9 +83,9 @@
"Contrastive search": "Búsqueda contrastiva",
"Penalty Alpha": "Alfa de penalización",
"Seed": "Semilla",
- "Epsilon Cutoff": "Corte epsilon",
- "Eta Cutoff": "Corte eta",
- "Negative Prompt": "Indicación negativa",
+ "Epsilon Cutoff": "Corte Epsilon",
+ "Eta Cutoff": "Corte Eta",
+ "Negative Prompt": "Indicaciónes negativas",
"Mirostat (mode=1 is only for llama.cpp)": "Mirostat (modo=1 es solo para llama.cpp)",
"Mirostat is a thermostat for output perplexity": "Mirostat es un termostato para la perplejidad de salida",
"Add text here that would make the AI generate things you don't want in your outputs.": "Agrega aquí texto que haría que la IA genere cosas que no quieres en tus salidas.",
@@ -102,32 +102,32 @@
"NSFW Encouraged": "NSFW Alentado",
"Tell the AI that NSFW is allowed.": "Indica a la IA que se permite contenido NSFW.",
"NSFW Prioritized": "NSFW Priorizado",
- "NSFW prompt text goes first in the prompt to emphasize its effect.": "El texto de la indicación NSFW va primero en la indicación para enfatizar su efecto.",
- "Streaming": "Transmisión",
+ "NSFW prompt text goes first in the prompt to emphasize its effect.": "El texto de las indicaciones NSFW va primero en la indicación para enfatizar su efecto.",
+ "Streaming": "Transmisión (Streaming)",
"Dynamic Temperature": "Temperatura dinámica",
- "Restore current preset": "Restaurar la configuración actual",
- "Neutralize Samplers": "Neutralizar los muestreadores",
- "Text Completion presets": "Preajustes de completado de texto",
+ "Restore current preset": "Restaurar el preajuste actual",
+ "Neutralize Samplers": "Neutralizar muestreadores",
+ "Text Completion presets": "Preajustes de Completado de Texto",
"Documentation on sampling parameters": "Documentación sobre parámetros de muestreo",
"Set all samplers to their neutral/disabled state.": "Establecer todos los muestreadores en su estado neutral/desactivado.",
"Only enable this if your model supports context sizes greater than 4096 tokens": "Habilita esto solo si tu modelo admite tamaños de contexto mayores de 4096 tokens",
"Display the response bit by bit as it is generated": "Mostrar la respuesta poco a poco según se genera",
"Generate only one line per request (KoboldAI only, ignored by KoboldCpp).": "Generar solo una línea por solicitud (solo KoboldAI, ignorado por KoboldCpp).",
- "Ban the End-of-Sequence (EOS) token (with KoboldCpp, and possibly also other tokens with KoboldAI).": "Prohibir el token Fin-de-secuencia (EOS) (con KoboldCpp, y posiblemente también otros tokens con KoboldAI).",
+ "Ban the End-of-Sequence (EOS) token (with KoboldCpp, and possibly also other tokens with KoboldAI).": "Prohibir el token Fin-de-Secuencia (EOS) (con KoboldCpp, y posiblemente también otros tokens con KoboldAI).",
"Good for story writing, but should not be used for chat and instruct mode.": "Bueno para escribir historias, pero no debería usarse para el modo de chat e instrucción.",
"Enhance Definitions": "Mejorar Definiciones",
"Use OAI knowledge base to enhance definitions for public figures and known fictional characters": "Utilizar la base de conocimientos de OAI para mejorar las definiciones de figuras públicas y personajes ficticios conocidos",
"Wrap in Quotes": "Envolver entre comillas",
"Wrap entire user message in quotes before sending.": "Envolver todo el mensaje del usuario entre comillas antes de enviarlo.",
- "Leave off if you use quotes manually for speech.": "Omite esto si usas comillas manualmente para el discurso.",
- "Main prompt": "Indicación principal",
- "The main prompt used to set the model behavior": "La indicación principal utilizada para establecer el comportamiento del modelo",
- "NSFW prompt": "Indicación NSFW",
- "Prompt that is used when the NSFW toggle is on": "Indicación que se utiliza cuando el interruptor NSFW está activado",
- "Jailbreak prompt": "Indicación de jailbreak",
- "Prompt that is used when the Jailbreak toggle is on": "Indicación que se utiliza cuando el interruptor Jailbreak está activado",
- "Impersonation prompt": "Indicación de suplantación de identidad",
- "Prompt that is used for Impersonation function": "Indicación que se utiliza para la función de suplantación de identidad",
+ "Leave off if you use quotes manually for speech.": "Omite esto si usas comillas manualmente para diálogo.",
+ "Main prompt": "Indicaciónes principales",
+ "The main prompt used to set the model behavior": "Las indicaciónes principales utilizadas para establecer el comportamiento del modelo",
+ "NSFW prompt": "Indicaciónes NSFW",
+ "Prompt that is used when the NSFW toggle is on": "Indicaciónes que se utilizan cuando el interruptor NSFW está activado",
+ "Jailbreak prompt": "Indicaciónes de jailbreak",
+ "Prompt that is used when the Jailbreak toggle is on": "Indicaciónes que se utilizan cuando el interruptor Jailbreak está activado",
+ "Impersonation prompt": "Indicaciónes de Suplantación",
+ "Prompt that is used for Impersonation function": "Indicación que se utiliza para la función de Suplantación",
"Logit Bias": "Sesgo de logit",
"Helps to ban or reenforce the usage of certain words": "Ayuda a prohibir o reforzar el uso de ciertas palabras",
"View / Edit bias preset": "Ver / Editar preajuste de sesgo",
@@ -136,17 +136,17 @@
"Message to send when auto-jailbreak is on.": "Mensaje para enviar cuando el auto-jailbreak está activado.",
"Jailbreak confirmation reply": "Respuesta de confirmación de jailbreak",
"Bot must send this back to confirm jailbreak": "El bot debe enviar esto de vuelta para confirmar el jailbreak",
- "Character Note": "Nota del personaje",
+ "Character Note": "Nota de personaje",
"Influences bot behavior in its responses": "Influye en el comportamiento del bot en sus respuestas",
"Connect": "Conectar",
"Test Message": "Mensaje de prueba",
"API": "API",
"KoboldAI": "KoboldAI",
- "Use Horde": "Usar Horda",
+ "Use Horde": "Usar Horde",
"API url": "URL de la API",
"PygmalionAI/aphrodite-engine": "PygmalionAI/aphrodite-engine (Modo envolvente para API de OpenAI)",
- "Register a Horde account for faster queue times": "Registra una cuenta de la Horda para tiempos de espera más rápidos",
- "Learn how to contribute your idle GPU cycles to the Hord": "Aprende cómo contribuir con tus ciclos de GPU inactivos a la Horda",
+ "Register a Horde account for faster queue times": "Registra una cuenta de Horde para tiempos de espera más rápidos",
+ "Learn how to contribute your idle GPU cycles to the Hord": "Aprende cómo contribuir con tus ciclos de GPU inactivos a Horde",
"Adjust context size to worker capabilities": "Ajusta el tamaño del contexto a las capacidades del trabajador",
"Adjust response length to worker capabilities": "Ajusta la longitud de la respuesta a las capacidades del trabajador",
"API key": "Clave API",
@@ -168,7 +168,7 @@
"For privacy reasons": "Por razones de privacidad, la clave API se oculta después de actualizar la página",
"Models": "Modelos",
"Hold Control / Command key to select multiple models.": "Mantén presionada la tecla Control / Comando para seleccionar varios modelos.",
- "Horde models not loaded": "Modelos de la Horda no cargados",
+ "Horde models not loaded": "Modelos de Horde no cargados",
"Not connected...": "No conectado...",
"Novel API key": "Clave API de Novel",
"Follow": "Seguir",
@@ -199,7 +199,7 @@
"OpenAI Model": "Modelo de OpenAI",
"Claude API Key": "Clave API de Claude",
"Get your key from": "Obtén tu clave desde",
- "Anthropic's developer console": "consola de desarrolladores de Anthropic",
+ "Anthropic's developer console": "la consola de desarrolladores de Anthropic",
"Slack and Poe cookies will not work here, do not bother trying.": "Las cookies de Slack y Poe no funcionarán aquí, no te molestes en intentarlo.",
"Claude Model": "Modelo de Claude",
"Scale API Key": "Clave API de Scale",
@@ -214,72 +214,72 @@
"OpenRouter API Key": "Clave API de OpenRouter",
"Connect to the API": "Conectar a la API",
"OpenRouter Model": "Modelo de OpenRouter",
- "View Remaining Credits": "Ver créditos restantes",
+ "View Remaining Credits": "Ver Créditos Restantes",
"Click Authorize below or get the key from": "Haz clic en Autorizar a continuación o obtén la clave desde",
"Auto-connect to Last Server": "Conexión automática al último servidor",
"View hidden API keys": "Ver claves API ocultas",
"Advanced Formatting": "Formato avanzado",
- "Context Template": "Plantilla de contexto",
+ "Context Template": "Plantilla de Contexto",
"AutoFormat Overrides": "Anulaciones de AutoFormato",
"Disable description formatting": "Desactivar formato de descripción",
"Disable personality formatting": "Desactivar formato de personalidad",
"Disable scenario formatting": "Desactivar formato de escenario",
"Disable example chats formatting": "Desactivar formato de chats de ejemplo",
"Disable chat start formatting": "Desactivar formato de inicio de chat",
- "Custom Chat Separator": "Separador de chat personalizado",
- "Replace Macro in Custom Stopping Strings": "Reemplazar macro en cadenas de detención personalizadas",
- "Strip Example Messages from Prompt": "Eliminar mensajes de ejemplo de la solicitud",
+ "Custom Chat Separator": "Separador de Chat Personalizado",
+ "Replace Macro in Custom Stopping Strings": "Reemplazar macro en Cadenas de Detención Personalizadas",
+ "Strip Example Messages from Prompt": "Eliminar Mensajes de Ejemplo de las Indicaciones",
"Story String": "Cadena de historia",
"Example Separator": "Separador de ejemplo",
"Chat Start": "Inicio de chat",
"Activation Regex": "Regex de activación",
- "Instruct Mode": "Modo de instrucción",
- "Wrap Sequences with Newline": "Envolver secuencias con nueva línea",
- "Include Names": "Incluir nombres",
- "Force for Groups and Personas": "Forzar para grupos y personas",
- "System Prompt": "Solicitud del sistema",
- "Instruct Mode Sequences": "Secuencias en modo de instrucción",
- "Input Sequence": "Secuencia de entrada",
- "Output Sequence": "Secuencia de salida",
- "First Output Sequence": "Primera secuencia de salida",
- "Last Output Sequence": "Última secuencia de salida",
- "System Sequence Prefix": "Prefijo de secuencia del sistema",
- "System Sequence Suffix": "Sufijo de secuencia del sistema",
- "Stop Sequence": "Secuencia de parada",
- "Context Formatting": "Formato de contexto",
- "(Saved to Context Template)": "(Guardado en plantilla de contexto)",
+ "Instruct Mode": "Modo Instrucción",
+ "Wrap Sequences with Newline": "Envolver Secuencias con Nueva línea",
+ "Include Names": "Incluir Nombres",
+ "Force for Groups and Personas": "Forzar para Grupos y Personas",
+ "System Prompt": "Indicaciones del Sistema",
+ "Instruct Mode Sequences": "Secuencias en Modo Instrucción",
+ "Input Sequence": "Secuencia de Entrada",
+ "Output Sequence": "Secuencia de Salida",
+ "First Output Sequence": "Primera Secuencia de Salida",
+ "Last Output Sequence": "Última Secuencia de Salida",
+ "System Sequence Prefix": "Prefijo de Secuencia del Sistema",
+ "System Sequence Suffix": "Sufijo de Secuencia del Sistema",
+ "Stop Sequence": "Secuencia de Parada",
+ "Context Formatting": "Formato de Contexto",
+ "(Saved to Context Template)": "(Guardado en Plantilla de Contexto)",
"Tokenizer": "Tokenizador",
"None / Estimated": "Ninguno / Estimado",
"Sentencepiece (LLaMA)": "Sentencepiece (LLaMA)",
"Token Padding": "Relleno de token",
"Save preset as": "Guardar preajuste como",
- "Always add character's name to prompt": "Siempre agregar el nombre del personaje a la solicitud",
- "Use as Stop Strings": "Usar como cadenas de parada",
- "Bind to Context": "Vincular al contexto",
+ "Always add character's name to prompt": "Siempre agregar el nombre del personaje a las indicaciones",
+ "Use as Stop Strings": "Usar como Cadenas de Parada",
+ "Bind to Context": "Vincular al Contexto",
"Generate only one line per request": "Generar solo una línea por solicitud",
- "Misc. Settings": "Configuraciones misceláneas",
+ "Misc. Settings": "Configuraciones Misceláneas",
"Auto-Continue": "Autocontinuar",
- "Collapse Consecutive Newlines": "Colapsar nuevas líneas consecutivas",
- "Allow for Chat Completion APIs": "Permitir APIs de finalización de chat",
+ "Collapse Consecutive Newlines": "Colapsar Nuevas líneas Consecutivas",
+ "Allow for Chat Completion APIs": "Permitir para APIs de Completado de Chat",
"Target length (tokens)": "Longitud objetivo (tokens)",
- "Keep Example Messages in Prompt": "Mantener mensajes de ejemplo en la solicitud",
- "Remove Empty New Lines from Output": "Eliminar nuevas líneas vacías de la salida",
+ "Keep Example Messages in Prompt": "Mantener Mensajes de Ejemplo en las indicaciones",
+ "Remove Empty New Lines from Output": "Eliminar Nuevas líneas vacías de la salida",
"Disabled for all models": "Desactivado para todos los modelos",
"Automatic (based on model name)": "Automático (basado en el nombre del modelo)",
"Enabled for all models": "Activado para todos los modelos",
- "Anchors Order": "Orden de anclajes",
+ "Anchors Order": "Orden de Anclajes",
"Character then Style": "Personaje luego estilo",
"Style then Character": "Estilo luego personaje",
"Character Anchor": "Anclaje de personaje",
"Style Anchor": "Anclaje de estilo",
- "World Info": "Información del mundo",
+ "World Info": "Información de Mundo (WI)",
"Scan Depth": "Profundidad de escaneo",
"Case-Sensitive": "Sensible a mayúsculas y minúsculas",
"Match Whole Words": "Coincidir con palabras completas",
"Use global setting": "Usar configuración global",
"Yes": "Sí",
"No": "No",
- "Context %": "Contexto %",
+ "Context %": "% de Contexto",
"Budget Cap": "Límite de presupuesto",
"(0 = disabled)": "(0 = desactivado)",
"depth": "profundidad",
@@ -289,29 +289,29 @@
"None": "Ninguno",
"User Settings": "Configuraciones de usuario",
"UI Mode": "Modo de IU",
- "UI Language": "Idioma",
+ "UI Language": "Idioma de la UI",
"MovingUI Preset": "Preajuste de MovingUI",
"UI Customization": "Personalización de la IU",
- "Avatar Style": "Estilo de avatar",
+ "Avatar Style": "Estilo de Avatar",
"Circle": "Círculo",
"Rectangle": "Rectángulo",
"Square": "Cuadrado",
- "Chat Style": "Estilo de chat",
+ "Chat Style": "Estilo de Chat",
"Default": "Predeterminado",
"Bubbles": "Burbujas",
"No Blur Effect": "Sin efecto de desenfoque",
"No Text Shadows": "Sin sombras de texto",
"Waifu Mode": "Modo Waifu",
"Message Timer": "Temporizador de mensajes",
- "Model Icon": "Ícono del modelo",
+ "Model Icon": "Ícono del Modelo",
"# of messages (0 = disabled)": "# de mensajes (0 = desactivado)",
- "Advanced Character Search": "Búsqueda avanzada de personajes",
+ "Advanced Character Search": "Búsqueda Avanzada de Personajes",
"Allow {{char}}: in bot messages": "Permitir {{char}}: en mensajes de bot",
"Allow {{user}}: in bot messages": "Permitir {{user}}: en mensajes de bot",
"Show tags in responses": "Mostrar etiquetas en respuestas",
"Aux List Field": "Campo de lista auxiliar",
- "Lorebook Import Dialog": "Diálogo de importación de libro de historia",
- "MUI Preset": "Preset MUI",
+ "Lorebook Import Dialog": "Diálogo de Importación de Libro de Historia",
+ "MUI Preset": "Preajuste MUI",
"If set in the advanced character definitions, this field will be displayed in the characters list.": "Si se establece en las definiciones avanzadas de personajes, este campo se mostrará en la lista de personajes.",
"Relaxed API URLS": "URLS de API relajadas",
"Custom CSS": "CSS personalizado",
@@ -322,7 +322,7 @@
"Relax message trim in Groups": "Relajar recorte de mensajes en Grupos",
"Characters Hotswap": "Cambio rápido de personajes",
"Request token probabilities": "Solicitar probabilidades de tokens",
- "Movable UI Panels": "Paneles de UI móviles",
+ "Movable UI Panels": "Paneles de UI Móviles",
"Reset Panels": "Restablecer paneles",
"UI Colors": "Colores de UI",
"Main Text": "Texto principal",
@@ -331,44 +331,44 @@
"Shadow Color": "Color de sombra",
"FastUI BG": "Fondo de FastUI",
"Blur Tint": "Tinte de desenfoque",
- "Font Scale": "Escala de fuente",
+ "Font Scale": "Tamaño de fuente",
"Blur Strength": "Fuerza de desenfoque",
"Text Shadow Width": "Ancho de sombra de texto",
- "UI Theme Preset": "Preset de tema de UI",
+ "UI Theme Preset": "Preajuste de tema de UI",
"Power User Options": "Opciones avanzadas de usuario",
"Swipes": "Deslizamientos",
"Miscellaneous": "Varios",
"Theme Toggles": "Conmutadores de tema",
- "Background Sound Only": "Solo sonido de fondo",
+ "Background Sound Only": "Solo Sonido de Fondo",
"Auto-load Last Chat": "Cargar automáticamente el último chat",
- "Auto-save Message Edits": "Guardar automáticamente las ediciones de mensajes",
+ "Auto-save Message Edits": "Guardar automáticamente las Ediciones de Mensajes",
"Auto-fix Markdown": "Auto-corregir Markdown",
"Allow : in bot messages": "Permitir : en mensajes de bot",
- "Auto-scroll Chat": "Chat de desplazamiento automático",
+ "Auto-scroll Chat": "Desplazamiento de Chat Automático",
"Render Formulas": "Renderizar fórmulas",
"Send on Enter": "Enviar al presionar Enter",
"Always disabled": "Siempre desactivado",
"Automatic (desktop)": "Automático (escritorio)",
"Always enabled": "Siempre activado",
"Debug Menu": "Menú de depuración",
- "Restore User Input": "Restaurar entrada de usuario",
+ "Restore User Input": "Restaurar Entrada de Usuario",
"Character Handling": "Manipulación de personajes",
"Example Messages Behavior": "Comportamiento de mensajes de ejemplo",
- "Gradual push-out": "Empuje gradual",
- "Chat/Message Handling": "Manipulación de chat/mensaje",
+ "Gradual push-out": "Expulsión gradual",
+ "Chat/Message Handling": "Manipulación de Chat/Mensaje",
"Always include examples": "Siempre incluir ejemplos",
"Never include examples": "Nunca incluir ejemplos",
- "Forbid External Media": "Prohibir medios externos",
- "System Backgrounds": "Fondos del sistema",
+ "Forbid External Media": "Prohibir Medios Externos",
+ "System Backgrounds": "Fondos del Sistema",
"Name": "Nombre",
"Your Avatar": "Tu avatar",
- "Extensions API:": "API de extensiones:",
+ "Extensions API:": "API de Extensiones:",
"SillyTavern-extras": "Extras de SillyTavern",
"Auto-connect": "Conexión automática",
- "Active extensions": "Extensiones activas",
- "Extension settings": "Configuraciones de extensión",
+ "Active extensions": "Extensiones Activas",
+ "Extension settings": "Configuraciones de Extensión",
"Description": "Descripción",
- "First message": "Primer mensaje",
+ "First message": "Primer Mensaje",
"Group Controls": "Controles de grupo",
"Group reply strategy": "Estrategia de respuesta de grupo",
"Natural order": "Orden natural",
@@ -387,19 +387,19 @@
"Circumstances and context of the dialogue": "Circunstancias y contexto del diálogo",
"Talkativeness": "Habladuría",
"How often the chracter speaks in": "Con qué frecuencia habla el personaje en",
- "group chats!": "chats de grupo!",
+ "group chats!": "chats grupales!",
"Shy": "Tímido",
"Normal": "Normal",
- "Chatty": "Charlatán",
+ "Chatty": "Parlanchín",
"Examples of dialogue": "Ejemplos de diálogo",
"Forms a personality more clearly": "Forma una personalidad más clara",
"Save": "Guardar",
- "World Info Editor": "Editor de información del mundo",
+ "World Info Editor": "Editor de Información de Mundo (WI)",
"New summary": "Nuevo resumen",
"Export": "Exportar",
"Delete World": "Eliminar mundo",
"Chat History": "Historial de chat",
- "Group Chat Scenario Override": "Anulación de escenario de chat grupal",
+ "Group Chat Scenario Override": "Anulación de escenario de Chat Grupal",
"All group members will use the following scenario text instead of what is specified in their character cards.": "Todos los miembros del grupo usarán el siguiente texto de escenario en lugar de lo que se especifica en sus tarjetas de personaje.",
"Keywords": "Palabras clave",
"Separate with commas": "Separar con comas",
@@ -424,60 +424,60 @@
"Start new chat": "Iniciar nuevo chat",
"View past chats": "Ver chats anteriores",
"Delete messages": "Eliminar mensajes",
- "Impersonate": "Hacerse pasar por",
+ "Impersonate": "Suplantar",
"Regenerate": "Regenerar",
"PNG": "PNG",
"JSON": "JSON",
- "presets": "ajustes preestablecidos",
+ "presets": "preajustes",
"Message Sound": "Sonido de mensaje",
"Author's Note": "Nota del autor",
"Send Jailbreak": "Enviar Jailbreak",
"Replace empty message": "Reemplazar mensaje vacío",
"Send this text instead of nothing when the text box is empty.": "Enviar este texto en lugar de nada cuando el cuadro de texto está vacío.",
- "NSFW avoidance prompt": "Indicación de evitación de NSFW",
- "Prompt that is used when the NSFW toggle is off": "Indicación que se usa cuando el interruptor de NSFW está apagado",
- "Advanced prompt bits": "Bits de indicación avanzada",
- "World Info format": "Formato de información del mundo",
- "Wraps activated World Info entries before inserting into the prompt. Use {0} to mark a place where the content is inserted.": "Envuelve las entradas de información del mundo activadas antes de insertarlas en la indicación. Use {0} para marcar un lugar donde se inserta el contenido.",
+ "NSFW avoidance prompt": "Indicaciones de evitación de NSFW",
+ "Prompt that is used when the NSFW toggle is off": "Indicaciones que se usa cuando el interruptor de NSFW está apagado",
+ "Advanced prompt bits": "Bits de Indicaciones Avanzadas",
+ "World Info format": "Formato de Información de Mundo (WI)",
+ "Wraps activated World Info entries before inserting into the prompt. Use {0} to mark a place where the content is inserted.": "Envuelve las entradas de Información de Mundo (WI) activadas antes de insertarlas en las indicaciones. Use {0} para marcar un lugar donde se inserta el contenido.",
"Unrestricted maximum value for the context slider": "Valor máximo sin restricciones para el control deslizante de contexto",
- "Chat Completion Source": "Fuente de completado de chat",
- "Avoid sending sensitive information to the Horde.": "Evite enviar información sensible a la Horda.",
+ "Chat Completion Source": "Fuente de Completado de Chat",
+ "Avoid sending sensitive information to the Horde.": "Evite enviar información sensible a Horde.",
"Review the Privacy statement": "Revise la declaración de privacidad",
- "Learn how to contribute your idel GPU cycles to the Horde": "Aprende cómo contribuir con tus ciclos de GPU inactivos a la Horda",
+ "Learn how to contribute your idel GPU cycles to the Horde": "Aprende cómo contribuir con tus ciclos de GPU inactivos a Horde",
"Trusted workers only": "Solo trabajadores de confianza",
"For privacy reasons, your API key will be hidden after you reload the page.": "Por razones de privacidad, su clave de API se ocultará después de que vuelva a cargar la página.",
- "-- Horde models not loaded --": "-- Modelos de la Horda no cargados --",
+ "-- Horde models not loaded --": "-- Modelos de Horde no cargados --",
"Example: http://127.0.0.1:5000/api ": "Ejemplo: http://127.0.0.1:5000/api",
"No connection...": "Sin conexión...",
- "Get your NovelAI API Key": "Obtenga su clave de API de NovelAI",
- "KoboldAI Horde": "Horda de KoboldAI",
+ "Get your NovelAI API Key": "Obtenga su Clave de API de NovelAI",
+ "KoboldAI Horde": "Horde de KoboldAI",
"Text Gen WebUI (ooba)": "Text Gen WebUI (ooba)",
"NovelAI": "NovelAI",
- "Chat Completion (OpenAI, Claude, Window/OpenRouter, Scale)": "Completado de chat (OpenAI, Claude, Window/OpenRouter, Scale)",
+ "Chat Completion (OpenAI, Claude, Window/OpenRouter, Scale)": "Completado de Chat (OpenAI, Claude, Window/OpenRouter, Scale)",
"OpenAI API key": "Clave de API de OpenAI",
"Trim spaces": "Recortar espacios",
- "Trim Incomplete Sentences": "Recortar oraciones incompletas",
- "Include Newline": "Incluir nueva línea",
+ "Trim Incomplete Sentences": "Recortar Oraciones Incompletas",
+ "Include Newline": "Incluir Nueva línea",
"Non-markdown strings": "Cadenas no Markdown",
- "Replace Macro in Sequences": "Reemplazar macro en secuencias",
- "Presets": "Ajustes preestablecidos",
+ "Replace Macro in Sequences": "Reemplazar Macro en Secuencias",
+ "Presets": "Preajustes",
"Separator": "Separador",
- "Start Reply With": "Iniciar respuesta con",
+ "Start Reply With": "Iniciar Respuesta con",
"Show reply prefix in chat": "Mostrar prefijo de respuesta en el chat",
- "Worlds/Lorebooks": "Mundos/Libros de historia",
- "Active World(s)": "Mundo(s) activo(s)",
+ "Worlds/Lorebooks": "Mundos/Libros de Historia",
+ "Active World(s)": "Mundo(s) Activo(s)",
"Activation Settings": "Configuraciones de activación",
- "Character Lore Insertion Strategy": "Estrategia de inserción de lore de personajes",
+ "Character Lore Insertion Strategy": "Estrategia de Inserción de Historia de Dersonajes",
"Sorted Evenly": "Ordenado uniformemente",
- "Active World(s) for all chats": "Mundo(s) activo(s) para todos los chats",
- "-- World Info not found --": "-- Información del mundo no encontrada --",
+ "Active World(s) for all chats": "Mundo(s) Activo(s) para todos los chats",
+ "-- World Info not found --": "-- Información de Mundo (WI) no encontrada --",
"--- Pick to Edit ---": "--- Seleccionar para editar ---",
"or": "o",
"New": "Nuevo",
"Priority": "Prioridad",
"Custom": "Personalizado",
- "Title A-Z": "Título de la A a la Z",
- "Title Z-A": "Título de la Z a la A",
+ "Title A-Z": "Título de A a Z",
+ "Title Z-A": "Título de Z a A",
"Tokens ↗": "Tokens ↗",
"Tokens ↘": "Tokens ↘",
"Depth ↗": "Profundidad ↗",
@@ -486,26 +486,26 @@
"Order ↘": "Orden ↘",
"UID ↗": "UID ↗",
"UID ↘": "UID ↘",
- "Trigger% ↗": "Desencadenar% ↗",
- "Trigger% ↘": "Desencadenar% ↘",
+ "Trigger% ↗": "Activador% ↗",
+ "Trigger% ↘": "Activador% ↘",
"Order:": "Orden:",
"Depth:": "Profundidad:",
- "Character Lore First": "Lore del personaje primero",
- "Global Lore First": "Lore global primero",
- "Recursive Scan": "Exploración recursiva",
+ "Character Lore First": "Historia de Personaje Primero",
+ "Global Lore First": "Historia Global Primero",
+ "Recursive Scan": "Escaneo Recursiva",
"Case Sensitive": "Sensible a mayúsculas y minúsculas",
"Match whole words": "Coincidir palabras completas",
- "Alert On Overflow": "Alerta en desbordamiento",
- "World/Lore Editor": "Editor de mundo/Lore",
+ "Alert On Overflow": "Alerta en Desbordamiento",
+ "World/Lore Editor": "Editor de Mundo/Historia",
"--- None ---": "--- Ninguno ---",
"Comma separated (ignored if empty)": "Separado por comas (ignorado si está vacío)",
"Use Probability": "Usar Probabilidad",
"Exclude from recursion": "Excluir de la recursión",
"Entry Title/Memo": "Título/Memo",
"Position:": "Posición:",
- "T_Position": "↑Char: antes de definiciones de caracteres\n↓Char: después de definiciones de caracteres\n↑AN: antes de notas del autor\n↓AN: después de notas del autor\n@D: en profundidad",
- "Before Char Defs": "Antes de Definiciones de Caracteres",
- "After Char Defs": "Después de Definiciones de Caracteres",
+ "T_Position": "↑Char: antes de definiciones de personajes\n↓Char: después de definiciones de personajes\n↑AN: antes de notas del autor\n↓AN: después de notas del autor\n@D: en profundidad",
+ "Before Char Defs": "Antes de Def. de Personaje",
+ "After Char Defs": "Después de Def. de Personaje",
"Before AN": "Antes de AN",
"After AN": "Después de AN",
"at Depth": "en Profundidad",
@@ -521,7 +521,7 @@
"Chat Background": "Fondo de Chat",
"UI Background": "Fondo de IU",
"Mad Lab Mode": "Modo Laboratorio Loco",
- "Show Message Token Count": "Mostrar Conteo de Tokens de Mensaje",
+ "Show Message Token Count": "Mostrar Conteo de Tokens en Mensaje",
"Compact Input Area (Mobile)": "Área de Entrada Compacta (Móvil)",
"Zen Sliders": "Deslizadores Zen",
"UI Border": "Borde de IU",
@@ -534,9 +534,9 @@
"Streaming FPS": "FPS de Transmisión",
"Gestures": "Gestos",
"Message IDs": "IDs de Mensaje",
- "Prefer Character Card Prompt": "Preferir Tarjeta de Personaje con Indicación",
- "Prefer Character Card Jailbreak": "Preferir Jailbreak de Tarjeta de Personaje",
- "Press Send to continue": "Presione Enviar para continuar",
+ "Prefer Character Card Prompt": "Preferir Indicaciones en Tarjeta de Personaje",
+ "Prefer Character Card Jailbreak": "Preferir Jailbreak en Tarjeta de Personaje",
+ "Press Send to continue": "Presionar Enviar para continuar",
"Quick 'Continue' button": "Botón 'Continuar' Rápido",
"Log prompts to console": "Registrar indicaciones en la consola",
"Never resize avatars": "Nunca redimensionar avatares",
@@ -569,11 +569,11 @@
"Show the number of tokens in each message in the chat log": "Mostrar el número de tokens en cada mensaje en el registro de chat",
"Single-row message input area. Mobile only, no effect on PC": "Área de entrada de mensaje de una sola fila. Solo móvil, sin efecto en PC",
"In the Character Management panel, show quick selection buttons for favorited characters": "En el panel de Gestión de Personajes, mostrar botones de selección rápida para personajes favoritos",
- "Show tagged character folders in the character list": "Mostrar carpetas de personajes etiquetadas en la lista de personajes",
+ "Show tagged character folders in the character list": "Mostrar carpetas de personajes etiquetados en la lista de personajes",
"Play a sound when a message generation finishes": "Reproducir un sonido cuando finaliza la generación de un mensaje",
"Only play a sound when ST's browser tab is unfocused": "Solo reproducir un sonido cuando la pestaña del navegador de ST no está enfocada",
"Reduce the formatting requirements on API URLs": "Reducir los requisitos de formato en las URL de API",
- "Ask to import the World Info/Lorebook for every new character with embedded lorebook. If unchecked, a brief message will be shown instead": "Pedir importar la Información Mundial/Libro de Leyendas para cada nuevo personaje con un lorebook incrustado. Si no está marcado, se mostrará un mensaje breve en su lugar",
+ "Ask to import the World Info/Lorebook for every new character with embedded lorebook. If unchecked, a brief message will be shown instead": "Pedir importar Información de Mundo (WI)/Libro de Historia para cada nuevo personaje con un Libro de Historia incrustado. Si no está marcado, se mostrará un mensaje breve en su lugar",
"Restore unsaved user input on page refresh": "Restaurar la entrada de usuario no guardada al actualizar la página",
"Allow repositioning certain UI elements by dragging them. PC only, no effect on mobile": "Permitir reposicionar ciertos elementos de IU arrastrándolos. Solo PC, sin efecto en móviles",
"MovingUI preset. Predefined/saved draggable positions": "Preconfiguración MovingUI. Posiciones arrastrables predefinidas/guardadas",
@@ -581,7 +581,7 @@
"Apply a custom CSS style to all of the ST GUI": "Aplicar un estilo CSS personalizado a toda la GUI de ST",
"Use fuzzy matching, and search characters in the list by all data fields, not just by a name substring": "Usar coincidencia difusa y buscar personajes en la lista por todos los campos de datos, no solo por una subcadena de nombre",
"If checked and the character card contains a prompt override (System Prompt), use that instead": "Si está marcado y la tarjeta de personaje contiene una anulación de indicación (Indicación del sistema), usar eso en su lugar",
- "If checked and the character card contains a jailbreak override (Post History Instruction), use that instead": "Si está marcado y la tarjeta de personaje contiene una anulación de jailbreak (Instrucción de Historial de Publicaciones), usar eso en su lugar",
+ "If checked and the character card contains a jailbreak override (Post History Instruction), use that instead": "Si está marcado y la tarjeta de personaje contiene una anulación de jailbreak (Instrucciones Post Historial), usar eso en su lugar",
"Avoid cropping and resizing imported character images. When off, crop/resize to 400x600": "Evitar recortar y redimensionar imágenes de personajes importadas. Cuando esté desactivado, recortar/redimensionar a 400x600",
"Show actual file names on the disk, in the characters list display only": "Mostrar nombres de archivo reales en el disco, solo en la visualización de la lista de personajes",
"Prompt to import embedded card tags on character import. Otherwise embedded tags are ignored": "Solicitar importar etiquetas de tarjeta incrustadas al importar un personaje. De lo contrario, las etiquetas incrustadas se ignoran",
@@ -590,7 +590,7 @@
"Show arrow buttons on the last in-chat message to generate alternative AI responses. Both PC and mobile": "Mostrar botones de flecha en el último mensaje del chat para generar respuestas alternativas de la IA. Tanto PC como móvil",
"Allow using swiping gestures on the last in-chat message to trigger swipe generation. Mobile only, no effect on PC": "Permitir el uso de gestos de deslizamiento en el último mensaje del chat para activar la generación de deslizamiento. Solo móvil, sin efecto en PC",
"Save edits to messages without confirmation as you type": "Guardar ediciones en mensajes sin confirmación mientras escribe",
- "Render LaTeX and AsciiMath equation notation in chat messages. Powered by KaTeX": "Renderizar notación de ecuaciones LaTeX y AsciiMath en mensajes de chat. Alimentado por KaTeX",
+ "Render LaTeX and AsciiMath equation notation in chat messages. Powered by KaTeX": "Renderizar notación de ecuaciones LaTeX y AsciiMath en mensajes de chat. Impulsado por KaTeX",
"Disalow embedded media from other domains in chat messages": "No permitir medios incrustados de otros dominios en mensajes de chat",
"Skip encoding and characters in message text, allowing a subset of HTML markup as well as Markdown": "Omitir la codificación de los caracteres en el texto del mensaje, permitiendo un subconjunto de marcado HTML, así como Markdown",
"Allow AI messages in groups to contain lines spoken by other group members": "Permitir que los mensajes de IA en grupos contengan líneas habladas por otros miembros del grupo",
@@ -599,7 +599,7 @@
"Enable the auto-swipe function. Settings in this section only have an effect when auto-swipe is enabled": "Habilitar la función de deslizamiento automático. La configuración en esta sección solo tiene efecto cuando el deslizamiento automático está habilitado",
"If the generated message is shorter than this, trigger an auto-swipe": "Si el mensaje generado es más corto que esto, activar un deslizamiento automático",
"Reload and redraw the currently open chat": "Recargar y volver a dibujar el chat abierto actualmente",
- "Auto-Expand Message Actions": "Expansión Automática de Acciones de Mensaje",
+ "Auto-Expand Message Actions": "Expandir Automáticamente de Acciones de Mensaje",
"Not Connected": "No Conectado",
"Persona Management": "Gestión de Personas",
"Persona Description": "Descripción de Persona",
@@ -609,16 +609,16 @@
"In Story String / Chat Completion: Before Character Card": "En la Cadena de Historia / Completado de Chat: Antes de la Tarjeta de Personaje",
"In Story String / Chat Completion: After Character Card": "En la Cadena de Historia / Completado de Chat: Después de la Tarjeta de Personaje",
"In Story String / Prompt Manager": "En la Cadena de Historia / Administrador de Indicaciones",
- "Top of Author's Note": "Parte Superior de la Nota del Autor",
- "Bottom of Author's Note": "Parte Inferior de la Nota del Autor",
+ "Top of Author's Note": "Parte Superior de la Nota de Autor",
+ "Bottom of Author's Note": "Parte Inferior de la Nota de Autor",
"How do I use this?": "¿Cómo uso esto?",
"More...": "Más...",
- "Link to World Info": "Enlace a Información del Mundo",
- "Import Card Lore": "Importar Lore de Tarjeta",
+ "Link to World Info": "Enlazar a Información de Mundo (WI)",
+ "Import Card Lore": "Importar Historia de Tarjeta",
"Scenario Override": "Anulación de Escenario",
"Rename": "Renombrar",
"Character Description": "Descripción del Personaje",
- "Creator's Notes": "Notas del Creador",
+ "Creator's Notes": "Nota del Creador",
"A-Z": "A-Z",
"Z-A": "Z-A",
"Newest": "Más Reciente",
@@ -628,11 +628,11 @@
"Most chats": "Más Chats",
"Least chats": "Menos Chats",
"Back": "Volver",
- "Prompt Overrides (For OpenAI/Claude/Scale APIs, Window/OpenRouter, and Instruct mode)": "Sustituciones de Indicaciones (Para APIs de OpenAI/Claude/Scale, Ventana/OpenRouter y Modo Instrucción)",
- "Insert {{original}} into either box to include the respective default prompt from system settings.": "Inserte {{original}} en cualquiera de las casillas para incluir la indicación predeterminada respectiva de la configuración del sistema.",
- "Main Prompt": "Indicación Principal",
+ "Prompt Overrides (For OpenAI/Claude/Scale APIs, Window/OpenRouter, and Instruct mode)": "Anulaciones de Indicaciones (Para APIs de OpenAI/Claude/Scale, Window/OpenRouter y Modo Instrucción)",
+ "Insert {{original}} into either box to include the respective default prompt from system settings.": "Inserte {{original}} en cualquiera de las casillas para incluir las indicaciones predeterminadas respectivas de la configuración del sistema.",
+ "Main Prompt": "Indicaciones Principales",
"Jailbreak": "Jailbreak",
- "Creator's Metadata (Not sent with the AI prompt)": "Metadatos del Creador (No enviados con la indicación de la IA)",
+ "Creator's Metadata (Not sent with the AI prompt)": "Metadatos del Creador (No enviados con las indicaciones de la IA)",
"Everything here is optional": "Todo aquí es opcional",
"Created by": "Creado por",
"Character Version": "Versión del Personaje",
@@ -641,11 +641,11 @@
"Important to set the character's writing style.": "Importante para establecer el estilo de escritura del personaje.",
"ATTENTION!": "¡ATENCIÓN!",
"Samplers Order": "Orden de Muestreadores",
- "Samplers will be applied in a top-down order. Use with caution.": "Los Muestreadores se aplicarán en un orden de arriba hacia abajo. Úselo con precaución.",
+ "Samplers will be applied in a top-down order. Use with caution.": "Los Muestreadores se aplicarán en un orden de arriba hacia abajo. Úsalo con precaución.",
"Repetition Penalty": "Penalización por Repetición",
"Rep. Pen. Range.": "Rango de Pen. Rep.",
- "Rep. Pen. Freq.": "Frec. Pen. Rep.",
- "Rep. Pen. Presence": "Presencia Pen. Rep.",
+ "Rep. Pen. Freq.": "Frec. de Pen. Rep.",
+ "Rep. Pen. Presence": "Presencia de Pen. Rep.",
"Enter it in the box below:": "Introdúzcalo en la casilla de abajo:",
"separate with commas w/o space between": "separe con comas sin espacio entre ellas",
"Document": "Documento",
@@ -658,7 +658,7 @@
"Editing:": "Editando:",
"AI reply prefix": "Prefijo de Respuesta de IA",
"Custom Stopping Strings": "Cadenas de Detención Personalizadas",
- "JSON serialized array of strings": "Arreglo serializado JSON de cadenas",
+ "JSON serialized array of strings": "Arreglo de cadenas serializado en JSON",
"words you dont want generated separated by comma ','": "palabras que no desea generar separadas por coma ','",
"Extensions URL": "URL de Extensiones",
"API Key": "Clave de API",
@@ -670,10 +670,10 @@
"Chat Name (Optional)": "Nombre del Chat (Opcional)",
"Filter...": "Filtrar...",
"Search...": "Buscar...",
- "Any contents here will replace the default Main Prompt used for this character. (v2 spec: system_prompt)": "Cualquier contenido aquí reemplazará la Indicación Principal predeterminada utilizada para este personaje. (v2 especificación: system_prompt)",
- "Any contents here will replace the default Jailbreak Prompt used for this character. (v2 spec: post_history_instructions)": "Cualquier contenido aquí reemplazará la Indicación de Desbloqueo predeterminada utilizada para este personaje. (v2 especificación: post_history_instructions)",
+ "Any contents here will replace the default Main Prompt used for this character. (v2 spec: system_prompt)": "Cualquier contenido aquí reemplazará las Indicaciones Principales predeterminada utilizada para este personaje. (especificación v2: system_prompt)",
+ "Any contents here will replace the default Jailbreak Prompt used for this character. (v2 spec: post_history_instructions)": "Cualquier contenido aquí reemplazará las Indicaciones de Jailbreak predeterminada utilizada para este personaje. (especificación v2: post_history_instructions)",
"(Botmaker's name / Contact Info)": "(Nombre del creador del bot / Información de contacto)",
- "(If you want to track character versions)": "(Si desea rastrear las versiones de los personajes)",
+ "(If you want to track character versions)": "(Si desea rastrear versiones de personajes)",
"(Describe the bot, give use tips, or list the chat models it has been tested on. This will be displayed in the character list.)": "(Describa el bot, dé consejos de uso o enumere los modelos de chat en los que se ha probado. Esto se mostrará en la lista de personajes.)",
"(Write a comma-separated list of tags)": "(Escriba una lista de etiquetas separadas por comas)",
"(A brief description of the personality)": "(Una breve descripción de la personalidad)",
@@ -694,19 +694,19 @@
"Not connected to API!": "¡No conectado a la API!",
"AI Response Configuration": "Configuración de Respuesta de IA",
"AI Configuration panel will stay open": "El panel de Configuración de IA permanecerá abierto",
- "Update current preset": "Actualizar la configuración actual",
- "Create new preset": "Crear nueva configuración",
- "Import preset": "Importar configuración",
- "Export preset": "Exportar configuración",
- "Delete the preset": "Eliminar la configuración",
- "Auto-select this preset for Instruct Mode": "Auto-seleccionar esta configuración para el Modo Instrucción",
- "Auto-select this preset on API connection": "Auto-seleccionar esta configuración en la conexión de la API",
+ "Update current preset": "Actualizar el preajuste actual",
+ "Create new preset": "Crear nuevo preajuste",
+ "Import preset": "Importar preajuste",
+ "Export preset": "Exportar preajuste",
+ "Delete the preset": "Eliminar el preajuste",
+ "Auto-select this preset for Instruct Mode": "Auto-seleccionar este preajuste para el Modo Instrucción",
+ "Auto-select this preset on API connection": "Auto-seleccionar este preajuste en la conexión de la API",
"NSFW block goes first in the resulting prompt": "El bloque NSFW va primero en la indicación resultante",
- "Enables OpenAI completion streaming": "Permite la transmisión de completado de OpenAI",
+ "Enables OpenAI completion streaming": "Permite streaming de completado de OpenAI",
"Wrap user messages in quotes before sending": "Envolver los mensajes de usuario entre comillas antes de enviarlos",
- "Restore default prompt": "Restaurar la indicación predeterminada",
- "New preset": "Nueva configuración",
- "Delete preset": "Eliminar configuración",
+ "Restore default prompt": "Restaurar las indicaciones predeterminada",
+ "New preset": "Nuevo preajuste",
+ "Delete preset": "Eliminar preajuste",
"Restore default jailbreak": "Restaurar el jailbreak predeterminado",
"Restore default reply": "Restaurar la respuesta predeterminada",
"Restore default note": "Restaurar la nota predeterminada",
@@ -715,21 +715,21 @@
"Clear your API key": "Borrar tu clave de API",
"Refresh models": "Actualizar modelos",
"Get your OpenRouter API token using OAuth flow. You will be redirected to openrouter.ai": "Obtenga su token de API de OpenRouter utilizando el flujo OAuth. Será redirigido a openrouter.ai",
- "Verifies your API connection by sending a short test message. Be aware that you'll be credited for it!": "Verifica su conexión de API enviando un breve mensaje de prueba. ¡Tenga en cuenta que se le acreditará por ello!",
+ "Verifies your API connection by sending a short test message. Be aware that you'll be credited for it!": "Verifica su conexión de API enviando un breve mensaje de prueba. ¡Tenga en cuenta que se le cobrará por ello!",
"Create New": "Crear Nuevo",
"Edit": "Editar",
"Locked = World Editor will stay open": "Bloqueado = El Editor de Mundo permanecerá abierto",
"Entries can activate other entries by mentioning their keywords": "Las entradas pueden activar otras entradas mencionando sus palabras clave",
- "Lookup for the entry keys in the context will respect the case": "La búsqueda de las claves de entrada en el contexto respetará el caso",
+ "Lookup for the entry keys in the context will respect the case": "La búsqueda de las claves de entrada en el contexto respetará mayúsculas y minúsculas",
"If the entry key consists of only one word, it would not be matched as part of other words": "Si la clave de entrada consiste en solo una palabra, no se emparejará como parte de otras palabras",
"Open all Entries": "Abrir Todas las Entradas",
"Close all Entries": "Cerrar Todas las Entradas",
"Create": "Crear",
- "Import World Info": "Importar Información del Mundo",
- "Export World Info": "Exportar Información del Mundo",
- "Delete World Info": "Eliminar Información del Mundo",
- "Duplicate World Info": "Duplicar Información del Mundo",
- "Rename World Info": "Renombrar Información del Mundo",
+ "Import World Info": "Importar Información de Mundo (WI)",
+ "Export World Info": "Exportar Información de Mundo (WI)",
+ "Delete World Info": "Eliminar Información de Mundo (WI)",
+ "Duplicate World Info": "Duplicar Información de Mundo (WI)",
+ "Rename World Info": "Renombrar Información de Mundo (WI)",
"Refresh": "Actualizar",
"Primary Keywords": "Palabras Clave Primarias",
"Logic": "Lógica",
@@ -752,13 +752,13 @@
"Character Management": "Gestión de Personajes",
"Locked = Character Management panel will stay open": "Bloqueado = El panel de Gestión de Personajes permanecerá abierto",
"Select/Create Characters": "Seleccionar/Crear Personajes",
- "Token counts may be inaccurate and provided just for reference.": "Las cuentas de tokens pueden ser inexactas y se proporcionan solo como referencia.",
+ "Token counts may be inaccurate and provided just for reference.": "El conteo de tokens pueden ser inexacto y se proporcionan solo como referencia.",
"Click to select a new avatar for this character": "Haga clic para seleccionar un nuevo avatar para este personaje",
"Example: [{{user}} is a 28-year-old Romanian cat girl.]": "Ejemplo: [{{user}} es una chica gata rumana de 28 años.]",
"Toggle grid view": "Alternar vista de cuadrícula",
"Add to Favorites": "Agregar a Favoritos",
"Advanced Definition": "Definición Avanzada",
- "Character Lore": "Trasfondo del personaje",
+ "Character Lore": "Historia (Trasfondo) del personaje",
"Export and Download": "Exportar y descargar",
"Duplicate Character": "Duplicar personaje",
"Create Character": "Crear personaje",
@@ -769,21 +769,21 @@
"Click to select a new avatar for this group": "Haz clic para seleccionar un nuevo avatar para este grupo",
"Set a group chat scenario": "Establecer un escenario de chat grupal",
"Restore collage avatar": "Restaurar avatar de collage",
- "Create New Character": "Crear nuevo personaje",
- "Import Character from File": "Importar personaje desde archivo",
+ "Create New Character": "Crear Nuevo Personaje",
+ "Import Character from File": "Importar Personaje desde Archivo",
"Import content from external URL": "Importar contenido desde URL externa",
- "Create New Chat Group": "Crear nuevo grupo de chat",
+ "Create New Chat Group": "Crear Nuevo Grupo de Chat",
"Characters sorting order": "Orden de clasificación de personajes",
"Add chat injection": "Agregar inyección de chat",
"Remove injection": "Eliminar inyección",
"Remove": "Eliminar",
- "Select a World Info file for": "Seleccionar un archivo de Información Mundial para",
- "Primary Lorebook": "Libro de historias primario",
- "A selected World Info will be bound to this character as its own Lorebook.": "Una Información Mundial seleccionada se vinculará a este personaje como su propio Libro de historias.",
+ "Select a World Info file for": "Seleccionar un archivo de Información de Mundo (WI) para",
+ "Primary Lorebook": "Libro de Historia primario",
+ "A selected World Info will be bound to this character as its own Lorebook.": "Una Información de Mundo (WI) seleccionada se vinculará a este personaje como su propio Libro de Historia.",
"When generating an AI reply, it will be combined with the entries from a global World Info selector.": "Al generar una respuesta de IA, se combinará con las entradas de un selector global de Información Mundial.",
- "Exporting a character would also export the selected Lorebook file embedded in the JSON data.": "Exportar un personaje también exportaría el archivo de Libro de historias seleccionado incrustado en los datos JSON.",
- "Additional Lorebooks": "Libros de historias adicionales",
- "Associate one or more auxillary Lorebooks with this character.": "Asociar uno o más Libros de historias auxiliares con este personaje.",
+ "Exporting a character would also export the selected Lorebook file embedded in the JSON data.": "Exportar un personaje también exportaría el archivo de Libro de Historia seleccionado incrustado en los datos JSON.",
+ "Additional Lorebooks": "Libros de Historia Adicionales",
+ "Associate one or more auxillary Lorebooks with this character.": "Asociar uno o más Libros de Historia auxiliares con este personaje.",
"NOTE: These choices are optional and won't be preserved on character export!": "NOTA: ¡Estas opciones son opcionales y no se conservarán al exportar el personaje!",
"Rename chat file": "Renombrar archivo de chat",
"Export JSONL chat file": "Exportar archivo de chat JSONL",
@@ -815,19 +815,19 @@
"Abort request": "Cancelar solicitud",
"Send a message": "Enviar un mensaje",
"Ask AI to write your message for you": "Pídele a la IA que escriba tu mensaje por ti",
- "Continue the last message": "Continuar con el último mensaje",
+ "Continue the last message": "Continuar el último mensaje",
"Bind user name to that avatar": "Vincular nombre de usuario a ese avatar",
- "Select this as default persona for the new chats.": "Seleccionar esto como persona predeterminada para los nuevos chats.",
+ "Select this as default persona for the new chats.": "Seleccionar esta persona como predeterminada para los nuevos chats.",
"Change persona image": "Cambiar imagen de persona",
"Delete persona": "Eliminar persona",
"Reduced Motion": "Movimiento reducido",
"Auto-select": "Auto-seleccionar",
"Automatically select a background based on the chat context": "Seleccionar automáticamente un fondo basado en el contexto del chat",
"Filter": "Filtro",
- "Exclude message from prompts": "Excluir mensaje de indicaciones",
- "Include message in prompts": "Incluir mensaje en indicaciones",
+ "Exclude message from prompts": "Excluir mensaje de las indicaciones",
+ "Include message in prompts": "Incluir mensaje en las indicaciones",
"Create checkpoint": "Crear punto de control",
- "Create Branch": "Crear rama",
+ "Create Branch": "Crear Rama",
"Embed file or image": "Insertar archivo o imagen",
"UI Theme": "Tema de interfaz de usuario",
"This message is invisible for the AI": "Este mensaje es invisible para la IA",
@@ -837,7 +837,7 @@
"Max Tokens Second": "Máximo de tokens por segundo",
"CFG": "CFG",
"No items": "Sin elementos",
- "Extras API key (optional)": "Clave API de extras (opcional)",
+ "Extras API key (optional)": "Clave API de Extras (opcional)",
"Notify on extension updates": "Notificar sobre actualizaciones de extensión",
"Toggle character grid view": "Alternar vista de cuadrícula de personajes",
"Bulk edit characters": "Editar personajes masivamente",
@@ -854,7 +854,7 @@
"Most tokens": "Más tokens",
"Least tokens": "Menos tokens",
"Random": "Aleatorio",
- "Skip Example Dialogues Formatting": "Omitir formato de diálogos de ejemplo",
+ "Skip Example Dialogues Formatting": "Omitir Formato de Diálogos de Ejemplo",
"Import a theme file": "Importar un archivo de tema",
"Export a theme file": "Exportar un archivo de tema",
"Unlocked Context Size": "Tamaño de contexto desbloqueado",
@@ -866,33 +866,33 @@
"Utility Prompts": "Indicaciones de utilidad",
"Add character names": "Agregar nombres de personajes",
"Send names in the message objects. Helps the model to associate messages with characters.": "Enviar nombres en los objetos de mensaje. Ayuda al modelo a asociar mensajes con personajes.",
- "Continue prefill": "Continuar con prefiltro",
+ "Continue prefill": "Continuar con prellenado",
"Continue sends the last message as assistant role instead of system message with instruction.": "Continuar envía el último mensaje como rol de asistente en lugar de mensaje del sistema con instrucciones.",
"Squash system messages": "Aplastar mensajes del sistema",
"Combines consecutive system messages into one (excluding example dialogues). May improve coherence for some models.": "Combina mensajes del sistema consecutivos en uno solo (excluyendo diálogos de ejemplo). Puede mejorar la coherencia para algunos modelos.",
"Send inline images": "Enviar imágenes en línea",
- "Assistant Prefill": "Prefiltro de asistente",
+ "Assistant Prefill": "Prellenado de Asistente",
"Start Claude's answer with...": "Iniciar la respuesta de Claude con...",
- "Use system prompt (Claude 2.1+ only)": "Usar indicación del sistema (solo Claude 2.1+)",
- "Send the system prompt for supported models. If disabled, the user message is added to the beginning of the prompt.": "Enviar la indicación del sistema para los modelos admitidos. Si está desactivado, el mensaje del usuario se agrega al principio de la indicación.",
+ "Use system prompt (Claude 2.1+ only)": "Usar indicación del sistema (solo para Claude 2.1+)",
+ "Send the system prompt for supported models. If disabled, the user message is added to the beginning of the prompt.": "Enviar la indicación del sistema para los modelos admitidos. Si está desactivado, el mensaje del usuario se agrega al principio de las indicaciónes.",
"Prompts": "Indicaciones",
"Total Tokens:": "Tokens totales:",
- "Insert prompt": "Insertar indicación",
- "Delete prompt": "Eliminar indicación",
+ "Insert prompt": "Insertar indicaciones",
+ "Delete prompt": "Eliminar indicaciones",
"Import a prompt list": "Importar una lista de indicaciones",
"Export this prompt list": "Exportar esta lista de indicaciones",
"Reset current character": "Restablecer personaje actual",
- "New prompt": "Nueva indicación",
+ "New prompt": "Nuevas indicaciones",
"Tokens": "Tokens",
"Want to update?": "¿Quieres actualizar?",
"How to start chatting?": "¿Cómo empezar a chatear?",
"Click": "Haz clic ",
- "and select a": "y selecciona un",
+ "and select a": "y selecciona una",
"Chat API": " API de chat",
"and pick a character": "y elige un personaje",
"in the chat bar": "en la barra de chat",
"Confused or lost?": "¿Confundido o perdido?",
- "click these icons!": "¡haz clic en estos iconos!",
+ "click these icons!": "¡Haz clic en estos iconos!",
"SillyTavern Documentation Site": "Sitio de documentación de SillyTavern",
"Extras Installation Guide": "Guía de instalación de extras",
"Still have questions?": "¿Todavía tienes preguntas?",
@@ -909,12 +909,12 @@
"Medium": "Medio",
"Aggressive": "Agresivo",
"Very aggressive": "Muy agresivo",
- "Eta cutoff is the main parameter of the special Eta Sampling technique.
In units of 1e-4; a reasonable value is 3.
Set to 0 to disable.
See the paper Truncation Sampling as Language Model Desmoothing by Hewitt et al. (2022) for details.": "El corte de Eta es el parámetro principal de la técnica especial de Muestreo Eta.
En unidades de 1e-4; un valor razonable es 3.
Establecer en 0 para desactivar.
Consulte el documento Truncation Sampling as Language Model Desmoothing de Hewitt et al. (2022) para más detalles.",
- "Learn how to contribute your idle GPU cycles to the Horde": "Aprende cómo contribuir con tus ciclos de GPU inactivos a la Horda",
+ "Eta cutoff is the main parameter of the special Eta Sampling technique.
In units of 1e-4; a reasonable value is 3.
Set to 0 to disable.
See the paper Truncation Sampling as Language Model Desmoothing by Hewitt et al. (2022) for details.": "El Corte de Eta es el parámetro principal de la técnica especial de Muestreo Eta.
En unidades de 1e-4; un valor razonable es 3.
Establecer en 0 para desactivar.
Consulte el documento Truncation Sampling as Language Model Desmoothing de Hewitt et al. (2022) para más detalles.",
+ "Learn how to contribute your idle GPU cycles to the Horde": "Aprende cómo contribuir con tus ciclos de GPU inactivos a Horde",
"Use the appropriate tokenizer for Google models via their API. Slower prompt processing, but offers much more accurate token counting.": "Usa el tokenizador apropiado para los modelos de Google a través de su API. Procesamiento de indicaciones más lento, pero ofrece un recuento de tokens mucho más preciso.",
- "Load koboldcpp order": "Cargar orden koboldcpp",
+ "Load koboldcpp order": "Cargar orden de koboldcpp",
"Use Google Tokenizer": "Usar Tokenizador de Google"
-}
\ No newline at end of file
+}
From f002b2d5cc378215400bf4265aa5e47d4ff52917 Mon Sep 17 00:00:00 2001
From: Cohee <18619528+Cohee1207@users.noreply.github.com>
Date: Fri, 5 Apr 2024 22:15:50 +0300
Subject: [PATCH 23/80] #2016 Fix NovelAI endpoint
---
src/endpoints/novelai.js | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/endpoints/novelai.js b/src/endpoints/novelai.js
index e1158a304..c2def9f0e 100644
--- a/src/endpoints/novelai.js
+++ b/src/endpoints/novelai.js
@@ -6,6 +6,7 @@ const { readAllChunks, extractFileFromZipBuffer, forwardFetchResponse } = requir
const { jsonParser } = require('../express-common');
const API_NOVELAI = 'https://api.novelai.net';
+const IMAGE_NOVELAI = 'https://image.novelai.net';
// Ban bracket generation, plus defaults
const badWordsList = [
@@ -238,7 +239,7 @@ router.post('/generate-image', jsonParser, async (request, response) => {
try {
console.log('NAI Diffusion request:', request.body);
- const generateUrl = `${API_NOVELAI}/ai/generate-image`;
+ const generateUrl = `${IMAGE_NOVELAI}/ai/generate-image`;
const generateResult = await fetch(generateUrl, {
method: 'POST',
headers: {
@@ -289,7 +290,7 @@ router.post('/generate-image', jsonParser, async (request, response) => {
try {
console.debug('Upscaling image...');
- const upscaleUrl = `${API_NOVELAI}/ai/upscale`;
+ const upscaleUrl = `${IMAGE_NOVELAI}/ai/upscale`;
const upscaleResult = await fetch(upscaleUrl, {
method: 'POST',
headers: {
From 0debe2ca4d85b4cec08dd16ba993aa2646990551 Mon Sep 17 00:00:00 2001
From: Cohee <18619528+Cohee1207@users.noreply.github.com>
Date: Fri, 5 Apr 2024 22:17:29 +0300
Subject: [PATCH 24/80] they did only move the imagegen towards that api
endpoint not upscaling
---
src/endpoints/novelai.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/endpoints/novelai.js b/src/endpoints/novelai.js
index c2def9f0e..e51f9c93a 100644
--- a/src/endpoints/novelai.js
+++ b/src/endpoints/novelai.js
@@ -290,7 +290,7 @@ router.post('/generate-image', jsonParser, async (request, response) => {
try {
console.debug('Upscaling image...');
- const upscaleUrl = `${IMAGE_NOVELAI}/ai/upscale`;
+ const upscaleUrl = `${API_NOVELAI}/ai/upscale`;
const upscaleResult = await fetch(upscaleUrl, {
method: 'POST',
headers: {
From d31e4a3bc4de2a663da2b326b0e181454e2a977e Mon Sep 17 00:00:00 2001
From: Cohee <18619528+Cohee1207@users.noreply.github.com>
Date: Fri, 5 Apr 2024 22:26:35 +0300
Subject: [PATCH 25/80] Bump package version
---
package-lock.json | 4 ++--
package.json | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 8be17c4f4..dca9e969d 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "sillytavern",
- "version": "1.11.6",
+ "version": "1.11.7",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "sillytavern",
- "version": "1.11.6",
+ "version": "1.11.7",
"hasInstallScript": true,
"license": "AGPL-3.0",
"dependencies": {
diff --git a/package.json b/package.json
index 970b8efbc..d491384c0 100644
--- a/package.json
+++ b/package.json
@@ -59,7 +59,7 @@
"type": "git",
"url": "https://github.com/SillyTavern/SillyTavern.git"
},
- "version": "1.11.6",
+ "version": "1.11.7",
"scripts": {
"start": "node server.js",
"start-multi": "node server.js --disableCsrf",
From e75f5550e31cedafed8f2d9aeace1ff284f51a89 Mon Sep 17 00:00:00 2001
From: Cohee <18619528+Cohee1207@users.noreply.github.com>
Date: Fri, 5 Apr 2024 22:33:16 +0300
Subject: [PATCH 26/80] Add /classify command
---
.../scripts/extensions/expressions/index.js | 19 ++++++++++++++++++-
1 file changed, 18 insertions(+), 1 deletion(-)
diff --git a/public/scripts/extensions/expressions/index.js b/public/scripts/extensions/expressions/index.js
index 9ed19a71f..f6beb9375 100644
--- a/public/scripts/extensions/expressions/index.js
+++ b/public/scripts/extensions/expressions/index.js
@@ -885,6 +885,22 @@ async function setSpriteSetCommand(_, folder) {
moduleWorker();
}
+async function classifyCommand(_, text) {
+ if (!text) {
+ console.log('No text provided');
+ return '';
+ }
+
+ if (!modules.includes('classify') && !extension_settings.expressions.local) {
+ toastr.warning('Text classification is disabled or not available');
+ return '';
+ }
+
+ const label = getExpressionLabel(text);
+ console.debug(`Classification result for "${text}": ${label}`);
+ return label;
+}
+
async function setSpriteSlashCommand(_, spriteId) {
if (!spriteId) {
console.log('No sprite id provided');
@@ -1758,5 +1774,6 @@ async function fetchImagesNoCache() {
registerSlashCommand('sprite', setSpriteSlashCommand, ['emote'], '(spriteId) – force sets the sprite for the current character', true, true);
registerSlashCommand('spriteoverride', setSpriteSetCommand, ['costume'], '(optional folder) – sets an override sprite folder for the current character. If the name starts with a slash or a backslash, selects a sub-folder in the character-named folder. Empty value to reset to default.', true, true);
registerSlashCommand('lastsprite', (_, value) => lastExpression[value.trim()] ?? '', [], '(charName) – Returns the last set sprite / expression for the named character.', true, true);
- registerSlashCommand('th', toggleTalkingHeadCommand, ['talkinghead'], '– Character Expressions: toggles Image Type - talkinghead (extras) on/off.');
+ registerSlashCommand('th', toggleTalkingHeadCommand, ['talkinghead'], '– Character Expressions: toggles Image Type - talkinghead (extras) on/off.', true, true);
+ registerSlashCommand('classify', classifyCommand, [], '(text) – classifies the text and returns a label.', true, true);
})();
From cdbd5c613008dfc762a2e886f777f4599ed6a467 Mon Sep 17 00:00:00 2001
From: Cohee <18619528+Cohee1207@users.noreply.github.com>
Date: Sat, 6 Apr 2024 00:45:38 +0300
Subject: [PATCH 27/80] /classify help text clarity
---
public/scripts/extensions/expressions/index.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/public/scripts/extensions/expressions/index.js b/public/scripts/extensions/expressions/index.js
index f6beb9375..ac0493e37 100644
--- a/public/scripts/extensions/expressions/index.js
+++ b/public/scripts/extensions/expressions/index.js
@@ -1775,5 +1775,5 @@ async function fetchImagesNoCache() {
registerSlashCommand('spriteoverride', setSpriteSetCommand, ['costume'], '(optional folder) – sets an override sprite folder for the current character. If the name starts with a slash or a backslash, selects a sub-folder in the character-named folder. Empty value to reset to default.', true, true);
registerSlashCommand('lastsprite', (_, value) => lastExpression[value.trim()] ?? '', [], '(charName) – Returns the last set sprite / expression for the named character.', true, true);
registerSlashCommand('th', toggleTalkingHeadCommand, ['talkinghead'], '– Character Expressions: toggles Image Type - talkinghead (extras) on/off.', true, true);
- registerSlashCommand('classify', classifyCommand, [], '(text) – classifies the text and returns a label.', true, true);
+ registerSlashCommand('classify', classifyCommand, [], '(text) – performs an emotion classification of the given text and returns a label.', true, true);
})();
From 6cf897219e86d6c90e4d6bfb7db14cf4f2dfafec Mon Sep 17 00:00:00 2001
From: johnbenac
Date: Fri, 5 Apr 2024 18:41:36 -0400
Subject: [PATCH 28/80] Added toastr messages to tts index file
---
public/scripts/extensions/tts/index.js | 3 +++
1 file changed, 3 insertions(+)
diff --git a/public/scripts/extensions/tts/index.js b/public/scripts/extensions/tts/index.js
index b86e42ede..b093e9053 100644
--- a/public/scripts/extensions/tts/index.js
+++ b/public/scripts/extensions/tts/index.js
@@ -465,6 +465,7 @@ async function processAudioJobQueue() {
playAudioData(currentAudioJob);
talkingAnimation(true);
} catch (error) {
+ toastr.error(error.toString());
console.error(error);
audioQueueProcessorReady = true;
}
@@ -579,6 +580,7 @@ async function processTtsQueue() {
}
tts(text, voiceId, char);
} catch (error) {
+ toastr.error(error.toString());
console.error(error);
currentTtsJob = null;
}
@@ -648,6 +650,7 @@ function onRefreshClick() {
initVoiceMap();
updateVoiceMap();
}).catch(error => {
+ toastr.error(error.toString());
console.error(error);
setTtsStatus(error, false);
});
From 3b6c32113f6d351a6971893bc70ee55fc4a8ba95 Mon Sep 17 00:00:00 2001
From: johnbenac
Date: Fri, 5 Apr 2024 18:57:51 -0400
Subject: [PATCH 29/80] added await to tts to properly catch the error on this
async function
---
public/scripts/extensions/tts/index.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/public/scripts/extensions/tts/index.js b/public/scripts/extensions/tts/index.js
index b093e9053..5b80b172b 100644
--- a/public/scripts/extensions/tts/index.js
+++ b/public/scripts/extensions/tts/index.js
@@ -578,7 +578,7 @@ async function processTtsQueue() {
toastr.error(`Specified voice for ${char} was not found. Check the TTS extension settings.`);
throw `Unable to attain voiceId for ${char}`;
}
- tts(text, voiceId, char);
+ await tts(text, voiceId, char);
} catch (error) {
toastr.error(error.toString());
console.error(error);
From fe8f0a8ff2ff87ed2afada8d0f7c62f0ca9f22af Mon Sep 17 00:00:00 2001
From: Wolfsblvt
Date: Sat, 6 Apr 2024 07:14:45 +0200
Subject: [PATCH 30/80] Limit drawing of tags to 50 with expander
- No matter where we draw tags, we'll draw a maximum of 50 tags
- Filtered tags (selected, excluded) will always be drawn
- Display "expander" icon/tag to show full tag list
- Cache the full tag list display so consecutive redraws respect it
---
public/css/tags.css | 5 +++
public/scripts/tags.js | 98 ++++++++++++++++++++++++++++++++++++------
2 files changed, 91 insertions(+), 12 deletions(-)
diff --git a/public/css/tags.css b/public/css/tags.css
index 9a3e02064..8c25eb1dd 100644
--- a/public/css/tags.css
+++ b/public/css/tags.css
@@ -73,6 +73,11 @@
background: none;
}
+.tag.placeholder-expander {
+ cursor: alias;
+ border: 0;
+}
+
.tagListHint {
align-self: center;
display: flex;
diff --git a/public/scripts/tags.js b/public/scripts/tags.js
index 7edd2feab..b6b099099 100644
--- a/public/scripts/tags.js
+++ b/public/scripts/tags.js
@@ -118,6 +118,7 @@ const TAG_FOLDER_DEFAULT_TYPE = 'NONE';
* @property {function} [action] - An optional function that gets executed when this tag is an actionable tag and is clicked on.
* @property {string} [class] - An optional css class added to the control representing this tag when printed. Used for custom tags in the filters.
* @property {string} [icon] - An optional css class of an icon representing this tag when printed. This will replace the tag name with the icon. Used for custom tags in the filters.
+ * @property {string} [title] - An optional title for the tooltip of this tag. If there is no tooltip specified, and "icon" is chosen, the tooltip will be the "name" property.
*/
/**
@@ -128,10 +129,17 @@ let tags = [];
/**
* A map representing the key of an entity (character avatar, group id, etc) with a corresponding array of tags this entity has assigned. The array might not exist if no tags were assigned yet.
- * @type {Object.}
+ * @type {{[identifier: string]: string[]?}}
*/
let tag_map = {};
+/**
+ * A cache of all cut-off tag lists that got expanded until the last reload. They will be printed expanded again.
+ * It contains the key of the entity.
+ * @type {string[]} ids
+ */
+let expanded_tags_cache = [];
+
/**
* Applies the basic filter for the current state of the tags and their selection on an entity list.
* @param {Array