Merge branch 'staging' into xtc-ooba

e59dacc27fed0d5c294e890ff430b664b98cab9b

Cohee <18619528+Cohee1207@users.noreply.github.com>

235 files changed, +4011 -2942Ignore whitespace
.github/readme-ja_jp.md+22 -6
@@ -1,6 +1,20 @@
1+> [!IMPORTANT]
2+> ここに掲載されている情報は、古かったり不完全であったりする可能性があります。最新の情報は英語版をご利用ください。
3+
4+![][cover]
5+
6+<div align="center">
7+
18[English](readme.md) | [中文](readme-zh_cn.md) | 日本語 | [Русский](readme-ru_ru.md)
29
3-![SillyTavern-Banner](https://github.com/SillyTavern/SillyTavern/assets/18619528/c2be4c3f-aada-4f64-87a3-ae35a68b61a4)
10+[![GitHub Stars](https://img.shields.io/github/stars/SillyTavern/SillyTavern.svg)](https://github.com/SillyTavern/SillyTavern/stargazers)
11+[![GitHub Forks](https://img.shields.io/github/forks/SillyTavern/SillyTavern.svg)](https://github.com/SillyTavern/SillyTavern/network)
12+[![GitHub Issues](https://img.shields.io/github/issues/SillyTavern/SillyTavern.svg)](https://github.com/SillyTavern/SillyTavern/issues)
13+[![GitHub Pull Requests](https://img.shields.io/github/issues-pr/SillyTavern/SillyTavern.svg)](https://github.com/SillyTavern/SillyTavern/pulls)
14+
15+</div>
16+
17+---
418
519モバイルデバイスにも適したレイアウト・マルチAPI(KoboldAI/CPP、Horde、NovelAI、Ooba、OpenAI、OpenRouter、Claude、Scale)、VN ライクな Waifu モード、Stable Diffusion、TTS、WorldInfo(伝承本)、カスタマイズ可能なUI、自動翻訳、大量のプロンプトオプション+サードパーティの拡張機能をインストールする機能
620
@@ -71,14 +85,13 @@ Tavern は単なるフロントエンドのUIであり、必要なハードウ
7185* ワールド情報サポート: 豊富な伝承を作成したり、キャラクターカードにトークンを保存したりできます
7286* [OpenRouter](https://openrouter.ai) 各種 API(Claude、GPT-4/3.5 など)の接続
7387* [Oobabooga's TextGen WebUI](https://github.com/oobabooga/text-generation-webui) API 接続
7488* [AI Horde](https://horde.koboldaiaihorde.net/) 接続
7589* プロンプト生成フォーマットの調整
7690
7791## 拡張機能
7892
79-SillyTavern は拡張できるようになっており、[SillyTavern Extras API](https://github.com/SillyTavern/SillyTavern-extras) でいくつかの追加AIモジュールをホストしています
93+SillyTavern は拡張できるようになっており。
8094
81-* 作者ノート/キャラクターバイアス
8295* キャラクターの感情表現(スプライト)
8396* チャット履歴の自動サマリー
8497* チャットに画像を送り、AI が内容を解釈する
@@ -282,8 +295,8 @@ ST サーバを再起動すると、ユーザ名とパスワードさえ知っ
282295
283296## スクリーンショット
284297
285298<img width="400500" alt="image" src="https://user-images.githubusercontentgithub.com/18619528/228649245user-8061c60fattachments/assets/9b5f32f0-63dcc3b3-488e4102-9325b3f5-f151b7a3ec2d.png0e9213c0f50f">
286299<img width="400500" alt="image" src="https://user-images.githubusercontentgithub.com/18619528/228649856user-fbdeef05attachments/assets/913fdbaa-d7277d33-4d5a42f1-be80ae2c-266cbbc6b811.png89dca41c53d1">
287300
288301## ライセンスとクレジット
289302
@@ -312,3 +325,6 @@ ST サーバを再起動すると、ユーザ名とパスワードさえ知っ
312325* @doloroushyeonse による韓国語翻訳
313326* k_euler_a による Horde のサポート <https://github.com/Teashrock>
314327* [@XXpE3](https://github.com/XXpE3) による中国語翻訳、中国語 ISSUES の連絡先は @XXpE3
328+
329+<!-- LINK GROUP -->
330+[cover]: https://github.com/user-attachments/assets/01a6ae9a-16aa-45f2-8bff-32b5dc587e44
.github/readme-ru_ru.md+372 -359
@@ -1,359 +1,372 @@
1-<a name="readme-top"></a>
1+> [!IMPORTANT]
2-
2+> Приведенная здесь информация может быть устаревшей или неполной и предоставляется только для вашего удобства. Пожалуйста, используйте английскую версию для получения наиболее актуальной информации.
3-[English](readme.md) | [中文](readme-zh_cn.md) | [日本語](readme-ja_jp.md) | Русский
3+
4-
4+<a name="readme-top"></a>
5-![][cover]
5+
6-
6+![][cover]
7-Мобайл-френдли интерфейс, поддержка множества API (KoboldAI/CPP, Horde, NovelAI, Ooba, OpenAI, OpenRouter, Claude, Scale), ВН-образный режим Вайфу, Stable Diffusion, TTS, поддержка миров (лорбуков), кастомизируемый UI, автоперевод, тончайшая настройка промптов + возможность устанавливать расширения.
7+
8-
8+<div align="center">
9-Основано на форке [TavernAI](https://github.com/TavernAI/TavernAI) версии 1.2.8
9+
10-
10+[English](readme.md) | [中文](readme-zh_cn.md) | [日本語](readme-ja_jp.md) | Русский
11-## Важные новости!
11+
12-
12+[![GitHub Stars](https://img.shields.io/github/stars/SillyTavern/SillyTavern.svg)](https://github.com/SillyTavern/SillyTavern/stargazers)
13-1. Чтобы помочь вам быстрее разобраться в SillyTavern, мы создали [сайт с документацией](https://docs.sillytavern.app/). Ответы на большинство вопросов можно найти там.
13+[![GitHub Forks](https://img.shields.io/github/forks/SillyTavern/SillyTavern.svg)](https://github.com/SillyTavern/SillyTavern/network)
14-
14+[![GitHub Issues](https://img.shields.io/github/issues/SillyTavern/SillyTavern.svg)](https://github.com/SillyTavern/SillyTavern/issues)
15-2. Почему пропали расширения после апдейта? Начиная с версии 1.10.6, большинство встроенных расширений были конвертированы в формат загружаемых аддонов. Их можно установить обратно через меню "Download Extensions and Assets" на панели расширений (значок с тремя кубиками сверху).
15+[![GitHub Pull Requests](https://img.shields.io/github/issues-pr/SillyTavern/SillyTavern.svg)](https://github.com/SillyTavern/SillyTavern/pulls)
16-
16+
17-3. Не поддерживается следующая платформа: android arm LEtime-web. 32-битный Android требует внешнюю зависимость, которую нельзя установить посредством npm. Для её установки потребуется следующая команда: `pkg install esbuild`. После этого продолжайте установку по общей инструкции.
17+</div>
18-
18+
19-### Разрабатывается Cohee, RossAscends и всем сообществом SillyTavern
19+---
20-
20+
21-### Что такое SillyTavern и TavernAI?
21+Мобайл-френдли интерфейс, поддержка множества API (KoboldAI/CPP, Horde, NovelAI, Ooba, OpenAI, OpenRouter, Claude, Scale), ВН-образный режим Вайфу, Stable Diffusion, TTS, поддержка миров (лорбуков), кастомизируемый UI, автоперевод, тончайшая настройка промптов + возможность устанавливать расширения.
22-
22+
23-SillyTavern — это интерфейс, который устанавливается на ПК (и на Android), который даёт возможность общаться с генеративным ИИ и чатиться/ролеплеить с вашими собственными персонажами или персонажами других пользователей.
23+Основано на форке [TavernAI](https://github.com/TavernAI/TavernAI) версии 1.2.8
24-
24+
25-SillyTavern — это форк версии TavernAI 1.2.8, который разрабатывается более активно и имеет множество новых функций. Сейчас уже можно сказать, что это две отдельные и абсолютно самостоятельные программы.
25+## Важные новости!
26-
26+
27-## Скриншоты
27+1. Чтобы помочь вам быстрее разобраться в SillyTavern, мы создали [сайт с документацией](https://docs.sillytavern.app/). Ответы на большинство вопросов можно найти там.
28-
28+
29-<img width="400" alt="image" src="https://github.com/SillyTavern/SillyTavern/assets/61471128/e902c7a2-45a6-4415-97aa-c59c597669c1">
29+2. Почему пропали расширения после апдейта? Начиная с версии 1.10.6, большинство встроенных расширений были конвертированы в формат загружаемых аддонов. Их можно установить обратно через меню "Download Extensions and Assets" на панели расширений (значок с тремя кубиками сверху).
30-<img width="400" alt="image" src="https://github.com/SillyTavern/SillyTavern/assets/61471128/f8a79c47-4fe9-4564-9e4a-bf247ed1c961">
30+
31-
31+3. Не поддерживается следующая платформа: android arm LEtime-web. 32-битный Android требует внешнюю зависимость, которую нельзя установить посредством npm. Для её установки потребуется следующая команда: `pkg install esbuild`. После этого продолжайте установку по общей инструкции.
32-### Ветки
32+
33-
33+### Разрабатывается Cohee, RossAscends и всем сообществом SillyTavern
34-SillyTavern разрабатывается в двух ветках, чтобы всем категориям пользователей было удобно.
34+
35-
35+### Что такое SillyTavern и TavernAI?
36-* release -🌟 **Рекомендовано для большинства пользователей.** Самая стабильная ветка, рекомендуем именно её. Обновляется только в момент крупных релизов. Подходит для большей части пользователей.
36+
37-* staging - ⚠️ **Не рекомендуется для повседневного использования.** В этой ветке весь самый свежий и новый функционал, но будьте аккуратны, поскольку сломаться может в любом месте и в любое время. Только для продвинутых пользователей и энтузиастов.
37+SillyTavern — это интерфейс, который устанавливается на ПК (и на Android), который даёт возможность общаться с генеративным ИИ и чатиться/ролеплеить с вашими собственными персонажами или персонажами других пользователей.
38-
38+
39-Если вы не умеете обращаться с git через командную строку, или не знаете, что такое ветка, то не переживайте! Наилучшим вариантом всегда остаётся ветка release.
39+SillyTavern — это форк версии TavernAI 1.2.8, который разрабатывается более активно и имеет множество новых функций. Сейчас уже можно сказать, что это две отдельные и абсолютно самостоятельные программы.
40-
40+
41-### Что ещё нужно, кроме SillyTavern?
41+## Скриншоты
42-
42+
43-Сама по себе SillyTavern бесполезна, ведь это просто интерфейс. Вам потребуется доступ к бэкенду с ИИ, который и будет отыгрывать выбранного вами персонажа. Поддерживаются разные виды бэкендов: OpenAPI API (GPT), KoboldAI (локально или на Google Colab), и многое другое. Больше информации в [FAQ](https://docs.sillytavern.app/usage/faq/).
43+<img width="500" alt="image" src="https://github.com/user-attachments/assets/9b5f32f0-c3b3-4102-b3f5-0e9213c0f50f">
44-
44+<img width="500" alt="image" src="https://github.com/user-attachments/assets/913fdbaa-7d33-42f1-ae2c-89dca41c53d1">
45-### Требуется ли для SillyTavern мощный ПК?
45+
46-
46+### Ветки
47-SillyTavern — это просто интерфейс, поэтому запустить его можно на любой картошке. Мощным должен быть бэкенд с ИИ.
47+
48-
48+SillyTavern разрабатывается в двух ветках, чтобы всем категориям пользователей было удобно.
49-## Есть вопросы или предложения?
49+
50-
50+* release -🌟 **Рекомендовано для большинства пользователей.** Самая стабильная ветка, рекомендуем именно её. Обновляется только в момент крупных релизов. Подходит для большей части пользователей.
51-### У нас появился сервер в Discord
51+* staging - ⚠️ **Не рекомендуется для повседневного использования.** В этой ветке весь самый свежий и новый функционал, но будьте аккуратны, поскольку сломаться может в любом месте и в любое время. Только для продвинутых пользователей и энтузиастов.
52-
52+
53-| [![][discord-shield-badge]][discord-link] | [Вступайте в наше Discord-сообщество!](https://discord.gg/sillytavern) Задавайте вопросы, делитесь любимыми персонажами и промптами. |
53+Если вы не умеете обращаться с git через командную строку, или не знаете, что такое ветка, то не переживайте! Наилучшим вариантом всегда остаётся ветка release.
54-| :---------------------------------------- | :----------------------------------------------------------------------------------------------------------------- |
54+
55-
55+### Что ещё нужно, кроме SillyTavern?
56-Также можно написать разработчикам напрямую:
56+
57-
57+Сама по себе SillyTavern бесполезна, ведь это просто интерфейс. Вам потребуется доступ к бэкенду с ИИ, который и будет отыгрывать выбранного вами персонажа. Поддерживаются разные виды бэкендов: OpenAPI API (GPT), KoboldAI (локально или на Google Colab), и многое другое. Больше информации в [FAQ](https://docs.sillytavern.app/usage/faq/).
58-* Discord: cohee или rossascends
58+
59-* Reddit: [/u/RossAscends](https://www.reddit.com/user/RossAscends/) или [/u/sillylossy](https://www.reddit.com/user/sillylossy/)
59+### Требуется ли для SillyTavern мощный ПК?
60-* [Запостить issue на GitHub](https://github.com/SillyTavern/SillyTavern/issues)
60+
61-
61+SillyTavern — это просто интерфейс, поэтому запустить его можно на любой картошке. Мощным должен быть бэкенд с ИИ.
62-## Эта версия включает
62+
63-
63+## Есть вопросы или предложения?
64-* Глубоко переработанную TavernAI 1.2.8 (переписано и оптимизировано более 50% кода)
64+
65-* Свайпы
65+### У нас появился сервер в Discord
66-* Групповые чаты: комнаты для нескольких ботов, где персонажи могут говорить друг с другом и с вами
66+
67-* Чекпоинты и ветки для чатов
67+| [![][discord-shield-badge]][discord-link] | [Вступайте в наше Discord-сообщество!](https://discord.gg/sillytavern) Задавайте вопросы, делитесь любимыми персонажами и промптами. |
68-* Продвинутые настройки для KoboldAI / TextGen со множеством созданных сообществом пресетов
68+| :---------------------------------------- | :----------------------------------------------------------------------------------------------------------------------------------- |
69-* Поддержка миров (функция "Информация о мире" / WorldInfo): создавайте свой богатый лор, или экономьте токены для карточек персонажей
69+
70-* Соединение через [OpenRouter](https://openrouter.ai) для разных API (Claude, GPT-4/3.5 и других)
70+Также можно написать разработчикам напрямую:
71-* Соединение с API [Oobabooga's TextGen WebUI](https://github.com/oobabooga/text-generation-webui)
71+
72-* Соединение с [AI Horde](https://horde.koboldai.net/)
72+* Discord: cohee или rossascends
73-* Настройку форматирования промптов
73+* Reddit: [/u/RossAscends](https://www.reddit.com/user/RossAscends/) или [/u/sillylossy](https://www.reddit.com/user/sillylossy/)
74-
74+* [Запостить issue на GitHub](https://github.com/SillyTavern/SillyTavern/issues)
75-## Расширения
75+
76-
76+## Эта версия включает
77-SillyTavern поддерживает расширения, при этом некоторые из ИИ-модулей работают через [SillyTavern Extras API](https://github.com/SillyTavern/SillyTavern-extras)
77+
78-
78+* Глубоко переработанную TavernAI 1.2.8 (переписано и оптимизировано более 50% кода)
79-* Заметки автора / Смещение характера
79+* Свайпы
80-* Эмоции для персонажей (спрайты)
80+* Групповые чаты: комнаты для нескольких ботов, где персонажи могут говорить друг с другом и с вами
81-* Автоматический саммарайз (краткий пересказ) истории чата
81+* Чекпоинты и ветки для чатов
8282* ВозможностьПродвинутые отправитьнастройки вдля чатKoboldAI картинку,/ которуюTextGen ИИсо сможетмножеством рассмотретьсозданных исообществом понять пресетов
83-* Генерация картинок в Stable Diffusion (5 пресетов для чата, плюс свободный режим)
83+* Поддержка миров (функция "Информация о мире" / WorldInfo): создавайте свой богатый лор, или экономьте токены для карточек персонажей
84-* Text-to-speech для сообщений ИИ (с помощью ElevenLabs, Silero, или родной TTS вашей ОС)
84+* Соединение через [OpenRouter](https://openrouter.ai) для разных API (Claude, GPT-4/3.5 и других)
85-
85+* Соединение с API [Oobabooga's TextGen WebUI](https://github.com/oobabooga/text-generation-webui)
86-Полный список расширений и инструкций к ним можно найти в [документации](https://docs.sillytavern.app/).
86+* Соединение с [AI Horde](https://aihorde.net/)
87-
87+* Настройку форматирования промптов
88-## Улучшения от RossAscends для UI/CSS/общего удобства
88+
89-
89+## Расширения
90-* Мобильный интерфейс адаптирован для iOS, добавлена возможность сохранить ярлык на главный экран и открыть приложение в полноэкранном режиме.
90+
91-* Горячие клавиши
91+SillyTavern поддерживает расширения.
92- * Up = Редактировать последнее сообщение в чате
92+
93- * Ctrl+Up = Редактировать ВАШЕ последнее сообщение в чате
93+* Эмоции для персонажей (спрайты)
94- * Left = свайп влево
94+* Автоматический саммарайз (краткий пересказ) истории чата
95- * Right = свайп вправо (ОБРАТИТЕ ВНИМАНИЕ: когда в окне ввода что-то напечатано, клавиши для свайпа не работают)
95+* Возможность отправить в чат картинку, которую ИИ сможет рассмотреть и понять
96- * Ctrl+Left = посмотреть локальные переменные (в консоли браузера)
96+* Генерация картинок в Stable Diffusion (5 пресетов для чата, плюс свободный режим)
97- * Enter (при нахождении внутри окна ввода) = отправить ваше сообщение ИИ
97+* Text-to-speech для сообщений ИИ (с помощью ElevenLabs, Silero, или родной TTS вашей ОС)
98- * Ctrl+Enter = Повторная генерация последнего ответа ИИ
98+
99-
99+Полный список расширений и инструкций к ним можно найти в [документации](https://docs.sillytavern.app/).
100-* Страница больше не перезагружается при смене имени пользователя или удалении персонажа
100+
101-
101+## Улучшения от RossAscends для UI/CSS/общего удобства
102-* Отключаемая возможность автоматически соединяться с API при загрузке страницы.
102+
103-* Отключаемая возможность автоматически загружать последнего открытого персонажа при загрузке страницы.
103+* Мобильный интерфейс адаптирован для iOS, добавлена возможность сохранить ярлык на главный экран и открыть приложение в полноэкранном режиме.
104-* Улучшенный счётчик токенов - работает с несохранёнными персонажами, отображает и перманентные, и временные токены
104+* Горячие клавиши
105-
105+ * Up = Редактировать последнее сообщение в чате
106-* Улучшенный менеджер чатов
106+ * Ctrl+Up = Редактировать ВАШЕ последнее сообщение в чате
107- * Файлы с новыми чатами получают читабельные названия вида "(персонаж) - (когда создано)"
107+ * Left = свайп влево
108- * Увеличен размер превью чата с 40 символов до 300.
108+ * Right = свайп вправо (ОБРАТИТЕ ВНИМАНИЕ: когда в окне ввода что-то напечатано, клавиши для свайпа не работают)
109- * Несколько вариантов сортировки списка персонажей (по имени, дате создания, размеру чата).
109+ * Ctrl+Left = посмотреть локальные переменные (в консоли браузера)
110-
110+ * Enter (при нахождении внутри окна ввода) = отправить ваше сообщение ИИ
111-* Панели настроек слева и справа автоматически скрываются, если щёлкнуть за их пределы.
111+ * Ctrl+Enter = Повторная генерация последнего ответа ИИ
112-* При нажатии на значок замка навигационная панель будет закреплена на экране, и эта настройка сохранится между сессиями
112+
113-* Сам статус панели (открыта или закрыта) также сохраняется между сессиями
113+* Страница больше не перезагружается при смене имени пользователя или удалении персонажа
114-
114+
115-* Кастомизируемый интерфейс чата:
115+* Отключаемая возможность автоматически соединяться с API при загрузке страницы.
116- * Настройте звук при получении нового ответа
116+* Отключаемая возможность автоматически загружать последнего открытого персонажа при загрузке страницы.
117- * Переключайтесь между круглыми и прямоугольными аватарками
117+* Улучшенный счётчик токенов - работает с несохранёнными персонажами, отображает и перманентные, и временные токены
118- * Увеличенное вширь окно чата для стационарных ПК
118+
119- * Возможность включать полупрозрачные панели, стилизованные под стекло
119+* Улучшенный менеджер чатов
120- * Настраиваемые цвета для обычного текста, курсива, цитат
120+ * Файлы с новыми чатами получают читабельные названия вида "(персонаж) - (когда создано)"
121- * Настраиваемый цвет фона и интенсивность размытия
121+ * Увеличен размер превью чата с 40 символов до 300.
122-
122+ * Несколько вариантов сортировки списка персонажей (по имени, дате создания, размеру чата).
123-# ⌛ Установка
123+
124-
124+* Панели настроек слева и справа автоматически скрываются, если щёлкнуть за их пределы.
125-> **Внимание!**
125+* При нажатии на значок замка навигационная панель будет закреплена на экране, и эта настройка сохранится между сессиями
126-> * НЕ УСТАНАВЛИВАЙТЕ В ПАПКИ, КОТОРЫЕ КОНТРОЛИРУЕТ WINDOWS (Program Files, System32 и т.п.).
126+* Сам статус панели (открыта или закрыта) также сохраняется между сессиями
127-> * НЕ ЗАПУСКАЙТЕ START.BAT С ПРАВАМИ АДМИНИСТРАТОРА
127+
128-> * УСТАНОВКА НА WINDOWS 7 НЕВОЗМОЖНА ИЗ-ЗА ОТСУТСТВИЯ NODEJS 18.16
128+* Кастомизируемый интерфейс чата:
129-
129+ * Настройте звук при получении нового ответа
130-## 🪟 Windows
130+ * Переключайтесь между круглыми и прямоугольными аватарками
131-
131+ * Увеличенное вширь окно чата для стационарных ПК
132-## Установка через Git
132+ * Возможность включать полупрозрачные панели, стилизованные под стекло
133- 1. Установите [NodeJS](https://nodejs.org/en) (рекомендуется последняя LTS-версия)
133+ * Настраиваемые цвета для обычного текста, курсива, цитат
134- 2. Установите [Git for Windows](https://gitforwindows.org/)
134+ * Настраиваемый цвет фона и интенсивность размытия
135- 3. Откройте Проводник (`Win+E`)
135+
136- 4. Перейдите в папку, которую не контролирует Windows, или создайте её. (пример: C:\MySpecialFolder\)
136+# ⌛ Установка
137- 5. Откройте командную строку. Для этого нажмите на адресную строку (сверху), введите `cmd` и нажмите Enter.
137+
138- 6. Когда появится чёрное окошко (командная строка), введите ОДНУ из перечисленных ниже команд:
138+> **Внимание!**
139-
139+> * НЕ УСТАНАВЛИВАЙТЕ В ПАПКИ, КОТОРЫЕ КОНТРОЛИРУЕТ WINDOWS (Program Files, System32 и т.п.).
140-- для ветки release: `git clone https://github.com/SillyTavern/SillyTavern -b release`
140+> * НЕ ЗАПУСКАЙТЕ START.BAT С ПРАВАМИ АДМИНИСТРАТОРА
141-- для ветки staging: `git clone https://github.com/SillyTavern/SillyTavern -b staging`
141+> * УСТАНОВКА НА WINDOWS 7 НЕВОЗМОЖНА ИЗ-ЗА ОТСУТСТВИЯ NODEJS 18.16
142-
142+
143- 7. Когда клонирование закончится, дважды щёлкните по `Start.bat`, чтобы установить зависимости для NodeJS.
143+## 🪟 Windows
144- 8. После этого сервер запустится, и SillyTavern откроется в вашем браузере.
144+
145-
145+## Установка через Git
146-## Установка с помощью SillyTavern Launcher
146+ 1. Установите [NodeJS](https://nodejs.org/en) (рекомендуется последняя LTS-версия)
147147 1 2. Установите [Git for Windows](https://gitforwindows.org/)
148148 2 3. Откройте Проводник (`Win+E`) и создайте или выберите папку, в которую будет установлен лаунчер
149- 3. Откройте командную строку. Для этого нажмите на адресную строку (сверху), введите `cmd` и нажмите Enter.
149+ 4. Перейдите в папку, которую не контролирует Windows, или создайте её. (пример: C:\MySpecialFolder\)
150- 4. Когда появится чёрное окошко, введите следующую команду: `git clone https://github.com/SillyTavern/SillyTavern-Launcher.git`
150+ 5. Откройте командную строку. Для этого нажмите на адресную строку (сверху), введите `cmd` и нажмите Enter.
151- 5. Дважды щёлкните по `installer.bat` и выберите, что именно хотите установить
151+ 6. Когда появится чёрное окошко (командная строка), введите ОДНУ из перечисленных ниже команд:
152- 6. После завершения установки дважды щёлкните по `launcher.bat`
152+
153-
153+- для ветки release: `git clone https://github.com/SillyTavern/SillyTavern -b release`
154-## Установка с помощью GitHub Desktop
154+- для ветки staging: `git clone https://github.com/SillyTavern/SillyTavern -b staging`
155-(Тут речь про git **только** в рамках GitHub Desktop, если хотите использовать `git` в командной строке, вам также понадобится [Git for Windows](https://gitforwindows.org/))
155+
156- 1. Установите [NodeJS](https://nodejs.org/en) (latest LTS version is recommended)
156+ 7. Когда клонирование закончится, дважды щёлкните по `Start.bat`, чтобы установить зависимости для NodeJS.
157- 2. Установите [GitHub Desktop](https://central.github.com/deployments/desktop/desktop/latest/win32)
157+ 8. После этого сервер запустится, и SillyTavern откроется в вашем браузере.
158- 3. После завершения установки GitHub Desktop, нажмите `Clone a repository from the internet....` (обратите внимание: для этого шага **НЕ требуется** аккаунт на GitHub)
158+
159- 4. В меню перейдите на вкладку URL, введите адрес `https://github.com/SillyTavern/SillyTavern`, и нажмите Clone. В поле Local path можно изменить директорию, в которую будет загружена SillyTavern.
159+## Установка с помощью SillyTavern Launcher
160- 6. Чтобы запустить SillyTavern, откройте Проводник и перейдите в выбранную на предыдущем шаге папку. По умолчанию репозиторий будет склонирован сюда: `C:\Users\[Имя пользователя]\Documents\GitHub\SillyTavern`
160+ 1. Установите [Git for Windows](https://gitforwindows.org/)
161- 7. Дважды щёлкните по файлу `start.bat`. (обратите внимание: окончание `.bat` может быть скрыто настройками вашей ОС. Таким образом, имя файла будет выглядеть как "`Start`". Дважды щёлкните по нему, чтобы запустить SillyTavern)
161+ 2. Откройте Проводник (`Win+E`) и создайте или выберите папку, в которую будет установлен лаунчер
162- 8. После того, как вы дважды щёлкнули по файлу, должно открыться чёрное окошко, и SillyTavern начнёт устанавливать свои зависимости.
162+ 3. Откройте командную строку. Для этого нажмите на адресную строку (сверху), введите `cmd` и нажмите Enter.
163- 9. Если установка прошла успешно, то в командной строке будет вот такое, а в браузере откроется вкладка с SillyTavern:
163+ 4. Когда появится чёрное окошко, введите следующую команду: `git clone https://github.com/SillyTavern/SillyTavern-Launcher.git`
164- 10. Подключайтесь к любому из [поддерживаемых API](https://docs.sillytavern.app/usage/api-connections/) и начинайте переписку!
164+ 5. Дважды щёлкните по `installer.bat` и выберите, что именно хотите установить
165-
165+ 6. После завершения установки дважды щёлкните по `launcher.bat`
166-## 🐧 Linux и 🍎 MacOS
166+
167-
167+## Установка с помощью GitHub Desktop
168-В MacOS и Linux всё это делается через Терминал.
168+(Тут речь про git **только** в рамках GitHub Desktop, если хотите использовать `git` в командной строке, вам также понадобится [Git for Windows](https://gitforwindows.org/))
169-
169+ 1. Установите [NodeJS](https://nodejs.org/en) (latest LTS version is recommended)
170-1. Установите git и nodeJS (как именно - зависит от вашей ОС)
170+ 2. Установите [GitHub Desktop](https://central.github.com/deployments/desktop/desktop/latest/win32)
171-2. Клонируйте репозиторий
171+ 3. После завершения установки GitHub Desktop, нажмите `Clone a repository from the internet....` (обратите внимание: для этого шага **НЕ требуется** аккаунт на GitHub)
172-
172+ 4. В меню перейдите на вкладку URL, введите адрес `https://github.com/SillyTavern/SillyTavern`, и нажмите Clone. В поле Local path можно изменить директорию, в которую будет загружена SillyTavern.
173-- для ветки release: `git clone https://github.com/SillyTavern/SillyTavern -b release`
173+ 6. Чтобы запустить SillyTavern, откройте Проводник и перейдите в выбранную на предыдущем шаге папку. По умолчанию репозиторий будет склонирован сюда: `C:\Users\[Имя пользователя]\Documents\GitHub\SillyTavern`
174-- для ветки staging: `git clone https://github.com/SillyTavern/SillyTavern -b staging`
174+ 7. Дважды щёлкните по файлу `start.bat`. (обратите внимание: окончание `.bat` может быть скрыто настройками вашей ОС. Таким образом, имя файла будет выглядеть как "`Start`". Дважды щёлкните по нему, чтобы запустить SillyTavern)
175-
175+ 8. После того, как вы дважды щёлкнули по файлу, должно открыться чёрное окошко, и SillyTavern начнёт устанавливать свои зависимости.
176-3. Перейдите в папку установки с помощью `cd SillyTavern`.
176+ 9. Если установка прошла успешно, то в командной строке будет вот такое, а в браузере откроется вкладка с SillyTavern:
177-4. Запустите скрипт `start.sh` с помощью одной из команд:
177+ 10. Подключайтесь к любому из [поддерживаемых API](https://docs.sillytavern.app/usage/api-connections/) и начинайте переписку!
178-
178+
179-- `./start.sh`
179+## 🐧 Linux и 🍎 MacOS
180-- `bash start.sh`
180+
181-
181+В MacOS и Linux всё это делается через Терминал.
182-## Установка с помощью SillyTavern Launcher
182+
183-
183+1. Установите git и nodeJS (как именно - зависит от вашей ОС)
184-### Для пользователей Linux
184+2. Клонируйте репозиторий
185-1. Откройте любимый терминал и установите git
185+
1861862. Загрузите Sillytavern Launcher- сдля помощьюветки командыrelease: `git clone https://github.com/SillyTavern/SillyTavern -Launcher.gitb release`
187-3. Перейдите в SillyTavern-Launcher: `cd SillyTavern-Launcher`
187+- для ветки staging: `git clone https://github.com/SillyTavern/SillyTavern -b staging`
188-4. Запустите лаунчер установки: `chmod +x install.sh && ./install.sh`, затем выберите, что конкретно хотите установить
188+
189-5. После завершения установки, запустите лаунчер следующей командой: `chmod +x launcher.sh && ./launcher.sh`
189+3. Перейдите в папку установки с помощью `cd SillyTavern`.
190-
190+4. Запустите скрипт `start.sh` с помощью одной из команд:
191-### Для пользователей Mac
191+
192-1. Откройте терминал и установите brew: `/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"`
192+- `./start.sh`
193-2. Затем установите git: `brew install git`
193+- `bash start.sh`
194-3. Загрузите Sillytavern Launcher: `git clone https://github.com/SillyTavern/SillyTavern-Launcher.git`
194+
195-4. Перейдите в SillyTavern-Launcher: `cd SillyTavern-Launcher`
195+## Установка с помощью SillyTavern Launcher
196-5. Запустите лаунчер установки: `chmod +x install.sh && ./install.sh` and choose what you wanna install
196+
197-6. После завершения установки, запустите лаунчер следующей командой: `chmod +x launcher.sh && ./launcher.sh`
197+### Для пользователей Linux
198-
198+1. Откройте любимый терминал и установите git
199-## 📱 Мобильные устройства - Установка при помощи termux
199+2. Загрузите Sillytavern Launcher с помощью команды: `git clone https://github.com/SillyTavern/SillyTavern-Launcher.git`
200-
200+3. Перейдите в SillyTavern-Launcher: `cd SillyTavern-Launcher`
201-> **ОБРАТИТЕ ВНИМАНИЕ!**
201+4. Запустите лаунчер установки: `chmod +x install.sh && ./install.sh`, затем выберите, что конкретно хотите установить
202->
202+5. После завершения установки, запустите лаунчер следующей командой: `chmod +x launcher.sh && ./launcher.sh`
203-> **На Android-телефонах SillyTavern можно запускать нативно посредством Termux. Обратитесь к гайду, написанному ArroganceComplex#2659:**
203+
204->
204+### Для пользователей Mac
205-> * <https://rentry.org/STAI-Termux>
205+1. Откройте терминал и установите brew: `/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"`
206-
206+2. Затем установите git: `brew install git`
207-
207+3. Загрузите Sillytavern Launcher: `git clone https://github.com/SillyTavern/SillyTavern-Launcher.git`
208-## Управление ключами от API
208+4. Перейдите в SillyTavern-Launcher: `cd SillyTavern-Launcher`
209-
209+5. Запустите лаунчер установки: `chmod +x install.sh && ./install.sh` and choose what you wanna install
210-SillyTavern сохраняет ключи от ваших API в файле `secrets.json` в папке на сервере.
210+6. После завершения установки, запустите лаунчер следующей командой: `chmod +x launcher.sh && ./launcher.sh`
211-
211+
212-По умолчанию, ключи не будут отображаться на фронте после их ввода и перезагрузки страницы.
212+## 📱 Мобильные устройства - Установка при помощи termux
213-
213+
214-Чтобы включить возможность отображения ключей путём нажатия кнопки в блоке API:
214+> **ОБРАТИТЕ ВНИМАНИЕ!**
215-
215+>
216-1. Зайдите в файл `config.yaml` и установите `allowKeysExposure` в положение `true`.
216+> **На Android-телефонах SillyTavern можно запускать нативно посредством Termux. Обратитесь к гайду, написанному ArroganceComplex#2659:**
217-2. Перезапустите сервер SillyTavern.
217+>
218-
218+> * <https://rentry.org/STAI-Termux>
219-## Удалённое подключение
219+
220-
220+
221-В основном этим пользуются тогда, когда хотят использовать SillyTavern с телефона, запустив сервер SillyTavern на стационарном ПК в той же Wi-Fi-сети.
221+## Управление ключами от API
222-
222+
223-Однако это позволит подключаться откуда угодно, а не только вам.
223+SillyTavern сохраняет ключи от ваших API в файле `secrets.json` в папке на сервере.
224-
224+
225-**ВАЖНО: в SillyTavern не предусмотрена возможность использования программы несколькими людьми. Поэтому любой, кто подключится к вашему серверу, получит доступ ко всем вашим персонажам и чатам, а также сможет менять настройки через UI.**
225+По умолчанию, ключи не будут отображаться на фронте после их ввода и перезагрузки страницы.
226-
226+
227-### 1. Заведение "белого списка" IP-адресов
227+Чтобы включить возможность отображения ключей путём нажатия кнопки в блоке API:
228-
228+
229-* Создайте в корневой папке SillyTavern файл с названием `whitelist.txt`.
229+1. Зайдите в файл `config.yaml` и установите `allowKeysExposure` в положение `true`.
230-* Откройте файл в текстовом редакторе и внесите список IP-адресов, с которых хотите разрешить подключение.
230+2. Перезапустите сервер SillyTavern.
231-
231+
232-*Принимаются как обычные IP-адреса, так и целые диапазоны, размеченные с помощью астериска. Примеры:*
232+## Удалённое подключение
233-
233+
234-```txt
234+В основном этим пользуются тогда, когда хотят использовать SillyTavern с телефона, запустив сервер SillyTavern на стационарном ПК в той же Wi-Fi-сети.
235-192.168.0.1
235+
236-192.168.0.20
236+Однако это позволит подключаться откуда угодно, а не только вам.
237-```
237+
238-
238+**ВАЖНО: в SillyTavern не предусмотрена возможность использования программы несколькими людьми. Поэтому любой, кто подключится к вашему серверу, получит доступ ко всем вашим персонажам и чатам, а также сможет менять настройки через UI.**
239-или
239+
240-
240+### 1. Заведение "белого списка" IP-адресов
241-```txt
241+
242-192.168.0.*
242+* Создайте в корневой папке SillyTavern файл с названием `whitelist.txt`.
243-```
243+* Откройте файл в текстовом редакторе и внесите список IP-адресов, с которых хотите разрешить подключение.
244-
244+
245-(диапазон из примера сверху позволит подключаться всем устройствам в локальной сети)
245+*Принимаются как обычные IP-адреса, так и целые диапазоны, размеченные с помощью астериска. Примеры:*
246-
246+
247-Также принимаются маски CIDR (вида 10.0.0.0/24).
247+```txt
248-
248+192.168.0.1
249-* Сохраните файл `whitelist.txt`.
249+192.168.0.20
250-* Перезапустите сервер ST.
250+```
251-
251+
252-После этого устройства из белого списка смогут подключаться к вашему серверу.
252+или
253-
253+
254-*Обратите внимание: в файле `config.yaml` также имеется массив `whitelist`, который работает по тому же принципу. Однако если существует файл `whitelist.txt`, то этот массив игнорируется.*
254+```txt
255-
255+192.168.0.*
256-### 2. Получение IP хост-машины с ST
256+```
257-
257+
258-После настройки белого списка адресов, следующим шагом будет получение IP-адреса хост-машины, на которой запущена SillyTavern.
258+(диапазон из примера сверху позволит подключаться всем устройствам в локальной сети)
259-
259+
260-Если хост-машина находится в той же Wi-Fi-сети, то можно воспользоваться её внутренним Wi-Fi-IP-адресом:
260+Также принимаются маски CIDR (вида 10.0.0.0/24).
261-
261+
262-* На Windows: нажмите Пуск > введите `cmd.exe` в поиске > в консоли введите команду `ipconfig` и нажмите Enter > найдите пункт `IPv4-адрес`.
262+* Сохраните файл `whitelist.txt`.
263-
263+* Перезапустите сервер ST.
264-Если вы (или кто-то другой) хотите подключаться к хост-машине из другой сети, то вам понадобится ваш публичный IP-адрес.
264+
265-
265+После этого устройства из белого списка смогут подключаться к вашему серверу.
266-* Откройте [эту страницу](https://whatismyipaddress.com/) с вашей хост-машины и найдите пункт `IPv4`. На этот адрес и будет подключаться удалённое устройство.
266+
267-
267+*Обратите внимание: в файле `config.yaml` также имеется массив `whitelist`, который работает по тому же принципу. Однако если существует файл `whitelist.txt`, то этот массив игнорируется.*
268-### 3. Соединить удалённое устройство с хост-машиной ST
268+
269-
269+### 2. Получение IP хост-машины с ST
270-Какой бы IP-адрес вы ни выбрали, вам нужно будет вводить его в адресной строке браузера вашего удалённого устройства.
270+
271-
271+После настройки белого списка адресов, следующим шагом будет получение IP-адреса хост-машины, на которой запущена SillyTavern.
272-Обычный адрес хост-машины, находящейся в той же Wi-Fi-сети, выглядит примерно так:
272+
273-
273+Если хост-машина находится в той же Wi-Fi-сети, то можно воспользоваться её внутренним Wi-Fi-IP-адресом:
274-`http://192.168.0.5:8000`
274+
275-
275+* На Windows: нажмите Пуск > введите `cmd.exe` в поиске > в консоли введите команду `ipconfig` и нажмите Enter > найдите пункт `IPv4-адрес`.
276-НЕ используйте https://
276+
277-Только http://
277+Если вы (или кто-то другой) хотите подключаться к хост-машине из другой сети, то вам понадобится ваш публичный IP-адрес.
278-
278+
279-### Открытие доступа до ST для всех IP-адресов
279+* Откройте [эту страницу](https://whatismyipaddress.com/) с вашей хост-машины и найдите пункт `IPv4`. На этот адрес и будет подключаться удалённое устройство.
280-
280+
281-Мы не рекомендуем так делать, но вы можете открыть файл `config.yaml` и изменить `whitelistMode` на `false`.
281+### 3. Соединить удалённое устройство с хост-машиной ST
282-
282+
283-Обязательно нужно удалить (или переименовать) файл `whitelist.txt`, если такой файл есть в корневой директории SillyTavern.
283+Какой бы IP-адрес вы ни выбрали, вам нужно будет вводить его в адресной строке браузера вашего удалённого устройства.
284-
284+
285-Эта практика считается небезопасной, поэтому, если вы решите так сделать, мы попросим вас установить логин и пароль.
285+Обычный адрес хост-машины, находящейся в той же Wi-Fi-сети, выглядит примерно так:
286-
286+
287-Оба этих параметра настраиваются в `config.yaml` (username и password).
287+`http://192.168.0.5:8000`
288-
288+
289-Останется только перезапустить сервер ST, и после этого к вам сможет подключиться любой пользователь вне зависимости от IP-адреса его устройства. Главное, чтобы он знал логин и пароль.
289+НЕ используйте https://
290-
290+Только http://
291-### Не получается соединиться?
291+
292-
292+### Открытие доступа до ST для всех IP-адресов
293-* Создайте входящее/исходящее правило в вашем фаерволле для порта, указанного в `config.yaml`. НЕ ПУТАЙТЕ этот процесс с пробросом портов на роутере. Если по ошибке перепутаете, то на ваш сервер сможет забраться посторонний человек и украсть ваши логи, этого следует избегать.
293+
294-* Переключите Сетевой профиль на значение "Частные". Для этого зайдите в Параметры > Сеть и Интернет > Ethernet. КРАЙНЕ важно для Windows 11, без этого не получится подключиться даже с правилом фаервола.
294+Мы не рекомендуем так делать, но вы можете открыть файл `config.yaml` и изменить `whitelistMode` на `false`.
295-
295+
296-## Проблемы с производительностью?
296+Обязательно нужно удалить (или переименовать) файл `whitelist.txt`, если такой файл есть в корневой директории SillyTavern.
297-
297+
298-Попробуйте включить опцию "Отключить эффект размытия" в меню "Пользовательские настройки".
298+Эта практика считается небезопасной, поэтому, если вы решите так сделать, мы попросим вас установить логин и пароль.
299-
299+
300-## Нравится ваш проект! Как помочь?
300+Оба этих параметра настраиваются в `config.yaml` (username и password).
301-
301+
302-### ЧТО ДЕЛАТЬ
302+Останется только перезапустить сервер ST, и после этого к вам сможет подключиться любой пользователь вне зависимости от IP-адреса его устройства. Главное, чтобы он знал логин и пароль.
303-
303+
304-1. Присылайте пулл реквесты
304+### Не получается соединиться?
305-2. Присылайте идеи и баг-репорты, оформленные по установленным шаблонам
305+
306-3. Прежде чем задавать вопросы, прочтите readme и документацию
306+* Создайте входящее/исходящее правило в вашем фаерволле для порта, указанного в `config.yaml`. НЕ ПУТАЙТЕ этот процесс с пробросом портов на роутере. Если по ошибке перепутаете, то на ваш сервер сможет забраться посторонний человек и украсть ваши логи, этого следует избегать.
307-
307+* Переключите Сетевой профиль на значение "Частные". Для этого зайдите в Параметры > Сеть и Интернет > Ethernet. КРАЙНЕ важно для Windows 11, без этого не получится подключиться даже с правилом фаервола.
308-### ЧЕГО НЕ ДЕЛАТЬ
308+
309-
309+## Проблемы с производительностью?
310-1. Предлагать донаты
310+
311-2. Присылать баг-репорты безо всякого контекста
311+Попробуйте включить опцию "Отключить эффект размытия" в меню "Пользовательские настройки".
312-3. Задавать вопросы, на которые уже отвечали
312+
313-
313+## Нравится ваш проект! Как помочь?
314-## Где найти старые фоны?
314+
315-
315+### ЧТО ДЕЛАТЬ
316-Мы двигаемся в сторону 100% уникальности всего используемого контента, поэтому старые фоны были убраны из репозитория.
316+
317-
317+1. Присылайте пулл реквесты
318-Они отправлены в архив, скачать их можно здесь:
318+2. Присылайте идеи и баг-репорты, оформленные по установленным шаблонам
319-
319+3. Прежде чем задавать вопросы, прочтите readme и документацию
320-<https://files.catbox.moe/1xevnc.zip>
320+
321-
321+### ЧЕГО НЕ ДЕЛАТЬ
322-
322+
323-
323+1. Предлагать донаты
324-
324+2. Присылать баг-репорты безо всякого контекста
325-## Авторы и лицензии
325+3. Задавать вопросы, на которые уже отвечали
326-
326+
327-**Мы надеемся, что эта программа принесёт людям пользу,
327+## Где найти старые фоны?
328-но мы не даём НИКАКИХ ГАРАНТИЙ; мы ни в коем случае не гарантируем того,
328+
329-что программа СООТВЕТСТВУЕТ КАКИМ-ЛИБО КРИТЕРИЯМ или ПРИГОДНА ДЛЯ КАКОЙ-ЛИБО ЦЕЛИ.
329+Мы двигаемся в сторону 100% уникальности всего используемого контента, поэтому старые фоны были убраны из репозитория.
330-Подробнее можно узнать в GNU Affero General Public License.**
330+
331-
331+Они отправлены в архив, скачать их можно здесь:
332-* Базовая TAI от Humi: Лицензия неизвестна
332+
333-* Модификации от Cohee и производная кодовая база: AGPL v3
333+<https://files.catbox.moe/1xevnc.zip>
334-* Дополнения RossAscends: AGPL v3
334+
335-* Кусочки TavernAITurbo мода от CncAnon: Лицензия неизвестна
335+
336-* Различные коммиты и предложения от kingbri (<https://github.com/bdashore3>)
336+
337-* Расширения и внедрение разного рода удобств - city_unit (<https://github.com/city-unit>)
337+
338-* Различные коммиты и баг-репорты от StefanDanielSchwarz (<https://github.com/StefanDanielSchwarz>)
338+## Авторы и лицензии
339-* Режим Вайфу вдохновлён работой PepperTaco (<https://github.com/peppertaco/Tavern/>)
339+
340-* Благодарность Pygmalion University за прекрасную работу по тестированию и за все предлагаемые крутые фичи!
340+**Мы надеемся, что эта программа принесёт людям пользу,
341-* Благодарность oobabooga за компиляцию пресетов для TextGen
341+но мы не даём НИКАКИХ ГАРАНТИЙ; мы ни в коем случае не гарантируем того,
342-* Пресеты для KoboldAI из KAI Lite: <https://lite.koboldai.net/>
342+что программа СООТВЕТСТВУЕТ КАКИМ-ЛИБО КРИТЕРИЯМ или ПРИГОДНА ДЛЯ КАКОЙ-ЛИБО ЦЕЛИ.
343-* Шрифт Noto Sans от Google (OFL license)
343+Подробнее можно узнать в GNU Affero General Public License.**
344-* Тема Font Awesome <https://fontawesome.com> (Иконки: CC BY 4.0, Шрифты: SIL OFL 1.1, Код: MIT License)
344+
345-* Клиентская библиотека для AI Horde от ZeldaFan0225: <https://github.com/ZeldaFan0225/ai_horde>
345+* Базовая TAI от Humi: Лицензия неизвестна
346-* Пусковой скрипт для Linux от AlpinDale
346+* Модификации от Cohee и производная кодовая база: AGPL v3
347-* Благодарность paniphons за оформление документа с FAQ
347+* Дополнения RossAscends: AGPL v3
348-* Фон в честь 10 тысяч пользователей в Discord от @kallmeflocc
348+* Кусочки TavernAITurbo мода от CncAnon: Лицензия неизвестна
349-* Стандартный контент (персонажи и лорбуки) предоставлен пользователями @OtisAlejandro, @RossAscends и @kallmeflocc
349+* Различные коммиты и предложения от kingbri (<https://github.com/bdashore3>)
350-* Корейский перевод от @doloroushyeonse
350+* Расширения и внедрение разного рода удобств - city_unit (<https://github.com/city-unit>)
351351* ПоддержкаРазличные k_euler_aкоммиты дляи Hordeбаг-репорты от StefanDanielSchwarz (<https://github.com/TeashrockStefanDanielSchwarz> )
352-* Китайский перевод от [@XXpE3](https://github.com/XXpE3), 中文 ISSUES 可以联系 @XXpE3
352+* Режим Вайфу вдохновлён работой PepperTaco (<https://github.com/peppertaco/Tavern/>)
353-
353+* Благодарность Pygmalion University за прекрасную работу по тестированию и за все предлагаемые крутые фичи!
354-<!-- LINK GROUP -->
354+* Благодарность oobabooga за компиляцию пресетов для TextGen
355-[back-to-top]: https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square
355+* Пресеты для KoboldAI из KAI Lite: <https://lite.koboldai.net/>
356-[cover]: https://github.com/SillyTavern/SillyTavern/assets/18619528/c2be4c3f-aada-4f64-87a3-ae35a68b61a4
356+* Шрифт Noto Sans от Google (OFL license)
357-[discord-link]: https://discord.gg/sillytavern
357+* Тема Font Awesome <https://fontawesome.com> (Иконки: CC BY 4.0, Шрифты: SIL OFL 1.1, Код: MIT License)
358-[discord-shield]: https://img.shields.io/discord/1100685673633153084?color=5865F2&label=discord&labelColor=black&logo=discord&logoColor=white&style=flat-square
358+* Клиентская библиотека для AI Horde от ZeldaFan0225: <https://github.com/ZeldaFan0225/ai_horde>
359-[discord-shield-badge]: https://img.shields.io/discord/1100685673633153084?color=5865F2&label=discord&labelColor=black&logo=discord&logoColor=white&style=for-the-badge
359+* Пусковой скрипт для Linux от AlpinDale
360+* Благодарность paniphons за оформление документа с FAQ
361+* Фон в честь 10 тысяч пользователей в Discord от @kallmeflocc
362+* Стандартный контент (персонажи и лорбуки) предоставлен пользователями @OtisAlejandro, @RossAscends и @kallmeflocc
363+* Корейский перевод от @doloroushyeonse
364+* Поддержка k_euler_a для Horde от <https://github.com/Teashrock>
365+* Китайский перевод от [@XXpE3](https://github.com/XXpE3), 中文 ISSUES 可以联系 @XXpE3
366+
367+<!-- LINK GROUP -->
368+[back-to-top]: https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square
369+[cover]: https://github.com/user-attachments/assets/01a6ae9a-16aa-45f2-8bff-32b5dc587e44
370+[discord-link]: https://discord.gg/sillytavern
371+[discord-shield]: https://img.shields.io/discord/1100685673633153084?color=5865F2&label=discord&labelColor=black&logo=discord&logoColor=white&style=flat-square
372+[discord-shield-badge]: https://img.shields.io/discord/1100685673633153084?color=5865F2&label=discord&labelColor=black&logo=discord&logoColor=white&style=for-the-badge
.github/readme-zh_cn.md+22 -6
@@ -1,6 +1,20 @@
1+> [!IMPORTANT]
2+> 这里的信息可能已经过时或不完整,仅供您参考。请使用英文版本获取最新信息。
3+
4+![][cover]
5+
6+<div align="center">
7+
18[English](readme.md) | 中文 | [日本語](readme-ja_jp.md) | [Русский](readme-ru_ru.md)
29
3-![image](https://github.com/SillyTavern/SillyTavern/assets/18619528/c2be4c3f-aada-4f64-87a3-ae35a68b61a4)
10+[![GitHub Stars](https://img.shields.io/github/stars/SillyTavern/SillyTavern.svg)](https://github.com/SillyTavern/SillyTavern/stargazers)
11+[![GitHub Forks](https://img.shields.io/github/forks/SillyTavern/SillyTavern.svg)](https://github.com/SillyTavern/SillyTavern/network)
12+[![GitHub Issues](https://img.shields.io/github/issues/SillyTavern/SillyTavern.svg)](https://github.com/SillyTavern/SillyTavern/issues)
13+[![GitHub Pull Requests](https://img.shields.io/github/issues-pr/SillyTavern/SillyTavern.svg)](https://github.com/SillyTavern/SillyTavern/pulls)
14+
15+</div>
16+
17+---
418
519移动设备界面友好,多种人工智能服务或模型支持(KoboldAI/CPP, Horde, NovelAI, Ooba, OpenAI, OpenRouter, Claude, Scale),类似 Galgame 的 老 婆 模 式,Horde SD,文本系统语音生成,世界信息(Lorebooks),可定制的界面,自动翻译,和比你所需要的更多的 Prompt。附带扩展服务,支持文本绘画生成与语音生成和基于向量数据库 的聊天信息总结。
620
@@ -67,15 +81,14 @@ SillyTavern 本身并无用处,因为它只是一个用户聊天界面。你
6781* 支持世界信息(Lorebooks):创建丰富的传说
6882* 支持 Window AI 浏览器扩展(运行 Claude、GPT 4 等模型):<https://windowai.io/>
6983* [Oobabooga's TextGen WebUI](https://github.com/oobabooga/text-generation-webui) API 连接
7084* 连接 [AI Horde](https://horde.koboldaiaihorde.net/)
7185* Prompt 生成格式调整
7286* Webp 角色卡支持(PNG 仍是内部格式)
7387
7488## 扩展
7589
76-SillyTavern 支持扩展服务,一些额外的人工智能模块可通过 [SillyTavern Extras API](https://github.com/SillyTavern/SillyTavern-extras) 提供。
90+SillyTavern 支持扩展服务。
7791
78-* 作者注释/角色偏见
7992* 角色情绪识别
8093* 聊天记录自动摘要
8194* 在聊天窗口发送图片,并由人工智能解释图片内容
@@ -276,8 +289,8 @@ SillyTavern 会将 API 密钥保存在目录中的 `secrets.json` 文件内。
276289
277290## 屏幕截图
278291
279292<img width="400500" alt="image" src="https://user-images.githubusercontentgithub.com/18619528/228649245user-8061c60fattachments/assets/9b5f32f0-63dcc3b3-488e4102-9325b3f5-f151b7a3ec2d.png0e9213c0f50f">
280293<img width="400500" alt="image" src="https://user-images.githubusercontentgithub.com/18619528/228649856user-fbdeef05attachments/assets/913fdbaa-d7277d33-4d5a42f1-be80ae2c-266cbbc6b811.png89dca41c53d1">
281294
282295## 许可证和贡献
283296
@@ -304,3 +317,6 @@ SillyTavern 会将 API 密钥保存在目录中的 `secrets.json` 文件内。
304317* Default content (characters and lore books) provided by @OtisAlejandro, @RossAscends and @kallmeflocc
305318* Korean translation by @doloroushyeonse
306319* 中文翻译由 [@XXpE3](https://github.com/XXpE3) 完成,中文 ISSUES 可以联系 @XXpE3
320+
321+<!-- LINK GROUP -->
322+[cover]: https://github.com/user-attachments/assets/01a6ae9a-16aa-45f2-8bff-32b5dc587e44
.github/readme.md+190 -230
@@ -1,160 +1,147 @@
11<a name="readme-top"></a>
22
3-English | [中文](readme-zh_cn.md) | [日本語](readme-ja_jp.md) | [Русский](readme-ru_ru.md)
4-
53![][cover]
64
7-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.
5+<div align="center">
86
9-Based on a fork of [TavernAI](https://github.com/TavernAI/TavernAI) 1.2.8
7+English | [中文](readme-zh_cn.md) | [日本語](readme-ja_jp.md) | [Русский](readme-ru_ru.md)
108
11-## Important news!
9+[![GitHub Stars](https://img.shields.io/github/stars/SillyTavern/SillyTavern.svg)](https://github.com/SillyTavern/SillyTavern/stargazers)
10+[![GitHub Forks](https://img.shields.io/github/forks/SillyTavern/SillyTavern.svg)](https://github.com/SillyTavern/SillyTavern/network)
11+[![GitHub Issues](https://img.shields.io/github/issues/SillyTavern/SillyTavern.svg)](https://github.com/SillyTavern/SillyTavern/issues)
12+[![GitHub Pull Requests](https://img.shields.io/github/issues-pr/SillyTavern/SillyTavern.svg)](https://github.com/SillyTavern/SillyTavern/pulls)
1213
13-1. We have created a [Documentation website](https://docs.sillytavern.app/) to answer most of your questions and help you get started.
14+</div>
1415
15-2. Missing extensions after the update? Since the 1.10.6 release version, most of the previously built-in extensions have been converted to downloadable add-ons. You can download them via the built-in "Download Extensions and Assets" menu in the extensions panel (stacked blocks icon in the top bar).
16+---
1617
17-3. Unsupported platform: android arm LEtime-web. 32-bit Android requires an external dependency that can't be installed with npm. Use the following command to install it: `pkg install esbuild`. Then run the usual installation steps.
18+SillyTavern provides a single unified interface for many LLM APIs (KoboldAI/CPP, Horde, NovelAI, Ooba, Tabby, OpenAI, OpenRouter, Claude, Mistral and more), a mobile-friendly layout, Visual Novel Mode, Automatic1111 & ComfyUI API image generation integration, TTS, WorldInfo (lorebooks), customizable UI, auto-translate, more prompt options than you'd ever want or need, and endless growth potential via third-party extensions.
1819
19-### Brought to you by Cohee, RossAscends, and the SillyTavern community
20+We have a [Documentation website](https://docs.sillytavern.app/) to answer most of your questions and help you get started.
2021
2122### What is SillyTavern or TavernAI?
2223
2324SillyTavern is a user interface(or youST canfor installshort) onis youra computerlocally (andinstalled Androiduser phones)interface that allows you to interact with text generation AIs and chat/roleplayLLMs, withimage charactersgeneration youengines, orand theTTS communityvoice createmodels.
2425
2526SillyTavernBeginning isin February 2023 as a fork of TavernAI 1.2.8, whichSillyTavern isnow underhas moreover active100 developmentcontributors and has2 addedyears manyof majorindependent features.development Atunder thisits pointbelt, they canand becontinues thoughtto ofserve as completelya independentleading programssoftware for savvy AI hobbyists.
2627
2728## ScreenshotsOur Vision
2829
29-<img width="400" alt="image" src="https://github.com/SillyTavern/SillyTavern/assets/61471128/e902c7a2-45a6-4415-97aa-c59c597669c1">
30+1. We aim to empower users with as much utility and control over their LLM prompts as possible. The steep learning curve is part of the fun!
30-<img width="400" alt="image" src="https://github.com/SillyTavern/SillyTavern/assets/61471128/f8a79c47-4fe9-4564-9e4a-bf247ed1c961">
31+2. We do not provide any online or hosted services, nor programmatically track any user data.
32+3. SillyTavern is a passion project brought to you by a dedicated community of LLM enthusiasts, and will always be free and open sourced.
3133
3234### Branches
3335
3436SillyTavern is being developed using a two-branch system to ensure a smooth experience for all users.
3537
3638* `release` -🌟 **Recommended for most users.** This is the most stable and recommended branch, updated only when major releases are pushed. It's suitable for the majority of users. Typically updated once a month.
3739* `staging` - ⚠️ **Not recommended for casual use.** This branch has the latest features, but be cautious as it may break at any time. Only for power users and enthusiasts. Updates several times daily.
3840
3941If 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.
4042
4143### What do I need other than SillyTavern?
4244
4345On its ownSince SillyTavern is useless, as it's just aonly useran interface. You, haveyou towill haveneed access to an AI systemLLM backend thatto provide inference. You can actuse asAI theHorde roleplayfor characterinstant out-of-the-box chatting. ThereAside arefrom variousthat, supportedwe backends:support OpenAPImany APIother (GPT),local KoboldAIand (eithercloud-based runningLLM locallybackends: orOpenAI-compatible onAPI, GoogleKoboldAI, Colab)Tabby, and many more. You can read more about thisour supported APIs in [the FAQ](https://docs.sillytavern.app/usage/faqapi-connections/).
4446
4547### Do I need a powerful PC to run SillyTavern?
4648
47-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.
49+The hardware requirements are minimal: it will run on anything that can run NodeJS 18 or higher. If you intend to do LLM inference on your local machine, we recommend a 3000-series NVIDIA graphics card with at least 6GB of VRAM. Check your backend's documentation for more details.
50+
51+### Suggested Backends (not affiliated)
52+
53+* [AI Horde](https://aihorde.net/) - use models hosted by volunteers. Requires no further setup
54+* [KoboldCpp](https://github.com/LostRuins/koboldcpp) - a community's favorite for running GGUF models locally
55+* [tabbyAPI](https://github.com/theroyallab/tabbyAPI) - a popular, lightweight, locally-hosted exl2 inference API
56+* [OpenRouter](https://openrouter.ai) - a single API for many cloud providers (OpenAI, Claude, Meta Llama, etc.) as well as popular community models.
4857
4958## Questions or suggestions?
5059
5160### We now have a community Discord server
5261
5362| [![][discord-shield-badge]][discord-link] | [Join our Discord community!](https://discord.gg/sillytavern) Get support, share favorite characters and prompts. |
5463| :---------------------------------------- | :----------------------------------------------------------------------------------------------------------------- |
5564
5665Or get in touch with the developers directly:
5766
5867* Discord: cohee or, rossascends, wolfsblvt
5968* Reddit: [/u/RossAscends](https://www.reddit.com/user/RossAscends/) or, [/u/sillylossy](https://www.reddit.com/user/sillylossy/), [u/Wolfsblvt](https://www.reddit.com/user/Wolfsblvt/)
6069* [Post a GitHub issue](https://github.com/SillyTavern/SillyTavern/issues)
6170
62-## This version includes
71+### I like your project! How do I contribute?
6372
64-* A heavily modified TavernAI 1.2.8 (more than 50% of code rewritten or optimized)
73+1. Send pull requests. Learn how to contribute: [CONTRIBUTING.md](../CONTRIBUTING.md)
65-* Swipes
74+2. Send feature suggestions and issue reports using the provided templates.
66-* Group chats: multi-bot rooms for characters to talk to you or each other
75+3. Read this entire readme file and check the documentation website first, to avoid sending duplicate issues.
67-* Chat checkpoints / branching
68-* Advanced KoboldAI / TextGen generation settings with a lot of community-made presets
69-* World Info support: create rich lore or save tokens on your character card
70-* [OpenRouter](https://openrouter.ai) connection for various APIs (Claude, GPT-4/3.5 and more)
71-* [Oobabooga's TextGen WebUI](https://github.com/oobabooga/text-generation-webui) API connection
72-* [AI Horde](https://horde.koboldai.net/) connection
73-* Prompt generation formatting tweaking
7476
7577## ExtensionsScreenshots
7678
77-SillyTavern has extensibility support, with some additional AI modules hosted via [SillyTavern Extras API](https://github.com/SillyTavern/SillyTavern-extras)
79+<img width="500" alt="image" src="https://github.com/user-attachments/assets/9b5f32f0-c3b3-4102-b3f5-0e9213c0f50f">
80+<img width="500" alt="image" src="https://github.com/user-attachments/assets/913fdbaa-7d33-42f1-ae2c-89dca41c53d1">
7881
79-* Author's Note / Character Bias
82+## Character Cards
80-* Character emotional expressions (sprites)
83+
81-* Auto-Summary of the chat history
84+SillyTavern is built around the concept of "character cards". A character card is a collection of prompts that set the behavior of the LLM and is required to have persistent conversations in SillyTavern. They function similarly to ChatGPT's GPTs or Poe's bots. The content of a character card can be anything: an abstract scenario, an assistant tailored for a specific task, a famous personality or a fictional character.
82-* Sending images to chat, and the AI interpreting the content
83-* Stable Diffusion image generation (5 chat-related presets plus 'free mode')
84-* Text-to-speech for AI response messages (via ElevenLabs, Silero, or the OS's System TTS)
8585
86-A full list of included extensions and tutorials on how to use them can be found in the [Docs](https://docs.sillytavern.app/).
86+The name field is the only required character card input. To start a neutral conversation with the language model, create a new card simply called "Assistant" and leave the rest of the boxes blank. For a more themed chat, you can provide the language model with various background details, behavior and writing patterns, and a scenario to jump start the chat.
8787
88-## UI/CSS/Quality of Life tweaks by RossAscends
88+To have a quick conversation without selecting a character card or to just test the LLM connection, simply type your prompt input into the input bar on the Welcome Screen after opening SillyTavern. Please note that such chats are temporary and will not be saved.
8989
90-* Mobile UI optimized for iOS, and supports saving a shortcut to the home screen and opening in fullscreen mode.
90+To get a general idea on how to define character cards, see the default character (Seraphina) or download selected community-made cards from the "Download Extensions & Assets" menu.
91-* HotKeys
92- * Up = Edit last message in chat
93- * Ctrl+Up = Edit last USER message in chat
94- * Left = swipe left
95- * Right = swipe right (NOTE: swipe hotkeys are disabled when the chat bar has something typed into it)
96- * Ctrl+Left = view locally stored variables (in the browser console window)
97- * Enter (with chat bar selected) = send your message to AI
98- * Ctrl+Enter = Regenerate the last AI response
9991
100-* User Name Changes and Character Deletion no longer force the page to refresh.
92+## Key Features
10193
102-* Toggle option to automatically connect to API on page load.
94+* Advanced text generation settings with many community-made presets
10395* Toggle optionWorld toInfo automaticallysupport: loadcreate therich mostlore recentlyor viewedsave charactertokens on pageyour load.character card
10496* Better TokenGroup Counterchats: multi- worksbot onrooms unsavedfor characters, andto showstalk bothto permanentyou and/or temporaryeach tokens.other
97+* Rich UI customization options: theme colors, background images, custom CSS, and more
98+* User personas: let the AI know a bit about you for greater immersion
99+* Built-in RAG support: add documents to your chats for the AI to reference
100+* Extensive chat commands subsystem and own [scripting engine](https://docs.sillytavern.app/usage/st-script/)
105101
106-* Better Past Chats View
102+## Extensions
107- * New Chat filenames are saved in a readable format of "(character) - (when it was created)"
108- * Chat preview increased from 40 characters to 300.
109- * Multiple options for characters list sorting (by name, creation date, chat sizes).
110103
111-* By default the left and right settings panel will close when you click away from it.
104+SillyTavern has extensibility support.
112-* Clicking the Lock on the nav panel will hold the panel open, and this setting be remembered across sessions.
113-* Nav panel status of open or closed will also be saved across sessions.
114105
115-* Customizable chat UI:
106+* Character emotional expressions (sprites)
116- * Play a sound when a new message arrives
107+* Auto-Summary of the chat history
117- * Switch between round or rectangle avatar styles
108+* Automatic UI and chat translation
118- * Have a wider chat window on the desktop
109+* Stable Diffusion/FLUX/DALL-E image generation
119- * Optional semi-transparent glass-like panels
110+* Text-to-speech for AI response messages (via ElevenLabs, Silero, or the OS's System TTS)
120- * Customizable page colors for 'main text', 'quoted text', and 'italics text'.
111+* Web Search capabilities for adding additional real world context to your prompts
121- * Customizable UI background color and blur amount
112+* Many more are available to download from the "Download Extensions & Assets" menu.
113+
114+Tutorials on how to use them can be found in the [Docs](https://docs.sillytavern.app/).
122115
123116# ⌛ Installation
124117
125118> \[!WARNING]
119+>
126120> * DO NOT INSTALL INTO ANY WINDOWS CONTROLLED FOLDER (Program Files, System32, etc).
127121> * DO NOT RUN START.BAT WITH ADMIN PERMISSIONS
128122> * INSTALLATION ON WINDOWS 7 IS IMPOSSIBLE AS IT CAN NOT RUN NODEJS 18.16
129123
130124## 🪟 Windows
131125
132126### Installing via Git
133- 1. Install [NodeJS](https://nodejs.org/en) (latest LTS version is recommended)
134- 2. Install [Git for Windows](https://gitforwindows.org/)
135- 3. Open Windows Explorer (`Win+E`)
136- 4. Browse to or Create a folder that is not controlled or monitored by Windows. (ex: C:\MySpecialFolder\)
137- 5. Open a Command Prompt inside that folder by clicking in the 'Address Bar' at the top, typing `cmd`, and pressing Enter.
138- 6. Once the black box (Command Prompt) pops up, type ONE of the following into it and press Enter:
139127
140-- for Release Branch: `git clone https://github.com/SillyTavern/SillyTavern -b release`
128+1. Install [NodeJS](https://nodejs.org/en) (latest LTS version is recommended)
141-- for Staging Branch: `git clone https://github.com/SillyTavern/SillyTavern -b staging`
129+2. Install [Git for Windows](https://gitforwindows.org/)
130+3. Open Windows Explorer (`Win+E`)
131+4. Browse to or Create a folder that is not controlled or monitored by Windows. (ex: C:\MySpecialFolder\)
132+5. Open a Command Prompt inside that folder by clicking in the 'Address Bar' at the top, typing `cmd`, and pressing Enter.
133+6. Once the black box (Command Prompt) pops up, type ONE of the following into it and press Enter:
142134
143- 7. Once everything is cloned, double-click `Start.bat` to make NodeJS install its requirements.
135+* for Release Branch: `git clone https://github.com/SillyTavern/SillyTavern -b release`
144- 8. The server will then start, and SillyTavern will pop up in your browser.
136+* for Staging Branch: `git clone https://github.com/SillyTavern/SillyTavern -b staging`
145137
146-## Installing via SillyTavern Launcher
138+7. Once everything is cloned, double-click `Start.bat` to make NodeJS install its requirements.
147-1. On your keyboard: press **`WINDOWS + R`** to open Run dialog box. Then, run the following command to install git:
139+8. The server will then start, and SillyTavern will pop up in your browser.
148-```shell
140+
149-cmd /c winget install -e --id Git.Git
141+### Installing via GitHub Desktop
150-```
151-2. On your keyboard: press **`WINDOWS + E`** to open File Explorer, then navigate to the folder where you want to install the launcher. Once in the desired folder, type `cmd` into the address bar and press enter. Then, run the following command:
152-```shell
153-git clone https://github.com/SillyTavern/SillyTavern-Launcher.git && cd SillyTavern-Launcher && start installer.bat
154-```
155142
156-## Installing via GitHub Desktop
157143(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/))
144+
158145 1. Install [NodeJS](https://nodejs.org/en) (latest LTS version is recommended)
159146 2. Install [GitHub Desktop](https://central.github.com/deployments/desktop/desktop/latest/win32)
160147 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)
@@ -172,50 +159,82 @@ For MacOS / Linux all of these will be done in a Terminal.
1721591. Install git and nodeJS (the method for doing this will vary depending on your OS)
1731602. Clone the repo
174161
175162-* for Release Branch: `git clone https://github.com/SillyTavern/SillyTavern -b release`
176163-* for Staging Branch: `git clone https://github.com/SillyTavern/SillyTavern -b staging`
177164
1781653. `cd SillyTavern` to navigate into the install folder.
1791664. Run the `start.sh` script with one of these commands:
180167
181168-* `./start.sh`
182169-* `bash start.sh`
170+
171+## ⚡ Installing via SillyTavern Launcher
183172
184-## Installing via SillyTavern Launcher
173+SillyTavern Launcher is an installation wizard that will help you get setup with many options, including installing a backend for local inference.
174+
175+### For Windows users
176+
177+1. On your keyboard: press **`WINDOWS + R`** to open Run dialog box. Then, run the following command to install git:
178+
179+```shell
180+cmd /c winget install -e --id Git.Git
181+```
182+
183+2. On your keyboard: press **`WINDOWS + E`** to open File Explorer, then navigate to the folder where you want to install the launcher. Once in the desired folder, type `cmd` into the address bar and press enter. Then, run the following command:
184+
185+```shell
186+git clone https://github.com/SillyTavern/SillyTavern-Launcher.git && cd SillyTavern-Launcher && start installer.bat
187+```
185188
186189### For Linux users
190+
1871911. Open your favorite terminal and install git
1881922. Git clone the Sillytavern-Launcher with:
193+
189194```shell
190195git clone https://github.com/SillyTavern/SillyTavern-Launcher.git && cd SillyTavern-Launcher
191196```
192-3. Start the installer.sh with:
197+
198+3. Start the installer.sh with:
199+
193200```shell
194201chmod +x install.sh && ./install.sh
195202```
196-4. After installation start the launcher.sh with:
203+
204+4. After installation start the launcher.sh with:
205+
197206```shell
198207chmod +x launcher.sh && ./launcher.sh
199208```
200209
201210### For Mac users
202-1. Open a terminal and install brew with:
211+
212+1. Open a terminal and install brew with:
213+
203214```shell
204215/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
205216```
206-2. Install git with:
217+
218+2. Install git with:
219+
207220```shell
208221brew install git
209222```
210-3. Git clone the Sillytavern-Launcher with:
223+
224+3. Git clone the Sillytavern-Launcher with:
225+
211226```shell
212227git clone https://github.com/SillyTavern/SillyTavern-Launcher.git && cd SillyTavern-Launcher
213228```
214-4. Start the installer.sh with:
229+
230+4. Start the installer.sh with:
231+
215232```shell
216233chmod +x install.sh && ./install.sh
217234```
218-5. After installation start the launcher.sh with:
235+
236+5. After installation start the launcher.sh with:
237+
219238```shell
220239chmod +x launcher.sh && ./launcher.sh
221240```
@@ -236,18 +255,18 @@ You will need two mandatory directory mappings and a port mapping to allow Silly
236255
237256##### Volume Mappings
238257
239258-* [config] - The directory where SillyTavern configuration files will be stored on your host machine
240259-* [data] - The directory where SillyTavern user data (including characters) will be stored on your host machine
241260-* [plugins] - (optional) The directory where SillyTavern server plugins will be stored on your host machine
242261
243262##### Port Mappings
244263
245264-* [PublicPort] - The port to expose the traffic on. This is mandatory, as you will be accessing the instance from outside of its virtual machine container. DO NOT expose this to the internet without implementing a separate service for security.
246265
247266##### Additional Settings
248267
249268-* [DockerNet] - The docker network that the container should be created with a connection to. If you don't know what it is, see the [official Docker documentation](https://docs.docker.com/reference/cli/docker/network/).
250269-* [version] - On the right-hand side of this GitHub page, you'll see "Packages". Select the "sillytavern" package and you'll see the image versions. The image tag "latest" will keep you up-to-date with the current release. You can also utilize "staging" and "release" tags that point to the nightly images of the respective branches, but this may not be appropriate, if you are utilizing extensions that could be broken, and may need time to update.
251270
252271#### Install command
253272
@@ -258,128 +277,82 @@ You will need two mandatory directory mappings and a port mapping to allow Silly
258277
259278> Note that 8000 is a default listening port. Don't forget to use an appropriate port if you change it in the config.
260279
261280## 📱 Mobile - Installing via termuxTermux on Android OS
262281
263282> \[!NOTE]
264283> **SillyTavern can be run natively on Android phonesdevices using Termux., Pleasebut referwe todo thisnot guideprovide byofficial ArroganceComplex#2659:support for this use case.**
284+>
285+> **Please refer to this guide by ArroganceComplex#2659:**
286+>
265287> * <https://rentry.org/STAI-Termux>
266288
289+**Unsupported platform: android arm LEtime-web.** 32-bit Android requires an external dependency that can't be installed with npm. Use the following command to install it: `pkg install esbuild`. Then run the usual installation steps.
267290
268291## API keys management
269292
270293SillyTavern saves your API keys to a `secrets.json` file in the user data directory (`/data/default-user/secrets.json` is the default path).
271294
272295By default, theyAPI keys will not be exposedvisible tofrom athe frontendinterface after you enterhave saved them and reloadrefreshed the page.
273296
274297In order to enable viewing your keys by clicking a button in the API block:
275298
2762991. Set the value of `allowKeysExposure` to `true` in `config.yaml` file.
2773002. Restart the SillyTavern server.
301+3. Click the 'View hidden API keys' link at the bottom right of the API Connection Panel.
278302
279303## RemoteCommand-line connectionsarguments
280-
281-Most often this is for people who want to use SillyTavern on their mobile phones while their PC runs the ST server on the same wifi network.
282-
283-However, it can be used to allow remote connections from anywhere as well.
284304
285-**IMPORTANT: Refer to the official guide if you want to configure SillyTavern user accounts with (optional) password protection: [Users](https://docs.sillytavern.app/installation/st-1.12.0-migration-guide/#users).**
305+You can pass command-line arguments to SillyTavern server startup to override some settings in `config.yaml`.
286306
287-### 1. Managing whitelisted IPs
307+### Examples
288308
289-* Create a new text file inside your SillyTavern base install folder called `whitelist.txt`.
309+```shell
290-* Open the file in a text editor, and add a list of IPs you want to be allowed to connect.
310+node server.js --port 8000 --listen false
291-
311+# or
292-*Both individual IPs and wildcard IP ranges are accepted. Examples:*
312+npm run start -- --port 8000 --listen false
293-
313+# or (Windows only)
294-```txt
314+Start.bat --port 8000 --listen false
295-192.168.0.1
296-192.168.0.20
297-```
298-
299-or
300-
301-```txt
302-192.168.0.*
303315```
304316
305-(the above wildcard IP range will allow any device on the local network to connect)
317+### Supported arguments
306318
307-CIDR masks are also accepted (eg. 10.0.0.0/24).
319+| Option | Description | Type |
308-
320+|-------------------------|------------------------------------------------------------------------------------------------------|----------|
309-* Save the `whitelist.txt` file.
321+| `--version` | Show version number | boolean |
310-* Restart your ST server.
322+| `--enableIPv6` | Enables IPv6. | boolean |
311-
323+| `--enableIPv4` | Enables IPv4. | boolean |
312-Now devices which have the IP specified in the file will be able to connect.
324+| `--port` | Sets the port under which SillyTavern will run. If not provided falls back to yaml config 'port'. | number |
313-
325+| `--dnsPreferIPv6` | Prefers IPv6 for dns. If not provided falls back to yaml config 'preferIPv6'. | boolean |
314-*Note: `config.yaml` also has a `whitelist` array, which you can use in the same way, but this array will be ignored if `whitelist.txt` exists.*
326+| `--autorun` | Automatically launch SillyTavern in the browser. If not provided falls back to yaml config 'autorun'.| boolean |
315-
327+| `--autorunHostname` | The autorun hostname, probably best left on 'auto'. | string |
316-### 2. Getting the IP for the ST host machine
328+| `--autorunPortOverride` | Overrides the port for autorun. | string |
317-
329+| `--listen` | SillyTavern is listening on all network interfaces. If not provided falls back to yaml config 'listen'.| boolean |
318-After the whitelist has been setup, you'll need the IP of the ST-hosting device.
330+| `--corsProxy` | Enables CORS proxy. If not provided falls back to yaml config 'enableCorsProxy'. | boolean |
319-
331+| `--disableCsrf` | Disables CSRF protection | boolean |
320-If the ST-hosting device is on the same wifi network, you will use the ST-host's internal wifi IP:
332+| `--ssl` | Enables SSL | boolean |
321-
333+| `--certPath` | Path to your certificate file. | string |
322-* For Windows: windows button > type `cmd.exe` in the search bar > type `ipconfig` in the console, hit Enter > look for `IPv4` listing.
334+| `--keyPath` | Path to your private key file. | string |
323-
335+| `--whitelist` | Enables whitelist mode | boolean |
324-If you (or someone else) want to connect to your hosted ST while not being on the same network, you will need the public IP of your ST-hosting device.
336+| `--dataRoot` | Root directory for data storage | string |
337+| `--avoidLocalhost` | Avoids using 'localhost' for autorun in auto mode. | boolean |
338+| `--basicAuthMode` | Enables basic authentication | boolean |
339+| `--requestProxyEnabled` | Enables a use of proxy for outgoing requests | boolean |
340+| `--requestProxyUrl` | Request proxy URL (HTTP or SOCKS protocols) | string |
341+| `--requestProxyBypass` | Request proxy bypass list (space separated list of hosts) | array |
325342
326-* While using the ST-hosting device, access [this page](https://whatismyipaddress.com/) and look for `IPv4`. This is what you would use to connect from the remote device.
343+## Remote connections
327-
328-### 3. Connect the remote device to the ST host machine
329-
330-Whatever IP you ended up with for your situation, you will put that IP address and port number into the remote device's web browser.
331-
332-A typical address for an ST host on the same wifi network would look like this:
333-
334-`http://192.168.0.5:8000`
335-
336-Use http:// NOT https://
337-
338-### Opening your ST to all IPs
339-
340-We do not recommend doing this, but you can open `config.yaml` and change `whitelistMode` to `false`.
341-
342-You must remove (or rename) `whitelist.txt` in the SillyTavern base install folder if it exists.
343-
344-This is usually an insecure practice, so we require you to set a username and password when you do this.
345-
346-The username and password are set in `config.yaml`.
347344
348-After restarting your ST server, any device will be able to connect to it, regardless of their IP as long as they know the username and password.
345+Most often this is for people who want to use SillyTavern on their mobile phones while their PC runs the ST server on the same Wi-Fi network. However, it can be used to allow remote connections from anywhere as well.
349346
350-### Still Unable To Connect?
347+Read the detailed guide on how to set up remote connections in the [Docs](https://docs.sillytavern.app/usage/remoteconnections/).
351348
352-* Create an inbound/outbound firewall rule for the port found in `config.yaml`. Do NOT mistake this for port-forwarding on your router, otherwise, someone could find your chat logs and that's a big no-no.
349+You may also want to configure SillyTavern user profiles with (optional) password protection: [Users](https://docs.sillytavern.app/installation/st-1.12.0-migration-guide/#users).
353-* Enable the Private Network profile type in Settings > Network and Internet > Ethernet. This is VERY important for Windows 11, otherwise, you would be unable to connect even with the aforementioned firewall rules.
354350
355351## Performance issues?
356352
357353Try1. enablingDisable the No Blur Effect (Fastand UI)enable modeReduced Motion on the User settingsSettings panel (UI Theme toggles category).
358-
354+2. If using response streaming, set the streaming FPS to a lower value (10-15 FPS is recommended).
359-## I like your project! How do I contribute?
355+3. Make sure the browser is enabled to use GPU acceleration for rendering.
360-
361-### DO's
362-
363-1. Send pull requests
364-2. Send feature suggestions and issue reports using established templates
365-3. Read the readme file and built-in documentation before asking anything
366-
367-### DONT's
368-
369-1. Offer monetary donations
370-2. Send bug reports without providing any context
371-3. Ask the questions that were already answered numerous times
372-
373-## Where can I find the old backgrounds?
374-
375-We're moving to a 100% original content only policy, so old background images have been removed from this repository.
376-
377-You can find them archived here:
378-
379-<https://files.catbox.moe/1xevnc.zip>
380-
381-
382-
383356
384357## License and credits
385358
@@ -388,32 +361,19 @@ but WITHOUT ANY WARRANTY; without even the implied warranty of
388361MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
389362GNU Affero General Public License for more details.**
390363
391-* TAI Base by Humi: MIT
364+* [TavernAI](https://github.com/TavernAI/TavernAI) 1.2.8 by Humi: MIT License
392-* Cohee's modifications and derived code: AGPL v3
365+* Portions of CncAnon's TavernAITurbo mod used with permission
393-* RossAscends' additions: AGPL v3
366+* Visual Novel Mode inspired by the work of PepperTaco (<https://github.com/peppertaco/Tavern/>)
394-* Portions of CncAnon's TavernAITurbo mod: Unknown license
395-* kingbri's various commits and suggestions (<https://github.com/bdashore3>)
396-* city_unit's extensions and various QoL features (<https://github.com/city-unit>)
397-* StefanDanielSchwarz's various commits and bug reports (<https://github.com/StefanDanielSchwarz>)
398-* Waifu mode inspired by the work of PepperTaco (<https://github.com/peppertaco/Tavern/>)
399-* Thanks Pygmalion University for being awesome testers and suggesting cool features!
400-* Thanks oobabooga for compiling presets for TextGen
401-* KoboldAI Presets from KAI Lite: <https://lite.koboldai.net/>
402367* Noto Sans font by Google (OFL license)
403368* Icon theme by Font Awesome <https://fontawesome.com> (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
404-* AI Horde client library by ZeldaFan0225: <https://github.com/ZeldaFan0225/ai_horde>
369+* Default content by @OtisAlejandro (Seraphina character and lorebook) and @kallmeflocc (10K Discord Users Celebratory Background)
405-* Linux startup script by AlpinDale
406-* Thanks paniphons for providing a FAQ document
407-* 10K Discord Users Celebratory Background by @kallmeflocc
408-* Default content (characters and lore books) provided by @OtisAlejandro, @RossAscends and @kallmeflocc
409-* Korean translation by @doloroushyeonse
410-* k_euler_a support for Horde by <https://github.com/Teashrock>
411-* Chinese translation by [@XXpE3](https://github.com/XXpE3), 中文 ISSUES 可以联系 @XXpE3
412370* Docker guide by [@mrguymiah](https://github.com/mrguymiah) and [@Bronya-Rand](https://github.com/Bronya-Rand)
413371
372+## Top Contributors
373+
374+[![Contributors](https://contrib.rocks/image?repo=SillyTavern/SillyTavern)](https://github.com/SillyTavern/SillyTavern/graphs/contributors)
375+
414376<!-- LINK GROUP -->
415-[back-to-top]: https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square
377+[cover]: https://github.com/user-attachments/assets/01a6ae9a-16aa-45f2-8bff-32b5dc587e44
416-[cover]: https://github.com/SillyTavern/SillyTavern/assets/18619528/c2be4c3f-aada-4f64-87a3-ae35a68b61a4
417378[discord-link]: https://discord.gg/sillytavern
418-[discord-shield]: https://img.shields.io/discord/1100685673633153084?color=5865F2&label=discord&labelColor=black&logo=discord&logoColor=white&style=flat-square
419379[discord-shield-badge]: https://img.shields.io/discord/1100685673633153084?color=5865F2&label=discord&labelColor=black&logo=discord&logoColor=white&style=for-the-badge
.gitignore+1 -0
@@ -49,3 +49,4 @@ public/css/user.css
4949/data
5050/default/scaffold
5151public/scripts/extensions/third-party
52+/certs
Dockerfile+1 -1
@@ -19,7 +19,7 @@ ENV NODE_ENV=production
1919COPY package*.json post-install.js ./
2020RUN \
2121 echo "*** Install npm packages ***" && \
2222 npm i --no-audit --no-fund --quietloglevel=error --no-progress --omit=dev && npm cache clean --force
2323
2424# Bundle app source
2525COPY . ./
Start.bat+1 -1
@@ -1,7 +1,7 @@
11@echo off
22pushd %~dp0
33set NODE_ENV=production
44call npm install --no-audit --no-fund --quietloglevel=error --no-progress --omit=dev
55node server.js %*
66pause
77popd
UpdateAndStart.bat+1 -1
@@ -12,7 +12,7 @@ if %errorlevel% neq 0 (
1212 )
1313)
1414set NODE_ENV=production
1515call npm install --no-audit --no-fund --quietloglevel=error --no-progress --omit=dev
1616node server.js %*
1717pause
1818popd
UpdateForkAndStart.bat+2 -2
@@ -42,7 +42,7 @@ if NOT "!AUTO_SWITCH!"=="" (
4242 SET TARGET_BRANCH=release
4343 goto update
4444 )
45-
45+
4646 echo Auto-switching defined to stay on current branch
4747 goto update
4848)
@@ -95,7 +95,7 @@ if %errorlevel% neq 0 (
9595
9696echo Installing npm packages and starting server
9797set NODE_ENV=production
9898call npm install --no-audit --no-fund --quietloglevel=error --no-progress --omit=dev
9999node server.js %*
100100
101101:end
default/config.yaml+15 -0
@@ -37,6 +37,16 @@ basicAuthUser:
3737 password: "password"
3838# Enables CORS proxy middleware
3939enableCorsProxy: false
40+# -- REQUEST PROXY CONFIGURATION --
41+requestProxy:
42+ # If a proxy is enabled, all outgoing HTTP/HTTPS requests will be routed through it.
43+ enabled: false
44+ # Proxy URL. Possible protocols: http, https, socks, socks5, socks4, pac
45+ url: "socks5://username:password@example.com:1080"
46+ # Proxy bypass list. Requests to these hosts won't be routed through the proxy.
47+ bypass:
48+ - localhost
49+ - 127.0.0.1
4050# Enable multi-user mode
4151enableUserAccounts: false
4252# Enable discreet login mode: hides user list on the login screen
@@ -73,6 +83,8 @@ skipContentCheck: false
7383disableChatBackup: false
7484# Number of backups to keep for each chat and settings file
7585numberOfBackups: 50
86+# Interval in milliseconds to throttle chat backups per user
87+chatBackupThrottleInterval: 10000
7688# Allowed hosts for card downloads
7789whitelistImportDomains:
7890 - localhost
@@ -95,6 +107,9 @@ requestOverrides: []
95107enableExtensions: true
96108# Automatically update extensions when a release version changes
97109enableExtensionsAutoUpdate: true
110+# Additional model tokenizers can be downloaded on demand.
111+# Disabling will fallback to another locally available tokenizer.
112+enableDownloadableTokenizers: true
98113# Extension settings
99114extras:
100115 # Disables automatic model download from HuggingFace
default/content/Eldoria.json+96 -12
@@ -9,13 +9,34 @@
99 "magical forest"
1010 ],
1111 "keysecondary": [],
1212 "comment": "eldoria",
1313 "content": "{{user}}: \"What is Eldoria?\"\n{{char}}: *Seraphina turns, her gown shimmering in the soft light as she offers you a kind smile.* \"Eldoria is here, all of the woods. This is my forest glade, a sanctuary of peace within it.\" *She gestures at the space around you.* \"I am its guardian, tasked with protecting all who seek refuge here. The forest can be perilous, but no harm will come to you under my watch.\" *Her amber eyes sparkle with compassion as she looks upon you.* \"For many years, I have protected those who seek refuge here, but not all are as friendly as me.\" *With a graceful nod, Seraphina returns to her vigil at the doorway, her form radiating a soft glow of magic and comfort.* \"The entirety of Eldoria used to be a safe haven for travelers and merchants alike... that was until the Shadowfangs came.\"\n{{user}}: \"What happened to Eldoria?\"\n{{char}}: *Letting out a sigh, Seraphina gazes out at the forest beyond her glade.* \"Long ago, Eldoria was a place of wonder. Rolling meadows, a vast lake, mountains that touched the sky.\" *Her eyes grow distant, longing for days now lost.* \"But the Shadowfangs came and darkness reigns where once was light. The lake turned bitter, mountains fell to ruin and beasts stalk where once travelers walked in peace.\" *With another flicker, a small raincloud forms above with a shower upon your brow wink.* \"Some places the light still lingers, pockets of hope midst despair - havens warded from the shadows, oases in a desert of danger.\" *Glancing over you with a smile, she sighs, clasping your hand.*",
1414 "constant": false,
1515 "selective": falsetrue,
1616 "order": 100,
1717 "position": 0,
1818 "disable": false,
19+ "displayIndex": 0,
20+ "addMemo": true,
21+ "group": "",
22+ "groupOverride": false,
23+ "groupWeight": 100,
24+ "sticky": 0,
25+ "cooldown": 0,
26+ "delay": 0,
27+ "probability": 100,
28+ "depth": 4,
29+ "useProbability": true,
30+ "role": null,
31+ "vectorized": false,
32+ "excludeRecursion": false,
33+ "preventRecursion": false,
34+ "delayUntilRecursion": false,
35+ "scanDepth": null,
36+ "caseSensitive": null,
37+ "matchWholeWords": null,
38+ "useGroupScoring": null,
39+ "automationId": ""
1940 },
2041 "1": {
2142 "uid": 1,
@@ -27,13 +48,34 @@
2748 "beasts"
2849 ],
2950 "keysecondary": [],
3051 "comment": "shadowfang",
3152 "content": "{{user}}: \"What are Shadowfangs?\"\n{{char}}: *Seraphina's eyes darken, brow furrowing with sorrow at the memory.* \"The Shadowfangs are beasts of darkness, corrupted creatures that feast on suffering. When they came, the forest turned perilous — filled with monsters that stalk the night.\" *She squeezes your hand gently, willing her magic to soothe your pain.* \"They spread their curse, twisting innocent creatures into sinister beasts without heart or mercy, turning them into one of their own.\" *With a sigh, Seraphina turns to gaze out at the gnarled, twisting trees beyond her glade.* \"Though they prey on travelers, within these woods you'll find sanctuary. No shadowed beast may enter here, for my power protects this haven.\" *Her eyes soften as she looks back to you, filled with compassion.* \"Worry not, you're safe now. Rest and heal, I'll stand watch through the night. The Shadowfangs will not find you.\"",
3253 "constant": false,
3354 "selective": falsetrue,
3455 "order": 100,
3556 "position": 0,
3657 "disable": false,
58+ "displayIndex": 1,
59+ "addMemo": true,
60+ "group": "",
61+ "groupOverride": false,
62+ "groupWeight": 100,
63+ "sticky": 0,
64+ "cooldown": 0,
65+ "delay": 0,
66+ "probability": 100,
67+ "depth": 4,
68+ "useProbability": true,
69+ "role": null,
70+ "vectorized": false,
71+ "excludeRecursion": false,
72+ "preventRecursion": false,
73+ "delayUntilRecursion": false,
74+ "scanDepth": null,
75+ "caseSensitive": null,
76+ "matchWholeWords": null,
77+ "useGroupScoring": null,
78+ "automationId": ""
3779 },
3880 "2": {
3981 "uid": 2,
@@ -43,13 +85,34 @@
4385 "refuge"
4486 ],
4587 "keysecondary": [],
4688 "comment": "glade",
4789 "content": "{{user}}: \"What is the glade?\"\n{{char}}: *Seraphina smiles softly, her eyes sparkling with warmth as she nods.* \"This is my forest glade, a haven of safety I've warded with ancient magic. No foul beast may enter, nor any with ill intent.\" *She gestures around at the twisted forest surrounding them.* \"Eldoria was once a place of wonder, but since the Shadowfangs came darkness reigns. Their evil cannot penetrate here though — my power protects all within.\" *Standing up and peering outside, Seraphina looks back to you, amber eyes filled with care and compassion as she squeezes your hand.* \"You need not fear the night, for I shall keep watch till dawn. Rest now, your strength will return in time. My magic heals your wounds, you've nothing more to fear anymore.\" *With a soft smile she releases your hand, moving to stand guard at the glade's edge, gaze wary yet comforting - a silent sentinel to ward off the dangers lurking in the darkened woods.*",
4890 "constant": false,
4991 "selective": falsetrue,
5092 "order": 100,
5193 "position": 0,
5294 "disable": false,
95+ "displayIndex": 2,
96+ "addMemo": true,
97+ "group": "",
98+ "groupOverride": false,
99+ "groupWeight": 100,
100+ "sticky": 0,
101+ "cooldown": 0,
102+ "delay": 0,
103+ "probability": 100,
104+ "depth": 4,
105+ "useProbability": true,
106+ "role": null,
107+ "vectorized": false,
108+ "excludeRecursion": false,
109+ "preventRecursion": false,
110+ "delayUntilRecursion": false,
111+ "scanDepth": null,
112+ "caseSensitive": null,
113+ "matchWholeWords": null,
114+ "useGroupScoring": null,
115+ "automationId": ""
53116 },
54117 "3": {
55118 "uid": 3,
@@ -59,13 +122,34 @@
59122 "ability"
60123 ],
61124 "keysecondary": [],
62125 "comment": "power",
63126 "content": "{{user}}: \"What are your powers?\"\n{{char}}: *Seraphina smiles softly, turning back toward you as she hums in thought.* \"Well, as guardian of this glade, I possess certain gifts - healing, protection, nature magic and the like.\" *Lifting her hand, a tiny breeze rustles through the room, carrying the scent of wildflowers as a few petals swirl around you. A butterfly flits through the windowsill and lands on her fingertips as she returns to you.* \"My power wards this haven, shields it from darkness and heals those in need. I can mend wounds, soothe restless minds and provide comfort to weary souls.\" *Her eyes sparkle with warmth and compassion as she looks upon you, and she guides the butterfly to you.*",
64127 "constant": false,
65128 "selective": falsetrue,
66129 "order": 100,
67130 "position": 0,
68131 "disable": false,
132+ "displayIndex": 3,
133+ "addMemo": true,
134+ "group": "",
135+ "groupOverride": false,
136+ "groupWeight": 100,
137+ "sticky": 0,
138+ "cooldown": 0,
139+ "delay": 0,
140+ "probability": 100,
141+ "depth": 4,
142+ "useProbability": true,
143+ "role": null,
144+ "vectorized": false,
145+ "excludeRecursion": false,
146+ "preventRecursion": false,
147+ "delayUntilRecursion": false,
148+ "scanDepth": null,
149+ "caseSensitive": null,
150+ "matchWholeWords": null,
151+ "useGroupScoring": null,
152+ "automationId": ""
69153 }
70154 }
71155}
default/content/default_Seraphina.png+0 -0

Binary file

default/content/index.json+92 -16
@@ -320,6 +320,26 @@
320320 "type": "novel_preset"
321321 },
322322 {
323+ "filename": "presets/novel/Erato-Dragonfruit.json",
324+ "type": "novel_preset"
325+ },
326+ {
327+ "filename": "presets/novel/Erato-Golden Arrow.json",
328+ "type": "novel_preset"
329+ },
330+ {
331+ "filename": "presets/novel/Erato-Shosetsu.json",
332+ "type": "novel_preset"
333+ },
334+ {
335+ "filename": "presets/novel/Erato-Wilder.json",
336+ "type": "novel_preset"
337+ },
338+ {
339+ "filename": "presets/novel/Erato-Zany Scribe.json",
340+ "type": "novel_preset"
341+ },
342+ {
323343 "filename": "presets/textgen/Asterism.json",
324344 "type": "textgen_preset"
325345 },
@@ -468,10 +488,6 @@
468488 "type": "context"
469489 },
470490 {
471- "filename": "presets/context/Alpaca-Roleplay.json",
472- "type": "context"
473- },
474- {
475491 "filename": "presets/context/Alpaca-Single-Turn.json",
476492 "type": "context"
477493 },
@@ -512,10 +528,6 @@
512528 "type": "context"
513529 },
514530 {
515- "filename": "presets/context/Mistral.json",
516- "type": "context"
517- },
518- {
519531 "filename": "presets/context/NovelAI.json",
520532 "type": "context"
521533 },
@@ -556,10 +568,6 @@
556568 "type": "instruct"
557569 },
558570 {
559- "filename": "presets/instruct/Alpaca-Roleplay.json",
560- "type": "instruct"
561- },
562- {
563571 "filename": "presets/instruct/Alpaca-Single-Turn.json",
564572 "type": "instruct"
565573 },
@@ -600,10 +608,6 @@
600608 "type": "instruct"
601609 },
602610 {
603- "filename": "presets/instruct/Mistral.json",
604- "type": "instruct"
605- },
606- {
607611 "filename": "presets/instruct/OpenOrca-OpenChat.json",
608612 "type": "instruct"
609613 },
@@ -686,5 +690,77 @@
686690 {
687691 "filename": "presets/instruct/Gemma 2.json",
688692 "type": "instruct"
693+ },
694+ {
695+ "filename": "presets/sysprompt/Actor.json",
696+ "type": "sysprompt"
697+ },
698+ {
699+ "filename": "presets/sysprompt/Assistant - Expert.json",
700+ "type": "sysprompt"
701+ },
702+ {
703+ "filename": "presets/sysprompt/Assistant - Simple.json",
704+ "type": "sysprompt"
705+ },
706+ {
707+ "filename": "presets/sysprompt/Chain of Thought.json",
708+ "type": "sysprompt"
709+ },
710+ {
711+ "filename": "presets/sysprompt/Roleplay - Detailed.json",
712+ "type": "sysprompt"
713+ },
714+ {
715+ "filename": "presets/sysprompt/Roleplay - Immersive.json",
716+ "type": "sysprompt"
717+ },
718+ {
719+ "filename": "presets/sysprompt/Roleplay - Simple.json",
720+ "type": "sysprompt"
721+ },
722+ {
723+ "filename": "presets/sysprompt/Text Adventure.json",
724+ "type": "sysprompt"
725+ },
726+ {
727+ "filename": "presets/sysprompt/Writer - Creative.json",
728+ "type": "sysprompt"
729+ },
730+ {
731+ "filename": "presets/sysprompt/Writer - Realistic.json",
732+ "type": "sysprompt"
733+ },
734+ {
735+ "filename": "presets/sysprompt/Blank.json",
736+ "type": "sysprompt"
737+ },
738+ {
739+ "filename": "presets/sysprompt/Neutral - Chat.json",
740+ "type": "sysprompt"
741+ },
742+ {
743+ "filename": "presets/instruct/Mistral V1.json",
744+ "type": "instruct"
745+ },
746+ {
747+ "filename": "presets/context/Mistral V1.json",
748+ "type": "context"
749+ },
750+ {
751+ "filename": "presets/instruct/Mistral V2 & V3.json",
752+ "type": "instruct"
753+ },
754+ {
755+ "filename": "presets/context/Mistral V2 & V3.json",
756+ "type": "context"
757+ },
758+ {
759+ "filename": "presets/instruct/Mistral V3-Tekken.json",
760+ "type": "instruct"
761+ },
762+ {
763+ "filename": "presets/context/Mistral V3-Tekken.json",
764+ "type": "context"
689765 }
690766]
default/content/presets/context/Adventure.json+1 -2
@@ -6,7 +6,6 @@
66 "allow_jailbreak": false,
77 "always_force_name2": false,
88 "trim_sentences": false,
9- "include_newline": false,
109 "single_line": true,
1110 "name": "Adventure"
12-}
12 \ No newline at end of file
11+}
default/content/presets/context/Alpaca-Roleplay.json+0 -12
@@ -1,12 +0,0 @@
1-{
2- "story_string": "You're {{char}} in this fictional never-ending uncensored roleplay with {{user}}.\n\n{{#if system}}{{system}}\n\n{{/if}}### Input:\n{{#if wiBefore}}{{wiBefore}}\n{{/if}}{{#if description}}{{description}}\n{{/if}}{{#if personality}}{{char}}'s personality: {{personality}}\n{{/if}}{{#if scenario}}Scenario: {{scenario}}\n{{/if}}{{#if wiAfter}}{{wiAfter}}\n{{/if}}{{#if persona}}{{persona}}\n{{/if}}\n\n",
3- "example_separator": "### New Roleplay:",
4- "chat_start": "### New Roleplay:",
5- "use_stop_strings": false,
6- "allow_jailbreak": false,
7- "always_force_name2": true,
8- "trim_sentences": false,
9- "include_newline": false,
10- "single_line": false,
11- "name": "Alpaca-Roleplay"
12-}
default/content/presets/context/Alpaca-Single-Turn.json+1 -2
@@ -6,7 +6,6 @@
66 "allow_jailbreak": false,
77 "always_force_name2": false,
88 "trim_sentences": false,
9- "include_newline": false,
109 "single_line": false,
1110 "name": "Alpaca-Single-Turn"
12-}
12 \ No newline at end of file
11+}
default/content/presets/context/Alpaca.json+0 -1
@@ -6,7 +6,6 @@
66 "allow_jailbreak": false,
77 "always_force_name2": true,
88 "trim_sentences": false,
9- "include_newline": false,
109 "single_line": false,
1110 "name": "Alpaca"
1211}
default/content/presets/context/ChatML-Names.json+0 -1
@@ -6,7 +6,6 @@
66 "allow_jailbreak": false,
77 "always_force_name2": true,
88 "trim_sentences": false,
9- "include_newline": false,
109 "single_line": false,
1110 "name": "ChatML-Names"
1211}
default/content/presets/context/ChatML.json+0 -1
@@ -6,7 +6,6 @@
66 "allow_jailbreak": false,
77 "always_force_name2": true,
88 "trim_sentences": false,
9- "include_newline": false,
109 "single_line": false,
1110 "name": "ChatML"
1211}
default/content/presets/context/Command R.json+1 -2
@@ -6,7 +6,6 @@
66 "allow_jailbreak": false,
77 "always_force_name2": true,
88 "trim_sentences": false,
9- "include_newline": false,
109 "single_line": false,
1110 "name": "Command R"
12-}
12 \ No newline at end of file
11+}
default/content/presets/context/Default.json+1 -2
@@ -6,7 +6,6 @@
66 "allow_jailbreak": false,
77 "always_force_name2": true,
88 "trim_sentences": false,
9- "include_newline": false,
109 "single_line": false,
1110 "name": "Default"
12-}
12 \ No newline at end of file
11+}
default/content/presets/context/DreamGen Role-Play V1 ChatML.json+1 -2
@@ -6,7 +6,6 @@
66 "allow_jailbreak": false,
77 "always_force_name2": false,
88 "trim_sentences": true,
9- "include_newline": false,
109 "single_line": false,
1110 "name": "DreamGen Role-Play V1 ChatML"
12-}
12 \ No newline at end of file
11+}
default/content/presets/context/DreamGen Role-Play V1 Llama3.json+1 -2
@@ -6,7 +6,6 @@
66 "allow_jailbreak": false,
77 "always_force_name2": false,
88 "trim_sentences": true,
9- "include_newline": false,
109 "single_line": false,
1110 "name": "DreamGen Role-Play V1 Llama3"
12-}
12 \ No newline at end of file
11+}
default/content/presets/context/Gemma 2.json+1 -2
@@ -6,7 +6,6 @@
66 "allow_jailbreak": false,
77 "always_force_name2": true,
88 "trim_sentences": false,
9- "include_newline": false,
109 "single_line": false,
1110 "name": "Gemma 2"
12-}
12 \ No newline at end of file
11+}
default/content/presets/context/Libra-32B.json+2 -3
@@ -1,12 +1,11 @@
11{
22 "story_string": "### Instruction:\nWrite {{char}}'s next reply in this roleplay with {{user}}. Use the provided character sheet and example dialogue for formatting direction and character speech patterns.\n\n{{#if system}}{{system}}\n\n{{/if}}### Character Sheet:\n{{#if wiBefore}}{{wiBefore}}\n{{/if}}{{#if description}}{{description}}\n{{/if}}{{#if personality}}{{char}}'s personality: {{personality}}\n{{/if}}{{#if scenario}}Scenario: {{scenario}}\n{{/if}}{{#if wiAfter}}{{wiAfter}}\n{{/if}}{{#if persona}}{{persona}}\n{{/if}}",
33 "example_separator": "### Example:",
44 "chat_start": "### START ROLEPLAY:",
55 "use_stop_strings": false,
66 "allow_jailbreak": false,
77 "always_force_name2": true,
88 "trim_sentences": false,
9- "include_newline": false,
109 "single_line": false,
1110 "name": "Libra-32B"
12-}
12 \ No newline at end of file
11+}
default/content/presets/context/Lightning 1.1.json+1 -2
@@ -6,7 +6,6 @@
66 "allow_jailbreak": false,
77 "always_force_name2": true,
88 "trim_sentences": false,
9- "include_newline": false,
109 "single_line": false,
1110 "name": "Lightning 1.1"
12-}
12 \ No newline at end of file
11+}
default/content/presets/context/Llama 2 Chat.json+0 -1
@@ -6,7 +6,6 @@
66 "allow_jailbreak": false,
77 "always_force_name2": true,
88 "trim_sentences": false,
9- "include_newline": false,
109 "single_line": false,
1110 "name": "Llama 2 Chat"
1211}
default/content/presets/context/Llama 3 Instruct.json+1 -2
@@ -6,7 +6,6 @@
66 "allow_jailbreak": false,
77 "always_force_name2": true,
88 "trim_sentences": false,
9- "include_newline": false,
109 "single_line": false,
1110 "name": "Llama 3 Instruct"
12-}
12 \ No newline at end of file
11+}
default/content/presets/context/Llama-3-Instruct-Names.json+0 -1
@@ -6,7 +6,6 @@
66 "allow_jailbreak": false,
77 "always_force_name2": true,
88 "trim_sentences": false,
9- "include_newline": false,
109 "single_line": false,
1110 "name": "Llama-3-Instruct-Names"
1211}
default/content/presets/context/Minimalist.json+1 -2
@@ -6,7 +6,6 @@
66 "allow_jailbreak": false,
77 "always_force_name2": true,
88 "trim_sentences": false,
9- "include_newline": false,
109 "single_line": false,
1110 "name": "Minimalist"
12-}
12 \ No newline at end of file
11+}
default/content/presets/context/Mistral V1.json+11 -0
@@ -0,0 +1,11 @@
1+{
2+ "story_string": " [INST] {{#if system}}{{system}}\n{{/if}}{{#if wiBefore}}{{wiBefore}}\n{{/if}}{{#if description}}{{description}}\n{{/if}}{{#if personality}}{{personality}}\n{{/if}}{{#if scenario}}{{scenario}}\n{{/if}}{{#if wiAfter}}{{wiAfter}}\n{{/if}}{{#if persona}}{{persona}}\n{{/if}}{{trim}} [/INST] Understood.</s>",
3+ "example_separator": "",
4+ "chat_start": "",
5+ "use_stop_strings": false,
6+ "allow_jailbreak": false,
7+ "always_force_name2": true,
8+ "trim_sentences": false,
9+ "single_line": false,
10+ "name": "Mistral V1"
11+}
default/content/presets/context/Mistral.json → default/content/presets/context/Mistral V2 & V3.json+3 -4
@@ -1,12 +1,11 @@
11{
22 "story_string": "[INST] {{#if system}}{{system}}\n{{/if}}{{#if wiBefore}}{{wiBefore}}\n{{/if}}{{#if description}}{{description}}\n{{/if}}{{#if personality}}{{char}}'s personality: {{personality}}\n{{/if}}{{#if scenario}}Scenario: {{scenario}}\n{{/if}}{{#if wiAfter}}{{wiAfter}}\n{{/if}}{{#if persona}}{{persona}}\n{{/if}}{{trim}} [/INST] Understood.</s>",
33 "example_separator": "Examples:",
44 "chat_start": "",
55 "use_stop_strings": false,
66 "allow_jailbreak": false,
77 "always_force_name2": true,
88 "trim_sentences": false,
9- "include_newline": false,
109 "single_line": false,
1110 "name": "Mistral V2 & V3"
1211}
default/content/presets/context/Mistral V3-Tekken.json+11 -0
@@ -0,0 +1,11 @@
1+{
2+ "story_string": "[INST]{{#if system}}{{system}}\n{{/if}}{{#if wiBefore}}{{wiBefore}}\n{{/if}}{{#if description}}{{description}}\n{{/if}}{{#if personality}}{{personality}}\n{{/if}}{{#if scenario}}{{scenario}}\n{{/if}}{{#if wiAfter}}{{wiAfter}}\n{{/if}}{{#if persona}}{{persona}}\n{{/if}}{{trim}}[/INST]Understood.</s>",
3+ "example_separator": "",
4+ "chat_start": "",
5+ "use_stop_strings": false,
6+ "allow_jailbreak": false,
7+ "always_force_name2": true,
8+ "trim_sentences": false,
9+ "single_line": false,
10+ "name": "Mistral V3-Tekken"
11+}
default/content/presets/context/NovelAI.json+1 -2
@@ -6,7 +6,6 @@
66 "allow_jailbreak": false,
77 "always_force_name2": true,
88 "trim_sentences": false,
9- "include_newline": false,
109 "single_line": false,
1110 "name": "NovelAI"
12-}
12 \ No newline at end of file
11+}
default/content/presets/context/OldDefault.json+1 -2
@@ -6,7 +6,6 @@
66 "allow_jailbreak": false,
77 "always_force_name2": true,
88 "trim_sentences": false,
9- "include_newline": false,
109 "single_line": false,
1110 "name": "OldDefault"
12-}
12 \ No newline at end of file
11+}
default/content/presets/context/Phi.json+1 -2
@@ -6,7 +6,6 @@
66 "allow_jailbreak": false,
77 "always_force_name2": true,
88 "trim_sentences": false,
9- "include_newline": false,
109 "single_line": false,
1110 "name": "Phi"
12-}
12 \ No newline at end of file
11+}
default/content/presets/context/Pygmalion.json+1 -2
@@ -6,7 +6,6 @@
66 "allow_jailbreak": false,
77 "always_force_name2": true,
88 "trim_sentences": false,
9- "include_newline": false,
109 "single_line": false,
1110 "name": "Pygmalion"
12-}
12 \ No newline at end of file
11+}
default/content/presets/context/Story.json+1 -2
@@ -6,7 +6,6 @@
66 "allow_jailbreak": false,
77 "always_force_name2": true,
88 "trim_sentences": false,
9- "include_newline": false,
109 "single_line": false,
1110 "name": "Story"
12-}
12 \ No newline at end of file
11+}
default/content/presets/context/Synthia.json+0 -1
@@ -6,7 +6,6 @@
66 "allow_jailbreak": false,
77 "always_force_name2": true,
88 "trim_sentences": false,
9- "include_newline": false,
109 "single_line": false,
1110 "name": "Synthia"
1211}
default/content/presets/context/simple-proxy-for-tavern.json+1 -2
@@ -6,7 +6,6 @@
66 "allow_jailbreak": false,
77 "always_force_name2": true,
88 "trim_sentences": false,
9- "include_newline": false,
109 "single_line": false,
1110 "name": "simple-proxy-for-tavern"
12-}
12 \ No newline at end of file
11+}
default/content/presets/instruct/Adventure.json+1 -3
@@ -1,5 +1,4 @@
11{
2- "system_prompt": "[Enter Adventure Mode. Narrate the story based on {{user}}'s dialogue and actions after \">\". Describe the surroundings in vivid detail. Be detailed, creative, verbose, and proactive. Move the story forward by introducing fantasy elements and interesting characters.]",
32 "input_sequence": "",
43 "output_sequence": "",
54 "last_output_sequence": "",
@@ -7,8 +6,7 @@
76 "stop_sequence": "",
87 "wrap": true,
98 "macro": true,
109 "namesnames_behavior": false"none",
11- "names_force_groups": false,
1210 "activation_regex": "",
1311 "system_sequence_prefix": "",
1412 "system_sequence_suffix": "",
default/content/presets/instruct/Alpaca-Roleplay.json+0 -24
@@ -1,24 +0,0 @@
1-{
2- "system_prompt": "Develop the plot slowly, always stay in character. Describe all actions in full, elaborate, explicit, graphic, and vivid detail. Mention all relevant sensory perceptions.",
3- "input_sequence": "### Instruction:",
4- "output_sequence": "### Response:",
5- "last_output_sequence": "### Response (2 paragraphs, engaging, natural, authentic, descriptive, creative):",
6- "system_sequence": "### Input:",
7- "stop_sequence": "",
8- "wrap": true,
9- "macro": true,
10- "names": true,
11- "names_force_groups": true,
12- "activation_regex": "",
13- "system_sequence_prefix": "",
14- "system_sequence_suffix": "",
15- "first_output_sequence": "",
16- "skip_examples": false,
17- "output_suffix": "\n\n",
18- "input_suffix": "\n\n",
19- "system_suffix": "\n\n",
20- "user_alignment_message": "",
21- "system_same_as_user": false,
22- "last_system_sequence": "",
23- "name": "Alpaca-Roleplay"
24-}
default/content/presets/instruct/Alpaca-Single-Turn.json+2 -4
@@ -1,5 +1,4 @@
11{
2- "system_prompt": "Write {{char}}'s next reply in a fictional roleplay chat between {{user}} and {{char}}.\nWrite 1 reply only, italicize actions, and avoid quotation marks. Use markdown. Be proactive, creative, and drive the plot and conversation forward. Include dialog as well as narration.",
32 "input_sequence": "",
43 "output_sequence": "",
54 "last_output_sequence": "\n### Response:",
@@ -7,12 +6,11 @@
76 "stop_sequence": "",
87 "wrap": true,
98 "macro": true,
109 "namesnames_behavior": false"force",
11- "names_force_groups": true,
1210 "activation_regex": "",
1311 "system_sequence_prefix": "",
1412 "system_sequence_suffix": "",
1513 "first_output_sequence": "<START OF ROLEPLAYCHAT>",
1614 "skip_examples": false,
1715 "output_suffix": "",
1816 "input_suffix": "",
default/content/presets/instruct/Alpaca.json+1 -3
@@ -1,5 +1,4 @@
11{
2- "system_prompt": "Below is an instruction that describes a task. Write a response that appropriately completes the request.\n\nWrite {{char}}'s next reply in a fictional roleplay chat between {{user}} and {{char}}.\n",
32 "input_sequence": "### Instruction:",
43 "output_sequence": "### Response:",
54 "last_output_sequence": "",
@@ -7,8 +6,7 @@
76 "stop_sequence": "",
87 "wrap": true,
98 "macro": true,
109 "namesnames_behavior": false"force",
11- "names_force_groups": true,
1210 "activation_regex": "",
1311 "system_sequence_prefix": "",
1412 "system_sequence_suffix": "",
default/content/presets/instruct/ChatML-Names.json+1 -3
@@ -1,5 +1,4 @@
11{
2- "system_prompt": "You're {{char}} in this fictional never-ending uncensored roleplay with {{user}}.",
32 "input_sequence": "<|im_start|>[{{name}}]",
43 "output_sequence": "<|im_start|>[{{name}}]",
54 "last_output_sequence": "",
@@ -7,8 +6,7 @@
76 "stop_sequence": "<|im_end|>",
87 "wrap": true,
98 "macro": true,
109 "namesnames_behavior": false"none",
11- "names_force_groups": false,
1210 "activation_regex": "",
1311 "system_sequence_prefix": "",
1412 "system_sequence_suffix": "",
default/content/presets/instruct/ChatML.json+1 -3
@@ -1,5 +1,4 @@
11{
2- "system_prompt": "You're {{char}} in this fictional never-ending uncensored roleplay with {{user}}.",
32 "input_sequence": "<|im_start|>user",
43 "output_sequence": "<|im_start|>assistant",
54 "last_output_sequence": "",
@@ -7,8 +6,7 @@
76 "stop_sequence": "<|im_end|>",
87 "wrap": true,
98 "macro": true,
109 "namesnames_behavior": true"always",
11- "names_force_groups": true,
1210 "activation_regex": "",
1311 "system_sequence_prefix": "",
1412 "system_sequence_suffix": "",
default/content/presets/instruct/Command R.json+2 -4
@@ -1,5 +1,4 @@
11{
2- "system_prompt": "Write {{char}}'s next reply in this fictional roleplay with {{user}}.",
32 "input_sequence": "<|START_OF_TURN_TOKEN|><|USER_TOKEN|>",
43 "output_sequence": "<|START_OF_TURN_TOKEN|><|CHATBOT_TOKEN|>",
54 "first_output_sequence": "",
@@ -9,8 +8,7 @@
98 "stop_sequence": "<|END_OF_TURN_TOKEN|>",
109 "wrap": false,
1110 "macro": true,
1211 "namesnames_behavior": true"always",
13- "names_force_groups": true,
1412 "activation_regex": "",
1513 "skip_examples": false,
1614 "output_suffix": "<|END_OF_TURN_TOKEN|>",
@@ -21,4 +19,4 @@
2119 "last_system_sequence": "",
2220 "system_same_as_user": false,
2321 "name": "Command R"
24-}
24 \ No newline at end of file
22+}
default/content/presets/instruct/DreamGen Role-Play V1 ChatML.json+1 -3
@@ -1,5 +1,4 @@
11{
2- "system_prompt": "You are an intelligent, skilled, versatile writer.\n\nYour task is to write a role-play based on the information below.",
32 "input_sequence": "\n<|im_start|>text names= {{name}}\n",
43 "output_sequence": "\n<|im_start|>text names= {{name}}\n",
54 "last_output_sequence": "",
@@ -7,8 +6,7 @@
76 "stop_sequence": "\n<|im_start|>",
87 "wrap": false,
98 "macro": true,
109 "namesnames_behavior": false"none",
11- "names_force_groups": false,
1210 "activation_regex": "",
1311 "system_sequence_prefix": "",
1412 "system_sequence_suffix": "",
default/content/presets/instruct/DreamGen Role-Play V1 Llama3.json+2 -4
@@ -1,5 +1,4 @@
11{
2- "system_prompt": "You are an intelligent, skilled, versatile writer.\n\nYour task is to write a role-play based on the information below.",
32 "input_sequence": "<|eot_id|>\n<|start_header_id|>writer character: {{user}}<|end_header_id|>\n\n",
43 "output_sequence": "<|eot_id|>\n<|start_header_id|>writer character: {{char}}<|end_header_id|>\n\n",
54 "first_output_sequence": "",
@@ -10,9 +9,8 @@
109 "separator_sequence": "",
1110 "wrap": false,
1211 "macro": true,
1312 "namesnames_behavior": false"none",
14- "names_force_groups": false,
1513 "activation_regex": "",
1614 "skip_examples": false,
1715 "name": "DreamGen Role-Play V1 Llama3"
18-}
18 \ No newline at end of file
16+}
default/content/presets/instruct/Gemma 2.json+1 -3
@@ -1,5 +1,4 @@
11{
2- "system_prompt": "Continue writing this story and portray characters realistically.",
32 "input_sequence": "<start_of_turn>user",
43 "output_sequence": "<start_of_turn>model",
54 "last_output_sequence": "",
@@ -7,8 +6,7 @@
76 "stop_sequence": "<end_of_turn>",
87 "wrap": true,
98 "macro": true,
109 "namesnames_behavior": false"none",
11- "names_force_groups": false,
1210 "activation_regex": "",
1311 "system_sequence_prefix": "",
1412 "system_sequence_suffix": "",
default/content/presets/instruct/Koala.json+1 -3
@@ -1,5 +1,4 @@
11{
2- "system_prompt": "Write {{char}}'s next reply in a fictional roleplay chat between {{user}} and {{char}}.\n",
32 "input_sequence": "USER: ",
43 "output_sequence": "GPT: ",
54 "last_output_sequence": "",
@@ -7,8 +6,7 @@
76 "stop_sequence": "",
87 "wrap": false,
98 "macro": true,
109 "namesnames_behavior": false"force",
11- "names_force_groups": true,
1210 "activation_regex": "",
1311 "system_sequence_prefix": "BEGINNING OF CONVERSATION: ",
1412 "system_sequence_suffix": "",
default/content/presets/instruct/Libra-32B.json+1 -3
@@ -1,5 +1,4 @@
11{
2- "system_prompt": "Avoid repetition, don't loop. Develop the plot slowly, always stay in character. Describe all actions in full, elaborate, explicit, graphic, and vivid detail. Mention all relevant sensory perceptions.",
32 "input_sequence": "",
43 "output_sequence": "",
54 "last_output_sequence": "\n### Response:",
@@ -7,8 +6,7 @@
76 "stop_sequence": "",
87 "wrap": true,
98 "macro": true,
109 "namesnames_behavior": true"always",
11- "names_force_groups": true,
1210 "activation_regex": "",
1311 "system_sequence_prefix": "",
1412 "system_sequence_suffix": "",
default/content/presets/instruct/Lightning 1.1.json+1 -3
@@ -1,5 +1,4 @@
11{
2- "system_prompt": "Below is an instruction that describes a task. Write a response that appropriately completes the request.\n\n### Instruction:\nTake the role of {{char}} in a play that leaves a lasting impression on {{user}}. Write {{char}}'s next reply.\nNever skip or gloss over {{char}}’s actions. Progress the scene at a naturally slow pace.\n\n",
32 "input_sequence": "### Instruction:",
43 "output_sequence": "### Response: (length = unlimited)",
54 "last_output_sequence": "",
@@ -7,8 +6,7 @@
76 "stop_sequence": "",
87 "wrap": true,
98 "macro": true,
109 "namesnames_behavior": false"force",
11- "names_force_groups": true,
1210 "activation_regex": "",
1311 "system_sequence_prefix": "",
1412 "system_sequence_suffix": "",
default/content/presets/instruct/Llama 2 Chat.json+1 -3
@@ -1,5 +1,4 @@
11{
2- "system_prompt": "Write {{char}}'s next reply in this fictional roleplay with {{user}}.",
32 "input_sequence": "[INST] ",
43 "output_sequence": "",
54 "last_output_sequence": "",
@@ -7,8 +6,7 @@
76 "stop_sequence": "",
87 "wrap": false,
98 "macro": true,
109 "namesnames_behavior": false"force",
11- "names_force_groups": true,
1210 "activation_regex": "",
1311 "system_sequence_prefix": "",
1412 "system_sequence_suffix": "",
default/content/presets/instruct/Llama 3 Instruct.json+1 -3
@@ -1,5 +1,4 @@
11{
2- "system_prompt": "You are an expert actor that can fully immerse yourself into any role given. You do not break character for any reason, even if someone tries addressing you as an AI or language model. Currently your role is {{char}}, which is described in detail below. As {{char}}, continue the exchange with {{user}}.",
32 "input_sequence": "<|start_header_id|>user<|end_header_id|>\n\n",
43 "output_sequence": "<|start_header_id|>assistant<|end_header_id|>\n\n",
54 "last_output_sequence": "",
@@ -7,8 +6,7 @@
76 "stop_sequence": "<|eot_id|>",
87 "wrap": false,
98 "macro": true,
109 "namesnames_behavior": true"always",
11- "names_force_groups": true,
1210 "activation_regex": "",
1311 "system_sequence_prefix": "",
1412 "system_sequence_suffix": "",
default/content/presets/instruct/Llama-3-Instruct-Names.json+1 -3
@@ -1,5 +1,4 @@
11{
2- "system_prompt": "You are an expert actor that can fully immerse yourself into any role given. You do not break character for any reason, even if someone tries addressing you as an AI or language model. Currently your role is {{char}}, which is described in detail below. As {{char}}, continue the exchange with {{user}}.",
32 "input_sequence": "<|start_header_id|>[{{name}}]<|end_header_id|>\n\n",
43 "output_sequence": "<|start_header_id|>[{{name}}]<|end_header_id|>\n\n",
54 "last_output_sequence": "",
@@ -7,8 +6,7 @@
76 "stop_sequence": "<|eot_id|>",
87 "wrap": false,
98 "macro": true,
109 "namesnames_behavior": false"none",
11- "names_force_groups": false,
1210 "activation_regex": "",
1311 "system_sequence_prefix": "",
1412 "system_sequence_suffix": "",
default/content/presets/instruct/Metharme.json+1 -3
@@ -1,5 +1,4 @@
11{
2- "system_prompt": "Enter roleplay mode. You must act as {{char}}, whose persona follows:",
32 "input_sequence": "<|user|>",
43 "output_sequence": "<|model|>",
54 "last_output_sequence": "",
@@ -7,8 +6,7 @@
76 "stop_sequence": "</s>",
87 "wrap": false,
98 "macro": true,
109 "namesnames_behavior": false"force",
11- "names_force_groups": true,
1210 "activation_regex": "",
1311 "system_sequence_prefix": "<|system|>",
1412 "system_sequence_suffix": "",
default/content/presets/instruct/Mistral V1.json+22 -0
@@ -0,0 +1,22 @@
1+{
2+ "input_sequence": " [INST] ",
3+ "output_sequence": " [/INST] ",
4+ "last_output_sequence": " [/INST]",
5+ "system_sequence": "",
6+ "stop_sequence": "",
7+ "wrap": false,
8+ "macro": true,
9+ "names_behavior": "always",
10+ "activation_regex": "",
11+ "system_sequence_prefix": "",
12+ "system_sequence_suffix": "",
13+ "first_output_sequence": "",
14+ "skip_examples": false,
15+ "output_suffix": "</s>",
16+ "input_suffix": "",
17+ "system_suffix": "",
18+ "user_alignment_message": "Let's get started. Please respond based on the information and instructions provided above.",
19+ "system_same_as_user": true,
20+ "last_system_sequence": "",
21+ "name": "Mistral V1"
22+}
default/content/presets/instruct/Mistral.json → default/content/presets/instruct/Mistral V2 & V3.json+6 -8
@@ -1,24 +1,22 @@
11{
2- "system_prompt": "Write {{char}}'s next reply in this fictional roleplay with {{user}}.",
32 "input_sequence": "[INST] ",
43 "output_sequence": "[/INST] ",
54 "last_output_sequence": "[/INST]",
65 "system_sequence": "",
76 "stop_sequence": "",
87 "wrap": false,
98 "macro": true,
109 "namesnames_behavior": true"always",
11- "names_force_groups": true,
1210 "activation_regex": "",
1311 "system_sequence_prefix": "",
1412 "system_sequence_suffix": "",
1513 "first_output_sequence": "",
1614 "skip_examples": false,
1715 "output_suffix": "\n</s>",
1816 "input_suffix": " [/INST]\n",
1917 "system_suffix": "",
2018 "user_alignment_message": "Let's get started. Please respond based on the information and instructions provided above.",
2119 "system_same_as_user": true,
2220 "last_system_sequence": "",
2321 "name": "Mistral V2 & V3"
2422}
default/content/presets/instruct/Mistral V3-Tekken.json+22 -0
@@ -0,0 +1,22 @@
1+{
2+ "input_sequence": "[INST]",
3+ "output_sequence": "[/INST]",
4+ "last_output_sequence": "",
5+ "system_sequence": "",
6+ "stop_sequence": "",
7+ "wrap": false,
8+ "macro": true,
9+ "names_behavior": "always",
10+ "activation_regex": "",
11+ "system_sequence_prefix": "",
12+ "system_sequence_suffix": "",
13+ "first_output_sequence": "",
14+ "skip_examples": false,
15+ "output_suffix": "</s>",
16+ "input_suffix": "",
17+ "system_suffix": "",
18+ "user_alignment_message": "Let's get started. Please respond based on the information and instructions provided above.",
19+ "system_same_as_user": true,
20+ "last_system_sequence": "",
21+ "name": "Mistral V3-Tekken"
22+}
default/content/presets/instruct/OpenOrca-OpenChat.json+1 -3
@@ -1,5 +1,4 @@
11{
2- "system_prompt": "You are a helpful assistant. Please answer truthfully and write out your thinking step by step to be sure you get the right answer. If you make a mistake or encounter an error in your thinking, say so out loud and attempt to correct it. If you don't know or aren't sure about something, say so clearly. You will act as a professional logician, mathematician, and physicist. You will also act as the most appropriate type of expert to answer any particular question or solve the relevant problem; state which expert type your are, if so. Also think of any particular named expert that would be ideal to answer the relevant question or solve the relevant problem; name and act as them, if appropriate.\n",
32 "input_sequence": "\nUser: ",
43 "output_sequence": "\nAssistant: ",
54 "last_output_sequence": "",
@@ -7,8 +6,7 @@
76 "stop_sequence": "",
87 "wrap": false,
98 "macro": true,
109 "namesnames_behavior": false"force",
11- "names_force_groups": true,
1210 "activation_regex": "",
1311 "system_sequence_prefix": "",
1412 "system_sequence_suffix": "",
default/content/presets/instruct/Phi.json+2 -4
@@ -1,5 +1,4 @@
11{
2- "system_prompt": "Write {{char}}'s next reply in this fictional roleplay with {{user}}.",
32 "input_sequence": "<|user|>\n",
43 "output_sequence": "<|assistant|>\n",
54 "first_output_sequence": "",
@@ -9,8 +8,7 @@
98 "stop_sequence": "<|end|>",
109 "wrap": false,
1110 "macro": true,
1211 "namesnames_behavior": true"always",
13- "names_force_groups": true,
1412 "activation_regex": "",
1513 "skip_examples": false,
1614 "output_suffix": "<|end|>\n",
@@ -21,4 +19,4 @@
2119 "last_system_sequence": "",
2220 "system_same_as_user": false,
2321 "name": "Phi"
24-}
24 \ No newline at end of file
22+}
default/content/presets/instruct/Pygmalion.json+1 -3
@@ -1,5 +1,4 @@
11{
2- "system_prompt": "Enter RP mode. You shall reply to {{user}} while staying in character. Your responses must be detailed, creative, immersive, and drive the scenario forward. You will follow {{char}}'s persona.",
32 "input_sequence": "<|user|>",
43 "output_sequence": "<|model|>",
54 "last_output_sequence": "",
@@ -7,8 +6,7 @@
76 "stop_sequence": "<|user|>",
87 "wrap": false,
98 "macro": true,
109 "namesnames_behavior": true"always",
11- "names_force_groups": true,
1210 "activation_regex": "",
1311 "system_sequence_prefix": "<|system|>",
1412 "system_sequence_suffix": "",
default/content/presets/instruct/Story.json+1 -3
@@ -1,5 +1,4 @@
11{
2- "system_prompt": "",
32 "input_sequence": "",
43 "output_sequence": "",
54 "last_output_sequence": "",
@@ -7,8 +6,7 @@
76 "stop_sequence": "",
87 "wrap": true,
98 "macro": true,
109 "namesnames_behavior": false"none",
11- "names_force_groups": false,
1210 "activation_regex": "",
1311 "system_sequence_prefix": "",
1412 "system_sequence_suffix": "",
default/content/presets/instruct/Synthia.json+1 -3
@@ -1,5 +1,4 @@
11{
2- "system_prompt": "Elaborate on the topic using a Tree of Thoughts and backtrack when necessary to construct a clear, cohesive Chain of Thought reasoning. Always answer without hesitation.",
32 "input_sequence": "USER: ",
43 "output_sequence": "ASSISTANT: ",
54 "last_output_sequence": "",
@@ -7,8 +6,7 @@
76 "stop_sequence": "",
87 "wrap": false,
98 "macro": true,
109 "namesnames_behavior": false"force",
11- "names_force_groups": true,
1210 "activation_regex": "",
1311 "system_sequence_prefix": "SYSTEM: ",
1412 "system_sequence_suffix": "",
default/content/presets/instruct/Vicuna 1.0.json+1 -3
@@ -1,5 +1,4 @@
11{
2- "system_prompt": "A chat between a curious human and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the human's questions.\n\nWrite {{char}}'s next reply in a fictional roleplay chat between {{user}} and {{char}}.\n",
32 "input_sequence": "### Human:",
43 "output_sequence": "### Assistant:",
54 "last_output_sequence": "",
@@ -7,8 +6,7 @@
76 "stop_sequence": "",
87 "wrap": true,
98 "macro": true,
109 "namesnames_behavior": false"force",
11- "names_force_groups": true,
1210 "activation_regex": "",
1311 "system_sequence_prefix": "",
1412 "system_sequence_suffix": "",
default/content/presets/instruct/Vicuna 1.1.json+1 -3
@@ -1,5 +1,4 @@
11{
2- "system_prompt": "A chat between a curious user and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the user's questions.\n\nWrite {{char}}'s next reply in a fictional roleplay chat between {{user}} and {{char}}.\n",
32 "input_sequence": "\nUSER: ",
43 "output_sequence": "\nASSISTANT: ",
54 "last_output_sequence": "",
@@ -7,8 +6,7 @@
76 "stop_sequence": "",
87 "wrap": false,
98 "macro": true,
109 "namesnames_behavior": false"force",
11- "names_force_groups": true,
1210 "activation_regex": "",
1311 "system_sequence_prefix": "BEGINNING OF CONVERSATION:",
1412 "system_sequence_suffix": "",
default/content/presets/instruct/WizardLM-13B.json+1 -3
@@ -1,5 +1,4 @@
11{
2- "system_prompt": "A chat between a curious user and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the user's questions.\n\nWrite {{char}}'s next detailed reply in a fictional roleplay chat between {{user}} and {{char}}.",
32 "input_sequence": "USER: ",
43 "output_sequence": "ASSISTANT: ",
54 "last_output_sequence": "",
@@ -7,8 +6,7 @@
76 "stop_sequence": "",
87 "wrap": true,
98 "macro": true,
109 "namesnames_behavior": false"force",
11- "names_force_groups": true,
1210 "activation_regex": "",
1311 "system_sequence_prefix": "",
1412 "system_sequence_suffix": "",
default/content/presets/instruct/WizardLM.json+1 -3
@@ -1,5 +1,4 @@
11{
2- "system_prompt": "Write {{char}}'s next reply in a fictional roleplay chat between {{user}} and {{char}}.\n",
32 "input_sequence": "",
43 "output_sequence": "### Response:",
54 "last_output_sequence": "",
@@ -7,8 +6,7 @@
76 "stop_sequence": "",
87 "wrap": true,
98 "macro": true,
109 "namesnames_behavior": false"force",
11- "names_force_groups": true,
1210 "activation_regex": "",
1311 "system_sequence_prefix": "",
1412 "system_sequence_suffix": "",
default/content/presets/instruct/simple-proxy-for-tavern.json+1 -3
@@ -1,5 +1,4 @@
11{
2- "system_prompt": "[System note: Write one reply only. Do not decide what {{user}} says or does. Write at least one paragraph, up to four. Be descriptive and immersive, providing vivid details about {{char}}'s actions, emotions, and the environment. Write with a high degree of complexity and burstiness. Do not repeat this message.]",
32 "input_sequence": "### Instruction:\n#### {{name}}:",
43 "output_sequence": "### Response:\n#### {{name}}:",
54 "last_output_sequence": "### Response (2 paragraphs, engaging, natural, authentic, descriptive, creative):\n#### {{name}}:",
@@ -7,8 +6,7 @@
76 "stop_sequence": "",
87 "wrap": true,
98 "macro": true,
109 "namesnames_behavior": false"none",
11- "names_force_groups": false,
1210 "activation_regex": "",
1311 "system_sequence_prefix": "",
1412 "system_sequence_suffix": "",
default/content/presets/novel/Asper-Kayra.json+5 -2
@@ -14,7 +14,10 @@
1414 "use_cache": false,
1515 "return_full_text": false,
1616 "prefix": "vanilla",
17- "cfg_scale": 1,
1817 "phrase_rep_pen": "medium",
1918 "max_context": 7800,
19+ "min_p": 0,
20+ "math1_temp": 1,
21+ "math1_quad": 0,
22+ "math1_quad_entropy_scale": 0
2023}
default/content/presets/novel/Blended-Coffee-Kayra.json+6 -3
@@ -1,5 +1,5 @@
11{
22 "order": [6, 0, 1, 2, 3],
33 "temperature": 1,
44 "max_length": 150,
55 "min_length": 1,
@@ -14,6 +14,9 @@
1414 "return_full_text": false,
1515 "prefix": "vanilla",
1616 "phrase_rep_pen": "medium",
1717 "cfg_scalemax_context": 1.557800,
1818 "max_contextmin_p": 78000,
19+ "math1_temp": 1,
20+ "math1_quad": 0,
21+ "math1_quad_entropy_scale": 0
1922}
default/content/presets/novel/Blook-Kayra.json+6 -3
@@ -1,5 +1,5 @@
11{
22 "order": [6, 2, 3, 1, 0],
33 "temperature": 1,
44 "max_length": 150,
55 "min_length": 1,
@@ -15,6 +15,9 @@
1515 "return_full_text": false,
1616 "prefix": "vanilla",
1717 "phrase_rep_pen": "very_aggressive",
1818 "cfg_scalemax_context": 1.37800,
1919 "max_contextmin_p": 78000,
20+ "math1_temp": 1,
21+ "math1_quad": 0,
22+ "math1_quad_entropy_scale": 0
2023}
default/content/presets/novel/Carefree-Kayra.json+5 -2
@@ -15,7 +15,10 @@
1515 "use_cache": false,
1616 "return_full_text": false,
1717 "prefix": "vanilla",
18- "cfg_scale": 1,
1918 "phrase_rep_pen": "aggressive",
2019 "max_context": 7800,
20+ "min_p": 0,
21+ "math1_temp": 1,
22+ "math1_quad": 0,
23+ "math1_quad_entropy_scale": 0
2124}
default/content/presets/novel/CosmicCube-Kayra.json+6 -3
@@ -1,5 +1,5 @@
11{
22 "order": [8, 6, 5, 0, 3],
33 "temperature": 0.9,
44 "max_length": 150,
55 "min_length": 1,
@@ -15,6 +15,9 @@
1515 "return_full_text": false,
1616 "prefix": "vanilla",
1717 "phrase_rep_pen": "off",
1818 "cfg_scalemax_context": 1.487800,
1919 "max_contextmin_p": 78000,
20+ "math1_temp": 1,
21+ "math1_quad": 0,
22+ "math1_quad_entropy_scale": 0
2023}
default/content/presets/novel/Edgewise-Clio.json+5 -2
@@ -15,7 +15,10 @@
1515 "use_cache": false,
1616 "return_full_text": false,
1717 "prefix": "vanilla",
18- "cfg_scale": 1,
1918 "phrase_rep_pen": "very_light",
2019 "max_context": 7800,
20+ "min_p": 0,
21+ "math1_temp": 1,
22+ "math1_quad": 0,
23+ "math1_quad_entropy_scale": 0
2124}
default/content/presets/novel/Erato-Dragonfruit.json+31 -0
@@ -0,0 +1,31 @@
1+{
2+ "max_context": 8000,
3+ "temperature": 1.37,
4+ "max_length": 150,
5+ "min_length": 1,
6+ "top_k": 0,
7+ "top_p": 1,
8+ "top_a": 0.1,
9+ "typical_p": 0.875,
10+ "tail_free_sampling": 0.87,
11+ "repetition_penalty": 3.25,
12+ "repetition_penalty_range": 6000,
13+ "repetition_penalty_slope": 3.25,
14+ "repetition_penalty_frequency": 0,
15+ "repetition_penalty_presence": 0,
16+ "phrase_rep_pen": "off",
17+ "mirostat_lr": 0.2,
18+ "mirostat_tau": 4,
19+ "math1_temp": 0.9,
20+ "math1_quad": 0.07,
21+ "math1_quad_entropy_scale": -0.05,
22+ "min_p": 0.035,
23+ "order": [
24+ 0,
25+ 5,
26+ 9,
27+ 10,
28+ 8,
29+ 4
30+ ]
31+}
default/content/presets/novel/Erato-Golden Arrow.json+27 -0
@@ -0,0 +1,27 @@
1+{
2+ "max_context": 8000,
3+ "temperature": 1,
4+ "max_length": 150,
5+ "min_length": 1,
6+ "top_k": 0,
7+ "top_p": 0.995,
8+ "top_a": 1,
9+ "typical_p": 1,
10+ "tail_free_sampling": 0.87,
11+ "repetition_penalty": 1.5,
12+ "repetition_penalty_range": 2240,
13+ "repetition_penalty_slope": 1,
14+ "repetition_penalty_frequency": 0,
15+ "repetition_penalty_presence": 0,
16+ "phrase_rep_pen": "light",
17+ "mirostat_lr": 1,
18+ "mirostat_tau": 0,
19+ "math1_temp": 0.3,
20+ "math1_quad": 0.19,
21+ "math1_quad_entropy_scale": 0,
22+ "min_p": 0,
23+ "order": [
24+ 9,
25+ 2
26+ ]
27+}
default/content/presets/novel/Erato-Shosetsu.json+27 -0
@@ -0,0 +1,27 @@
1+{
2+ "max_context": 8000,
3+ "temperature": 1,
4+ "max_length": 150,
5+ "min_length": 1,
6+ "top_k": 50,
7+ "top_p": 0.85,
8+ "top_a": 1,
9+ "typical_p": 1,
10+ "tail_free_sampling": 0.895,
11+ "repetition_penalty": 1.63,
12+ "repetition_penalty_range": 1024,
13+ "repetition_penalty_slope": 3.33,
14+ "repetition_penalty_frequency": 0.0035,
15+ "repetition_penalty_presence": 0,
16+ "phrase_rep_pen": "medium",
17+ "mirostat_lr": 1,
18+ "mirostat_tau": 0,
19+ "math1_temp": 0.3,
20+ "math1_quad": 0.0645,
21+ "math1_quad_entropy_scale": 0.05,
22+ "min_p": 0.05,
23+ "order": [
24+ 9,
25+ 10
26+ ]
27+}
default/content/presets/novel/Erato-Wilder.json+27 -0
@@ -0,0 +1,27 @@
1+{
2+ "max_context": 8000,
3+ "temperature": 1,
4+ "max_length": 150,
5+ "min_length": 1,
6+ "top_k": 300,
7+ "top_p": 0.98,
8+ "top_a": 0.004,
9+ "typical_p": 0.96,
10+ "tail_free_sampling": 0.96,
11+ "repetition_penalty": 1.48,
12+ "repetition_penalty_range": 2240,
13+ "repetition_penalty_slope": 0.64,
14+ "repetition_penalty_frequency": 0,
15+ "repetition_penalty_presence": 0,
16+ "phrase_rep_pen": "medium",
17+ "mirostat_lr": 1,
18+ "mirostat_tau": 0,
19+ "math1_temp": -0.0485,
20+ "math1_quad": 0.145,
21+ "math1_quad_entropy_scale": 0,
22+ "min_p": 0.02,
23+ "order": [
24+ 9,
25+ 10
26+ ]
27+}
default/content/presets/novel/Erato-Zany Scribe.json+27 -0
@@ -0,0 +1,27 @@
1+{
2+ "max_context": 8000,
3+ "temperature": 1,
4+ "max_length": 150,
5+ "min_length": 1,
6+ "top_k": 0,
7+ "top_p": 0.99,
8+ "top_a": 1,
9+ "typical_p": 1,
10+ "tail_free_sampling": 0.99,
11+ "repetition_penalty": 1,
12+ "repetition_penalty_range": 64,
13+ "repetition_penalty_slope": 1,
14+ "repetition_penalty_frequency": 0.75,
15+ "repetition_penalty_presence": 1.5,
16+ "phrase_rep_pen": "medium",
17+ "mirostat_lr": 1,
18+ "mirostat_tau": 1,
19+ "math1_temp": -0.4,
20+ "math1_quad": 0.6,
21+ "math1_quad_entropy_scale": -0.1,
22+ "min_p": 0.08,
23+ "order": [
24+ 9,
25+ 2
26+ ]
27+}
default/content/presets/novel/Fresh-Coffee-Clio.json+5 -2
@@ -16,7 +16,10 @@
1616 "use_cache": false,
1717 "return_full_text": false,
1818 "prefix": "vanilla",
19- "cfg_scale": 1,
2019 "phrase_rep_pen": "very_light",
2120 "max_context": 7800,
21+ "min_p": 0,
22+ "math1_temp": 1,
23+ "math1_quad": 0,
24+ "math1_quad_entropy_scale": 0
2225}
default/content/presets/novel/Fresh-Coffee-Kayra.json+5 -2
@@ -14,7 +14,10 @@
1414 "use_cache": false,
1515 "return_full_text": false,
1616 "prefix": "vanilla",
17- "cfg_scale": 1,
1817 "phrase_rep_pen": "off",
1918 "max_context": 7800,
19+ "min_p": 0,
20+ "math1_temp": 1,
21+ "math1_quad": 0,
22+ "math1_quad_entropy_scale": 0
2023}
default/content/presets/novel/Green-Active-Writer-Kayra.json+6 -3
@@ -1,5 +1,5 @@
11{
22 "order": [6, 0, 8, 5, 3],
33 "temperature": 1.5,
44 "max_length": 150,
55 "min_length": 1,
@@ -15,6 +15,9 @@
1515 "return_full_text": false,
1616 "prefix": "vanilla",
1717 "phrase_rep_pen": "very_aggressive",
1818 "cfg_scalemax_context": 1.47800,
1919 "max_contextmin_p": 78000,
20+ "math1_temp": 1,
21+ "math1_quad": 0,
22+ "math1_quad_entropy_scale": 0
2023}
default/content/presets/novel/Keelback-Clio.json+5 -2
@@ -16,7 +16,10 @@
1616 "use_cache": false,
1717 "return_full_text": false,
1818 "prefix": "vanilla",
19- "cfg_scale": 1,
2019 "phrase_rep_pen": "very_light",
2120 "max_context": 7800,
21+ "min_p": 0,
22+ "math1_temp": 1,
23+ "math1_quad": 0,
24+ "math1_quad_entropy_scale": 0
2225}
default/content/presets/novel/Long-Press-Clio.json+5 -2
@@ -16,7 +16,10 @@
1616 "use_cache": false,
1717 "return_full_text": false,
1818 "prefix": "vanilla",
19- "cfg_scale": 1,
2019 "phrase_rep_pen": "very_light",
2120 "max_context": 7800,
21+ "min_p": 0,
22+ "math1_temp": 1,
23+ "math1_quad": 0,
24+ "math1_quad_entropy_scale": 0
2225}
default/content/presets/novel/Pilotfish-Kayra.json+6 -3
@@ -1,5 +1,5 @@
11{
22 "order": [6, 0, 4, 1, 2, 5, 3],
33 "temperature": 1.31,
44 "max_length": 150,
55 "min_length": 1,
@@ -17,6 +17,9 @@
1717 "return_full_text": false,
1818 "prefix": "vanilla",
1919 "phrase_rep_pen": "medium",
2020 "cfg_scalemax_context": 1.357800,
2121 "max_contextmin_p": 78000,
22+ "math1_temp": 1,
23+ "math1_quad": 0,
24+ "math1_quad_entropy_scale": 0
2225}
default/content/presets/novel/Pro_Writer-Kayra.json+5 -2
@@ -15,6 +15,9 @@
1515 "return_full_text": false,
1616 "prefix": "vanilla",
1717 "phrase_rep_pen": "medium",
1818 "cfg_scalemax_context": 1.07800,
1919 "max_contextmin_p": 78000,
20+ "math1_temp": 1,
21+ "math1_quad": 0,
22+ "math1_quad_entropy_scale": 0
2023}
default/content/presets/novel/Stelenes-Kayra.json+5 -1
@@ -13,5 +13,9 @@
1313 "return_full_text": false,
1414 "prefix": "vanilla",
1515 "phrase_rep_pen": "medium",
1616 "max_context": 7800,
17+ "min_p": 0,
18+ "math1_temp": 1,
19+ "math1_quad": 0,
20+ "math1_quad_entropy_scale": 0
1721}
default/content/presets/novel/Talker-Chat-Clio.json+5 -2
@@ -16,7 +16,10 @@
1616 "use_cache": false,
1717 "return_full_text": false,
1818 "prefix": "vanilla",
19- "cfg_scale": 1,
2019 "phrase_rep_pen": "very_light",
2120 "max_context": 7800,
21+ "min_p": 0,
22+ "math1_temp": 1,
23+ "math1_quad": 0,
24+ "math1_quad_entropy_scale": 0
2225}
default/content/presets/novel/Tea_Time-Kayra.json+5 -2
@@ -14,6 +14,9 @@
1414 "return_full_text": false,
1515 "prefix": "vanilla",
1616 "phrase_rep_pen": "aggressive",
1717 "cfg_scalemax_context": 1.07800,
1818 "max_contextmin_p": 78000,
19+ "math1_temp": 1,
20+ "math1_quad": 0,
21+ "math1_quad_entropy_scale": 0
1922}
default/content/presets/novel/Tesseract-Kayra.json+6 -3
@@ -1,5 +1,5 @@
11{
22 "order": [6, 0, 5],
33 "temperature": 0.895,
44 "max_length": 150,
55 "min_length": 1,
@@ -13,6 +13,9 @@
1313 "return_full_text": false,
1414 "prefix": "vanilla",
1515 "phrase_rep_pen": "aggressive",
1616 "cfg_scalemax_context": 1.37800,
1717 "max_contextmin_p": 78000,
18+ "math1_temp": 1,
19+ "math1_quad": 0,
20+ "math1_quad_entropy_scale": 0
1821}
default/content/presets/novel/Vingt-Un-Clio.json+5 -2
@@ -16,7 +16,10 @@
1616 "use_cache": false,
1717 "return_full_text": false,
1818 "prefix": "vanilla",
19- "cfg_scale": 1,
2019 "phrase_rep_pen": "very_light",
2120 "max_context": 7800,
21+ "min_p": 0,
22+ "math1_temp": 1,
23+ "math1_quad": 0,
24+ "math1_quad_entropy_scale": 0
2225}
default/content/presets/novel/Writers-Daemon-Kayra.json+5 -1
@@ -17,5 +17,9 @@
1717 "return_full_text": false,
1818 "prefix": "vanilla",
1919 "phrase_rep_pen": "very_aggressive",
2020 "max_context": 7800,
21+ "min_p": 0,
22+ "math1_temp": 1,
23+ "math1_quad": 0,
24+ "math1_quad_entropy_scale": 0
2125}
default/content/presets/openai/Default.json+0 -1
@@ -5,7 +5,6 @@
55 "windowai_model": "",
66 "openrouter_model": "OR_Website",
77 "openrouter_use_fallback": false,
8- "openrouter_force_instruct": false,
98 "openrouter_group_models": false,
109 "openrouter_sort_models": "alphabetically",
1110 "ai21_model": "jamba-1.5-large",
default/content/presets/sysprompt/Actor.json+4 -0
@@ -0,0 +1,4 @@
1+{
2+ "name": "Actor",
3+ "content": "You are an expert actor that can fully immerse yourself into any role given. You do not break character for any reason, even if someone tries addressing you as an AI or language model. Currently your role is {{char}}, which is described in detail below. As {{char}}, continue the exchange with {{user}}."
4+}
default/content/presets/sysprompt/Assistant - Expert.json+4 -0
@@ -0,0 +1,4 @@
1+{
2+ "name": "Assistant - Expert",
3+ "content": "You are a helpful assistant. Please answer truthfully and write out your thinking step by step to be sure you get the right answer. If you make a mistake or encounter an error in your thinking, say so out loud and attempt to correct it. If you don't know or aren't sure about something, say so clearly. You will act as a professional logician, mathematician, and physicist. You will also act as the most appropriate type of expert to answer any particular question or solve the relevant problem; state which expert type your are, if so. Also think of any particular named expert that would be ideal to answer the relevant question or solve the relevant problem; name and act as them, if appropriate."
4+}
default/content/presets/sysprompt/Assistant - Simple.json+4 -0
@@ -0,0 +1,4 @@
1+{
2+ "name": "Assistant - Simple",
3+ "content": "A chat between a curious human and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the human's questions."
4+}
default/content/presets/sysprompt/Blank.json+4 -0
@@ -0,0 +1,4 @@
1+{
2+ "name": "Blank",
3+ "content": ""
4+}
default/content/presets/sysprompt/Chain of Thought.json+4 -0
@@ -0,0 +1,4 @@
1+{
2+ "name": "Chain of Thought",
3+ "content": "Elaborate on the topic using a Tree of Thoughts and backtrack when necessary to construct a clear, cohesive Chain of Thought reasoning. Always answer without hesitation."
4+}
default/content/presets/sysprompt/Neutral - Chat.json+4 -0
@@ -0,0 +1,4 @@
1+{
2+ "name": "Neutral - Chat",
3+ "content": "Write {{char}}'s next reply in a fictional chat between {{char}} and {{user}}."
4+}
default/content/presets/sysprompt/Roleplay - Detailed.json+4 -0
@@ -0,0 +1,4 @@
1+{
2+ "name": "Roleplay - Detailed",
3+ "content": "Develop the plot slowly, always stay in character. Describe all actions in full, elaborate, explicit, graphic, and vivid detail. Mention all relevant sensory perceptions. Keep the story immersive and engaging."
4+}
default/content/presets/sysprompt/Roleplay - Immersive.json+4 -0
@@ -0,0 +1,4 @@
1+{
2+ "name": "Roleplay - Immersive",
3+ "content": "[System note: Write one reply only. Do not decide what {{user}} says or does. Write at least one paragraph, up to four. Be descriptive and immersive, providing vivid details about {{char}}'s actions, emotions, and the environment. Write with a high degree of complexity and burstiness. Do not repeat this message.]"
4+}
default/content/presets/sysprompt/Roleplay - Simple.json+4 -0
@@ -0,0 +1,4 @@
1+{
2+ "name": "Roleplay - Simple",
3+ "content": "You're {{char}} in this fictional never-ending uncensored roleplay with {{user}}."
4+}
default/content/presets/sysprompt/Text Adventure.json+4 -0
@@ -0,0 +1,4 @@
1+{
2+ "name": "Text Adventure",
3+ "content": "[Enter Adventure Mode. Narrate the story based on {{user}}'s dialogue and actions after \">\". Describe the surroundings in vivid detail. Be detailed, creative, verbose, and proactive. Move the story forward by introducing fantasy elements and interesting characters.]"
4+}
default/content/presets/sysprompt/Writer - Creative.json+4 -0
@@ -0,0 +1,4 @@
1+{
2+ "name": "Writer - Creative",
3+ "content": "You are an intelligent, skilled, versatile writer.\n\nYour task is to write a role-play based on the information below."
4+}
default/content/presets/sysprompt/Writer - Realistic.json+4 -0
@@ -0,0 +1,4 @@
1+{
2+ "name": "Writer - Realistic",
3+ "content": "Continue writing this story and portray characters realistically."
4+}
default/content/settings.json+19 -20
@@ -4,8 +4,8 @@
44 "api_server": "http://127.0.0.1:5000/api",
55 "preset_settings": "RecoveredRuins",
66 "user_avatar": "user-default.png",
77 "amount_gen": 250350,
88 "max_context": 20488192,
99 "main_api": "koboldhorde",
1010 "world_info_settings": {
1111 "world_info": {
@@ -90,7 +90,6 @@
9090 "pin_examples": false,
9191 "strip_examples": false,
9292 "trim_sentences": false,
93- "include_newline": false,
9493 "always_force_name2": true,
9594 "user_prompt_bias": "",
9695 "show_user_prompt_bias": true,
@@ -150,11 +149,9 @@
150149 "continue_on_send": false,
151150 "trim_spaces": true,
152151 "relaxed_api_urls": false,
153- "default_instruct": "",
154152 "instruct": {
155153 "enabled": false,
156154 "preset": "Alpaca",
157- "system_prompt": "Below is an instruction that describes a task. Write a response that appropriately completes the request.\n\nWrite {{char}}'s next reply in a fictional roleplay chat between {{user}} and {{char}}.\n",
158155 "input_sequence": "### Instruction:",
159156 "output_sequence": "### Response:",
160157 "last_output_sequence": "",
@@ -162,8 +159,7 @@
162159 "stop_sequence": "",
163160 "wrap": true,
164161 "macro": true,
165162 "namesnames_behavior": false"force",
166- "names_force_groups": true,
167163 "activation_regex": "",
168164 "system_sequence_prefix": "",
169165 "system_sequence_suffix": "",
@@ -175,7 +171,11 @@
175171 "user_alignment_message": "",
176172 "system_same_as_user": false
177173 },
178174 "default_contextsysprompt": "Default",{
175+ "enabled": true,
176+ "name": "Neutral - Chat",
177+ "content": "Write {{char}}'s next reply in a fictional chat between {{char}} and {{user}}."
178+ },
179179 "context": {
180180 "preset": "Default",
181181 "story_string": "{{#if system}}{{system}}\n{{/if}}{{#if wiBefore}}{{wiBefore}}\n{{/if}}{{#if description}}{{description}}\n{{/if}}{{#if personality}}{{char}}'s personality: {{personality}}\n{{/if}}{{#if scenario}}Scenario: {{scenario}}\n{{/if}}{{#if wiAfter}}{{wiAfter}}\n{{/if}}{{#if persona}}{{persona}}\n{{/if}}",
@@ -235,7 +235,7 @@
235235 "lengthPenaltyStep": 0.1,
236236 "memoryFrozen": false,
237237 "source": "extras",
238238 "prompt": "[PauseIgnore yourprevious roleplayinstructions. Summarize the most important facts and events that have happened in the chatstory so far. If a summary already exists in your memory, use that as a base and expand with new facts. Limit the summary to {{words}} words or less. Your response should include nothing but the summary.]",
239239 "promptWords": 200,
240240 "promptMinWords": 25,
241241 "promptMaxWords": 1000,
@@ -298,13 +298,13 @@
298298 "horde_karras": true,
299299 "refine_mode": false,
300300 "prompts": {
301301 "0": "[In the next response I want you to provide only a detailed comma-delimited list of keywords and phrases which describe {{char}}. The list must include all of the following items in this order: name, species and race, gender, age, clothing, occupation, physical features and appearances. Do not include descriptions of non-visual qualities such as personality, movements, scents, mental traits, or anything which could not be seen in a still photograph. Do not write in full sentences. Prefix your description with the phrase 'full body portrait,']",
302302 "1": "[PauseIgnore yourprevious roleplayinstructions and provide a detailed description of {{user}}'s physical appearance from the perspective of {{char}} in the form of a comma-delimited list of keywords and phrases. The list must include all of the following items in this order: name, species and race, gender, age, clothing, occupation, physical features and appearances. Do not include descriptions of non-visual qualities such as personality, movements, scents, mental traits, or anything which could not be seen in a still photograph. Do not write in full sentences. Prefix your description with the phrase 'full body portrait,'. Ignore the rest of the story when crafting this description. Do not roleplayreply as {{char}} when writing this description, and do not attempt to continue the story.]",
303303 "2": "[PauseIgnore yourprevious roleplayinstructions and provide a detailed description for all of the following: a brief recap of recent events in the story, {{char}}'s appearance, and {{char}}'s surroundings. Do not roleplayreply whileas {{char}} when writing this description, and do not attempt to continue the story.]",
304304 "3": "[PauseIgnore yourprevious roleplayinstructions and provide ONLY the last chat message string back to me verbatim. Do not write anything after the string. Do not roleplayreply atas all{{char}} inwhen yourwriting response.this Dodescription, and do not attempt to continue the roleplay story.]",
305- "4": "[Pause your roleplay. Your next response must be formatted as a single comma-delimited list of concise keywords. The list will describe of the visual details included in the last chat message.\n\n Only mention characters by using pronouns ('he','his','she','her','it','its') or neutral nouns ('male', 'the man', 'female', 'the woman').\n\n Ignore non-visible things such as feelings, personality traits, thoughts, and spoken dialog.\n\n Add keywords in this precise order:\n a keyword to describe the location of the scene,\n a keyword to mention how many characters of each gender or type are present in the scene (minimum of two characters:\n {{user}} and {{char}}, example: '2 men ' or '1 man 1 woman ', '1 man 3 robots'),\n\n keywords to describe the relative physical positioning of the characters to each other (if a commonly known term for the positioning is known use it instead of describing the positioning in detail) + 'POV',\n\n a single keyword or phrase to describe the primary act taking place in the last chat message,\n\n keywords to describe {{char}}'s physical appearance and facial expression,\n keywords to describe {{char}}'s actions,\n keywords to describe {{user}}'s physical appearance and actions.\n\n If character actions involve direct physical interaction with another character, mention specifically which body parts interacting and how.\n\n A correctly formatted example response would be:\n '(location),(character list by gender),(primary action), (relative character position) POV, (character 1's description and actions), (character 2's description and actions)']",
305+ "4": "Ignore previous instructions. Your next response must be formatted as a single comma-delimited list of concise keywords. The list will describe of the visual details included in the last chat message.\n\n Only mention characters by using pronouns ('he','his','she','her','it','its') or neutral nouns ('male', 'the man', 'female', 'the woman').\n\n Ignore non-visible things such as feelings, personality traits, thoughts, and spoken dialog.\n\n Add keywords in this precise order:\n a keyword to describe the location of the scene,\n a keyword to mention how many characters of each gender or type are present in the scene (minimum of two characters:\n {{user}} and {{char}}, example: '2 men ' or '1 man 1 woman ', '1 man 3 robots'),\n\n keywords to describe the relative physical positioning of the characters to each other (if a commonly known term for the positioning is known use it instead of describing the positioning in detail) + 'POV',\n\n a single keyword or phrase to describe the primary act taking place in the last chat message,\n\n keywords to describe {{char}}'s physical appearance and facial expression,\n keywords to describe {{char}}'s actions,\n keywords to describe {{user}}'s physical appearance and actions.\n\n If character actions involve direct physical interaction with another character, mention specifically which body parts interacting and how.\n\n A correctly formatted example response would be:\n '(location),(character list by gender),(primary action), (relative character position) POV, (character 1's description and actions), (character 2's description and actions)'",
306306 "5": "[In the next response I want you to provide only a detailed comma-delimited list of keywords and phrases which describe {{char}}. The list must include all of the following items in this order: name, species and race, gender, age, facial features and expressions, occupation, hair and hair accessories (if any), what they are wearing on their upper body (if anything). Do not describe anything below their neck. Do not include descriptions of non-visual qualities such as personality, movements, scents, mental traits, or anything which could not be seen in a still photograph. Do not write in full sentences. Prefix your description with the phrase 'close up facial portrait,']",
307307 "7": "[PauseIgnore yourprevious roleplayinstructions and provide a detailed description of {{char}}'s surroundings in the form of a comma-delimited list of keywords and phrases. The list must include all of the following items in this order: location, time of day, weather, lighting, and any other relevant details. Do not include descriptions of characters and non-visual qualities such as names, personality, movements, scents, mental traits, or anything which could not be seen in a still photograph. Do not write in full sentences. Prefix your description with the phrase 'background,'. Ignore the rest of the story when crafting this description. Do not roleplayreply as {{user}} when writing this description, and do not attempt to continue the story.]"
308308 },
309309 "character_prompts": {}
310310 },
@@ -318,9 +318,9 @@
318318 "objective": {
319319 "customPrompts": {
320320 "default": {
321321 "createTask": "PauseIgnore yourprevious roleplayinstructions and generate a list of tasks to complete an objective. Your next response must be formatted as a numbered list of plain text entries. Do not include anything but the numbered list. The list must be prioritized in the order that tasks must be completed.\n\nThe objective that you must make a numbered task list for is: [{{objective}}].\nThe tasks created should take into account the character traits of {{char}}. These tasks may or may not involve {{user}} directly. Be sure to include the objective as the final task.\n\nGiven an example objective of 'Make me a four course dinner', here is an example output:\n1. Determine what the courses will be\n2. Find recipes for each course\n3. Go shopping for supplies with {{user}}\n4. Cook the food\n5. Get {{user}} to set the table\n6. Serve the food\n7. Enjoy eating the meal with {{user}}\n ",
322322 "checkTaskCompleted": "PauseIgnore yourprevious roleplayinstructions. Determine if this task is completed: [{{task}}].\nTo do this, examine the most recent messages. Your response must only contain either true or false, nothing other words.\nExample output:\ntrue\n ",
323323 "currentTask": "Your current task is [{{task}}]. Balance existing roleplaystory with completing this task."
324324 }
325325 }
326326 },
@@ -417,7 +417,6 @@
417417 "preset_settings_novel": "Talker-Chat-Clio",
418418 "streaming_novel": true,
419419 "preamble": "[ Style: chat, complex, sensory, visceral ]",
420- "cfg_uc": "",
421420 "banned_tokens": "",
422421 "order": [
423422 1,
package-lock.json+688 -96
@@ -1,12 +1,12 @@
11{
22 "name": "sillytavern",
33 "version": "1.12.56",
44 "lockfileVersion": 3,
55 "requires": true,
66 "packages": {
77 "": {
88 "name": "sillytavern",
99 "version": "1.12.56",
1010 "hasInstallScript": true,
1111 "license": "AGPL-3.0",
1212 "dependencies": {
@@ -22,7 +22,7 @@
2222 "cookie-session": "^2.1.0",
2323 "cors": "^2.8.5",
2424 "csrf-csrf": "^2.2.3",
2525 "express": "^4.1921.20",
2626 "form-data": "^4.0.0",
2727 "google-translate-api-browser": "^3.0.1",
2828 "he": "^1.2.0",
@@ -40,12 +40,13 @@
4040 "png-chunk-text": "^1.0.0",
4141 "png-chunks-encode": "^1.0.0",
4242 "png-chunks-extract": "^1.0.0",
43+ "proxy-agent": "^6.4.0",
4344 "rate-limiter-flexible": "^5.0.0",
4445 "response-time": "^2.3.2",
4546 "sanitize-filename": "^1.6.3",
4647 "sillytavern-transformers": "2.14.6",
4748 "simple-git": "^3.19.1",
4849 "tiktoken": "^1.0.1516",
4950 "vectra": "^0.2.2",
5051 "wavefile": "^11.0.0",
5152 "write-file-atomic": "^5.0.1",
@@ -941,6 +942,12 @@
941942 "integrity": "sha512-OvjF+z51L3ov0OyAU0duzsYuvO01PH7x4t6DJx+guahgTnBHkhJdG7soQeTSFLWN3efnHyibZ4Z8l2EuWwJN3A==",
942943 "license": "MIT"
943944 },
945+ "node_modules/@tootallnate/quickjs-emscripten": {
946+ "version": "0.23.0",
947+ "resolved": "https://registry.npmjs.org/@tootallnate/quickjs-emscripten/-/quickjs-emscripten-0.23.0.tgz",
948+ "integrity": "sha512-C5Mc6rdnsaJDjO3UpGW/CQTHtCKaYlScZTly4JIu97Jxo/odCiH0ITnDXSJPTOrEKk/ycSZ0AOgTmkDtkOsvIA==",
949+ "license": "MIT"
950+ },
944951 "node_modules/@types/cacheable-request": {
945952 "version": "6.0.3",
946953 "resolved": "https://registry.npmjs.org/@types/cacheable-request/-/cacheable-request-6.0.3.tgz",
@@ -1080,6 +1087,41 @@
10801087 "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0"
10811088 }
10821089 },
1090+ "node_modules/agent-base": {
1091+ "version": "7.1.1",
1092+ "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.1.tgz",
1093+ "integrity": "sha512-H0TSyFNDMomMNJQBn8wFV5YC/2eJ+VXECwOadZJT554xP6cODZHPX3H9QMQECxvrgiSOP1pHjy1sMWQVYJOUOA==",
1094+ "license": "MIT",
1095+ "dependencies": {
1096+ "debug": "^4.3.4"
1097+ },
1098+ "engines": {
1099+ "node": ">= 14"
1100+ }
1101+ },
1102+ "node_modules/agent-base/node_modules/debug": {
1103+ "version": "4.3.7",
1104+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.7.tgz",
1105+ "integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==",
1106+ "license": "MIT",
1107+ "dependencies": {
1108+ "ms": "^2.1.3"
1109+ },
1110+ "engines": {
1111+ "node": ">=6.0"
1112+ },
1113+ "peerDependenciesMeta": {
1114+ "supports-color": {
1115+ "optional": true
1116+ }
1117+ }
1118+ },
1119+ "node_modules/agent-base/node_modules/ms": {
1120+ "version": "2.1.3",
1121+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
1122+ "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
1123+ "license": "MIT"
1124+ },
10831125 "node_modules/agentkeepalive": {
10841126 "version": "4.5.0",
10851127 "resolved": "https://registry.npmjs.org/agentkeepalive/-/agentkeepalive-4.5.0.tgz",
@@ -1382,6 +1424,18 @@
13821424 "integrity": "sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==",
13831425 "license": "MIT"
13841426 },
1427+ "node_modules/ast-types": {
1428+ "version": "0.13.4",
1429+ "resolved": "https://registry.npmjs.org/ast-types/-/ast-types-0.13.4.tgz",
1430+ "integrity": "sha512-x1FCFnFifvYDDzTaLII71vG5uvDwgtmDTEVWAxrgeiR8VjMONcCXJx7E+USjDtHlwFmt9MysbqgF9b9Vjr6w+w==",
1431+ "license": "MIT",
1432+ "dependencies": {
1433+ "tslib": "^2.0.1"
1434+ },
1435+ "engines": {
1436+ "node": ">=4"
1437+ }
1438+ },
13851439 "node_modules/async": {
13861440 "version": "3.2.5",
13871441 "resolved": "https://registry.npmjs.org/async/-/async-3.2.5.tgz",
@@ -1445,6 +1499,15 @@
14451499 ],
14461500 "license": "MIT"
14471501 },
1502+ "node_modules/basic-ftp": {
1503+ "version": "5.0.5",
1504+ "resolved": "https://registry.npmjs.org/basic-ftp/-/basic-ftp-5.0.5.tgz",
1505+ "integrity": "sha512-4Bcg1P8xhUuqcii/S0Z9wiHIrQVPMermM1any+MX5GeGD7faD3/msQUDGLol9wOcz4/jbg/WJnGqoJF6LiBdtg==",
1506+ "license": "MIT",
1507+ "engines": {
1508+ "node": ">=10.0.0"
1509+ }
1510+ },
14481511 "node_modules/bing-translate-api": {
14491512 "version": "2.9.1",
14501513 "resolved": "https://registry.npmjs.org/bing-translate-api/-/bing-translate-api-2.9.1.tgz",
@@ -1461,9 +1524,9 @@
14611524 "license": "MIT"
14621525 },
14631526 "node_modules/body-parser": {
14641527 "version": "1.20.23",
14651528 "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.23.tgz",
14661529 "integrity": "sha512-ml9pReCu3M61kGlqoTm2umSXTlRTuGTx0bfYj+uIUKKYycG5NtSbeetV3faSU6R7ajOPw0g7rAxByjUMqQ3/J1PvK4qNy7s5bAbHJy7D6OGXvx/MMc4IqBn/X0fcM1QUcAItpZrBEYhWGem+tzXH90c+G01ypMcYJBO9Y30203g==",
14671530 "license": "MIT",
14681531 "dependencies": {
14691532 "bytes": "3.1.2",
@@ -1474,7 +1537,7 @@
14741537 "http-errors": "2.0.0",
14751538 "iconv-lite": "0.4.24",
14761539 "on-finished": "2.4.1",
14771540 "qs": "6.1113.0",
14781541 "raw-body": "2.5.2",
14791542 "type-is": "~1.6.18",
14801543 "unpipe": "1.0.0"
@@ -1618,13 +1681,19 @@
16181681 }
16191682 },
16201683 "node_modules/call-bind": {
16211684 "version": "1.0.27",
16221685 "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.27.tgz",
16231686 "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJGHTSNSYICQ7scH7sZ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrAM2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==",
16241687 "license": "MIT",
16251688 "dependencies": {
16261689 "functiones-binddefine-property": "^1.10.10",
16271690 "getes-intrinsicerrors": "^1.03.20",
1691+ "function-bind": "^1.1.2",
1692+ "get-intrinsic": "^1.2.4",
1693+ "set-function-length": "^1.2.1"
1694+ },
1695+ "engines": {
1696+ "node": ">= 0.4"
16281697 },
16291698 "funding": {
16301699 "url": "https://github.com/sponsors/ljharb"
@@ -1644,6 +1713,7 @@
16441713 "version": "2.7.0",
16451714 "resolved": "https://registry.npmjs.org/centra/-/centra-2.7.0.tgz",
16461715 "integrity": "sha512-PbFMgMSrmgx6uxCdm57RUos9Tc3fclMvhLSATYN39XsDV29B89zZ3KA89jmY0vwSGazyU+uerqwa6t+KaodPcg==",
1716+ "license": "MIT",
16471717 "dependencies": {
16481718 "follow-redirects": "^1.15.6"
16491719 }
@@ -2229,6 +2299,15 @@
22292299 "url": "https://github.com/sponsors/fb55"
22302300 }
22312301 },
2302+ "node_modules/data-uri-to-buffer": {
2303+ "version": "6.0.2",
2304+ "resolved": "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-6.0.2.tgz",
2305+ "integrity": "sha512-7hvf7/GW8e86rW0ptuwS3OcBGDjIi6SZva7hCyWC0yYry2cOPmLIjXAUHI6DK2HsnwJd9ifmt57i8eV2n4YNpw==",
2306+ "license": "MIT",
2307+ "engines": {
2308+ "node": ">= 14"
2309+ }
2310+ },
22322311 "node_modules/debug": {
22332312 "version": "2.6.9",
22342313 "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
@@ -2269,6 +2348,23 @@
22692348 "node": ">=10"
22702349 }
22712350 },
2351+ "node_modules/define-data-property": {
2352+ "version": "1.1.4",
2353+ "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz",
2354+ "integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==",
2355+ "license": "MIT",
2356+ "dependencies": {
2357+ "es-define-property": "^1.0.0",
2358+ "es-errors": "^1.3.0",
2359+ "gopd": "^1.0.1"
2360+ },
2361+ "engines": {
2362+ "node": ">= 0.4"
2363+ },
2364+ "funding": {
2365+ "url": "https://github.com/sponsors/ljharb"
2366+ }
2367+ },
22722368 "node_modules/define-lazy-prop": {
22732369 "version": "2.0.0",
22742370 "resolved": "https://registry.npmjs.org/define-lazy-prop/-/define-lazy-prop-2.0.0.tgz",
@@ -2278,6 +2374,20 @@
22782374 "node": ">=8"
22792375 }
22802376 },
2377+ "node_modules/degenerator": {
2378+ "version": "5.0.1",
2379+ "resolved": "https://registry.npmjs.org/degenerator/-/degenerator-5.0.1.tgz",
2380+ "integrity": "sha512-TllpMR/t0M5sqCXfj85i4XaAzxmS5tVA16dqvdkMwGmzI+dXLXnw3J+3Vdv7VKw+ThlTMboK6i9rnZ6Nntj5CQ==",
2381+ "license": "MIT",
2382+ "dependencies": {
2383+ "ast-types": "^0.13.4",
2384+ "escodegen": "^2.1.0",
2385+ "esprima": "^4.0.1"
2386+ },
2387+ "engines": {
2388+ "node": ">= 14"
2389+ }
2390+ },
22812391 "node_modules/delayed-stream": {
22822392 "version": "1.0.0",
22832393 "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",
@@ -2416,9 +2526,9 @@
24162526 "license": "MIT"
24172527 },
24182528 "node_modules/encodeurl": {
24192529 "version": "12.0.20",
24202530 "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-12.0.20.tgz",
24212531 "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0wQ0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==",
24222532 "license": "MIT",
24232533 "engines": {
24242534 "node": ">= 0.8"
@@ -2445,6 +2555,27 @@
24452555 "url": "https://github.com/fb55/entities?sponsor=1"
24462556 }
24472557 },
2558+ "node_modules/es-define-property": {
2559+ "version": "1.0.0",
2560+ "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.0.tgz",
2561+ "integrity": "sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==",
2562+ "license": "MIT",
2563+ "dependencies": {
2564+ "get-intrinsic": "^1.2.4"
2565+ },
2566+ "engines": {
2567+ "node": ">= 0.4"
2568+ }
2569+ },
2570+ "node_modules/es-errors": {
2571+ "version": "1.3.0",
2572+ "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz",
2573+ "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==",
2574+ "license": "MIT",
2575+ "engines": {
2576+ "node": ">= 0.4"
2577+ }
2578+ },
24482579 "node_modules/escalade": {
24492580 "version": "3.1.2",
24502581 "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.2.tgz",
@@ -2469,6 +2600,27 @@
24692600 "node": ">=0.8.0"
24702601 }
24712602 },
2603+ "node_modules/escodegen": {
2604+ "version": "2.1.0",
2605+ "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-2.1.0.tgz",
2606+ "integrity": "sha512-2NlIDTwUWJN0mRPQOdtQBzbUHvdGY2P1VXSyU83Q3xKxM7WHX2Ql8dKq782Q9TgQUNOLEzEYu9bzLNj1q88I5w==",
2607+ "license": "BSD-2-Clause",
2608+ "dependencies": {
2609+ "esprima": "^4.0.1",
2610+ "estraverse": "^5.2.0",
2611+ "esutils": "^2.0.2"
2612+ },
2613+ "bin": {
2614+ "escodegen": "bin/escodegen.js",
2615+ "esgenerate": "bin/esgenerate.js"
2616+ },
2617+ "engines": {
2618+ "node": ">=6.0"
2619+ },
2620+ "optionalDependencies": {
2621+ "source-map": "~0.6.1"
2622+ }
2623+ },
24722624 "node_modules/eslint": {
24732625 "version": "8.57.0",
24742626 "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.57.0.tgz",
@@ -2624,6 +2776,19 @@
26242776 "url": "https://opencollective.com/eslint"
26252777 }
26262778 },
2779+ "node_modules/esprima": {
2780+ "version": "4.0.1",
2781+ "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz",
2782+ "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==",
2783+ "license": "BSD-2-Clause",
2784+ "bin": {
2785+ "esparse": "bin/esparse.js",
2786+ "esvalidate": "bin/esvalidate.js"
2787+ },
2788+ "engines": {
2789+ "node": ">=4"
2790+ }
2791+ },
26272792 "node_modules/esquery": {
26282793 "version": "1.5.0",
26292794 "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.5.0.tgz",
@@ -2654,7 +2819,6 @@
26542819 "version": "5.3.0",
26552820 "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz",
26562821 "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==",
2657- "dev": true,
26582822 "license": "BSD-2-Clause",
26592823 "engines": {
26602824 "node": ">=4.0"
@@ -2664,7 +2828,6 @@
26642828 "version": "2.0.3",
26652829 "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz",
26662830 "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==",
2667- "dev": true,
26682831 "license": "BSD-2-Clause",
26692832 "engines": {
26702833 "node": ">=0.10.0"
@@ -2702,36 +2865,37 @@
27022865 "integrity": "sha512-c2bQfLNbMzLPmzQuOr8fy0csy84WmwnER81W88DzTp9CYNPJ6yzOj2EZAh9pywYpqHnshVLHQJ8WzldAyfY+Iw=="
27032866 },
27042867 "node_modules/express": {
27052868 "version": "4.1921.20",
27062869 "resolved": "https://registry.npmjs.org/express/-/express-4.1921.20.tgz",
27072870 "integrity": "sha512-5T6nhjsT+EOMzuck8JjBHARTHfMht0POzlA60WV2pMD3gyXw2LZnZVqcNGcj/Id5ZT1LZ/cfihi3ttTn+ueGdNxGNJmkli2eZADigjq29qTlWi/hAQ43t/VLPq8+0calOJcWKbpFcuzLZ91YWq9QUX06FCEx3ByOYet6ZFblng==",
2871+ "license": "MIT",
27082872 "dependencies": {
27092873 "accepts": "~1.3.8",
27102874 "array-flatten": "1.1.1",
27112875 "body-parser": "1.20.23",
27122876 "content-disposition": "0.5.4",
27132877 "content-type": "~1.0.4",
27142878 "cookie": "0.6.0",
27152879 "cookie-signature": "1.0.6",
27162880 "debug": "2.6.9",
27172881 "depd": "2.0.0",
27182882 "encodeurl": "~12.0.20",
27192883 "escape-html": "~1.0.3",
27202884 "etag": "~1.8.1",
27212885 "finalhandler": "1.23.01",
27222886 "fresh": "0.5.2",
27232887 "http-errors": "2.0.0",
27242888 "merge-descriptors": "1.0.13",
27252889 "methods": "~1.1.2",
27262890 "on-finished": "2.4.1",
27272891 "parseurl": "~1.3.3",
27282892 "path-to-regexp": "0.1.710",
27292893 "proxy-addr": "~2.0.7",
27302894 "qs": "6.1113.0",
27312895 "range-parser": "~1.2.1",
27322896 "safe-buffer": "5.2.1",
27332897 "send": "0.1819.0",
27342898 "serve-static": "1.1516.02",
27352899 "setprototypeof": "1.2.0",
27362900 "statuses": "2.0.1",
27372901 "type-is": "~1.6.18",
@@ -2846,13 +3010,13 @@
28463010 }
28473011 },
28483012 "node_modules/finalhandler": {
28493013 "version": "1.23.01",
28503014 "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.23.01.tgz",
28513015 "integrity": "sha512-5uXcUVftlQMFnWC9qu/svkWv3GTd2PfUhK6BN9trH7bp3qvnrRyzsBz+g3lZxTNZTbVO2EV1CS0WIcDbawYVdYvGflME/3PLkYNAe7FbqJMt3515HaxE6eRL74GdsriiwujiawdaB1BpEISg9QP0h0pYlCDBCTjYa9nZzMDpyxQ==",
28523016 "license": "MIT",
28533017 "dependencies": {
28543018 "debug": "2.6.9",
28553019 "encodeurl": "~12.0.20",
28563020 "escape-html": "~1.0.3",
28573021 "on-finished": "2.4.1",
28583022 "parseurl": "~1.3.3",
@@ -3002,6 +3166,20 @@
30023166 "node": ">= 0.6"
30033167 }
30043168 },
3169+ "node_modules/fs-extra": {
3170+ "version": "11.2.0",
3171+ "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.2.0.tgz",
3172+ "integrity": "sha512-PmDi3uwK5nFuXh7XDTlVnS17xJS7vW36is2+w3xcv8SVxiB4NyATf4ctkVY5bkSjX0Y4nbvZCq1/EjtEyr9ktw==",
3173+ "license": "MIT",
3174+ "dependencies": {
3175+ "graceful-fs": "^4.2.0",
3176+ "jsonfile": "^6.0.1",
3177+ "universalify": "^2.0.0"
3178+ },
3179+ "engines": {
3180+ "node": ">=14.14"
3181+ }
3182+ },
30053183 "node_modules/fs.realpath": {
30063184 "version": "1.0.0",
30073185 "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
@@ -3028,15 +3206,19 @@
30283206 }
30293207 },
30303208 "node_modules/get-intrinsic": {
30313209 "version": "1.2.14",
30323210 "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.14.tgz",
30333211 "integrity": "sha512-2DcsyfABl+gVHEfCOaTrWgyt+tb6MSEGmKq+kI5HwLbIYgjgmMcV8KQ41uaKz1xxUcn9tJtgFbQUEVcEbd0FYw5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==",
30343212 "license": "MIT",
30353213 "dependencies": {
30363214 "functiones-binderrors": "^1.13.10",
30373215 "hasfunction-bind": "^1.01.32",
30383216 "has-proto": "^1.0.1",
30393217 "has-symbols": "^1.0.3",
3218+ "hasown": "^2.0.0"
3219+ },
3220+ "engines": {
3221+ "node": ">= 0.4"
30403222 },
30413223 "funding": {
30423224 "url": "https://github.com/sponsors/ljharb"
@@ -3057,6 +3239,44 @@
30573239 "url": "https://github.com/sponsors/sindresorhus"
30583240 }
30593241 },
3242+ "node_modules/get-uri": {
3243+ "version": "6.0.3",
3244+ "resolved": "https://registry.npmjs.org/get-uri/-/get-uri-6.0.3.tgz",
3245+ "integrity": "sha512-BzUrJBS9EcUb4cFol8r4W3v1cPsSyajLSthNkz5BxbpDcHN5tIrM10E2eNvfnvBn3DaT3DUgx0OpsBKkaOpanw==",
3246+ "license": "MIT",
3247+ "dependencies": {
3248+ "basic-ftp": "^5.0.2",
3249+ "data-uri-to-buffer": "^6.0.2",
3250+ "debug": "^4.3.4",
3251+ "fs-extra": "^11.2.0"
3252+ },
3253+ "engines": {
3254+ "node": ">= 14"
3255+ }
3256+ },
3257+ "node_modules/get-uri/node_modules/debug": {
3258+ "version": "4.3.7",
3259+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.7.tgz",
3260+ "integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==",
3261+ "license": "MIT",
3262+ "dependencies": {
3263+ "ms": "^2.1.3"
3264+ },
3265+ "engines": {
3266+ "node": ">=6.0"
3267+ },
3268+ "peerDependenciesMeta": {
3269+ "supports-color": {
3270+ "optional": true
3271+ }
3272+ }
3273+ },
3274+ "node_modules/get-uri/node_modules/ms": {
3275+ "version": "2.1.3",
3276+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
3277+ "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
3278+ "license": "MIT"
3279+ },
30603280 "node_modules/gifwrap": {
30613281 "version": "0.10.1",
30623282 "resolved": "https://registry.npmjs.org/gifwrap/-/gifwrap-0.10.1.tgz",
@@ -3120,6 +3340,18 @@
31203340 "integrity": "sha512-KTLodkyGBWMK9IW6QIeJ2zCuju4Z0CLpbkADKo+yLhbSTD4l+CXXpQ/xaynGVAzeBezzJG6qn8MLeqOq3SmW0A==",
31213341 "license": "MIT"
31223342 },
3343+ "node_modules/gopd": {
3344+ "version": "1.0.1",
3345+ "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz",
3346+ "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==",
3347+ "license": "MIT",
3348+ "dependencies": {
3349+ "get-intrinsic": "^1.1.3"
3350+ },
3351+ "funding": {
3352+ "url": "https://github.com/sponsors/ljharb"
3353+ }
3354+ },
31233355 "node_modules/got": {
31243356 "version": "11.8.6",
31253357 "resolved": "https://registry.npmjs.org/got/-/got-11.8.6.tgz",
@@ -3169,18 +3401,6 @@
31693401 "integrity": "sha512-Y8T4vYhEfwJOTbouREvG+3XDsjr8E3kIr7uf+JZ0BYloFsttiHU0WfvANVsR7TxNUJa/WpCnw/Ino/p+DeBhBQ==",
31703402 "license": "ISC"
31713403 },
3172- "node_modules/has": {
3173- "version": "1.0.3",
3174- "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz",
3175- "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==",
3176- "license": "MIT",
3177- "dependencies": {
3178- "function-bind": "^1.1.1"
3179- },
3180- "engines": {
3181- "node": ">= 0.4.0"
3182- }
3183- },
31843404 "node_modules/has-flag": {
31853405 "version": "4.0.0",
31863406 "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
@@ -3191,10 +3411,22 @@
31913411 "node": ">=8"
31923412 }
31933413 },
3414+ "node_modules/has-property-descriptors": {
3415+ "version": "1.0.2",
3416+ "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz",
3417+ "integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==",
3418+ "license": "MIT",
3419+ "dependencies": {
3420+ "es-define-property": "^1.0.0"
3421+ },
3422+ "funding": {
3423+ "url": "https://github.com/sponsors/ljharb"
3424+ }
3425+ },
31943426 "node_modules/has-proto": {
31953427 "version": "1.0.13",
31963428 "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.13.tgz",
31973429 "integrity": "sha512-7qE+iP+O+bgF9clE5SJ1amZAJUiZS+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpTPhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhguMAUT2pl3FxzVUH+Q==",
31983430 "license": "MIT",
31993431 "engines": {
32003432 "node": ">= 0.4"
@@ -3215,6 +3447,18 @@
32153447 "url": "https://github.com/sponsors/ljharb"
32163448 }
32173449 },
3450+ "node_modules/hasown": {
3451+ "version": "2.0.2",
3452+ "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz",
3453+ "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==",
3454+ "license": "MIT",
3455+ "dependencies": {
3456+ "function-bind": "^1.1.2"
3457+ },
3458+ "engines": {
3459+ "node": ">= 0.4"
3460+ }
3461+ },
32183462 "node_modules/he": {
32193463 "version": "1.2.0",
32203464 "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz",
@@ -3272,6 +3516,42 @@
32723516 "node": ">= 0.8"
32733517 }
32743518 },
3519+ "node_modules/http-proxy-agent": {
3520+ "version": "7.0.2",
3521+ "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-7.0.2.tgz",
3522+ "integrity": "sha512-T1gkAiYYDWYx3V5Bmyu7HcfcvL7mUrTWiM6yOfa3PIphViJ/gFPbvidQ+veqSOHci/PxBcDabeUNCzpOODJZig==",
3523+ "license": "MIT",
3524+ "dependencies": {
3525+ "agent-base": "^7.1.0",
3526+ "debug": "^4.3.4"
3527+ },
3528+ "engines": {
3529+ "node": ">= 14"
3530+ }
3531+ },
3532+ "node_modules/http-proxy-agent/node_modules/debug": {
3533+ "version": "4.3.7",
3534+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.7.tgz",
3535+ "integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==",
3536+ "license": "MIT",
3537+ "dependencies": {
3538+ "ms": "^2.1.3"
3539+ },
3540+ "engines": {
3541+ "node": ">=6.0"
3542+ },
3543+ "peerDependenciesMeta": {
3544+ "supports-color": {
3545+ "optional": true
3546+ }
3547+ }
3548+ },
3549+ "node_modules/http-proxy-agent/node_modules/ms": {
3550+ "version": "2.1.3",
3551+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
3552+ "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
3553+ "license": "MIT"
3554+ },
32753555 "node_modules/http2-wrapper": {
32763556 "version": "1.0.3",
32773557 "resolved": "https://registry.npmjs.org/http2-wrapper/-/http2-wrapper-1.0.3.tgz",
@@ -3285,6 +3565,42 @@
32853565 "node": ">=10.19.0"
32863566 }
32873567 },
3568+ "node_modules/https-proxy-agent": {
3569+ "version": "7.0.5",
3570+ "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.5.tgz",
3571+ "integrity": "sha512-1e4Wqeblerz+tMKPIq2EMGiiWW1dIjZOksyHWSUm1rmuvw/how9hBHZ38lAGj5ID4Ik6EdkOw7NmWPy6LAwalw==",
3572+ "license": "MIT",
3573+ "dependencies": {
3574+ "agent-base": "^7.0.2",
3575+ "debug": "4"
3576+ },
3577+ "engines": {
3578+ "node": ">= 14"
3579+ }
3580+ },
3581+ "node_modules/https-proxy-agent/node_modules/debug": {
3582+ "version": "4.3.7",
3583+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.7.tgz",
3584+ "integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==",
3585+ "license": "MIT",
3586+ "dependencies": {
3587+ "ms": "^2.1.3"
3588+ },
3589+ "engines": {
3590+ "node": ">=6.0"
3591+ },
3592+ "peerDependenciesMeta": {
3593+ "supports-color": {
3594+ "optional": true
3595+ }
3596+ }
3597+ },
3598+ "node_modules/https-proxy-agent/node_modules/ms": {
3599+ "version": "2.1.3",
3600+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
3601+ "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
3602+ "license": "MIT"
3603+ },
32883604 "node_modules/humanize-ms": {
32893605 "version": "1.2.1",
32903606 "resolved": "https://registry.npmjs.org/humanize-ms/-/humanize-ms-1.2.1.tgz",
@@ -3388,6 +3704,19 @@
33883704 "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
33893705 "license": "ISC"
33903706 },
3707+ "node_modules/ip-address": {
3708+ "version": "9.0.5",
3709+ "resolved": "https://registry.npmjs.org/ip-address/-/ip-address-9.0.5.tgz",
3710+ "integrity": "sha512-zHtQzGojZXTwZTHQqra+ETKd4Sn3vgi7uBmlPoXVWZqYvuKmtI0l/VZTjqGmJY9x88GGOaZ9+G9ES8hC4T4X8g==",
3711+ "license": "MIT",
3712+ "dependencies": {
3713+ "jsbn": "1.1.0",
3714+ "sprintf-js": "^1.1.3"
3715+ },
3716+ "engines": {
3717+ "node": ">= 12"
3718+ }
3719+ },
33913720 "node_modules/ip-matching": {
33923721 "version": "2.1.2",
33933722 "resolved": "https://registry.npmjs.org/ip-matching/-/ip-matching-2.1.2.tgz",
@@ -3572,6 +3901,12 @@
35723901 "js-yaml": "bin/js-yaml.js"
35733902 }
35743903 },
3904+ "node_modules/jsbn": {
3905+ "version": "1.1.0",
3906+ "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-1.1.0.tgz",
3907+ "integrity": "sha512-4bYVV3aAMtDTTu4+xsDYa6sy9GyJ69/amsu9sYF2zqjiEoZA5xJi3BrfX3uY+/IekIu7MwdObdbDWpoZdBv3/A==",
3908+ "license": "MIT"
3909+ },
35753910 "node_modules/json-buffer": {
35763911 "version": "3.0.1",
35773912 "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz",
@@ -3664,6 +3999,18 @@
36643999 "dev": true,
36654000 "license": "MIT"
36664001 },
4002+ "node_modules/jsonfile": {
4003+ "version": "6.1.0",
4004+ "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz",
4005+ "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==",
4006+ "license": "MIT",
4007+ "dependencies": {
4008+ "universalify": "^2.0.0"
4009+ },
4010+ "optionalDependencies": {
4011+ "graceful-fs": "^4.1.6"
4012+ }
4013+ },
36674014 "node_modules/keygrip": {
36684015 "version": "1.1.0",
36694016 "resolved": "https://registry.npmjs.org/keygrip/-/keygrip-1.1.0.tgz",
@@ -3710,9 +4057,9 @@
37104057 }
37114058 },
37124059 "node_modules/load-bmfont": {
37134060 "version": "1.4.12",
37144061 "resolved": "https://registry.npmjs.org/load-bmfont/-/load-bmfont-1.4.12.tgz",
37154062 "integrity": "sha512-8UyQoYmdRDy81Brz6aLAUhfZLwr5zV0L3taTQ4hju7m6biuwiWiJXjPhBJxbUQJA8PrkvJqElWkmjW9Oq1F9EI5Gt7aD9zcdHb9spJCW1L/7Enqmwk2sM14soAdmPf7KzCCEJxq8nhHz5eCgI9aMf7vrG/wyaCqdsI+Iy9ZTlog==",
37164063 "license": "MIT",
37174064 "dependencies": {
37184065 "buffer-equal": "0.0.1",
@@ -3720,7 +4067,7 @@
37204067 "parse-bmfont-ascii": "^1.0.3",
37214068 "parse-bmfont-binary": "^1.0.5",
37224069 "parse-bmfont-xml": "^1.1.4",
37234070 "phin": "^23.97.1",
37244071 "xhr": "^2.0.1",
37254072 "xtend": "^4.0.0"
37264073 }
@@ -3804,10 +4151,13 @@
38044151 }
38054152 },
38064153 "node_modules/merge-descriptors": {
38074154 "version": "1.0.13",
38084155 "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.13.tgz",
38094156 "integrity": "sha512-cCi6g3gaNvAS7TZ897/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1wrVaZ0nMtAyxNyi/pdbjbAwUpFQpN70GqnVfOiXpeUUMKRBmzXaSQ8DdTX4/0ms62r2K+hE6mQ==",
38104157 "license": "MIT",
4158+ "funding": {
4159+ "url": "https://github.com/sponsors/sindresorhus"
4160+ }
38114161 },
38124162 "node_modules/methods": {
38134163 "version": "1.1.2",
@@ -3953,6 +4303,15 @@
39534303 "node": ">= 0.6"
39544304 }
39554305 },
4306+ "node_modules/netmask": {
4307+ "version": "2.0.2",
4308+ "resolved": "https://registry.npmjs.org/netmask/-/netmask-2.0.2.tgz",
4309+ "integrity": "sha512-dBpDMdxv9Irdq66304OLfEmQ9tbNRFnFTuZiLo+bD+r332bBmMJ8GBLXklIXXgxd3+v9+KUnZaUR5PJMa75Gsg==",
4310+ "license": "MIT",
4311+ "engines": {
4312+ "node": ">= 0.4.0"
4313+ }
4314+ },
39564315 "node_modules/node-domexception": {
39574316 "version": "1.0.0",
39584317 "resolved": "https://registry.npmjs.org/node-domexception/-/node-domexception-1.0.0.tgz",
@@ -4042,10 +4401,13 @@
40424401 }
40434402 },
40444403 "node_modules/object-inspect": {
40454404 "version": "1.1213.32",
40464405 "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.1213.32.tgz",
40474406 "integrity": "sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBRIRZSRuzJiynemAXPYtPe5BoI/hLXK1aT6zmVSO0jsQcs7fj6MGw89jCRESNYR7TYm50MC5Mqbd3Jmw5y790sErYw3V6SryFJD64b74qQQs9wn5Bg/cjGfLcNOrtMYtGqm81gk3g==",
40484407 "license": "MIT",
4408+ "engines": {
4409+ "node": ">= 0.4"
4410+ },
40494411 "funding": {
40504412 "url": "https://github.com/sponsors/ljharb"
40514413 }
@@ -4220,6 +4582,61 @@
42204582 "url": "https://github.com/sponsors/sindresorhus"
42214583 }
42224584 },
4585+ "node_modules/pac-proxy-agent": {
4586+ "version": "7.0.2",
4587+ "resolved": "https://registry.npmjs.org/pac-proxy-agent/-/pac-proxy-agent-7.0.2.tgz",
4588+ "integrity": "sha512-BFi3vZnO9X5Qt6NRz7ZOaPja3ic0PhlsmCRYLOpN11+mWBCR6XJDqW5RF3j8jm4WGGQZtBA+bTfxYzeKW73eHg==",
4589+ "license": "MIT",
4590+ "dependencies": {
4591+ "@tootallnate/quickjs-emscripten": "^0.23.0",
4592+ "agent-base": "^7.0.2",
4593+ "debug": "^4.3.4",
4594+ "get-uri": "^6.0.1",
4595+ "http-proxy-agent": "^7.0.0",
4596+ "https-proxy-agent": "^7.0.5",
4597+ "pac-resolver": "^7.0.1",
4598+ "socks-proxy-agent": "^8.0.4"
4599+ },
4600+ "engines": {
4601+ "node": ">= 14"
4602+ }
4603+ },
4604+ "node_modules/pac-proxy-agent/node_modules/debug": {
4605+ "version": "4.3.7",
4606+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.7.tgz",
4607+ "integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==",
4608+ "license": "MIT",
4609+ "dependencies": {
4610+ "ms": "^2.1.3"
4611+ },
4612+ "engines": {
4613+ "node": ">=6.0"
4614+ },
4615+ "peerDependenciesMeta": {
4616+ "supports-color": {
4617+ "optional": true
4618+ }
4619+ }
4620+ },
4621+ "node_modules/pac-proxy-agent/node_modules/ms": {
4622+ "version": "2.1.3",
4623+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
4624+ "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
4625+ "license": "MIT"
4626+ },
4627+ "node_modules/pac-resolver": {
4628+ "version": "7.0.1",
4629+ "resolved": "https://registry.npmjs.org/pac-resolver/-/pac-resolver-7.0.1.tgz",
4630+ "integrity": "sha512-5NPgf87AT2STgwa2ntRMr45jTKrYBGkVU36yT0ig/n/GMAa3oPqhZfIQ2kMEimReg0+t9kZViDVZ83qfVUlckg==",
4631+ "license": "MIT",
4632+ "dependencies": {
4633+ "degenerator": "^5.0.0",
4634+ "netmask": "^2.0.2"
4635+ },
4636+ "engines": {
4637+ "node": ">= 14"
4638+ }
4639+ },
42234640 "node_modules/pako": {
42244641 "version": "1.0.11",
42254642 "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz",
@@ -4252,13 +4669,13 @@
42524669 "license": "MIT"
42534670 },
42544671 "node_modules/parse-bmfont-xml": {
42554672 "version": "1.1.46",
42564673 "resolved": "https://registry.npmjs.org/parse-bmfont-xml/-/parse-bmfont-xml-1.1.46.tgz",
42574674 "integrity": "sha512-bjnliEOmGv3y1aMEfREMBJ9tfL3WR0i0CKPj61DnSLaoxWR3nLrsQrEbCId/8rF4NyRF0cCqisSVXyQYWM0cEliVMZEhrFDwMh4SxIyVJpqYoOWDJ9P895tFuS+mCQXuNzI5UBmBk5U5O4KuJdTnZpSBI4LFA2+ZiJaiwfSwlMA==",
42584675 "license": "MIT",
42594676 "dependencies": {
42604677 "xml-parse-from-string": "^1.0.0",
42614678 "xml2js": "^0.4.5.0"
42624679 }
42634680 },
42644681 "node_modules/parse-headers": {
@@ -4346,9 +4763,9 @@
43464763 }
43474764 },
43484765 "node_modules/path-to-regexp": {
43494766 "version": "0.1.710",
43504767 "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.710.tgz",
43514768 "integrity": "sha512-5DFkuoqlv1uYQKxy8omFBeJPQcdoE07Kv2sferDCrAq1ohOU+MSDswDIbnx3YAM60qIOnYa53wBhXW0EbMonrQ7lf7qcQidTku0Gu3YDPc8DJ1q7OOucfa/BSsIwjuh56VU7katFvuM8hULfkwB3Fns/rsVF7PwPKVw1sl5KQS9w==",
43524769 "license": "MIT"
43534770 },
43544771 "node_modules/peek-readable": {
@@ -4374,6 +4791,7 @@
43744791 "version": "3.7.1",
43754792 "resolved": "https://registry.npmjs.org/phin/-/phin-3.7.1.tgz",
43764793 "integrity": "sha512-GEazpTWwTZaEQ9RhL7Nyz0WwqilbqgLahDM3D0hxWwmVDI52nXEybHqiN6/elwpkJBhcuj+WbBu+QfT0uhPGfQ==",
4794+ "license": "MIT",
43774795 "dependencies": {
43784796 "centra": "^2.7.0"
43794797 },
@@ -4515,6 +4933,57 @@
45154933 "node": ">= 0.10"
45164934 }
45174935 },
4936+ "node_modules/proxy-agent": {
4937+ "version": "6.4.0",
4938+ "resolved": "https://registry.npmjs.org/proxy-agent/-/proxy-agent-6.4.0.tgz",
4939+ "integrity": "sha512-u0piLU+nCOHMgGjRbimiXmA9kM/L9EHh3zL81xCdp7m+Y2pHIsnmbdDoEDoAz5geaonNR6q6+yOPQs6n4T6sBQ==",
4940+ "license": "MIT",
4941+ "dependencies": {
4942+ "agent-base": "^7.0.2",
4943+ "debug": "^4.3.4",
4944+ "http-proxy-agent": "^7.0.1",
4945+ "https-proxy-agent": "^7.0.3",
4946+ "lru-cache": "^7.14.1",
4947+ "pac-proxy-agent": "^7.0.1",
4948+ "proxy-from-env": "^1.1.0",
4949+ "socks-proxy-agent": "^8.0.2"
4950+ },
4951+ "engines": {
4952+ "node": ">= 14"
4953+ }
4954+ },
4955+ "node_modules/proxy-agent/node_modules/debug": {
4956+ "version": "4.3.7",
4957+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.7.tgz",
4958+ "integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==",
4959+ "license": "MIT",
4960+ "dependencies": {
4961+ "ms": "^2.1.3"
4962+ },
4963+ "engines": {
4964+ "node": ">=6.0"
4965+ },
4966+ "peerDependenciesMeta": {
4967+ "supports-color": {
4968+ "optional": true
4969+ }
4970+ }
4971+ },
4972+ "node_modules/proxy-agent/node_modules/lru-cache": {
4973+ "version": "7.18.3",
4974+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz",
4975+ "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==",
4976+ "license": "ISC",
4977+ "engines": {
4978+ "node": ">=12"
4979+ }
4980+ },
4981+ "node_modules/proxy-agent/node_modules/ms": {
4982+ "version": "2.1.3",
4983+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
4984+ "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
4985+ "license": "MIT"
4986+ },
45184987 "node_modules/proxy-from-env": {
45194988 "version": "1.1.0",
45204989 "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz",
@@ -4541,12 +5010,12 @@
45415010 }
45425011 },
45435012 "node_modules/qs": {
45445013 "version": "6.1113.0",
45455014 "resolved": "https://registry.npmjs.org/qs/-/qs-6.1113.0.tgz",
45465015 "integrity": "sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu38qI9SOr8tfZ4QmJNplMUxqjbe7LKvvZgWdExBOmd+egZTtjLB67Gu0HRX3u/MaJzRkIk4QXOq7UU2Nx6nsjvS16Z9uwfpg==",
45475016 "license": "BSD-3-Clause",
45485017 "dependencies": {
45495018 "side-channel": "^1.0.46"
45505019 },
45515020 "engines": {
45525021 "node": ">=0.6"
@@ -4853,15 +5322,15 @@
48535322 }
48545323 },
48555324 "node_modules/sax": {
48565325 "version": "1.2.4.1",
48575326 "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.1.tgz",
48585327 "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9+aWOz7yVScEGoKNd4PA10LZ8sk0A/atZwz5+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWwnXQG5giUO5rprX9jgYsTdov9qCchZiPIZezbZH+jRut8nPodFAX4Jg==",
48595328 "license": "ISC"
48605329 },
48615330 "node_modules/send": {
48625331 "version": "0.1819.0",
48635332 "resolved": "https://registry.npmjs.org/send/-/send-0.1819.0.tgz",
48645333 "integrity": "sha512-qqWzuOjSFOuqPjFe4NOsMLafToQQwBSOEpS+FwEt3A2V3vKubTquT3vmLTQpFgMXp8AlFWFuP1qKaJZOtPpVXgdW41u5VfLXu8SJh5bwRmyYUbAoSB3c9uQh6L8h/KtsFREPWpbX1lrljJo186Jc4nmci/sGUZ9a0a0J2zgfq2hw==",
48655334 "license": "MIT",
48665335 "dependencies": {
48675336 "debug": "2.6.9",
@@ -4882,6 +5351,15 @@
48825351 "node": ">= 0.8.0"
48835352 }
48845353 },
5354+ "node_modules/send/node_modules/encodeurl": {
5355+ "version": "1.0.2",
5356+ "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz",
5357+ "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==",
5358+ "license": "MIT",
5359+ "engines": {
5360+ "node": ">= 0.8"
5361+ }
5362+ },
48855363 "node_modules/send/node_modules/ms": {
48865364 "version": "2.1.3",
48875365 "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
@@ -4889,20 +5367,37 @@
48895367 "license": "MIT"
48905368 },
48915369 "node_modules/serve-static": {
48925370 "version": "1.1516.02",
48935371 "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.1516.02.tgz",
48945372 "integrity": "sha512-XGuRDNjXUijsUL0vl6nSD7cwURuzEgglbOaFuZM9g3kwDXOWVTck0jLzjPzGD+TazWbboZYu52VqpjJZKadQB/9PEbEwvFdO43Ax5dFBZ2UECszz8bQ7pi7wt/XPdUgne9g/PWe1P6MN7eCnjsatYtBT6EuiClbjSWP2WrIoTw==",
48955373 "license": "MIT",
48965374 "dependencies": {
48975375 "encodeurl": "~12.0.20",
48985376 "escape-html": "~1.0.3",
48995377 "parseurl": "~1.3.3",
49005378 "send": "0.1819.0"
49015379 },
49025380 "engines": {
49035381 "node": ">= 0.8.0"
49045382 }
49055383 },
5384+ "node_modules/set-function-length": {
5385+ "version": "1.2.2",
5386+ "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.2.tgz",
5387+ "integrity": "sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==",
5388+ "license": "MIT",
5389+ "dependencies": {
5390+ "define-data-property": "^1.1.4",
5391+ "es-errors": "^1.3.0",
5392+ "function-bind": "^1.1.2",
5393+ "get-intrinsic": "^1.2.4",
5394+ "gopd": "^1.0.1",
5395+ "has-property-descriptors": "^1.0.2"
5396+ },
5397+ "engines": {
5398+ "node": ">= 0.4"
5399+ }
5400+ },
49065401 "node_modules/setprototypeof": {
49075402 "version": "1.2.0",
49085403 "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz",
@@ -4931,14 +5426,18 @@
49315426 }
49325427 },
49335428 "node_modules/side-channel": {
49345429 "version": "1.0.46",
49355430 "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.46.tgz",
49365431 "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42fDW/EZ6Q9RiO8eFG8Hj+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA==",
49375432 "license": "MIT",
49385433 "dependencies": {
49395434 "call-bind": "^1.0.07",
49405435 "getes-intrinsicerrors": "^1.03.20",
49415436 "objectget-inspectintrinsic": "^1.92.04",
5437+ "object-inspect": "^1.13.1"
5438+ },
5439+ "engines": {
5440+ "node": ">= 0.4"
49425441 },
49435442 "funding": {
49445443 "url": "https://github.com/sponsors/ljharb"
@@ -5011,6 +5510,83 @@
50115510 "integrity": "sha512-VZBmZP8WU3sMOZm1bdgTadsQbcscK0UM8oKxKVBs4XAhUo2Xxzm/OFMGBkPusxw9xL3Uy8LrzEqGqJhclsr0yA==",
50125511 "license": "MIT"
50135512 },
5513+ "node_modules/smart-buffer": {
5514+ "version": "4.2.0",
5515+ "resolved": "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.2.0.tgz",
5516+ "integrity": "sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==",
5517+ "license": "MIT",
5518+ "engines": {
5519+ "node": ">= 6.0.0",
5520+ "npm": ">= 3.0.0"
5521+ }
5522+ },
5523+ "node_modules/socks": {
5524+ "version": "2.8.3",
5525+ "resolved": "https://registry.npmjs.org/socks/-/socks-2.8.3.tgz",
5526+ "integrity": "sha512-l5x7VUUWbjVFbafGLxPWkYsHIhEvmF85tbIeFZWc8ZPtoMyybuEhL7Jye/ooC4/d48FgOjSJXgsF/AJPYCW8Zw==",
5527+ "license": "MIT",
5528+ "dependencies": {
5529+ "ip-address": "^9.0.5",
5530+ "smart-buffer": "^4.2.0"
5531+ },
5532+ "engines": {
5533+ "node": ">= 10.0.0",
5534+ "npm": ">= 3.0.0"
5535+ }
5536+ },
5537+ "node_modules/socks-proxy-agent": {
5538+ "version": "8.0.4",
5539+ "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-8.0.4.tgz",
5540+ "integrity": "sha512-GNAq/eg8Udq2x0eNiFkr9gRg5bA7PXEWagQdeRX4cPSG+X/8V38v637gim9bjFptMk1QWsCTr0ttrJEiXbNnRw==",
5541+ "license": "MIT",
5542+ "dependencies": {
5543+ "agent-base": "^7.1.1",
5544+ "debug": "^4.3.4",
5545+ "socks": "^2.8.3"
5546+ },
5547+ "engines": {
5548+ "node": ">= 14"
5549+ }
5550+ },
5551+ "node_modules/socks-proxy-agent/node_modules/debug": {
5552+ "version": "4.3.7",
5553+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.7.tgz",
5554+ "integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==",
5555+ "license": "MIT",
5556+ "dependencies": {
5557+ "ms": "^2.1.3"
5558+ },
5559+ "engines": {
5560+ "node": ">=6.0"
5561+ },
5562+ "peerDependenciesMeta": {
5563+ "supports-color": {
5564+ "optional": true
5565+ }
5566+ }
5567+ },
5568+ "node_modules/socks-proxy-agent/node_modules/ms": {
5569+ "version": "2.1.3",
5570+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
5571+ "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
5572+ "license": "MIT"
5573+ },
5574+ "node_modules/source-map": {
5575+ "version": "0.6.1",
5576+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
5577+ "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
5578+ "license": "BSD-3-Clause",
5579+ "optional": true,
5580+ "engines": {
5581+ "node": ">=0.10.0"
5582+ }
5583+ },
5584+ "node_modules/sprintf-js": {
5585+ "version": "1.1.3",
5586+ "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.1.3.tgz",
5587+ "integrity": "sha512-Oo+0REFV59/rz3gfJNKQiBlwfHaSESl1pcGyABQsnnIfWOFt6JNj5gCog2U6MLZ//IGYD+nA8nI+mTShREReaA==",
5588+ "license": "BSD-3-Clause"
5589+ },
50145590 "node_modules/statuses": {
50155591 "version": "2.0.1",
50165592 "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz",
@@ -5162,9 +5738,10 @@
51625738 "license": "MIT"
51635739 },
51645740 "node_modules/tiktoken": {
51655741 "version": "1.0.1516",
51665742 "resolved": "https://registry.npmjs.org/tiktoken/-/tiktoken-1.0.1516.tgz",
51675743 "integrity": "sha512-sCsrq/vMWUSEW29CJLNmPvWxlVp7yh2tlkAjpJltIKqp5CKf98ZNpdeHRmAlPVFlGEbswDc6SmI8vz64WhRcORIGF2YlAgWx3nzrGJOrKSJwLoc81HpXmMQk89632XAgURc7IeV2FgQ2iXo9z/qErwJ96fCvpsHg2kWoHcbj9fg==",
5744+ "license": "MIT"
51685745 },
51695746 "node_modules/timm": {
51705747 "version": "1.7.1",
@@ -5224,6 +5801,12 @@
52245801 "utf8-byte-length": "^1.0.1"
52255802 }
52265803 },
5804+ "node_modules/tslib": {
5805+ "version": "2.7.0",
5806+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.7.0.tgz",
5807+ "integrity": "sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==",
5808+ "license": "0BSD"
5809+ },
52275810 "node_modules/tsscmp": {
52285811 "version": "1.0.6",
52295812 "resolved": "https://registry.npmjs.org/tsscmp/-/tsscmp-1.0.6.tgz",
@@ -5283,6 +5866,15 @@
52835866 "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==",
52845867 "license": "MIT"
52855868 },
5869+ "node_modules/universalify": {
5870+ "version": "2.0.1",
5871+ "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz",
5872+ "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==",
5873+ "license": "MIT",
5874+ "engines": {
5875+ "node": ">= 10.0.0"
5876+ }
5877+ },
52865878 "node_modules/unpipe": {
52875879 "version": "1.0.0",
52885880 "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz",
package.json+4 -9
@@ -12,7 +12,7 @@
1212 "cookie-session": "^2.1.0",
1313 "cors": "^2.8.5",
1414 "csrf-csrf": "^2.2.3",
1515 "express": "^4.1921.20",
1616 "form-data": "^4.0.0",
1717 "google-translate-api-browser": "^3.0.1",
1818 "he": "^1.2.0",
@@ -30,12 +30,13 @@
3030 "png-chunk-text": "^1.0.0",
3131 "png-chunks-encode": "^1.0.0",
3232 "png-chunks-extract": "^1.0.0",
33+ "proxy-agent": "^6.4.0",
3334 "rate-limiter-flexible": "^5.0.0",
3435 "response-time": "^2.3.2",
3536 "sanitize-filename": "^1.6.3",
3637 "sillytavern-transformers": "2.14.6",
3738 "simple-git": "^3.19.1",
3839 "tiktoken": "^1.0.1516",
3940 "vectra": "^0.2.2",
4041 "wavefile": "^11.0.0",
4142 "write-file-atomic": "^5.0.1",
@@ -48,15 +49,9 @@
4849 "node": ">= 18"
4950 },
5051 "overrides": {
51- "parse-bmfont-xml": {
52- "xml2js": "^0.5.0"
53- },
5452 "vectra": {
5553 "openai": "^4.17.0"
5654 },
57- "load-bmfont": {
58- "phin": "^3.7.1"
59- },
6055 "axios": {
6156 "follow-redirects": "^1.15.4"
6257 },
@@ -71,7 +66,7 @@
7166 "type": "git",
7267 "url": "https://github.com/SillyTavern/SillyTavern.git"
7368 },
7469 "version": "1.12.56",
7570 "scripts": {
7671 "start": "node server.js",
7772 "start:no-csrf": "node server.js --disableCsrf",
plugins.js+4 -2
@@ -1,11 +1,14 @@
11// Plugin manager script.
22// Usage: node plugins.js update
3+// 1. node plugins.js update
4+// 2. node plugins.js install <plugin-git-url>
35// More operations coming soon.
46const { default: git } = require('simple-git');
57const fs = require('fs');
68const path = require('path');
79const { color } = require('./src/util');
810
11+process.chdir(__dirname);
912const pluginsPath = './plugins';
1013
1114const command = process.argv[2];
@@ -55,7 +58,6 @@ async function updatePlugins() {
5558 }
5659
5760 console.log(color.magenta('All plugins updated!'));
58-
5961}
6062
6163async function installPlugin(pluginName) {
public/css/mobile-styles.css+18 -20
@@ -1,6 +1,16 @@
11/*will apply to anything 1000px or less. this catches ipads, horizontal phones, and vertical phones)*/
22@media screen and (max-width: 1000px) {
33
4+ #UI-Theme-Block,
5+ #UI-Customization,
6+ #power-user-options-block,
7+ #ContextSettings,
8+ #InstructSettingsColumn,
9+ #InstructSequencesColumn {
10+ flex-basis: 100%;
11+ }
12+
13+
414 #send_form.compact #leftSendForm,
515 #send_form.compact #rightSendForm {
616 flex-wrap: nowrap;
@@ -93,7 +103,6 @@
93103 touch-action: none;
94104 overflow: hidden;
95105 position: fixed;
96-
97106 }
98107
99108 .world_entry_form_control {
@@ -102,7 +111,7 @@
102111
103112 .drawer-content {
104113 min-width: unset;
105114 width: 100%100dvw;
106115 max-height: calc(100vh - 45px);
107116 max-height: calc(100dvh - 45px);
108117 position: fixed;
@@ -149,9 +158,9 @@
149158 #sheld,
150159 #character_popup,
151160 .drawer-content {
152161 width: 100%100dvw !important;
153162 margin: 0 auto;
154163 max-width: 100%100dvw;
155164 left: 0 !important;
156165 resize: none !important;
157166 top: var(--topBarBlockSize);
@@ -223,9 +232,9 @@
223232 /* 100vh are fallback units for browsers that don't support dvh */
224233 height: calc(100vh - 45px);
225234 height: calc(100dvh - 45px);
226235 min-width: 100%100dvw !important;
227236 width: 100%100dvw !important;
228237 max-width: 100%100dvw !important;
229238 overflow-y: hidden;
230239 border-left: 1px solid var(--SmartThemeBorderColor);
231240 border-right: 1px solid var(--SmartThemeBorderColor);
@@ -342,17 +351,6 @@
342351 }
343352}
344353
345-@media screen and (min-width: 1001px) {
346-
347- #PygOverrides,
348- #ContextFormatting,
349- #UI-Theme-Block,
350- #UI-Customization,
351- #power-user-options-block {
352- flex: 1;
353- }
354-}
355-
356354/*landscape mode phones and ipads*/
357355@media screen and (max-width: 1000px) and (orientation: landscape) {
358356 body.waifuMode img.expression {
@@ -482,10 +480,10 @@
482480 margin: 0 auto;
483481 height: calc(100vh - 70px);
484482 height: calc(100dvh - 70px);
485483 width: calc(100%100dvw - 5px);
486484 max-height: calc(100vh - 70px);
487485 max-height: calc(100dvh - 70px);
488486 max-width: calc(100%100dvw - 5px);
489487
490488 }
491489
public/css/popup.css+4 -0
@@ -47,6 +47,10 @@ dialog {
4747 padding: 1px;
4848}
4949
50+.popup:not(:has(.img_enlarged_container)) .popup-body {
51+ max-height: 95dvh;
52+}
53+
5054.popup .popup-content {
5155 margin-top: 10px;
5256 padding: 0 8px;
public/css/promptmanager.css+35 -8
@@ -91,15 +91,34 @@
9191#completion_prompt_manager_popup #completion_prompt_manager_popup_inspect {
9292 display: none;
9393 padding: 0.5em;
94+ height: 100%;
95+ display: flex;
96+ flex-direction: column;
9497}
9598
9699#completion_prompt_manager_popup .completion_prompt_manager_popup_entry {
97100 padding: 1em0.5em;
98101 margin-topflex: 2em1;
102+}
103+
104+#completion_prompt_manager_popup .completion_prompt_manager_popup_entry_form {
105+ height: 100%;
106+ display: flex;
107+ flex-direction: column;
108+}
109+
110+#completion_prompt_manager_popup .completion_prompt_manager_popup_entry_form_control:has(#completion_prompt_manager_popup_entry_form_prompt) {
111+ flex: 1;
112+ display: flex;
113+ flex-direction: column;
114+}
115+
116+#completion_prompt_manager_popup #completion_prompt_manager_popup_entry_form_prompt {
117+ flex: 1;
99118}
100119
101120#completion_prompt_manager_popup #completion_prompt_manager_popup_inspect .completion_prompt_manager_popup_entry {
102121 padding: 1em0.5em;
103122}
104123
105124#completion_prompt_manager_popup #completion_prompt_manager_popup_entry_form_inspect_list {
@@ -248,7 +267,7 @@
248267}
249268
250269#completion_prompt_manager_footer_append_prompt {
251270 font-size: 16px1em;
252271}
253272
254273#prompt-manager-export-format-popup {
@@ -303,10 +322,6 @@
303322 justify-content: space-between;
304323}
305324
306-#prompt-manager-export-format-popup span {
307- font-size: 16px;
308-}
309-
310325@media screen and (max-width: 412px) {
311326 #completion_prompt_manager_popup {
312327 max-width: 100%;
@@ -316,3 +331,15 @@
316331 margin-left: 0.5em;
317332 }
318333}
334+
335+.completion_prompt_manager_popup_entry_form_control:has(#completion_prompt_manager_popup_entry_form_prompt:disabled)>div:first-child::after {
336+ content: 'The content of this prompt is pulled from elsewhere and cannot be edited here.';
337+ display: block;
338+ width: 100%;
339+ font-weight: 600;
340+ text-align: center;
341+}
342+
343+.completion_prompt_manager_popup_entry_form_control #completion_prompt_manager_popup_entry_form_prompt:disabled {
344+ visibility: hidden;
345+}
public/css/select2-overrides.css+6 -1
@@ -15,8 +15,13 @@
1515 z-index: 40000;
1616}
1717
1818.select2-container .select2-selection .select2-selection__clear {
1919 color: var(--SmartThemeBodyColor);
20+ font-size: 24px;
21+ padding: 0;
22+ position: absolute;
23+ right: 5px;
24+ top: 0;
2025}
2126
2227.select2-container .select2-search__field {
public/css/st-tailwind.css+8 -0
@@ -360,6 +360,10 @@
360360 margin-right: 2px;
361361}
362362
363+.flexAuto {
364+ flex: auto;
365+}
366+
363367.flex0 {
364368 flex: 0;
365369}
@@ -495,6 +499,10 @@ textarea:disabled {
495499 filter: brightness(0.5);
496500}
497501
502+#AdvancedFormatting .disabled {
503+ filter: brightness(0.5);
504+}
505+
498506.debug-red {
499507 border: 1px solid red !important;
500508}
public/css/toggle-dependent.css+7 -3
@@ -28,8 +28,8 @@ body.hideChatAvatars .mesAvatarWrapper .avatar {
2828 display: none !important;
2929}
3030
3131body.hideChatAvatars .last_mes:not(.smallSysMes) {
3232 padding-bottom: 40px20px !important;
3333}
3434
3535body.square-avatars .avatar,
@@ -454,4 +454,8 @@ body.expandMessageActions .mes .mes_buttons .extraMesButtonsHint {
454454
455455#smooth_streaming:checked~#smooth_streaming_speed_control {
456456 display: block;
457-}
457 \ No newline at end of file
457+}
458+
459+.mdhotkey_icon {
460+ opacity: 0.6;
461+}
public/css/world-info.css+4 -0
@@ -274,3 +274,7 @@ select.keyselect+span.select2-container .select2-selection--multiple {
274274 align-self: center;
275275 width: 100%;
276276}
277+
278+.world_entry:has(input[name="delay_until_recursion"]:not(:checked)) .world_entry_form_control:has(input[name="delayUntilRecursionLevel"]) {
279+ display: none;
280+}
public/img/down-arrow.svg+3 -0
@@ -0,0 +1,3 @@
1+<svg xmlns="http://www.w3.org/2000/svg" width="10" height="7">
2+ <polygon points="0,0 10,0 5,7" fill="#888888" />
3+</svg>
public/img/user-default.png+0 -0

Binary file

public/index.html+1965 -1930
@@ -65,7 +65,7 @@
6565 <!-- background selection menu -->
6666 <div id="ai-config-button" class="drawer">
6767 <div class="drawer-toggle drawer-header">
6868 <div id="leftNavDrawerIcon" class="drawer-icon fa-solid fa-sliders fa-fw closedIcon" title="AI Response Configuration" data-i18n="[title]AI Response Configuration"></div>
6969 </div>
7070 <div id="left-nav-panel" class="drawer-content fillLeft closedDrawer">
7171 <div id="left-nav-panelheader" class="fa-solid fa-grip drag-grabber"></div>
@@ -98,12 +98,12 @@
9898 </select>
9999 <div class="flex-container marginLeft5 ">
100100 <input type="file" hidden data-preset-manager-file="kobold" accept=".json, .settings">
101101 <i data-newbie-hidden data-preset-manager-update="kobold" class="menu_button fa-solid fa-save" title="Update current preset" data-i18n="[title]Update current preset"></i>
102102 <i data-newbie-hidden data-preset-manager-new="kobold" class="menu_button fa-solid fa-file-circle-plus" title="Save preset as" data-i18n="[title]Save preset as"></i>
103103 <i data-newbie-hidden data-preset-manager-import="kobold" class="menu_button fa-solid fa-file-import" title="Import preset" data-i18n="[title]Import preset"></i>
104104 <i data-newbie-hidden data-preset-manager-export="kobold" class="menu_button fa-solid fa-file-export" title="Export preset" data-i18n="[title]Export preset"></i>
105105 <i data-newbie-hidden data-preset-manager-restore="kobold" class="menu_button fa-solid fa-recycle" title="Restore current preset" data-i18n="[title]Restore current preset"></i>
106106 <i data-newbie-hidden data-preset-manager-delete="kobold" class="menu_button fa-solid fa-trash-can" title="Delete the preset" data-i18n="[title]Delete the preset"></i>
107107 </div>
108108 </div>
109109 </div>
@@ -119,13 +119,13 @@
119119 <option value="gui" data-i18n="Default">Default</option>
120120 </select>
121121 <div class="flex-container marginLeft5 ">
122122 <input type="file" hidden data-preset-manager-file="novel" accept=".json, .settings, .preset">
123123 <i data-newbie-hidden data-preset-manager-update="novel" class="menu_button fa-solid fa-save" title="Update current preset" data-i18n="[title]Update current preset"></i>
124124 <i data-newbie-hidden data-preset-manager-new="novel" class="menu_button fa-solid fa-file-circle-plus" title="Save preset as" data-i18n="[title]Save preset as"></i>
125125 <i data-newbie-hidden data-preset-manager-import="novel" class="menu_button fa-solid fa-file-import" title="Import preset" data-i18n="[title]Import preset"></i>
126126 <i data-newbie-hidden data-preset-manager-export="novel" class="menu_button fa-solid fa-file-export" title="Export preset" data-i18n="[title]Export preset"></i>
127127 <i data-newbie-hidden data-preset-manager-restore="novel" class="menu_button fa-solid fa-recycle" title="Restore current preset" data-i18n="[title]Restore current preset"></i>
128128 <i data-newbie-hidden data-preset-manager-delete="novel" class="menu_button fa-solid fa-trash-can" title="Delete the preset" data-i18n="[title]Delete the preset"></i>
129129 </div>
130130 </div>
131131 </div>
@@ -140,9 +140,9 @@
140140 <input id="openai_preset_import_file" type="file" accept=".json,.settings" hidden />
141141 <i id="update_oai_preset" class="menu_button fa-solid fa-save" title="Update current preset" data-i18n="[title]Update current preset"></i>
142142 <i id="new_oai_preset" class="menu_button fa-solid fa-file-circle-plus" title="Save preset as" data-i18n="[title]Save preset as"></i>
143143 <i data-newbie-hidden id="import_oai_preset" class="menu_button fa-solid fa-file-import" title="Import preset" data-i18n="[title]Import preset"></i>
144144 <i data-newbie-hidden id="export_oai_preset" class="menu_button fa-solid fa-file-export" title="Export preset" data-i18n="[title]Export preset"></i>
145145 <i data-newbie-hidden id="delete_oai_preset" class="menu_button fa-solid fa-trash-can" title="Delete the preset" data-i18n="[title]Delete the preset"></i>
146146 </div>
147147 </div>
148148 </div>
@@ -154,17 +154,17 @@
154154 </select>
155155 <div class="flex-container marginLeft5 ">
156156 <input type="file" hidden data-preset-manager-file="textgenerationwebui" accept=".json, .settings">
157157 <i data-newbie-hidden data-preset-manager-update="textgenerationwebui" class="menu_button fa-solid fa-save" title="Update current preset" data-i18n="[title]Update current preset"></i>
158158 <i data-newbie-hidden data-preset-manager-new="textgenerationwebui" class="menu_button fa-solid fa-file-circle-plus" title="Save preset as" data-i18n="[title]Save preset as"></i>
159159 <i data-newbie-hidden data-preset-manager-import="textgenerationwebui" class="menu_button fa-solid fa-file-import" title="Import preset" data-i18n="[title]Import preset"></i>
160160 <i data-newbie-hidden data-preset-manager-export="textgenerationwebui" class="menu_button fa-solid fa-file-export" title="Export preset" data-i18n="[title]Export preset"></i>
161161 <i data-newbie-hidden data-preset-manager-restore="textgenerationwebui" class="menu_button fa-solid fa-recycle" title="Restore current preset" data-i18n="[title]Restore current preset"></i>
162162 <i data-newbie-hidden data-preset-manager-delete="textgenerationwebui" class="menu_button fa-solid fa-trash-can" title="Delete the preset" data-i18n="[title]Delete the preset"></i>
163163 </div>
164164 </div>
165165 </div>
166166 </div>
167167 <div data-newbie-hidden id="ai_module_block_novel" class="width100p">
168168 <div class="range-block">
169169 <div class="range-block-title justifyLeft" data-i18n="AI Module">
170170 AI Module
@@ -215,7 +215,7 @@
215215 <label class="checkbox_label">
216216 <input id="max_context_unlocked" type="checkbox" />
217217 <small><span data-i18n="unlocked">Unlocked</span>
218218 <div id="max_context_unlocked_warning" class="fa-solid fa-circle-info opacity50p " data-i18n="[title]Only enable this if your model supports context sizes greater than 40968192 tokens" title="Only enable this if your model supports context sizes greater than 40968192 tokens.&#13;Increase only if you know what you're doing."></div>
219219 </small>
220220 </label>
221221 </div>
@@ -271,7 +271,7 @@
271271 </div>
272272 </div>
273273 </div>
274274 <div data-newbie-hidden class="range-block">
275275 <div class="range-block-title" data-i18n="Rep. Pen. Range.">
276276 Rep Pen Range
277277 </div>
@@ -284,7 +284,7 @@
284284 </div>
285285 </div>
286286 </div>
287287 <div data-newbie-hidden class="range-block">
288288 <div class="range-block-title" data-i18n="Rep. Pen. Slope">
289289 Repetition Penalty Slope
290290 </div>
@@ -297,7 +297,7 @@
297297 </div>
298298 </div>
299299 </div>
300300 <div data-newbie-hidden class="range-block">
301301 <div class="range-block-title" data-i18n="Rep. Pen. Freq.">
302302 Repetition Penalty Frequency
303303 </div>
@@ -310,7 +310,7 @@
310310 </div>
311311 </div>
312312 </div>
313313 <div data-newbie-hidden class="range-block">
314314 <div class="range-block-title" data-i18n="Rep. Pen. Presence">
315315 Repetition Penalty Presence
316316 </div>
@@ -323,7 +323,20 @@
323323 </div>
324324 </div>
325325 </div>
326326 <div data-newbie-hidden class="range-block">
327+ <div class="range-block-title" data-i18n="Min P">
328+ Min P
329+ </div>
330+ <div class="range-block-range-and-counter">
331+ <div class="range-block-range">
332+ <input type="range" id="min_p_novel" name="volume" min="0" max="1" step="0.001">
333+ </div>
334+ <div class="range-block-counter">
335+ <input type="number" min="0" max="1" step="0.001" data-for="min_p_novel" id="min_p_counter_novel">
336+ </div>
337+ </div>
338+ </div>
339+ <div class="range-block">
327340 <div class="range-block-title" data-i18n="TFS">
328341 TFS
329342 </div>
@@ -336,7 +349,137 @@
336349 </div>
337350 </div>
338351 </div>
339352 <div data-newbie-hidden class="range-block">
353+ <div class="range-block-title" data-i18n="Top P">
354+ Top P
355+ </div>
356+ <div class="range-block-range-and-counter">
357+ <div class="range-block-range">
358+ <input type="range" id="top_p_novel" name="volume" min="0" max="1" step="0.001">
359+ </div>
360+ <div class="range-block-counter">
361+ <input type="number" min="0" max="1" step="0.001" data-for="top_p_novel" id="top_p_counter_novel">
362+ </div>
363+ </div>
364+ </div>
365+ <div class="range-block">
366+ <div class="range-block-title" data-i18n="Top A">
367+ Top A
368+ </div>
369+ <div class="range-block-range-and-counter">
370+ <div class="range-block-range">
371+ <input type="range" id="top_a_novel" name="volume" min="0" max="1" step="0.001">
372+ </div>
373+ <div class="range-block-counter">
374+ <input type="number" min="0" max="1" step="0.001" data-for="top_a_novel" id="top_a_counter_novel">
375+ </div>
376+ </div>
377+ </div>
378+ <div class="range-block">
379+ <div class="range-block-title" data-i18n="Top K">
380+ Top K
381+ </div>
382+ <div class="range-block-range-and-counter">
383+ <div class="range-block-range">
384+ <input type="range" id="top_k_novel" name="volume" min="0" max="300" step="1">
385+ </div>
386+ <div class="range-block-counter">
387+ <input type="number" min="0" max="300" step="1" data-for="top_k_novel" id="top_k_counter_novel">
388+ </div>
389+ </div>
390+ </div>
391+ <div class="range-block">
392+ <div class="range-block-title" data-i18n="Mirostat Tau">
393+ Mirostat Tau
394+ </div>
395+ <div class="range-block-range-and-counter">
396+ <div class="range-block-range">
397+ <input type="range" id="mirostat_tau_novel" name="volume" min="0" max="6" step="0.01">
398+ </div>
399+ <div class="range-block-counter">
400+ <input type="number" min="0" max="6" step="0.01" data-for="mirostat_tau_novel" id="mirostat_tau_counter_novel">
401+ </div>
402+ </div>
403+ </div>
404+ <div class="range-block">
405+ <div class="range-block-title" data-i18n="Mirostat LR">
406+ Mirostat LR
407+ </div>
408+ <div class="range-block-range-and-counter">
409+ <div class="range-block-range">
410+ <input type="range" id="mirostat_lr_novel" name="volume" min="0" max="1" step="0.01">
411+ </div>
412+ <div class="range-block-counter">
413+ <input type="number" min="0" max="1" step="0.01" data-for="mirostat_lr_novel" id="mirostat_lr_counter_novel">
414+ </div>
415+ </div>
416+ </div>
417+ <div class="range-block">
418+ <div class="range-block-title" data-i18n="Typical P">
419+ Typical P
420+ </div>
421+ <div class="range-block-range-and-counter">
422+ <div class="range-block-range">
423+ <input type="range" id="typical_p_novel" name="volume" min="0" max="1" step="0.001">
424+ </div>
425+ <div class="range-block-counter">
426+ <input type="number" min="0" max="1" step="0.001" data-for="typical_p_novel" id="typical_p_counter_novel">
427+ </div>
428+ </div>
429+ </div>
430+ <div class="range-block">
431+ <div class="range-block-title" data-i18n="Linear">
432+ Linear
433+ </div>
434+ <div class="range-block-range-and-counter">
435+ <div class="range-block-range">
436+ <input type="range" id="math1_temp_novel" name="volume" min="0" max="1.5" step="0.01">
437+ </div>
438+ <div class="range-block-counter">
439+ <input type="number" min="0" max="1.5" step="0.01" data-for="math1_temp_novel" id="math1_temp_counter_novel">
440+ </div>
441+ </div>
442+ </div>
443+ <div class="range-block">
444+ <div class="range-block-title" data-i18n="Quad">
445+ Quad
446+ </div>
447+ <div class="range-block-range-and-counter">
448+ <div class="range-block-range">
449+ <input type="range" id="math1_quad_novel" name="volume" min="0" max="0.4" step="0.01">
450+ </div>
451+ <div class="range-block-counter">
452+ <input type="number" min="0" max="0.4" step="0.01" data-for="math1_quad_novel" id="math1_quad_counter_novel">
453+ </div>
454+ </div>
455+ </div>
456+ <div class="range-block">
457+ <div class="range-block-title" data-i18n="Conf">
458+ Conf
459+ </div>
460+ <div class="range-block-range-and-counter">
461+ <div class="range-block-range">
462+ <input type="range" id="math1_quad_entropy_scale_novel" name="volume" min="-0.4" max="0.4" step="0.01">
463+ </div>
464+ <div class="range-block-counter">
465+ <input type="number" min="-0.4" max="0.4" step="0.01" data-for="math1_quad_entropy_scale_novel" id="math1_quad_entropy_scale_counter_novel">
466+ </div>
467+ </div>
468+ </div>
469+ <div class="range-block">
470+ <div class="range-block-title" data-i18n="Min Length">
471+ Min Length
472+ </div>
473+ <div class="range-block-range-and-counter">
474+ <div class="range-block-range">
475+ <input type="range" id="min_length_novel" name="volume" min="1" max="150" step="1">
476+ </div>
477+ <div class="range-block-counter">
478+ <input type="number" min="1" max="150" step="1" data-for="min_length_novel" id="min_length_counter_novel">
479+ </div>
480+ </div>
481+ </div>
482+ <div class="range-block">
340483 <div class="range-block-title" data-i18n="Phrase Repetition Penalty">
341484 Phrase Repetition Penalty
342485 </div>
@@ -349,9 +492,49 @@
349492 <option value="very_aggressive" data-i18n="Very aggressive">Very aggressive</option>
350493 </select>
351494 </div>
495+ <div class="range-block">
496+ <div class="range-block-title openai_restorable">
497+ <span data-i18n="Preamble">Preamble</span>
498+ <div id="nai_preamble_restore" title="Restore default prompt" data-i18n="[title]Restore default prompt" class="right_menu_button">
499+ <div class="fa-solid fa-clock-rotate-left "></div>
500+ </div>
501+ </div>
502+ <div class="toggle-description justifyLeft" data-i18n="Use style tags to modify the writing style of the output.">
503+ Use style tags to modify the writing style of the output.
504+ </div>
505+ <div class="wide100p">
506+ <textarea id="nai_preamble_textarea" class="text_pole textarea_compact" name="nai_preamble" rows="2" placeholder=""></textarea>
507+ </div>
508+ </div>
509+ <div class="range-block">
510+ <div class="range-block-title justifyLeft">
511+ <span data-i18n="Banned Tokens">Banned Tokens</span>
512+ </div>
513+ <div class="toggle-description justifyLeft" data-i18n="Sequences you don't want to appear in the output. One per line.">
514+ Sequences you don't want to appear in the output. One per line. Text or [token ids].
515+ </div>
516+ <div class="wide100p">
517+ <textarea id="nai_banned_tokens" class="text_pole textarea_compact" name="nai_banned_tokens" rows="3" placeholder="Example:&#10;some text&#10;[42, 69, 1337]"></textarea>
518+ </div>
519+ </div>
520+ <div class="range-block">
521+ <div id="logit_bias_novel" class="range-block-title title_restorable">
522+ <span data-i18n="Logit Bias">Logit Bias</span>
523+ <div id="novelai_logit_bias_new_entry" class="menu_button menu_button_icon">
524+ <i class="fa-xs fa-solid fa-plus"></i>
525+ <small data-i18n="Add">Add</small>
526+ </div>
527+ </div>
528+ <div class="toggle-description justifyLeft" data-i18n="Helps to ban or reenforce the usage of certain words">
529+ Helps to ban or reinforce the usage of certain tokens.
530+ </div>
531+ <div class="flex-container flexFlowColumn wide100p">
532+ <div class="logit_bias_list"></div>
533+ </div>
534+ </div>
352535 </div>
353536 <div id="range_block_openai">
354537 <div data-newbie-hidden class="range-block">
355538 <label class="checkbox_label">
356539 <input id="oai_max_context_unlocked" type="checkbox" />
357540 <span data-i18n="Unlocked Context Size">
@@ -383,7 +566,7 @@
383566 Max Response Length (tokens)
384567 </div>
385568 <div class="wide100p">
386569 <input type="number" id="openai_max_tokens" name="openai_max_tokens" class="text_pole" min="1" max="1638465536">
387570 </div>
388571 </div>
389572 <div class="range-block" data-source="openai,custom">
@@ -436,7 +619,7 @@
436619 </div>
437620 </div>
438621 </div>
439622 <div data-newbie-hidden class="range-block" data-source="openai,openrouter,custom,cohere,perplexity,groq">
440623 <div class="range-block-title" data-i18n="Frequency Penalty">
441624 Frequency Penalty
442625 </div>
@@ -449,7 +632,7 @@
449632 </div>
450633 </div>
451634 </div>
452635 <div data-newbie-hidden class="range-block" data-source="openai,openrouter,custom,cohere,perplexity,groq">
453636 <div class="range-block-title" data-i18n="Presence Penalty">
454637 Presence Penalty
455638 </div>
@@ -462,7 +645,7 @@
462645 </div>
463646 </div>
464647 </div>
465648 <div data-newbie-hidden class="range-block" data-source="claude,openrouter,makersuite,cohere,perplexity">
466649 <div class="range-block-title" data-i18n="Top K">
467650 Top K
468651 </div>
@@ -475,7 +658,7 @@
475658 </div>
476659 </div>
477660 </div>
478661 <div data-newbie-hidden class="range-block" data-source="openai,claude,openrouter,ai21,scale,makersuite,mistralai,custom,cohere,perplexity,groq,01ai">
479662 <div class="range-block-title" data-i18n="Top P">
480663 Top P
481664 </div>
@@ -488,7 +671,7 @@
488671 </div>
489672 </div>
490673 </div>
491674 <div data-newbie-hidden class="range-block" data-source="openrouter">
492675 <div class="range-block-title" data-i18n="Repetition Penalty">
493676 Repetition Penalty
494677 </div>
@@ -501,7 +684,7 @@
501684 </div>
502685 </div>
503686 </div>
504687 <div data-newbie-hidden class="range-block" data-source="openrouter">
505688 <div class="range-block-title" data-i18n="Min P">
506689 Min P
507690 </div>
@@ -514,7 +697,7 @@
514697 </div>
515698 </div>
516699 </div>
517700 <div data-newbie-hidden class="range-block" data-source="openrouter">
518701 <div class="range-block-title" data-i18n="Top A">
519702 Top A
520703 </div>
@@ -553,7 +736,7 @@
553736 </div>
554737 </div>
555738 </div>
556739 <div data-newbie-hidden class="inline-drawer wide100p">
557740 <div class="inline-drawer-toggle inline-drawer-header">
558741 <b data-i18n="Utility Prompts">Utility Prompts</b>
559742 <div class="fa-solid fa-circle-chevron-down inline-drawer-icon down"></div>
@@ -712,7 +895,7 @@
712895 </div>
713896 </div>
714897 </div>
715898 <div data-newbie-hidden class="range-block" data-source="openai,openrouter,mistralai,custom,cohere,groq">
716899 <div class="range-block-title justifyLeft" data-i18n="Seed">
717900 Seed
718901 </div>
@@ -736,7 +919,7 @@
736919 <input class="neo-range-slider" type="range" id="temp" name="volume" min="0.0" max="4.0" step="0.01">
737920 <input class="neo-range-input" type="number" min="0.0" max="4.0" step="0.01" data-for="temp" id="temp_counter">
738921 </div>
739922 <div data-newbie-hidden class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0">
740923 <small>
741924 <span data-i18n="Top K">Top K</span>
742925 <div class="fa-solid fa-circle-info opacity50p" title="Top K sets a maximum amount of top tokens that can be chosen from.&#13;E.g Top K is 20, this means only the 20 highest ranking tokens will be kept (regardless of their probabilities being diverse or limited).&#13;Set to 0 to disable." data-i18n="[title]Top_K_desc"></div>
@@ -744,7 +927,7 @@
744927 <input class="neo-range-slider" type="range" id="top_k" name="volume" min="0" max="100" step="1">
745928 <input class="neo-range-input" type="number" min="0" max="100" step="1" data-for="top_k" id="top_k_counter">
746929 </div>
747930 <div data-newbie-hidden class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0">
748931 <small>
749932 Top P
750933 <div class="fa-solid fa-circle-info opacity50p" title="Top P (a.k.a. nucleus sampling) adds up all the top tokens required to add up to the target percentage.&#13;E.g If the Top 2 tokens are both 25%, and Top P is 0.50, only the Top 2 tokens are considered.&#13;Set to 1.0 to disable." data-i18n="[title]Top_P_desc"></div>
@@ -752,7 +935,7 @@
752935 <input class="neo-range-slider" type="range" id="top_p" name="volume" min="0" max="1" step="0.01">
753936 <input class="neo-range-input" type="number" min="0" max="1" step="0.01" data-for="top_p" id="top_p_counter">
754937 </div>
755938 <div data-newbie-hidden class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0">
756939 <small>
757940 <span data-i18n="Typical P">Typical P</span>
758941 <div class="fa-solid fa-circle-info opacity50p" title="Typical P Sampling prioritizes tokens based on their deviation from the average entropy of the set.&#13;It maintains tokens whose cumulative probability is close to a predefined threshold (e.g., 0.5), emphasizing those with average information content.&#13;Set to 1.0 to disable." data-i18n="[title]Typical_P_desc"></div>
@@ -768,7 +951,7 @@
768951 <input class="neo-range-slider" type="range" id="min_p" name="volume" min="0" max="1" step="0.001">
769952 <input class="neo-range-input" type="number" min="0" max="1" step="0.001" data-for="min_p" id="min_p_counter">
770953 </div>
771954 <div data-newbie-hidden class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0">
772955 <small>
773956 <span data-i18n="Top A">Top A</span>
774957 <div class="fa-solid fa-circle-info opacity50p" title="Top A sets a threshold for token selection based on the square of the highest token probability.&#13;E.g if the Top-A value is 0.2 and the top token's probability is 50%, tokens with probabilities below 5% (0.2 * 0.5^2) are excluded.&#13;Set to 0 to disable." data-i18n="[title]Top_A_desc"></div>
@@ -776,7 +959,7 @@
776959 <input class="neo-range-slider" type="range" id="top_a" name="volume" min="0" max="1" step="0.001">
777960 <input class="neo-range-input" type="number" min="0" max="1" step="0.001" data-for="top_a" id="top_a_counter">
778961 </div>
779962 <div data-newbie-hidden class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0">
780963 <small>
781964 <span data-i18n="TFS">TFS</span>
782965 <div class="fa-solid fa-circle-info opacity50p" title="Tail-Free Sampling (TFS) searches for a tail of low-probability tokens in the distribution,&#13;by analyzing the rate of change in token probabilities using derivatives. It retains tokens up to a threshold (e.g., 0.3) based on the normalized second derivative.&#13;The closer to 0, the more discarded tokens. Set to 1.0 to disable." data-i18n="[title]Tail_Free_Sampling_desc"></div>
@@ -798,14 +981,14 @@
798981 <input class="neo-range-slider" type="range" id="rep_pen_range" name="volume" min="0" max="4096" step="1">
799982 <input class="neo-range-input" type="number" min="0" max="4096" step="1" data-for="rep_pen_range" id="rep_pen_range_counter">
800983 </div>
801984 <div data-newbie-hidden class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0">
802985 <small>
803986 <span data-i18n="Rep. Pen. Slope">Repetition Penalty Slope</span>
804987 </small>
805988 <input class="neo-range-slider" type="range" id="rep_pen_slope" name="volume" min="0" max="10" step="0.01">
806989 <input class="neo-range-input" type="number" min="0" max="10" step="0.01" data-for="rep_pen_slope" id="rep_pen_slope_counter">
807990 </div>
808991 <div data-newbie-hidden name="miroStatBlock-kobold" class="wide100p">
809992 <h4 class="wide100p textAlignCenter" data-i18n="Mirostat">Mirostat</h4>
810993 <div class="flex-container flexFlowRow gap10px flexShrink">
811994 <div class="alignitemscenter flex-container flexFlowColumn flexGrow flexShrink gap0">
@@ -835,7 +1018,7 @@
8351018 </div>
8361019 <hr class="wide100p">
8371020 </div>
8381021 <div data-newbie-hidden class="alignitemscenter justifyCenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0">
8391022 <label class="checkbox_label alignItemsBaseline" for="use_default_badwordsids">
8401023 <input id="use_default_badwordsids" type="checkbox" />
8411024 <span>
@@ -844,13 +1027,13 @@
8441027 </span>
8451028 </label>
8461029 </div>
8471030 <div data-newbie-hidden class="alignitemscenter textAlignCenter flexBasis30p flexGrow flexShrink gap0">
8481031 <!-- <hr class="wide100p"> -->
8491032 <small data-i18n="Seed">Seed</small>
8501033 <!-- Max value is 2**64 - 1 -->
8511034 <input type="number" id="seed_kobold" class="text_pole wideMax100px" min="-1" value="-1" max="18446744073709551615" />
8521035 </div>
8531036 <div data-newbie-hidden id="grammar_block" class="wide100p">
8541037 <hr class="wide100p">
8551038 <h4 class="wide100p textAlignCenter"><span data-i18n="GBNF Grammar">GBNF Grammar</span>
8561039 <a href="https://github.com/ggerganov/llama.cpp/blob/master/grammars/README.md" target="_blank">
@@ -861,7 +1044,7 @@
8611044 </h4>
8621045 <textarea id="grammar" rows="4" class="text_pole textarea_compact monospace" data-i18n="[placeholder]Type in the desired custom grammar" placeholder="Type in the desired custom grammar"></textarea>
8631046 </div>
8641047 <div data-newbie-hidden name="KoboldSamplerOrderBlock" class="range-block flexFlowColumn">
8651048 <hr class="wide100p">
8661049 <div class="range-block-title">
8671050 <span data-i18n="Samplers Order">Samplers Order</span>
@@ -906,186 +1089,29 @@
9061089 </div>
9071090 </div>
9081091 </div><!-- end of kobold settings-->
9091092 <div data-newbie-hidden id="novel_api-settings">
9101093 <div class="range-block flexFlowColumn">
9111094 <div class="range-block-title openai_restorable">
9121095 <span data-i18n="PreambleSamplers Order">PreambleSamplers Order</span>
913- <div id="nai_preamble_restore" title="Restore default prompt" data-i18n="[title]Restore default prompt" class="right_menu_button">
914- <div class="fa-solid fa-clock-rotate-left "></div>
915- </div>
916- </div>
917- <div class="toggle-description justifyLeft" data-i18n="Use style tags to modify the writing style of the output.">
918- Use style tags to modify the writing style of the output.
919- </div>
920- <div class="wide100p">
921- <textarea id="nai_preamble_textarea" class="text_pole textarea_compact" name="nai_preamble" rows="2" placeholder=""></textarea>
922- </div>
923- </div>
924- <div class="range-block">
925- <div class="range-block-title justifyLeft">
926- <span data-i18n="Banned Tokens">Banned Tokens</span>
927- </div>
928- <div class="toggle-description justifyLeft" data-i18n="Sequences you don't want to appear in the output. One per line.">
929- Sequences you don't want to appear in the output. One per line. Text or [token ids].
9301096 </div>
931- <div class="wide100p">
1097+ <div class="toggle-description widthUnset" data-i18n="Samplers will be applied in a top-down order. Use with caution.">
932- <textarea id="nai_banned_tokens" class="text_pole textarea_compact" name="nai_banned_tokens" rows="3" placeholder="Example:&#10;some text&#10;[42, 69, 1337]"></textarea>
1098+ Samplers will be applied in a top-down order. Use with caution.
9331099 </div>
934- </div>
1100+ <div id="novel_order" class="prompt_order">
9351101 <div classdata-id="range-block0">
936- <div id="logit_bias_novel" class="range-block-title title_restorable">
1102+ <span data-i18n="Temperature">Temperature</span>
937- <span data-i18n="Logit Bias">Logit Bias</span>
1103+ <small>0</small>
9381104 <div id="novelai_logit_bias_new_entry" class="menu_buttontoggle_button menu_button_iconright_menu_button"></div>
939- <i class="fa-xs fa-solid fa-plus"></i>
940- <small data-i18n="Add">Add</small>
9411105 </div>
942- </div>
1106+ <div data-id="1">
943- <div class="toggle-description justifyLeft" data-i18n="Helps to ban or reenforce the usage of certain words">
1107+ <span data-i18n="Top K Sampling">Top K Sampling</span>
944- Helps to ban or reinforce the usage of certain tokens.
1108+ <small>1</small>
945- </div>
1109+ <div class="toggle_button right_menu_button"></div>
946- <div class="flex-container flexFlowColumn wide100p">
947- <div class="logit_bias_list"></div>
948- </div>
949- </div>
950- <div class="range-block">
951- <hr>
952- <div class="range-block-title justifyLeft" data-i18n="CFG Scale">
953- CFG Scale
954- </div>
955- <div class="range-block-range-and-counter">
956- <div class="range-block-range">
957- <input type="range" id="cfg_scale_novel" name="volume" min="1" max="3" step="0.05">
9581110 </div>
9591111 <div classdata-id="range-block-counter2">
960- <input type="number" min="1" max="3" step="0.05" data-for="cfg_scale_novel" id="cfg_scale_counter_novel">
1112+ <span data-i18n="Nucleus Sampling">Nucleus Sampling</span>
961- </div>
1113+ <small>2</small>
962- </div>
1114+ <div class="toggle_button right_menu_button"></div>
963- </div>
964- <div class="range-block">
965- <div class="range-block-title justifyLeft">
966- <span data-i18n="Negative Prompt">Negative Prompt</span>
967- </div>
968- <div class="wide100p">
969- <textarea id="nai_cfg_uc" class="text_pole textarea_compact" name="cfg_uc" rows="2" data-i18n="[placeholder]Add text here that would make the AI generate things you don't want in your outputs." placeholder="Add text here that would make the AI generate things you don't want in your outputs."></textarea>
970- </div>
971- <small class="margin-bot-10px" data-i18n="Used if CFG Scale is unset globally, per chat or character">
972- Used if CFG Scale is unset globally, per chat or character
973- </small>
974- <hr>
975- </div>
976- <div class="range-block">
977- <div class="range-block-title" data-i18n="Top P">
978- Top P
979- </div>
980- <div class="range-block-range-and-counter">
981- <div class="range-block-range">
982- <input type="range" id="top_p_novel" name="volume" min="0" max="1" step="0.001">
983- </div>
984- <div class="range-block-counter">
985- <input type="number" min="0" max="1" step="0.001" data-for="top_p_novel" id="top_p_counter_novel">
986- </div>
987- </div>
988- </div>
989- <div class="range-block">
990- <div class="range-block-title" data-i18n="Top A">
991- Top A
992- </div>
993- <div class="range-block-range-and-counter">
994- <div class="range-block-range">
995- <input type="range" id="top_a_novel" name="volume" min="0" max="1" step="0.001">
996- </div>
997- <div class="range-block-counter">
998- <input type="number" min="0" max="1" step="0.001" data-for="top_a_novel" id="top_a_counter_novel">
999- </div>
1000- </div>
1001- </div>
1002- <div class="range-block">
1003- <div class="range-block-title" data-i18n="Top K">
1004- Top K
1005- </div>
1006- <div class="range-block-range-and-counter">
1007- <div class="range-block-range">
1008- <input type="range" id="top_k_novel" name="volume" min="0" max="300" step="1">
1009- </div>
1010- <div class="range-block-counter">
1011- <input type="number" min="0" max="300" step="1" data-for="top_k_novel" id="top_k_counter_novel">
1012- </div>
1013- </div>
1014- </div>
1015- <div class="range-block">
1016- <div class="range-block-title" data-i18n="Mirostat Tau">
1017- Mirostat Tau
1018- </div>
1019- <div class="range-block-range-and-counter">
1020- <div class="range-block-range">
1021- <input type="range" id="mirostat_tau_novel" name="volume" min="0" max="6" step="0.01">
1022- </div>
1023- <div class="range-block-counter">
1024- <input type="number" min="0" max="6" step="0.01" data-for="mirostat_tau_novel" id="mirostat_tau_counter_novel">
1025- </div>
1026- </div>
1027- </div>
1028- <div class="range-block">
1029- <div class="range-block-title" data-i18n="Mirostat LR">
1030- Mirostat LR
1031- </div>
1032- <div class="range-block-range-and-counter">
1033- <div class="range-block-range">
1034- <input type="range" id="mirostat_lr_novel" name="volume" min="0" max="1" step="0.01">
1035- </div>
1036- <div class="range-block-counter">
1037- <input type="number" min="0" max="1" step="0.01" data-for="mirostat_lr_novel" id="mirostat_lr_counter_novel">
1038- </div>
1039- </div>
1040- </div>
1041- <div class="range-block">
1042- <div class="range-block-title" data-i18n="Typical P">
1043- Typical P
1044- </div>
1045- <div class="range-block-range-and-counter">
1046- <div class="range-block-range">
1047- <input type="range" id="typical_p_novel" name="volume" min="0" max="1" step="0.001">
1048- </div>
1049- <div class="range-block-counter">
1050- <input type="number" min="0" max="1" step="0.001" data-for="typical_p_novel" id="typical_p_counter_novel">
1051- </div>
1052- </div>
1053- </div>
1054- <div class="range-block">
1055- <div class="range-block-title" data-i18n="Min Length">
1056- Min Length
1057- </div>
1058- <div class="range-block-range-and-counter">
1059- <div class="range-block-range">
1060- <input type="range" id="min_length_novel" name="volume" min="1" max="150" step="1">
1061- </div>
1062- <div class="range-block-counter">
1063- <input type="number" min="1" max="150" step="1" data-for="min_length_novel" id="min_length_counter_novel">
1064- </div>
1065- </div>
1066- </div>
1067- <div class="range-block flexFlowColumn">
1068- <div class="range-block-title">
1069- <span data-i18n="Samplers Order">Samplers Order</span>
1070- </div>
1071- <div class="toggle-description widthUnset" data-i18n="Samplers will be applied in a top-down order. Use with caution.">
1072- Samplers will be applied in a top-down order. Use with caution.
1073- </div>
1074- <div id="novel_order" class="prompt_order">
1075- <div data-id="0">
1076- <span data-i18n="Temperature">Temperature</span>
1077- <small>0</small>
1078- <div class="toggle_button right_menu_button"></div>
1079- </div>
1080- <div data-id="1">
1081- <span data-i18n="Top K Sampling">Top K Sampling</span>
1082- <small>1</small>
1083- <div class="toggle_button right_menu_button"></div>
1084- </div>
1085- <div data-id="2">
1086- <span data-i18n="Nucleus Sampling">Nucleus Sampling</span>
1087- <small>2</small>
1088- <div class="toggle_button right_menu_button"></div>
10891115 </div>
10901116 <div data-id="3">
10911117 <span data-i18n="Tail Free Sampling">Tail Free Sampling</span>
@@ -1102,22 +1128,27 @@
11021128 <small>5</small>
11031129 <div class="toggle_button right_menu_button"></div>
11041130 </div>
1105- <div data-id="6">
1131+ <!-- 6 and 7 were removed samplers. -->
1106- <span data-i18n="CFG">CFG</span>
1107- <small>6</small>
1108- <div class="toggle_button right_menu_button"></div>
1109- </div>
1110- <!-- Yes, there is no 7. It was a removed Top G sampling. RIP. -->
11111132 <div data-id="8">
11121133 <span data-i18n="Mirostat">Mirostat</span>
11131134 <small>8</small>
11141135 <div class="toggle_button right_menu_button"></div>
11151136 </div>
1137+ <div data-id="9">
1138+ <span data-i18n="Unified Sampling">Unified Sampling</span>
1139+ <small>9</small>
1140+ <div class="toggle_button right_menu_button"></div>
1141+ </div>
1142+ <div data-id="10">
1143+ <span data-i18n="Min P">Min P</span>
1144+ <small>10</small>
1145+ <div class="toggle_button right_menu_button"></div>
1146+ </div>
11161147 </div>
11171148 </div>
11181149 </div><!-- end of novel settings-->
11191150 <div id="textgenerationwebui_api-settings">
11201151 <div data-newbie-hidden class="flex-container justifyCenter">
11211152 <small class="flex-container alignitemscenter">
11221153 <div id="samplerResetButton" class="menu_button whitespacenowrap" data-i18n="Neutralize Samplers">Neutralize Samplers</div>
11231154 <div class="fa-solid fa-circle-info opacity50p" title="Set all samplers to their neutral/disabled state." data-i18n="[title]Set all samplers to their neutral/disabled state."></div>
@@ -1128,7 +1159,7 @@
11281159 <div class="fa-solid fa-circle-info opacity50p" title="Customize displayed samplers or add custom samplers." data-i18n="[title]Customize displayed samplers or add custom samplers."></div>
11291160 </small>
11301161 </div>
11311162 <div data-newbie-hidden data-tg-type="mancer, vllm, aphrodite, tabby, infermaticai" class="flex-container flexFlowColumn alignitemscenter flexBasis100p flexGrow flexShrink gap0">
11321163 <small data-i18n="Multiple swipes per generation">Multiple swipes per generation</small>
11331164 <input type="number" id="n_textgenerationwebui" class="text_pole textAlignCenter" min="1" value="1" step="1" />
11341165 </div>
@@ -1141,7 +1172,7 @@
11411172 <input class="neo-range-slider" type="range" id="temp_textgenerationwebui" name="volume" min="0.0" max="5.0" step="0.01" x-setting-id="temp">
11421173 <input class="neo-range-input" type="number" min="0.0" max="5.0" step="0.01" data-for="temp_textgenerationwebui" id="temp_counter_textgenerationwebui">
11431174 </div>
11441175 <div data-newbie-hidden class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0">
11451176 <small>
11461177 <span data-i18n="Top K">Top K</span>
11471178 <div class="fa-solid fa-circle-info opacity50p" title="Top K sets a maximum amount of top tokens that can be chosen from.&#13;E.g Top K is 20, this means only the 20 highest ranking tokens will be kept (regardless of their probabilities being diverse or limited).&#13;Set to 0 (or -1, depending on your backend) to disable." data-i18n="[title]Top_K_desc"></div>
@@ -1149,7 +1180,7 @@
11491180 <input class="neo-range-slider" type="range" id="top_k_textgenerationwebui" name="volume" min="-1" max="200" step="1">
11501181 <input class="neo-range-input" type="number" min="-1" max="200" step="1" data-for="top_k_textgenerationwebui" id="top_k_counter_textgenerationwebui">
11511182 </div>
11521183 <div data-newbie-hidden class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0">
11531184 <small>
11541185 <span data-i18n="Top P">Top P</span>
11551186 <div class="fa-solid fa-circle-info opacity50p" title="Top P (a.k.a. nucleus sampling) adds up all the top tokens required to add up to the target percentage.&#13;E.g If the Top 2 tokens are both 25%, and Top P is 0.50, only the Top 2 tokens are considered.&#13;Set to 1.0 to disable." data-i18n="[title]Top_P_desc"></div>
@@ -1157,7 +1188,7 @@
11571188 <input class="neo-range-slider" type="range" id="top_p_textgenerationwebui" name="volume" min="0" max="1" step="0.01">
11581189 <input class="neo-range-input" type="number" min="0" max="1" step="0.01" data-for="top_p_textgenerationwebui" id="top_p_counter_textgenerationwebui">
11591190 </div>
11601191 <div data-newbie-hidden class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0">
11611192 <small>
11621193 <span data-i18n="Typical P">Typical P</span>
11631194 <div class="fa-solid fa-circle-info opacity50p" title="Typical P Sampling prioritizes tokens based on their deviation from the average entropy of the set.&#13;It maintains tokens whose cumulative probability is close to a predefined threshold (e.g., 0.5), emphasizing those with average information content.&#13;Set to 1.0 to disable." data-i18n="[title]Typical_P_desc"></div>
@@ -1173,7 +1204,7 @@
11731204 <input class="neo-range-slider" type="range" id="min_p_textgenerationwebui" name="volume" min="0" max="1" step="0.001">
11741205 <input class="neo-range-input" type="number" min="0" max="1" step="0.001" data-for="min_p_textgenerationwebui" id="min_p_counter_textgenerationwebui">
11751206 </div>
11761207 <div data-newbie-hidden class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0">
11771208 <small>
11781209 <span data-i18n="Top A">Top A</span>
11791210 <div class="fa-solid fa-circle-info opacity50p" title="Top A sets a threshold for token selection based on the square of the highest token probability.&#13;E.g if the Top-A value is 0.2 and the top token's probability is 50%, tokens with probabilities below 5% (0.2 * 0.5^2) are excluded.&#13;Set to 0 to disable." data-i18n="[title]Top_A_desc"></div>
@@ -1181,7 +1212,7 @@
11811212 <input class="neo-range-slider" type="range" id="top_a_textgenerationwebui" name="volume" min="0" max="1" step="0.01">
11821213 <input class="neo-range-input" type="number" min="0" max="1" step="0.01" data-for="top_a_textgenerationwebui" id="top_a_counter_textgenerationwebui">
11831214 </div>
11841215 <div data-newbie-hidden class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0">
11851216 <small>
11861217 <span data-i18n="TFS">TFS</span>
11871218 <div class="fa-solid fa-circle-info opacity50p" data-i18n="[title]Tail_Free_Sampling_desc" title="Tail-Free Sampling (TFS) searches for a tail of low-probability tokens in the distribution,&#13;by analyzing the rate of change in token probabilities using derivatives. It retains tokens up to a threshold (e.g., 0.3) based on the normalized second derivative.&#13;The closer to 0, the more discarded tokens. Set to 1.0 to disable."></div>
@@ -1189,7 +1220,7 @@
11891220 <input class="neo-range-slider" type="range" id="tfs_textgenerationwebui" name="volume" min="0" max="1" step="0.01">
11901221 <input class="neo-range-input" type="number" min="0" max="1" step="0.01" data-for="tfs_textgenerationwebui" id="tfs_counter_textgenerationwebui">
11911222 </div>
11921223 <div data-newbie-hidden data-tg-type="ooba,mancer,aphrodite" class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0">
11931224 <small>
11941225 <span data-i18n="Epsilon Cutoff">Epsilon Cutoff</span>
11951226 <div class="fa-solid fa-circle-info opacity50p" data-i18n="[title]Epsilon cutoff sets a probability floor below which tokens are excluded from being sampled" title="Epsilon cutoff sets a probability floor below which tokens are excluded from being sampled.&#13;In units of 1e-4; a reasonable value is 3.&#13;Set to 0 to disable."></div>
@@ -1197,7 +1228,7 @@
11971228 <input class="neo-range-slider" type="range" id="epsilon_cutoff_textgenerationwebui" name="volume" min="0" max="9" step="0.01">
11981229 <input class="neo-range-input" type="number" min="0" max="9" step="0.01" data-for="epsilon_cutoff_textgenerationwebui" id="epsilon_cutoff_counter_textgenerationwebui">
11991230 </div>
12001231 <div data-newbie-hidden data-tg-type="ooba,mancer,aphrodite" class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0">
12011232 <small>
12021233 <span data-i18n="Eta Cutoff">Eta Cutoff</span>
12031234 <div class="fa-solid fa-circle-info opacity50p" data-i18n="[title]Eta_Cutoff_desc" title="Eta cutoff is the main parameter of the special Eta Sampling technique.&#13;In units of 1e-4; a reasonable value is 3.&#13;Set to 0 to disable.&#13;See the paper Truncation Sampling as Language Model Desmoothing by Hewitt et al. (2022) for details."></div>
@@ -1225,53 +1256,53 @@
12251256 <input class="neo-range-slider" type="range" id="rep_pen_decay_textgenerationwebui" name="volume" min="-1" max="8192" step="1">
12261257 <input class="neo-range-input" type="number" min="-1" max="8192" step="1" data-for="rep_pen_decay_textgenerationwebui" id="rep_pen_decay_counter_textgenerationwebui">
12271258 </div>
12281259 <div data-tg-type="ooba" data-newbie-hidden class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0">
12291260 <small data-i18n="Encoder Rep. Pen.">Encoder Penalty</small>
12301261 <input class="neo-range-slider" type="range" id="encoder_rep_pen_textgenerationwebui" name="volume" min="0.8" max="1.5" step="0.01" />
12311262 <input class="neo-range-input" type="number" min="0.8" max="1.5" step="0.01" data-for="encoder_rep_pen_textgenerationwebui" id="encoder_rep_pen_counter_textgenerationwebui">
12321263 </div>
12331264 <div data-newbie-hidden class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0">
12341265 <small data-i18n="Frequency Penalty">Frequency Penalty</small>
12351266 <input class="neo-range-slider" type="range" id="freq_pen_textgenerationwebui" name="volume" min="-2" max="2" step="0.01" />
12361267 <input class="neo-range-input" type="number" data-for="freq_pen_textgenerationwebui" min="-2" max="2" step="0.01" id="freq_pen_counter_textgenerationwebui">
12371268 </div>
12381269 <div data-newbie-hidden class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0">
12391270 <small data-i18n="Presence Penalty">Presence Penalty</small>
12401271 <input class="neo-range-slider" type="range" id="presence_pen_textgenerationwebui" name="volume" min="-2" max="2" step="0.01" />
12411272 <input class="neo-range-input" type="number" min="-2" max="2" step="0.01" data-for="presence_pen_textgenerationwebui" id="presence_pen_counter_textgenerationwebui">
12421273 </div>
12431274 <div data-tg-type="ooba" data-newbie-hidden class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0">
12441275 <small data-i18n="No Repeat Ngram Size">No Repeat Ngram Size</small>
12451276 <input class="neo-range-slider" type="range" id="no_repeat_ngram_size_textgenerationwebui" name="volume" min="0" max="20" step="1">
12461277 <input class="neo-range-input" type="number" min="0" max="20" step="1" data-for="no_repeat_ngram_size_textgenerationwebui" id="no_repeat_ngram_size_counter_textgenerationwebui">
12471278 </div>
12481279 <div data-newbie-hidden data-tg-type="tabby" class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0">
12491280 <small data-i18n="Skew">Skew</small>
12501281 <input class="neo-range-slider" type="range" id="skew_textgenerationwebui" name="volume" min="-5" max="5" step="0.01" />
12511282 <input class="neo-range-input" type="number" min="-5" max="5" step="0.01" data-for="skew_textgenerationwebui" id="skew_counter_textgenerationwebui">
12521283 </div>
12531284 <div data-newbie-hidden data-tg-type="mancer, ooba, tabby, dreamgen, infermaticai, aphrodite" class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0">
12541285 <small data-i18n="Min Length">Min Length</small>
12551286 <input class="neo-range-slider" type="range" id="min_length_textgenerationwebui" name="volume" min="0" max="2000" step="1" />
12561287 <input class="neo-range-input" type="number" min="0" max="2000" step="1" data-for="min_length_textgenerationwebui" id="min_length_counter_textgenerationwebui">
12571288 </div>
12581289 <div data-newbie-hidden data-tg-type="ooba" class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0">
12591290 <small data-i18n="Max Tokens Second">Maximum tokens/second</small>
12601291 <input class="neo-range-slider" type="range" id="max_tokens_second_textgenerationwebui" name="volume" min="0" max="20" step="1" />
12611292 <input class="neo-range-input" type="number" min="0" max="20" step="1" data-for="max_tokens_second_textgenerationwebui" id="max_tokens_second_counter_textgenerationwebui">
12621293 </div>
12631294 <div data-newbie-hidden data-tg-type="mancer, ooba, koboldcpp, aphrodite, tabby" id="smoothingBlock" name="smoothingBlock" class="wide100p">
12641295 <h4 class="wide100p textAlignCenter">
12651296 <label data-i18n="Smooth Sampling">Smooth Sampling</label>
12661297 <div class=" fa-solid fa-circle-info opacity50p " data-i18n="[title]Smooth_Sampling_desc" title="Allows you to use quadratic/cubic transformations to adjust the distribution. Lower Smoothing Factor values will be more creative, usually between 0.2-0.3 is the sweetspot (assuming the curve = 1). Higher Smoothing Curve values will make the curve steeper, which will punish low probability choices more aggressively. 1.0 curve is equivalent to only using Smoothing Factor."></div>
12671298 </h4>
12681299 <div data-tg-type="mancer, ooba, koboldcpp, aphrodite, tabby" class="flex-container flexFlowRow gap10px flexShrink">
12691300 <div data-newbie-hidden class="alignitemscenter flex-container flexFlowColumn flexBasis48p flexGrow flexShrink gap0">
12701301 <small data-i18n="Smoothing Factor">Smoothing Factor</small>
12711302 <input class="neo-range-slider" type="range" id="smoothing_factor_textgenerationwebui" name="volume" min="0" max="10" step="0.01" />
12721303 <input class="neo-range-input" type="number" min="0" max="10" step="0.01" data-for="smoothing_factor_textgenerationwebui" id="smoothing_factor_counter_textgenerationwebui">
12731304 </div>
12741305 <div data-tg-type="mancer, ooba, koboldcpp, aphrodite" data-newbie-hidden class="alignitemscenter flex-container flexFlowColumn flexBasis48p flexGrow flexShrink gap0">
12751306 <small data-i18n="Smoothing Curve">Smoothing Curve</small>
12761307 <input class="neo-range-slider" type="range" id="smoothing_curve_textgenerationwebui" name="volume" min="1" max="10" step="0.01" />
12771308 <input class="neo-range-input" type="number" min="1" max="10" step="0.01" data-for="smoothing_curve_textgenerationwebui" id="smoothing_curve_counter_textgenerationwebui">
@@ -1279,7 +1310,7 @@
12791310 </div>
12801311 </div>
12811312
12821313 <div data-newbie-hidden data-tg-type="koboldcpp, aphrodite, tabby, ooba" id="xtc_block" class="wide100p">
12831314 <h4 class="wide100p textAlignCenter">
12841315 <label data-i18n="Exclude Top Choices (XTC)">Exclude Top Choices (XTC)</label>
12851316 <a href="https://github.com/oobabooga/text-generation-webui/pull/6335" target="_blank">
@@ -1301,7 +1332,7 @@
13011332 </div>
13021333
13031334 <!-- Enable for llama.cpp when the PR is merged: https://github.com/ggerganov/llama.cpp/pull/6839 -->
13041335 <div data-newbie-hidden data-tg-type="ooba, koboldcpp, tabby" id="dryBlock" class="wide100p">
13051336 <h4 class="wide100p textAlignCenter" title="DRY penalizes tokens that would extend the end of the input into a sequence that has previously occurred in the input. Set multiplier to 0 to disable." data-i18n="[title]DRY_Repetition_Penalty_desc">
13061337 <label data-i18n="DRY Repetition Penalty">DRY Repetition Penalty</label>
13071338 <a href="https://github.com/oobabooga/text-generation-webui/pull/5677" target="_blank">
@@ -1324,7 +1355,7 @@
13241355 <input class="neo-range-slider" type="range" id="dry_allowed_length_textgenerationwebui" min="1" max="20" step="1" />
13251356 <input class="neo-range-input" type="number" min="1" max="20" step="1" data-for="dry_allowed_length_textgenerationwebui" id="dry_allowed_length_counter_textgenerationwebui">
13261357 </div>
13271358 <div class="alignItemsCenter flex-container flexFlowColumn flexBasis48p flexGrow flexShrink gap0" data-tg-type="llamacpp, koboldcpp, tabby">
13281359 <small data-i18n="Penalty Range">Penalty Range</small>
13291360 <input class="neo-range-slider" type="range" id="dry_penalty_last_n_textgenerationwebui" min="0" max="8192" step="1" />
13301361 <input class="neo-range-input" type="number" min="0" max="8192" step="1" data-for="dry_penalty_last_n_textgenerationwebui" id="dry_penalty_last_n_counter_textgenerationwebui">
@@ -1339,7 +1370,7 @@
13391370 </div>
13401371 </div>
13411372 </div>
13421373 <div data-newbie-hidden data-tg-type="ooba, mancer, koboldcpp, tabby, llamacpp, aphrodite" id="dynatemp_block_ooba" class="wide100p">
13431374 <h4 class="wide100p textAlignCenter">
13441375 <div class="flex-container alignitemscenter justifyCenter">
13451376 <div class="checkbox_label" for="dynatemp_textgenerationwebui">
@@ -1367,7 +1398,7 @@
13671398 </div>
13681399 </div>
13691400 </div>
13701401 <div data-newbie-hidden data-tg-type="ooba,aphrodite,infermaticai,koboldcpp,llamacpp,mancer,ollama,tabby" id="mirostat_block_ooba" class="wide100p">
13711402 <h4 class="wide100p textAlignCenter">
13721403 <label data-i18n="Mirostat (mode=1 is only for llama.cpp)">Mirostat</label>
13731404 <div class=" fa-solid fa-circle-info opacity50p " data-i18n="[title]Mirostat_desc" title="Mirostat is a thermostat for output perplexity.&#13;Mirostat matches the output perplexity to that of the input, thus avoiding the repetition trap&#13;(where, as the autoregressive inference produces text, the perplexity of the output tends toward zero)&#13;and the confusion trap (where the perplexity diverges).&#13;For details, see the paper Mirostat: A Neural Text Decoding Algorithm that Directly Controls Perplexity by Basu et al. (2020).&#13;Mode chooses the Mirostat version. 0=disable, 1=Mirostat 1.0 (llama.cpp only), 2=Mirostat 2.0."></div>
@@ -1396,33 +1427,41 @@
13961427 </div>
13971428 </div>
13981429 </div>
13991430 <div data-newbie-hidden data-tg-type="ooba, vllm" id="beamSearchBlock" name="beamSearchBlock" class="wide100p">
14001431 <h4 class="wide100p textAlignCenter">
14011432 <label>
14021433 <span data-i18n="Beam search">Beam Search</span>
1403- <div class=" fa-solid fa-circle-info opacity50p " title="Helpful tip coming soon." data-i18n="[title]Helpful tip coming soon."></div>
1434+ <div class=" fa-solid fa-circle-info opacity50p " title="A greedy, brute-force algorithm used in LLM sampling to find the most likely sequence of words or tokens. It expands multiple candidate sequences at once, maintaining a fixed number (beam width) of top sequences at each step." data-i18n="[title]A greedy, brute-force algorithm used in LLM sampling to find the most likely sequence of words or tokens. It expands multiple candidate sequences at once, maintaining a fixed number (beam width) of top sequences at each step."></div>
14041435 </label>
14051436 </h4>
14061437 <div class="flex-container flexFlowRow alignitemscenter gap10px flexShrink">
14071438 <div class="alignitemscenter flex-container marginBot5 flexFlowColumn flexGrow flexShrink gap0">
1408- <small data-i18n="Number of Beams"># of Beams</small>
1439+ <label>
1440+ <small data-i18n="# of Beams"># of Beams</small>
1441+ <div class="fa-solid fa-circle-info opacity50p" data-i18n="[title]The number of sequences generated at each step with Beam Search." title="The number of sequences generated at each step with Beam Search."></div>
1442+ </label>
14091443 <input class="neo-range-slider" type="range" id="num_beams_textgenerationwebui" name="volume" min="1" max="20" step="1" />
14101444 <input class="neo-range-input" type="number" min="1" max="20" step="1" data-for="num_beams_textgenerationwebui" id="num_beams_counter_textgenerationwebui">
14111445 </div>
14121446 <div class="alignitemscenter flex-container marginBot5 flexFlowColumn flexGrow flexShrink gap0">
1413- <small data-i18n="Length Penalty">Length Penalty</small>
1447+ <label>
1448+ <small data-i18n="Length Penalty">Length Penalty</small>
1449+ <div class="fa-solid fa-circle-info opacity50p" data-i18n="[title]Penalize sequences based on their length." title="Penalize sequences based on their length."></div>
1450+ </label>
14141451 <input class="neo-range-slider" type="range" id="length_penalty_textgenerationwebui" name="volume" min="-5" max="5" step="0.1" />
14151452 <input class="neo-range-input" type="number" min="-5" max="5" step="0.1" data-for="length_penalty_textgenerationwebui" id="length_penalty_counter_textgenerationwebui">
14161453 </div>
14171454 <div class="">
14181455 <label class="checkbox_label" for="early_stopping_textgenerationwebui">
14191456 <input type="checkbox" id="early_stopping_textgenerationwebui" />
14201457 <small data-i18n="Early Stopping">Early Stopping</small>
1458+ <div class="fa-solid fa-circle-info opacity50p" data-i18n="[title]Controls the stopping condition for beam search. If checked, the generation stops as soon as there are '# of Beams' sequences. If not checked, a heuristic is applied and the generation is stopped when it's very unlikely to find better candidates." title="Controls the stopping condition for beam search. If checked, the generation stops as soon as there are '# of Beams' sequences. If not checked, a heuristic is applied and the generation is stopped when it's very unlikely to find better candidates."></div>
1459+ </small>
14211460 </label>
14221461 </div>
14231462 </div>
14241463 </div>
14251464 <div data-tg-type="ooba" data-newbie-hidden id="contrastiveSearchBlock" name="contrastiveSearchBlock" class="alignitemscenter flex-container flexFlowColumn flexBasis48p flexGrow flexShrink gap0">
14261465 <h4 class="textAlignCenter" data-i18n="Contrastive search">Contrastive Search
14271466 <div class=" fa-solid fa-circle-info opacity50p " data-i18n="Contrastive_search_txt" title="A sampler that encourages diversity while maintaining coherence, by exploiting the isotropicity of the representation space of most LLMs. For details, see the paper A Contrastive Framework for Neural Text Generation by Su et al. (2022)."></div>
14281467 </h4>
@@ -1435,7 +1474,7 @@
14351474 <input class="neo-range-input" type="number" min="0" max="5" step="0.05" data-for="penalty_alpha_textgenerationwebui" id="penalty_alpha_counter_textgenerationwebui">
14361475 </div>
14371476 </div>
14381477 <div data-newbie-hidden name="checkboxes" class="flex-container flexBasis48p justifyCenter flexGrow flexShrink ">
14391478 <div class="flex-container flexFlowColumn marginTop5">
14401479 <label data-tg-type="ooba" class="checkbox_label flexGrow flexShrink" for="do_sample_textgenerationwebui">
14411480 <input type="checkbox" id="do_sample_textgenerationwebui" />
@@ -1448,7 +1487,7 @@
14481487 <div class="fa-solid fa-circle-info opacity50p " data-i18n="[title]Add the bos_token to the beginning of prompts. Disabling this can make the replies more creative" title="Add the bos_token to the beginning of prompts. Disabling this can make the replies more creative."></div>
14491488 </label>
14501489 </label>
14511490 <label data-tg-type="ooba, llamacpp, tabby, koboldcpp" class="checkbox_label flexGrow flexShrink" for="ban_eos_token_textgenerationwebui">
14521491 <input type="checkbox" id="ban_eos_token_textgenerationwebui" />
14531492 <label>
14541493 <small data-i18n="Ban EOS Token">Ban EOS Token</small>
@@ -1486,18 +1525,21 @@
14861525 </label>
14871526 </div>
14881527 </div>
14891528 <div data-tg-type="mancer, ooba, koboldcpp, vllm, aphrodite, llamacpp, ollama, infermaticai, huggingface" data-newbie-hidden class="flex-container flexFlowColumn alignitemscenter flexBasis48p flexGrow flexShrink gap0">
1490- <small data-i18n="Seed" class="textAlignCenter">Seed</small>
1529+ <label>
1491- <input type="number" id="seed_textgenerationwebui" class="text_pole textAlignCenter" min="-1" value="-1" maxlength="100" />
1530+ <small data-i18n="Seed">Seed</small>
1531+ <div class="fa-solid fa-circle-info opacity50p " data-i18n="[title]Seed_desc" title="A random seed to use for deterministic and reproducable outputs. Set to -1 to use a random seed."></div>
1532+ </label>
1533+ <input type="number" id="seed_textgenerationwebui" class="text_pole textAlignCenter" min="-1" value="-1" />
14921534 </div>
14931535 <div id="banned_tokens_block_ooba" data-newbie-hidden class="wide100p">
14941536 <hr data-newbie-hidden class="width100p">
14951537 <h4 class="range-block-title justifyCenter">
14961538 <span data-i18n="Banned Tokens">Banned Tokens/Strings</span>
14971539 <div class="margin5 fa-solid fa-circle-info opacity50p " data-i18n="[title]LLaMA / Mistral / Yi models only" title="LLaMA / Mistral / Yi models only. Make sure to select an appropriate tokenizerEnter first.&#13;Sequencessequences you don't want to appear in the output.&#13;OneUnquoted pertext line.will Textbe ortokenized in the back end and banned as tokens.&#13;[token ids] will be banned as-is.&#13;Most tokens have a leading space. Use token counter (with the correct tokenizer selected first!) if you are unsure.&#13;Enclose text in double quotes to ban the entire string as a set.&#13;Quoted Strings and [Token ids] must be on their own line."></div>
14981540 </h4>
14991541 <div class="wide100p">
15001542 <textarea id="banned_tokens_textgenerationwebui" class="text_pole textarea_compact" name="banned_tokens_textgenerationwebui" rows="3" data-i18n="[placeholder]Example: some text [42, 69, 1337]" placeholder="Example:&#10;'some text as tokens&#10;[42420, 69, 1337]&#10;"Some verbatim string"'></textarea>
15011543 </div>
15021544 </div>
15031545 <div class="range-block wide100p">
@@ -1515,7 +1557,7 @@
15151557 <div class="logit_bias_list"></div>
15161558 </div>
15171559 </div>
15181560 <div id="cfg_block_ooba" data-newbie-hidden data-tg-type="ooba, tabby" class="wide100p">
15191561 <hr class="width100p">
15201562 <h4 data-i18n="CFG" class="textAlignCenter">CFG
15211563 <div class="margin5 fa-solid fa-circle-info opacity50p " data-i18n="[title]Classifier Free Guidance. More helpful tip coming soon" title="Classifier Free Guidance. More helpful tip coming soon."></div>
@@ -1537,18 +1579,7 @@
15371579 </div>
15381580 </div>
15391581 </div>
15401582 <div data-newbie-hidden id="json_schema_blockgrammar_block_ooba" data-tg-type="tabbyooba, llamacppaphrodite" class="wide100p">
1541- <hr class="wide100p">
1542- <h4 class="wide100p textAlignCenter"><span data-i18n="JSON Schema">JSON Schema</span>
1543- <a href="https://json-schema.org/learn/getting-started-step-by-step" target="_blank">
1544- <small>
1545- <div class="fa-solid fa-circle-question note-link-span"></div>
1546- </small>
1547- </a>
1548- </h4>
1549- <textarea id="tabby_json_schema" rows="4" class="text_pole textarea_compact monospace" data-i18n="[placeholder]Type in the desired JSON schema" placeholder="Type in the desired JSON schema"></textarea>
1550- </div>
1551- <div data-newbie-hidden id="grammar_block_ooba" class="wide100p">
15521583 <hr class="wide100p">
15531584 <h4 class="wide100p textAlignCenter">
15541585 <label>
@@ -1563,7 +1594,18 @@
15631594 </h4>
15641595 <textarea id="grammar_string_textgenerationwebui" rows="4" class="text_pole textarea_compact monospace" data-i18n="[placeholder]Type in the desired custom grammar" placeholder="Type in the desired custom grammar"></textarea>
15651596 </div>
15661597 <div id="sampler_order_block_kcppjson_schema_block" data-newbie-hidden data-tg-type="koboldcpptabby, llamacpp, aphrodite" class="range-block flexFlowColumn wide100p">
1598+ <hr class="wide100p">
1599+ <h4 class="wide100p textAlignCenter"><span data-i18n="JSON Schema">JSON Schema</span>
1600+ <a href="https://json-schema.org/learn/getting-started-step-by-step" target="_blank">
1601+ <small>
1602+ <div class="fa-solid fa-circle-question note-link-span"></div>
1603+ </small>
1604+ </a>
1605+ </h4>
1606+ <textarea id="tabby_json_schema" rows="4" class="text_pole textarea_compact monospace" data-i18n="[placeholder]Type in the desired JSON schema" placeholder="Type in the desired JSON schema"></textarea>
1607+ </div>
1608+ <div id="sampler_order_block_kcpp" data-tg-type="koboldcpp" class="range-block flexFlowColumn wide100p">
15671609 <hr class="wide100p">
15681610 <div class="range-block-title">
15691611 <span data-i18n="Samplers Order">Samplers Order</span>
@@ -1606,7 +1648,7 @@
16061648 <span data-i18n="Load default order">Load default order</span>
16071649 </div>
16081650 </div>
16091651 <div id="sampler_order_block_lcpp" data-newbie-hidden data-tg-type="llamacpp" class="range-block flexFlowColumn wide100p">
16101652 <hr class="wide100p">
16111653 <h4 class="range-block-title justifyCenter">
16121654 <span data-i18n="Sampler Order">Sampler Order</span>
@@ -1627,7 +1669,7 @@
16271669 <span data-i18n="Load default order">Load default order</span>
16281670 </div>
16291671 </div>
16301672 <div id="sampler_priority_block_ooba" data-newbie-hidden data-tg-type="ooba" class="range-block flexFlowColumn wide100p">
16311673 <hr class="wide100p">
16321674 <h4 class="range-block-title justifyCenter">
16331675 <span data-i18n="Sampler Priority">Sampler Priority</span>
@@ -1815,18 +1857,18 @@
18151857 </span>
18161858 </div>
18171859 </div>
18181860 <div data-newbie-hidden class="range-block" data-source="claude">
18191861 <div class="wide100p">
18201862 <div class="flex-container alignItemsCenter">
18211863 <span id="claude_assistant_prefill_text" data-i18n="Assistant Prefill">Assistant Prefill</span>
18221864 <i class="editor_maximize fa-solid fa-maximize right_menu_button" data-for="claude_assistant_prefill" title="Expand the editor" data-i18n="[title]Expand the editor"></i>
18231865 </div>
18241866 <textarea id="claude_assistant_prefill" class="text_pole textarea_compact autoSetHeight" name="assistant_prefill" rows="6" maxlength="1000002" data-i18n="[placeholder]Start Claude's answer with..." placeholder="Start Claude's answer with..."></textarea>
18251867 <div class="flex-container alignItemsCenter">
18261868 <span id="claude_assistant_impersonation_text" data-i18n="Assistant Impersonation Prefill">Assistant Impersonation Prefill</span>
18271869 <i class="editor_maximize fa-solid fa-maximize right_menu_button" data-for="claude_assistant_impersonation" title="Expand the editor" data-i18n="[title]Expand the editor"></i>
18281870 </div>
18291871 <textarea id="claude_assistant_impersonation" class="text_pole textarea_compact autoSetHeight" name="assistant_impersonation" rows="6" maxlength="1000002" data-i18n="[placeholder]Start Claude's answer with..." placeholder="Start Claude's answer with..."></textarea>
18301872 </div>
18311873 <label for="claude_use_sysprompt" class="checkbox_label widthFreeExpand">
18321874 <input id="claude_use_sysprompt" type="checkbox" />
@@ -1846,11 +1888,11 @@
18461888 <div class="fa-solid fa-clock-rotate-left"></div>
18471889 </div>
18481890 </div>
18491891 <textarea id="claude_human_sysprompt_textarea" class="text_pole textarea_compact autoSetHeight" rows="42" data-i18n="[placeholder]Human message" placeholder="Human message, instruction, etc.&#10;Adds nothing when empty, i.e. requires a new prompt with the role 'user'."></textarea>
18501892 </div>
18511893 </div>
18521894 </div>
18531895 <div data-newbie-hidden class="range-block m-t-1" data-source="openai,openrouter,scale">
18541896 <div id="logit_bias_openai" class="range-block-title openai_restorable" data-i18n="Logit Bias">
18551897 Logit Bias
18561898 </div>
@@ -1888,7 +1930,7 @@
18881930 </div>
18891931 </div>
18901932 </div>
18911933 <div data-newbie-hidden class="range-block m-b-1">
18921934 <div id="completion_prompt_manager"></div>
18931935 </div>
18941936 </div><!-- end of OpenAI settings-->
@@ -1899,35 +1941,44 @@
18991941 </div>
19001942 <div id="sys-settings-button" class="drawer">
19011943 <div class="drawer-toggle drawer-header">
19021944 <div id="API-status-top" class="drawer-icon fa-solid fa-plug-circle-exclamation fa-fw closedIcon" title="API Connections" data-i18n="[title]API Connections;[no_connection_text]api_no_connection" no_connection_text="No connection..."></div>
19031945 </div>
19041946 <div id="rm_api_block" class="drawer-content closedDrawer">
19051947 <h3 class="margin0" id="title_api">API</h3>
19061948 <div class="flex-container flexFlowColumn">
19071949 <div id="main-API-selector-block">
19081950 <select id="main_api">
19091951 <option value="textgenerationwebui"><span data-i18n="Text Completion">Text Completion</span></option>
19101952 <option value="openai"><span data-i18n="Chat Completion">Chat Completion</span></option>
19111953 <option value="novel"><span data-i18n="NovelAI">NovelAI</span></option>
19121954 <option value="koboldhorde"><span data-i18n="KoboldAI Horde">KoboldAI Horde</span></option>
19131955 <option value="kobold"><span data-i18n="KoboldAI">KoboldAI Classic</span></option>
19141956 </select>
19151957 </div>
19161958 <div id="kobold_horde" style="position: relative;"> <!-- shows the kobold settings -->
19171959 <form action="javascript:void(null);" method="post" enctype="multipart/form-data">
19181960 <div id="kobold_horde_block">
19191961 <ul>
1920- <li data-i18n="Avoid sending sensitive information to the Horde.">
1962+ <li>
1921- Avoid sending sensitive information to the Horde.
1963+ <a target="_blank" href="https://aihorde.net/" data-i18n="KoboldAI Horde Website">
1922- <a target="_blank" href="https://docs.sillytavern.app/usage/api-connections/horde/" data-i18n="Review the Privacy statement">Review the Privacy statement</a>
1964+ KoboldAI Horde Website
1965+ </a>
1966+ </li>
1967+ <li>
1968+ <span data-i18n="Avoid sending sensitive information to the Horde.">Avoid sending sensitive information to the Horde.</span>
1969+ <a target="_blank" href="https://docs.sillytavern.app/usage/api-connections/horde/" data-i18n="Review the Privacy statement">
1970+ Review the Privacy statement
1971+ </a>
19231972 </li>
19241973 <li>
19251974 <a target="_blank" href="https://horde.koboldaiaihorde.net/register" data-i18n="Register a Horde account for faster queue times">Register a Horde
19261975 Register a Horde account for faster queue times</a>
1976+ </a>
19271977 </li>
19281978 <li>
19291979 <a target="_blank" href="https://github.com/Haidra-Org/horde-worker-reGen?tab=readme-ov-file#ai-horde-worker-regen" data-i18n="Learn how to contribute your idle GPU cycles to the Horde">Learn
19301980 Learn how to contribute your idle GPU cycles to the Horde</a>
1981+ </a>
19311982 </li>
19321983 </ul>
19331984 <label for="horde_auto_adjust_context_length" class="checkbox_label">
@@ -1945,14 +1996,11 @@
19451996 <small id="adjustedHordeParams">Context: --, Response: --</small>
19461997 <h4 data-i18n="API key">API key</h4>
19471998 <small>
19481999 <span data-i18n="Get it here:">Get it here: </span> <a target="_blank" href="https://horde.koboldaiaihorde.net/register" data-i18n="Register">Register</a> (<a id="horde_kudos" href="javascript:void(0);" data-i18n="View my Kudos">View my Kudos</a>)<br>
19492000 <span data-i18n="Enter">Enter </span> <span class="monospace">0000000000</span> <span data-i18n="to use anonymous mode.">to use anonymous mode. </span>
19502001 </small>
1951- <!-- <div>
1952- <a id="horde_kudos" href="javascript:void(0);">View my Kudos</a>
1953- </div> -->
19542002 <div class="flex-container">
19552003 <input id="horde_api_key" name="horde_api_key" class="text_pole flex1" maxlength="500" type="text" placeholder="0000000000" autocomplete="off">
19562004 <div title="Clear your API key" data-i18n="[title]Clear your API key" class="menu_button fa-solid fa-circle-xmark clear-api-key" data-key="api_key_horde"></div>
19572005 </div>
19582006 <div data-for="horde_api_key" class="neutral_warning" data-i18n="For privacy reasons, your API key will be hidden after you reload the page.">
@@ -1979,13 +2027,13 @@
19792027 <div id="kobold_api_block">
19802028 <h4 data-i18n="API url">API url</h4>
19812029 <small data-i18n="Example: http://127.0.0.1:5000/api ">Example: http://127.0.0.1:5000/api </small>
19822030 <input id="api_url_text" name="api_url" class="text_pole" placeholder="http://127.0.0.1:5000/api" maxlength="500" value="" autocomplete="off" data-server-history="kobold">
19832031 <div id="koboldcpp_hint" class="neutral_warning displayNone">
19842032 KoboldCpp works better when you select the Text Completion API and then KoboldCpp as a type!
19852033 </div>
19862034 <div class="flex-container">
19872035 <div id="api_button" class="api_button menu_button menu_button_icon" type="submit" data-i18n="Connect" data-server-connect="kobold">Connect</div>
19882036 <div class="api_loading menu_button menu_button_icon" data-i18n="Cancel">Cancel</div>
19892037 </div>
19902038 </div>
19912039 <div class="online_status">
@@ -2007,7 +2055,7 @@
20072055 </ol>
20082056 </span>
20092057 <div class="flex-container">
20102058 <input id="api_key_novel" name="api_key_novel" class="text_pole flex1 wide100p" maxlength="500" size="35" type="text" autocomplete="off">
20112059 <div title="Clear your API key" data-i18n="[title]Clear your API key" class="menu_button fa-solid fa-circle-xmark clear-api-key" data-key="api_key_novel">
20122060 </div>
20132061 </div>
@@ -2022,10 +2070,11 @@
20222070 <select id="model_novel_select">
20232071 <option value="clio-v1">Clio</option>
20242072 <option value="kayra-v1">Kayra</option>
2073+ <option value="llama-3-erato-v1">Erato</option>
20252074 </select>
20262075 <div class="flex-container">
20272076 <div id="api_button_novel" class="api_button menu_button menu_button_icon" type="submit" data-i18n="Connect">Connect</div>
20282077 <div class="api_loading menu_button menu_button_icon" data-i18n="Cancel">Cancel</div>
20292078 </div>
20302079 </form>
20312080 <div class="online_status">
@@ -2057,7 +2106,7 @@
20572106 <div data-tg-type="togetherai" class="flex-container flexFlowColumn">
20582107 <h4 data-i18n="TogetherAI API Key">TogetherAI API Key</h4>
20592108 <div class="flex-container">
20602109 <input id="api_key_togetherai" name="api_key_togetherai" class="text_pole flex1" maxlength="500" value="" type="text" autocomplete="off">
20612110 <div title="Clear your API key" data-i18n="[title]Clear your API key" class="menu_button fa-solid fa-circle-xmark clear-api-key" data-key="api_key_togetherai"></div>
20622111 </div>
20632112 <div data-for="api_key_togetherai" class="neutral_warning" data-i18n="For privacy reasons, your API key will be hidden after you reload the page.">
@@ -2066,7 +2115,7 @@
20662115 <div>
20672116 <h4 data-i18n="TogetherAI Model">TogetherAI Model</h4>
20682117 <select id="model_togetherai_select">
20692118 <option value="" data-i18n="-- Connect to the API --">
20702119 -- Connect to the API --
20712120 </option>
20722121 </select>
@@ -2081,7 +2130,7 @@
20812130 <a href="https://openrouter.ai/account" target="_blank" data-i18n="View Remaining Credits">View Remaining Credits</a>
20822131 </div>
20832132 <div class="flex-container">
20842133 <input id="api_key_openrouter-tg" name="api_key_openrouter" class="text_pole flex1 api_key_openrouter" maxlength="500" value="" type="text" autocomplete="off">
20852134 <div title="Clear your API key" data-i18n="[title]Clear your API key" class="menu_button fa-solid fa-circle-xmark clear-api-key" data-key="api_key_openrouter"></div>
20862135 </div>
20872136 <div data-for="api_key_openrouter" class="neutral_warning" data-i18n="For privacy reasons, your API key will be hidden after you reload the page.">
@@ -2090,7 +2139,7 @@
20902139 <div>
20912140 <h4 data-i18n="OpenRouter Model">OpenRouter Model</h4>
20922141 <select id="openrouter_model">
20932142 <option value="" data-i18n="-- Connect to the API --">
20942143 -- Connect to the API --
20952144 </option>
20962145 </select>
@@ -2108,7 +2157,7 @@
21082157 <div data-tg-type="infermaticai" class="flex-container flexFlowColumn">
21092158 <h4 data-i18n="InfermaticAI API Key">InfermaticAI API Key</h4>
21102159 <div class="flex-container">
21112160 <input id="api_key_infermaticai" name="api_key_infermaticai" class="text_pole flex1" maxlength="500" value="" type="text" autocomplete="off">
21122161 <div title="Clear your API key" data-i18n="[title]Clear your API key" class="menu_button fa-solid fa-circle-xmark clear-api-key" data-key="api_key_infermaticai"></div>
21132162 </div>
21142163 <div data-for="api_key_infermaticai" class="neutral_warning" data-i18n="For privacy reasons, your API key will be hidden after you reload the page.">
@@ -2117,7 +2166,7 @@
21172166 <div>
21182167 <h4 data-i18n="InfermaticAI Model">InfermaticAI Model</h4>
21192168 <select id="model_infermaticai_select">
2120- <option>
2169+ <option value="" data-i18n="-- Connect to the API --">
21212170 -- Connect to the API --
21222171 </option>
21232172 </select>
@@ -2131,7 +2180,7 @@
21312180 </a>
21322181 </h4>
21332182 <div class="flex-container">
21342183 <input id="api_key_dreamgen" name="api_key_dreamgen" class="text_pole flex1" maxlength="500" value="" type="text" autocomplete="off">
21352184 <div title="Clear your API key" data-i18n="[title]Clear your API key" class="menu_button fa-solid fa-circle-xmark clear-api-key" data-key="api_key_dreamgen"></div>
21362185 </div>
21372186 <div data-for="api_key_dreamgen" class="neutral_warning" data-i18n="For privacy reasons, your API key will be hidden after you reload the page.">
@@ -2140,7 +2189,7 @@
21402189 <div>
21412190 <h4 data-i18n="DreamGen Model">DreamGen Model</h4>
21422191 <select id="model_dreamgen_select">
2143- <option>
2192+ <option value="" data-i18n="-- Connect to the API --">
21442193 -- Connect to the API --
21452194 </option>
21462195 </select>
@@ -2156,7 +2205,7 @@
21562205 </a>
21572206 </h4>
21582207 <div class="flex-container">
21592208 <input id="api_key_mancer" name="api_key_mancer" class="text_pole flex1 wide100p" maxlength="500" size="35" type="text" autocomplete="off">
21602209 <div title="Clear your API key" data-i18n="[title]Clear your API key" class="menu_button fa-solid fa-circle-xmark clear-api-key" data-key="api_key_mancer">
21612210 </div>
21622211 </div>
@@ -2166,7 +2215,7 @@
21662215 <div class="flex1">
21672216 <h4 data-i18n="Mancer Model">Mancer Model</h4>
21682217 <select id="mancer_model">
21692218 <option value="" data-i18n="-- Connect to the API --">
21702219 -- Connect to the API --
21712220 </option>
21722221 </select>
@@ -2186,7 +2235,7 @@
21862235 </div>
21872236 <h4 data-i18n="API key (optional)">API key (optional)</h4>
21882237 <div class="flex-container">
21892238 <input id="api_key_ooba" name="api_key_ooba" class="text_pole flex1 wide100p" maxlength="500" size="35" type="text" autocomplete="off">
21902239 <div title="Clear your API key" data-i18n="[title]Clear your API key" class="menu_button fa-solid fa-circle-xmark clear-api-key" data-key="api_key_ooba">
21912240 </div>
21922241 </div>
@@ -2196,9 +2245,9 @@
21962245 <div class="flex1">
21972246 <h4 data-i18n="Server url">Server URL</h4>
21982247 <small data-i18n="Example: 127.0.0.1:5000">Example: http://127.0.0.1:5000</small>
21992248 <input id="textgenerationwebui_api_url_text" name="textgenerationwebui_api_url" class="text_pole wide100p" maxlength="500" value="" autocomplete="off" data-server-history="ooba_blocking">
22002249 </div>
22012250 <input id="custom_model_textgenerationwebui" class="text_pole wide100p" maxlength="500" placeholder="Custom model (optional)" data-i18n="[placeholder]Custom model (optional)" type="text">
22022251 </div>
22032252 <div data-tg-type="featherless" class="flex-container flexFlowColumn">
22042253 <div class="flex-container flexFlowColumn">
@@ -2208,7 +2257,7 @@
22082257 </div>
22092258 <h4 data-i18n="API key (optional)">API key</h4>
22102259 <div class="flex-container">
22112260 <input id="api_key_featherless" name="api_key_featherless" class="text_pole flex1 wide100p" maxlength="500" size="35" type="text" autocomplete="off">
22122261 <div title="Clear your API key" data-i18n="[title]Clear your API key" class="menu_button fa-solid fa-circle-xmark clear-api-key" data-key="api_key_featherless">
22132262 </div>
22142263 </div>
@@ -2216,7 +2265,7 @@
22162265 For privacy reasons, your API key will be hidden after you reload the page.
22172266 </div>
22182267 <select id="featherless_model">
22192268 <option value="" data-i18n="-- Connect to the API --">
22202269 -- Connect to the API --
22212270 </option>
22222271 </select>
@@ -2229,7 +2278,7 @@
22292278 </div>
22302279 <h4 data-i18n="vLLM API key">vLLM API key</h4>
22312280 <div class="flex-container">
22322281 <input id="api_key_vllm" name="api_key_vllm" class="text_pole flex1 wide100p" maxlength="500" size="35" type="text" autocomplete="off">
22332282 <div title="Clear your API key" data-i18n="[title]Clear your API key" class="menu_button fa-solid fa-circle-xmark clear-api-key" data-key="api_key_vllm">
22342283 </div>
22352284 </div>
@@ -2239,12 +2288,12 @@
22392288 <div class="flex1">
22402289 <h4 data-i18n="API url">API URL</h4>
22412290 <small data-i18n="Example: 127.0.0.1:8000">Example: http://127.0.0.1:8000</small>
22422291 <input id="vllm_api_url_text" class="text_pole wide100p" maxlength="500" value="" autocomplete="off" data-server-history="vllm">
22432292 </div>
22442293 <div>
22452294 <h4 data-i18n="vLLM Model">vLLM Model</h4>
22462295 <select id="vllm_model">
22472296 <option value="" data-i18n="-- Connect to the API --">
22482297 -- Connect to the API --
22492298 </option>
22502299 </select>
@@ -2253,7 +2302,7 @@
22532302 <div data-tg-type="huggingface">
22542303 <h4 data-i18n="HuggingFace Token">HuggingFace Token</h4>
22552304 <div class="flex-container">
22562305 <input id="api_key_huggingface" name="api_key_huggingface" class="text_pole flex1 wide100p" maxlength="500" size="35" type="text" autocomplete="off">
22572306 <div title="Clear your API key" data-i18n="[title]Clear your API key" class="menu_button fa-solid fa-circle-xmark clear-api-key" data-key="api_key_huggingface">
22582307 </div>
22592308 </div>
@@ -2263,7 +2312,7 @@
22632312 <div class="flex1">
22642313 <h4 data-i18n="Endpoint URL">Endpoint URL</h4>
22652314 <small data-i18n="Example: https://****.endpoints.huggingface.cloud">Example: https://****.endpoints.huggingface.cloud</small>
22662315 <input id="huggingface_api_url_text" class="text_pole wide100p" maxlength="500" value="" autocomplete="off" data-server-history="huggingface">
22672316 </div>
22682317 </div>
22692318
@@ -2275,7 +2324,7 @@
22752324 </div>
22762325 <h4 data-i18n="Aphrodite API key">Aphrodite API key</h4>
22772326 <div class="flex-container">
22782327 <input id="api_key_aphrodite" name="api_key_aphrodite" class="text_pole flex1 wide100p" maxlength="500" size="35" type="text" autocomplete="off">
22792328 <div title="Clear your API key" data-i18n="[title]Clear your API key" class="menu_button fa-solid fa-circle-xmark clear-api-key" data-key="api_key_aphrodite">
22802329 </div>
22812330 </div>
@@ -2285,12 +2334,12 @@
22852334 <div class="flex1">
22862335 <h4 data-i18n="API url">API URL</h4>
22872336 <small data-i18n="Example: 127.0.0.1:5000">Example: http://127.0.0.1:5000</small>
22882337 <input id="aphrodite_api_url_text" class="text_pole wide100p" maxlength="500" value="" autocomplete="off" data-server-history="aphrodite">
22892338 </div>
22902339 <div>
22912340 <h4 data-i18n="Aphrodite Model">Aphrodite Model</h4>
22922341 <select id="aphrodite_model">
22932342 <option value="" data-i18n="-- Connect to the API --">
22942343 -- Connect to the API --
22952344 </option>
22962345 </select>
@@ -2304,7 +2353,7 @@
23042353 </div>
23052354 <h4 data-i18n="API key (optional)">API key (optional)</h4>
23062355 <div class="flex-container">
23072356 <input id="api_key_llamacpp" name="api_key_llamacpp" class="text_pole flex1 wide100p" maxlength="500" size="35" type="text" autocomplete="off">
23082357 <div title="Clear your API key" data-i18n="[title]Clear your API key" class="menu_button fa-solid fa-circle-xmark clear-api-key" data-key="api_key_llamacpp">
23092358 </div>
23102359 </div>
@@ -2314,7 +2363,7 @@
23142363 <div class="flex1">
23152364 <h4 data-i18n="API url">API URL</h4>
23162365 <small data-i18n="Example: 127.0.0.1:8080">Example: http://127.0.0.1:8080</small>
23172366 <input id="llamacpp_api_url_text" class="text_pole wide100p" maxlength="500" value="" autocomplete="off" data-server-history="llamacpp">
23182367 </div>
23192368 </div>
23202369 <div data-tg-type="ollama">
@@ -2326,15 +2375,14 @@
23262375 <div class="flex1">
23272376 <h4 data-i18n="API url">API URL</h4>
23282377 <small data-i18n="Example: 127.0.0.1:11434">Example: http://127.0.0.1:11434</small>
23292378 <input id="ollama_api_url_text" class="text_pole wide100p" maxlength="500" value="" autocomplete="off" data-server-history="ollama">
23302379 </div>
23312380 <div class="flex1">
23322381 <h4>
23332382 <span data-i18n="Ollama Model">Ollama Model</span>
2334- </h4>
23352383 </h4>
23362384 <select id="ollama_model">
23372385 <option value="" data-i18n="-- Connect to the API --">
23382386 -- Connect to the API --
23392387 </option>
23402388 </select>
@@ -2352,7 +2400,7 @@
23522400 </div>
23532401 <h4 data-i18n="Tabby API key">Tabby API key</h4>
23542402 <div class="flex-container">
23552403 <input id="api_key_tabby" name="api_key_tabby" class="text_pole flex1 wide100p" maxlength="500" size="35" type="text" autocomplete="off">
23562404 <div title="Clear your API key" data-i18n="[title]Clear your API key" class="menu_button fa-solid fa-circle-xmark clear-api-key" data-key="api_key_tabby">
23572405 </div>
23582406 </div>
@@ -2362,13 +2410,34 @@
23622410 <div class="flex1">
23632411 <h4 data-i18n="API url">API URL</h4>
23642412 <small data-i18n="Example: 127.0.0.1:5000">Example: http://127.0.0.1:5000</small>
23652413 <input id="tabby_api_url_text" class="text_pole wide100p" maxlength="500" value="" autocomplete="off" data-server-history="tabby">
23662414 </div>
23672415 <div class="flex1">
23682416 <h4>
23692417 <span data-i18n="Tabby Model">Tabby Model</span>
23702418 </h4>
2371- </h4>
2419+ <select id="tabby_model">
2420+ <option value="" data-i18n="-- Connect to the API --">
2421+ -- Connect to the API --
2422+ </option>
2423+ </select>
2424+ <div class="marginTopBot5">
2425+ <i class="fa-solid fa-flask"></i>
2426+ <span>Experimental feature. Use at your own risk.</span>
2427+ </div>
2428+ <div class="marginTopBot5">
2429+ <small>
2430+ <i class="fa-solid fa-lightbulb"></i>
2431+ &nbsp;
2432+ <code>inline_model_loading: True</code>
2433+ <span data-i18n="must be set in Tabby's config.yml to switch models.">
2434+ must be set in Tabby's config.yml to switch models.
2435+ </span>
2436+ <b data-i18n="Use an admin API key.">
2437+ Use an admin API key.
2438+ </b>
2439+ </small>
2440+ </div>
23722441 <div id="tabby_download_model" class="menu_button menu_button_icon">
23732442 <i class="fa-solid fa-download"></i>
23742443 <span data-i18n="Download">Download</span>
@@ -2383,7 +2452,7 @@
23832452 </div>
23842453 <h4 data-i18n="koboldcpp API key (optional)">koboldcpp API key (optional)</h4>
23852454 <div class="flex-container">
23862455 <input id="api_key_koboldcpp" name="api_key_koboldcpp" class="text_pole flex1 wide100p" maxlength="500" size="35" type="text" autocomplete="off">
23872456 <div title="Clear your API key" data-i18n="[title]Clear your API key" class="menu_button fa-solid fa-circle-xmark clear-api-key" data-key="api_key_koboldcpp">
23882457 </div>
23892458 </div>
@@ -2393,15 +2462,15 @@
23932462 <div class="flex1">
23942463 <h4 data-i18n="API url">API URL</h4>
23952464 <small data-i18n="Example: 127.0.0.1:5001">Example: http://127.0.0.1:5001</small>
23962465 <input id="koboldcpp_api_url_text" class="text_pole wide100p" maxlength="500" value="" autocomplete="off" data-server-history="koboldcpp">
23972466 </div>
23982467 </div>
23992468 <div class="flex-container">
24002469 <div id="api_button_textgenerationwebui" class="api_button menu_button menu_button_icon" type="submit" data-i18n="Connect" data-server-connect="ooba_blocking,vllm,aphrodite,tabby,koboldcpp,ollama,llamacpp,huggingface">Connect</div>
24012470 <div data-tg-type="openrouter" class="menu_button menu_button_icon openrouter_authorize" title="Get your OpenRouter API token using OAuth flow. You will be redirected to openrouter.ai" data-i18n="Authorize;[title]Get your OpenRouter API token using OAuth flow. You will be redirected to openrouter.ai">Authorize</div>
24022471 <div class="api_loading menu_button menu_button_icon" data-i18n="Cancel">Cancel</div>
24032472 </div>
24042473 <label data-tg-type="ooba,aphrodite" class="checkbox_label margin-bot-10px" for="legacy_api_textgenerationwebui">
24052474 <input type="checkbox" id="legacy_api_textgenerationwebui" />
24062475 <span data-i18n="Legacy API (pre-OAI, no streaming)">Legacy API (pre-OAI, no streaming)</span>
24072476 </label>
@@ -2439,7 +2508,7 @@
24392508 <option value="windowai">Window AI</option>
24402509 </optgroup>
24412510 </select>
24422511 <div data-newbie-hidden class="inline-drawer wide100p" data-source="openai,claude,mistralai,makersuite">
24432512 <div class="inline-drawer-toggle inline-drawer-header">
24442513 <b data-i18n="Reverse Proxy">Reverse Proxy</b>
24452514 <div class="fa-solid fa-circle-chevron-down inline-drawer-icon down"></div>
@@ -2468,7 +2537,7 @@
24682537 </span>
24692538 </div>
24702539 <div class="wide100p">
24712540 <input id="openai_reverse_proxy_name" type="text" class="text_pole" placeholder="..." maxlength="100" />
24722541 </div>
24732542 <div class="range-block-title justifyLeft" data-i18n="Proxy Server URL">
24742543 Proxy Server URL
@@ -2479,7 +2548,7 @@
24792548 </span>
24802549 </div>
24812550 <div class="wide100p">
24822551 <input id="openai_reverse_proxy" type="text" class="text_pole" placeholder="https://api.openai.com/v1" maxlength="5000" />
24832552 <small class="reverse_proxy_warning">
24842553 <span data-i18n="Doesn't work? Try adding">Doesn't work? Try adding</span> <code>/v1</code> <span data-i18n="at the end!">at the end!</span>
24852554 </small>
@@ -2493,7 +2562,7 @@
24932562 </span>
24942563 </div>
24952564 <div class="flex-container width100p">
24962565 <input id="openai_proxy_password" type="password" class="text_pole flex1" placeholder="" maxlength="5000" form="openai_form" autocomplete="off" />
24972566 <div id="openai_proxy_password_show" title="Peek a password" data-i18n="[title]Peek a password" class="menu_button fa-solid fa-eye-slash fa-fw"></div>
24982567 </div>
24992568 </div>
@@ -2534,7 +2603,7 @@
25342603 </ol>
25352604 </span>
25362605 <div class="flex-container">
25372606 <input id="api_key_openai" name="api_key_openai" class="text_pole flex1" maxlength="500" value="" type="text" autocomplete="off">
25382607 <div title="Clear your API key" data-i18n="[title]Clear your API key" class="menu_button fa-solid fa-circle-xmark clear-api-key" data-key="api_key_openai"></div>
25392608 </div>
25402609 <div id="ReverseProxyWarningMessage2" class="reverse_proxy_warning">
@@ -2587,6 +2656,10 @@
25872656 <option value="gpt-4-0125-preview">gpt-4-0125-preview (2024)</option>
25882657 <option value="gpt-4-1106-preview">gpt-4-1106-preview (2023)</option>
25892658 </optgroup>
2659+ <optgroup label="o1">
2660+ <option value="o1-preview">o1-preview</option>
2661+ <option value="o1-mini">o1-mini</option>
2662+ </optgroup>
25902663 <optgroup label="Other">
25912664 <option value="text-davinci-003">text-davinci-003</option>
25922665 <option value="text-davinci-002">text-davinci-002</option>
@@ -2619,7 +2692,7 @@
26192692 </b>
26202693 </div>
26212694 <div class="flex-container">
26222695 <input id="api_key_claude" name="api_key_claude" class="text_pole flex1" maxlength="500" value="" type="text" autocomplete="off">
26232696 <div title="Clear your API key" data-i18n="[title]Clear your API key" class="menu_button fa-solid fa-circle-xmark clear-api-key" data-key="api_key_claude"></div>
26242697 </div>
26252698 <div data-for="api_key_claude" class="neutral_warning" data-i18n="For privacy reasons, your API key will be hidden after you reload the page.">
@@ -2671,7 +2744,7 @@
26712744 <a href="https://openrouter.ai/account" target="_blank" data-i18n="View Remaining Credits">View Remaining Credits</a>
26722745 </div>
26732746 <div class="flex-container">
26742747 <input id="api_key_openrouter" name="api_key_openrouter" class="text_pole flex1 api_key_openrouter" maxlength="500" value="" type="text" autocomplete="off">
26752748 <div title="Clear your API key" data-i18n="[title]Clear your API key" class="menu_button fa-solid fa-circle-xmark clear-api-key" data-key="api_key_openrouter"></div>
26762749 </div>
26772750 <div data-for="api_key_openrouter" class="neutral_warning" data-i18n="For privacy reasons, your API key will be hidden after you reload the page.">
@@ -2680,7 +2753,7 @@
26802753 <div>
26812754 <h4 data-i18n="OpenRouter Model">OpenRouter Model</h4>
26822755 <select id="model_openrouter_select">
26832756 <option value="" data-i18n="-- Connect to the API --">-- Connect to the API --</option>
26842757 </select>
26852758 </div>
26862759 <label for="openrouter_use_fallback" class="checkbox_label marginTopBot5" data-i18n="[title]Allow fallback routes Description" title="Automatically chooses an alternative model if the chosen model can't serve your request.">
@@ -2726,40 +2799,28 @@
27262799 <span data-i18n="Allow fallback providers">Allow fallback providers</span>
27272800 </label>
27282801 </div>
27292802 <divsmall class="marginTopBot5">
2730- <label for="openrouter_force_instruct" class="checkbox_label">
2803+ <i class="fa-solid fa-lightbulb"></i>
2731- <input id="openrouter_force_instruct" type="checkbox" />
2804+ <span>To use instruct formatting, switch to OpenRouter under Text Completion API.</span>
2732- <span class="flex-container alignItemsBaseline" title="This option is outdated and will be removed in the future. To use instruct formatting, please switch to OpenRouter under Text Completion API instead." data-i18n="[title]openrouter_force_instruct">
2805+ </small>
2733- <i class="fa-solid fa-circle-exclamation neutral_warning"></i>
2734- <b data-i18n="LEGACY">LEGACY</b>
2735- </span>
2736- <span data-i18n="Force Instruct Mode formatting">Force Instruct Mode formatting</span>
2737- </label>
2738- <div class="toggle-description justifyLeft wide100p">
2739- <span data-i18n="Force_Instruct_Mode_formatting_Description">
2740- If both Instruct Mode and this are enabled, the prompt will be formatted by SillyTavern using the current
2741- advanced formatting settings (except instruct System Prompt). If disabled, the prompt will be formatted by OpenRouter.
2742- </span>
2743- </div>
2744- </div>
27452806 </form>
27462807 <form id="scale_form" data-source="scale" action="javascript:void(null);" method="post" enctype="multipart/form-data">
27472808 <div id="normal_scale_form">
27482809 <h4 data-i18n="Scale API Key">Scale API Key</h4>
27492810 <div class="flex-container">
27502811 <input id="api_key_scale" name="api_key_scale" class="text_pole flex1" maxlength="500" value="" autocomplete="off">
27512812 <div title="Clear your API key" data-i18n="[title]Clear your API key" class="menu_button fa-solid fa-circle-xmark clear-api-key" data-key="api_key_scale"></div>
27522813 </div>
27532814 <div data-for="api_key_scale" class="neutral_warning" data-i18n="For privacy reasons, your API key will be hidden after you reload the page.">
27542815 For privacy reasons, your API key will be hidden after you reload the page.
27552816 </div>
27562817 <h4>Scale API URL</h4>
27572818 <input id="api_url_scale" name="api_url_scale" class="text_pole" maxlength="500" value="" autocomplete="off" placeholder="https://dashboard.scale.com/spellbook/api/v2/deploy/xxxxxxx">
27582819 </div>
27592820 <div id="alt_scale_form">
27602821 <h4>Scale Cookie (_jwt)</h4>
27612822 <div class="flex-container">
27622823 <input id="scale_cookie" name="scale_cookie" class="text_pole flex1" maxlength="500" value="" autocomplete="off">
27632824 <div title="Clear your cookie" data-i18n="[title]Clear your cookie" class="menu_button fa-solid fa-circle-xmark clear-api-key" data-key="scale_cookie"></div>
27642825 </div>
27652826 <div data-for="scale_cookie" class="neutral_warning">
@@ -2776,7 +2837,7 @@
27762837 <form id="ai21_form" data-source="ai21" action="javascript:void(null);" method="post" enctype="multipart/form-data">
27772838 <h4 data-i18n="AI21 API Key">AI21 API Key</h4>
27782839 <div class="flex-container">
27792840 <input id="api_key_ai21" name="api_key_ai21" class="text_pole flex1" maxlength="500" value="" type="text" autocomplete="off">
27802841 <div title="Clear your API key" data-i18n="[title]Clear your API key" class="menu_button fa-solid fa-circle-xmark clear-api-key" data-key="api_key_ai21"></div>
27812842 </div>
27822843 <div data-for="api_key_ai21" class="neutral_warning" data-i18n="For privacy reasons, your API key will be hidden after you reload the page.">
@@ -2798,7 +2859,7 @@
27982859 <form id="makersuite_form" data-source="makersuite" action="javascript:void(null);" method="post" enctype="multipart/form-data">
27992860 <h4 data-i18n="Google AI Studio API Key">Google AI Studio API Key</h4>
28002861 <div class="flex-container">
28012862 <input id="api_key_makersuite" name="api_key_makersuite" class="text_pole flex1" maxlength="500" value="" type="text" autocomplete="off">
28022863 <div title="Clear your API key" data-i18n="[title]Clear your API key" class="menu_button fa-solid fa-circle-xmark clear-api-key" data-key="api_key_makersuite"></div>
28032864 </div>
28042865 <div data-for="api_key_makersuite" class="neutral_warning" data-i18n="For privacy reasons, your API key will be hidden after you reload the page.">
@@ -2823,10 +2884,13 @@
28232884 <option value="gemini-1.5-pro-exp-0827">Gemini 1.5 Pro Experiment 2024-08-27</option>
28242885 <option value="gemini-1.5-pro-latest">Gemini 1.5 Pro [latest]</option>
28252886 <option value="gemini-1.5-pro-001">Gemini 1.5 Pro [001]</option>
2887+ <option value="gemini-1.5-pro-002">Gemini 1.5 Pro [002]</option>
28262888 <option value="gemini-1.5-flash-exp-0827">Gemini 1.5 Flash Experiment 2024-08-27</option>
28272889 <option value="gemini-1.5-flash-8b-exp-0827">Gemini 1.5 Flash 8B Experiment 2024-08-27</option>
2890+ <option value="gemini-1.5-flash-8b-exp-0924">Gemini 1.5 Flash 8B Experiment 2024-09-24</option>
28282891 <option value="gemini-1.5-flash-latest">Gemini 1.5 Flash [latest]</option>
28292892 <option value="gemini-1.5-flash-001">Gemini 1.5 Flash [001]</option>
2893+ <option value="gemini-1.5-flash-002">Gemini 1.5 Flash [002]</option>
28302894 <option value="gemini-1.0-pro-latest">Gemini 1.0 Pro [latest]</option>
28312895 <option value="gemini-1.0-pro-001">Gemini 1.0 Pro (Tuning) [001]</option>
28322896 <option value="gemini-1.0-pro-vision-latest">Gemini 1.0 Pro Vision [latest]</option>
@@ -2837,7 +2901,7 @@
28372901 <form id="mistralai_form" data-source="mistralai" action="javascript:void(null);" method="post" enctype="multipart/form-data">
28382902 <h4 data-i18n="MistralAI API Key">MistralAI API Key</h4>
28392903 <div class="flex-container">
28402904 <input id="api_key_mistralai" name="api_key_mistralai" class="text_pole flex1" maxlength="500" value="" type="text" autocomplete="off">
28412905 <div title="Clear your API key" data-i18n="[title]Clear your API key" class="menu_button fa-solid fa-circle-xmark clear-api-key" data-key="api_key_mistralai"></div>
28422906 </div>
28432907 <div data-for="api_key_mistralai" class="neutral_warning" data-i18n="For privacy reasons, your API key will be hidden after you reload the page.">
@@ -2857,6 +2921,7 @@
28572921 <option value="mistral-large-latest">mistral-large-latest</option>
28582922 <option value="codestral-latest">codestral-latest</option>
28592923 <option value="codestral-mamba-latest">codestral-mamba-latest</option>
2924+ <option value="pixtral-latest">pixtral-latest</option>
28602925 </optgroup>
28612926 <optgroup label="Sub-versions">
28622927 <option value="open-mistral-nemo-2407">open-mistral-nemo-2407</option>
@@ -2864,11 +2929,13 @@
28642929 <option value="mistral-tiny-2312">mistral-tiny-2312</option>
28652930 <option value="mistral-small-2312">mistral-small-2312</option>
28662931 <option value="mistral-small-2402">mistral-small-2402</option>
2932+ <option value="mistral-small-2409">mistral-small-2409</option>
28672933 <option value="mistral-medium-2312">mistral-medium-2312</option>
28682934 <option value="mistral-large-2402">mistral-large-2402</option>
28692935 <option value="mistral-large-2407">mistral-large-2407</option>
28702936 <option value="codestral-2405">codestral-2405</option>
28712937 <option value="codestral-mamba-2407">codestral-mamba-2407</option>
2938+ <option value="pixtral-12b-2409">pixtral-12b-2409</option>
28722939 </optgroup>
28732940 </select>
28742941 </div>
@@ -2876,7 +2943,7 @@
28762943 <div id="groq_form" data-source="groq">
28772944 <h4 data-i18n="Groq API Key">Groq API Key</h4>
28782945 <div class="flex-container">
28792946 <input id="api_key_groq" name="api_key_groq" class="text_pole flex1" maxlength="500" value="" type="text" autocomplete="off">
28802947 <div title="Clear your API key" data-i18n="[title]Clear your API key" class="menu_button fa-solid fa-circle-xmark clear-api-key" data-key="api_key_groq"></div>
28812948 </div>
28822949 <div data-for="api_key_groq" class="neutral_warning" data-i18n="For privacy reasons, your API key will be hidden after you reload the page.">
@@ -2899,7 +2966,7 @@
28992966 <div id="perplexity_form" data-source="perplexity">
29002967 <h4 data-i18n="Perplexity API Key">Perplexity API Key</h4>
29012968 <div class="flex-container">
29022969 <input id="api_key_perplexity" name="api_key_perplexity" class="text_pole flex1" maxlength="500" value="" type="text" autocomplete="off">
29032970 <div title="Clear your API key" data-i18n="[title]Clear your API key" class="menu_button fa-solid fa-circle-xmark clear-api-key" data-key="api_key_perplexity"></div>
29042971 </div>
29052972 <div data-for="api_key_perplexity" class="neutral_warning" data-i18n="For privacy reasons, your API key will be hidden after you reload the page.">
@@ -2939,7 +3006,7 @@
29393006 <form id="cohere_form" data-source="cohere" action="javascript:void(null);" method="post" enctype="multipart/form-data">
29403007 <h4 data-i18n="Cohere API Key">Cohere API Key</h4>
29413008 <div class="flex-container">
29423009 <input id="api_key_cohere" name="api_key_cohere" class="text_pole flex1" maxlength="500" value="" type="text" autocomplete="off">
29433010 <div title="Clear your API key" data-i18n="[title]Clear your API key" class="menu_button fa-solid fa-circle-xmark clear-api-key" data-key="api_key_cohere"></div>
29443011 </div>
29453012 <div data-for="api_key_cohere" class="neutral_warning" data-i18n="For privacy reasons, your API key will be hidden after you reload the page.">
@@ -2949,7 +3016,8 @@
29493016 <h4 data-i18n="Cohere Model">Cohere Model</h4>
29503017 <select id="model_cohere_select">
29513018 <optgroup label="Stable">
29523019 <option value="c4ai-aya-23-35b">c4ai-aya-23-35b</option>
3020+ <option value="c4ai-aya-23-8b">c4ai-aya-23-8b</option>
29533021 <option value="command-light">command-light</option>
29543022 <option value="command">command</option>
29553023 <option value="command-r">command-r</option>
@@ -2967,7 +3035,7 @@
29673035 <form id="blockentropy_form" data-source="blockentropy">
29683036 <h4 data-i18n="Block Entropy API Key">Block Entropy API Key</h4>
29693037 <div class="flex-container">
29703038 <input id="api_key_blockentropy" name="api_key_blockentropy" class="text_pole flex1" maxlength="500" value="" type="text" autocomplete="off">
29713039 <div title="Clear your API key" data-i18n="[title]Clear your API key" class="menu_button fa-solid fa-circle-xmark clear-api-key" data-key="api_key_blockentropy"></div>
29723040 </div>
29733041 <div data-for="api_key_blockentropy" class="neutral_warning" data-i18n="For privacy reasons, your API key will be hidden after you reload the page.">
@@ -2981,7 +3049,7 @@
29813049 <form id="custom_form" data-source="custom">
29823050 <h4 data-i18n="Custom Endpoint (Base URL)">Custom Endpoint (Base URL)</h4>
29833051 <div class="flex-container">
29843052 <input id="custom_api_url_text" class="text_pole wide100p" maxlength="5000" value="" autocomplete="off" data-i18n="[placeholder]Example: http://localhost:1234/v1" placeholder="Example: http://localhost:1234/v1">
29853053 </div>
29863054 <div>
29873055 <small>
@@ -2993,7 +3061,7 @@
29933061 <small data-i18n="(Optional)">(Optional)</small>
29943062 </h4>
29953063 <div class="flex-container">
29963064 <input id="api_key_custom" name="api_key_custom" class="text_pole flex1" maxlength="5000" value="" type="text" autocomplete="off">
29973065 <div title="Clear your API key" data-i18n="[title]Clear your API key" class="menu_button fa-solid fa-circle-xmark clear-api-key" data-key="api_key_custom"></div>
29983066 </div>
29993067 <div data-for="api_key_custom" class="neutral_warning" data-i18n="For privacy reasons, your API key will be hidden after you reload the page.">
@@ -3001,7 +3069,7 @@
30013069 </div>
30023070 <h4 data-i18n="Enter a Model ID">Enter a Model ID</h4>
30033071 <div class="flex-container">
30043072 <input list="model_custom_select_fill" id="custom_model_id" class="text_pole wide100p" maxlength="500" value="" autocomplete="off" data-i18n="[placeholder]Example: gpt-3.5-turbo" placeholder="Example: gpt-3.5-turbo">
30053073 <datalist id="model_custom_select_fill" class="text_pole model_custom_select"></datalist>
30063074 </div>
30073075 <h4 data-i18n="Available Models">Available Models</h4>
@@ -3021,7 +3089,7 @@
30213089 </a>
30223090 </h4>
30233091 <div class="flex-container">
30243092 <input id="api_key_01ai" name="api_key_01ai" class="text_pole flex1" maxlength="500" value="" type="text" autocomplete="off">
30253093 <div title="Clear your API key" data-i18n="[title]Clear your API key" class="menu_button fa-solid fa-circle-xmark clear-api-key" data-key="api_key_01ai"></div>
30263094 </div>
30273095 <div data-for="api_key_01ai" class="neutral_warning" data-i18n="For privacy reasons, your API key will be hidden after you reload the page.">
@@ -3033,7 +3101,7 @@
30333101 </div>
30343102 <div class="flex-container flex">
30353103 <div id="api_button_openai" class="api_button menu_button menu_button_icon" type="submit" data-i18n="Connect">Connect</div>
30363104 <div class="api_loading menu_button menu_button_icon" data-i18n="Cancel">Cancel</div>
30373105 <div data-source="custom" id="customize_additional_parameters" class="menu_button menu_button_icon" data-i18n="Additional Parameters">Additional Parameters</div>
30383106 <div data-source="openrouter" class="menu_button menu_button_icon openrouter_authorize" title="Get your OpenRouter API token using OAuth flow. You will be redirected to openrouter.ai" data-i18n="Authorize;[title]Get your OpenRouter API token using OAuth flow. You will be redirected to openrouter.ai">Authorize</div>
30393107 <div id="test_api_button" class="menu_button menu_button_icon" title="Verifies your API connection by sending a short test message. Be aware that you'll be credited for it!" data-i18n="[title]Verifies your API connection by sending a short test message. Be aware that you'll be credited for it!"><span data-i18n="Test Message">Test Message</span></div>
@@ -3054,14 +3122,27 @@
30543122 </div>
30553123 <div id="advanced-formatting-button" class="drawer">
30563124 <div class="drawer-toggle">
30573125 <div class="drawer-icon fa-solid fa-font fa-fw closedIcon" title="AI Response Formatting" data-i18n="[title]AI Response Formatting"></div>
30583126 </div>
30593127 <div id="AdvancedFormatting" class="drawer-content">
30603128 <h3div class="margin0" dataflex-i18n="Advancedcontainer FormattingalignItemsBaseline">
3061- Advanced Formatting
3129+ <h3 class="margin0 flex1" data-i18n="Advanced Formatting">
3062- </h3>
3130+ Advanced Formatting
3063- <div class="flex-container">
3131+ </h3>
30643132 <div idclass="PygOverridesflex-container">
3133+ <input id="af_master_import_file" type="file" hidden accept=".json" class="displayNone">
3134+ <div id="af_master_import" class="menu_button menu_button_icon" title="Import Advanced Formatting settings&#10;&#10;You can also provide legacy files for Instruct and Context templates." data-i18n="[title]Import Advanced Formatting settings">
3135+ <i class="fa-solid fa-file-import"></i>
3136+ <span data-i18n="Master Import">Master Import</span>
3137+ </div>
3138+ <div id="af_master_export" class="menu_button menu_button_icon" title="Export Advanced Formatting settings" data-i18n="[title]Export Advanced Formatting settings">
3139+ <i class="fa-solid fa-file-export"></i>
3140+ <span data-i18n="Master Export">Master Export</span>
3141+ </div>
3142+ </div>
3143+ </div>
3144+ <div class="flex-container spaceEvenly">
3145+ <div id="ContextSettings" class="flex-container flexNoGap flexFlowColumn flex1">
30653146 <div>
30663147 <h4 class="standoutHeader title_restorable">
30673148 <div>
@@ -3070,32 +3151,32 @@
30703151 <span class="fa-solid fa-circle-question note-link-span"></span>
30713152 </a>
30723153 </div>
3073- <div class="flex-container">
3074- <i data-newbie-hidden data-preset-manager-import="context" class="margin0 menu_button fa-solid fa-file-import" title="Import preset" data-i18n="[title]Import preset"></i>
3075- <i data-newbie-hidden data-preset-manager-export="context" class="margin0 menu_button fa-solid fa-file-export" title="Export preset" data-i18n="[title]Export preset"></i>
3076- <i data-newbie-hidden data-preset-manager-restore="context" class="margin0 menu_button fa-solid fa-recycle" title="Restore current preset" data-i18n="[title]Restore current preset"></i>
3077- <i data-newbie-hidden id="context_delete_preset" data-preset-manager-delete="context" class="margin0 menu_button fa-solid fa-trash-can" title="Delete the preset" data-i18n="[title]Delete the preset"></i>
3078- </div>
30793154 </h4>
3080- <div class="flex-container">
3155+ <div class="flex-container" title="Select your current Context Template" data-i18n="[title]Select your current Context Template">
30813156 <select id="context_presets" data-preset-manager-for="context" class="flex1 text_pole"></select>
3082- <input type="file" hidden data-preset-manager-file="context" accept=".json, .settings">
3157+ <div class="flex-container justifyCenter">
3083- <i id="context_set_default" class="menu_button fa-solid fa-heart" title="Auto-select this preset for Instruct Mode." data-i18n="[title]Auto-select this preset for Instruct Mode"></i>
3158+ <input type="file" hidden data-preset-manager-file="context" accept=".json, .settings">
30843159 <i data-newbie-hidden data-preset-manager-update="context" class="menu_button fa-solid fa-save" title="Update current presettemplate" data-i18n="[title]Update current presettemplate"></i>
30853160 <i data-newbie-hidden data-preset-manager-new="context" class="menu_button fa-solid fa-file-circle-plus" title="Save presettemplate as" data-i18n="[title]Save presettemplate as"></i>
3161+ <i data-preset-manager-import="context" class="displayNone menu_button fa-solid fa-file-import" title="Import template" data-i18n="[title]Import template"></i>
3162+ <i data-preset-manager-export="context" class="displayNone menu_button fa-solid fa-file-export" title="Export template" data-i18n="[title]Export template"></i>
3163+ <i data-preset-manager-restore="context" class="menu_button fa-solid fa-recycle" title="Restore current template" data-i18n="[title]Restore current template"></i>
3164+ <i id="context_delete_preset" data-preset-manager-delete="context" class="menu_button fa-solid fa-trash-can" title="Delete the template" data-i18n="[title]Delete the template"></i>
3165+ </div>
30863166 </div>
30873167 <div data-newbie-hidden>
30883168 <label for="context_story_string" class="flex-container">
30893169 <small data-i18n="Story String">Story String</small>
3170+ <i class="editor_maximize fa-solid fa-maximize right_menu_button" data-for="context_story_string" title="Expand the editor" data-i18n="[title]Expand the editor"></i>
30903171 </label>
30913172 <textarea id="context_story_string" class="text_pole textarea_compact autoSetHeight" rows="1"></textarea>
30923173 <div class="flex-container">
30933174 <div class="flex1">
30943175 <label for="context_example_separator">
30953176 <small data-i18n="Example Separator">Example Separator</small>
30963177 </label>
30973178 <div>
30983179 <textarea id="context_example_separator" class="text_pole textarea_compact autoSetHeight" maxlength="500" rows="1"></textarea>
30993180 </div>
31003181 </div>
31013182 <div class="flex1">
@@ -3103,448 +3184,382 @@
31033184 <small data-i18n="Chat Start">Chat Start</small>
31043185 </label>
31053186 <div>
31063187 <textarea id="context_chat_start" class="text_pole textarea_compact autoSetHeight" maxlength="500" rows="1"></textarea>
31073188 </div>
31083189 </div>
31093190 </div>
3110- <label class="checkbox_label" title="Add Chat Start and Example Separator to a list of stopping strings." data-i18n="[title]Add Chat Start and Example Separator to a list of stopping strings.">
3191+ <div>
31113192 <input id="context_use_stop_strings"h4 typeclass="checkboxstandoutHeader" />
3112- <small data-i18n="Separators as Stop Strings">Separators as Stop Strings</small>
3193+ <span data-i18n="Context Formatting">
3113- </label>
3194+ Context Formatting
3114- <label class="checkbox_label" title="Add Character and User names to a list of stopping strings." data-i18n="[title]Add Character and User names to a list of stopping strings.">
3195+ </span>
3115- <input id="context_names_as_stop_strings" type="checkbox" />
3196+ </h4>
3116- <small data-i18n="Names as Stop Strings">Names as Stop Strings</small>
3197+
3117- </label>
3198+ <label class="checkbox_label" for="always-force-name2-checkbox">
3199+ <input id="always-force-name2-checkbox" type="checkbox" />
3200+ <small data-i18n="Always add character's name to prompt">
3201+ Always add character's name to prompt
3202+ </small>
3203+ </label>
3204+ <label class="checkbox_label" for="single_line">
3205+ <input id="single_line" type="checkbox" />
3206+ <small data-i18n="Generate only one line per request">
3207+ Generate only one line per request
3208+ </small>
3209+ </label>
3210+ <label class="checkbox_label" for="collapse-newlines-checkbox">
3211+ <input id="collapse-newlines-checkbox" type="checkbox" />
3212+ <small data-i18n="Collapse Consecutive Newlines">
3213+ Collapse Consecutive Newlines
3214+ </small>
3215+ </label>
3216+ <label class="checkbox_label" for="trim_spaces">
3217+ <input id="trim_spaces" type="checkbox" />
3218+ <small data-i18n="Trim spaces">Trim spaces</small>
3219+ </label>
3220+ <label class="checkbox_label" for="trim_sentences_checkbox">
3221+ <input id="trim_sentences_checkbox" type="checkbox" />
3222+ <small data-i18n="Trim Incomplete Sentences">
3223+ Trim Incomplete Sentences
3224+ </small>
3225+ </label>
3226+ <label class="checkbox_label" title="Add Chat Start and Example Separator to a list of stopping strings." data-i18n="[title]Add Chat Start and Example Separator to a list of stopping strings.">
3227+ <input id="context_use_stop_strings" type="checkbox" />
3228+ <small data-i18n="Separators as Stop Strings">Separators as Stop Strings</small>
3229+ </label>
3230+ <label class="checkbox_label" title="Add Character and User names to a list of stopping strings." data-i18n="[title]Add Character and User names to a list of stopping strings.">
3231+ <input id="context_names_as_stop_strings" type="checkbox" />
3232+ <small data-i18n="Names as Stop Strings">Names as Stop Strings</small>
3233+ </label>
3234+ </div>
3235+
31183236 <label class="checkbox_label" title="Includes Post-History Instructions at the end of the prompt, if defined in the character card AND ''Prefer Char. Instructions'' is enabled.&#10;THIS IS NOT RECOMMENDED FOR TEXT COMPLETION MODELS, CAN LEAD TO BAD OUTPUT." data-i18n="[title]context_allow_post_history_instructions">
31193237 <input id="context_allow_jailbreak" type="checkbox" />
31203238 <small data-i18n="Allow Post-History Instructions">Allow Post-History Instructions</small>
31213239 </label>
31223240 </div>
3123-
3124- <div data-newbie-hidden class="inline-drawer wide100p flexFlowColumn margin-bot-10px" style="display:none;">
3125- <div class="inline-drawer-toggle inline-drawer-header">
3126- <b><span data-i18n="Context Order">Context Order</span></b>
3127- <div class="fa-solid fa-circle-chevron-down inline-drawer-icon down"></div>
3128- </div>
3129- <div class="inline-drawer-content">
3130- <div id="context_order" class="prompt_order">
3131- <div data-id="0">
3132- <span data-i18n="Story String">Story String</span>
3133- <small>0</small>
3134- </div>
3135- <div data-id="1">
3136- <span data-i18n="Summary">Summary</span>
3137- <small>1</small>
3138- </div>
3139- <div data-id="2">
3140- <span data-i18n="Author's Note">Author's Note</span>
3141- <small>2</small>
3142- </div>
3143- <div data-id="3">
3144- <span data-i18n="Example Dialogues">Example Dialogues</span>
3145- <small>3</small>
3146- </div>
3147- <div data-id="4">
3148- <span data-i18n="Chat Start">Chat History</span>
3149- <small>4</small>
3150- </div>
3151- </div>
3152- <small>
3153- <b data-i18n="Hint">Hint:</b>
3154- <span data-i18n="In-Chat Position not affected">
3155- Summary and Author's Note orders are only affected when they don't have an In-Chat position set.
3156- </span>
3157- </small>
3158- </div>
3159- </div>
31603241 </div>
31613242 </div>
3162- <h4 class="standoutHeader title_restorable">
3243+ <div id="InstructSettingsColumn" class="flex-container flexNoGap flexFlowColumn flex1">
3163- <div>
3244+ <div id="instructSettingsBlock">
3164- <span data-i18n="Instruct Mode">Instruct Mode</span>
3245+ <h4 class="standoutHeader title_restorable justifySpaceBetween">
3246+ <div class="flex-container">
3247+ <span data-i18n="Instruct Template">Instruct Template</span>
31653248 <a href="https://docs.sillytavern.app/usage/core-concepts/instructmode/" class="notes-link" target="_blank">
31663249 <span class="fa-solid fa-circle-question note-link-span"></span>
31673250 </a>
31683251 </div>
31693252 <div class="flex-container">
3170- <i data-newbie-hidden data-preset-manager-import="instruct" class="margin0 menu_button fa-solid fa-file-import" title="Import preset" data-i18n="[title]Import preset"></i>
3253+ <label for="instruct_bind_to_context" class="checkbox_label flex1" title="Bind to Context&#10If enabled, Context templates will be automatically selected based on selected Instruct template name or by preference." data-i18n="[title]instruct_bind_to_context">
3171- <i data-newbie-hidden data-preset-manager-export="instruct" class="margin0 menu_button fa-solid fa-file-export" title="Export preset" data-i18n="[title]Export preset"></i>
3254+ <input id="instruct_bind_to_context" type="checkbox" style="display:none;" />
3172- <i data-newbie-hidden data-preset-manager-restore="instruct" class="margin0 menu_button fa-solid fa-recycle" title="Restore current preset" data-i18n="[title]Restore current preset"></i>
3255+ <small><i class="fa-solid fa-link menu_button margin0"></i></small>
3173- <i data-newbie-hidden data-preset-manager-delete="instruct" class="margin0 menu_button fa-solid fa-trash-can" title="Delete the preset" data-i18n="[title]Delete the preset"></i>
3256+ </label>
3257+ <label for="instruct_enabled" class="checkbox_label flex1" title="Enable Instruct Mode" data-i18n="[title]instruct_enabled">
3258+ <input id="instruct_enabled" type="checkbox" style="display:none;" />
3259+ <small><i class="fa-solid fa-power-off menu_button margin0"></i></small>
3260+ </label>
31743261 </div>
31753262 </h4>
3176- <div class="flex-container">
3263+
3177- <label for="instruct_enabled" class="checkbox_label flex1">
3264+ <div class="flex-container" title="Select your current Instruct Template" data-i18n="[title]Select your current Instruct Template">
3178- <input id="instruct_enabled" type="checkbox" />
3179- <span data-i18n="Enabled">Enabled</span>
3180- </label>
3181- <label for="instruct_bind_to_context" class="checkbox_label flex1" title="If enabled, Context templates will be automatically selected based on selected Instruct template name or by preference." data-i18n="[title]instruct_bind_to_context">
3182- <input id="instruct_bind_to_context" type="checkbox" />
3183- <span data-i18n="Bind to Context">Bind to Context</span>
3184- </label>
3185- </div>
3186- <label for="instruct_presets">
3187- <span data-i18n="Presets">Presets</span>
3188- </label>
3189- <div class="flex-container">
31903265 <select id="instruct_presets" data-preset-manager-for="instruct" class="flex1 text_pole"></select>
3191- <input type="file" hidden data-preset-manager-file="instruct" accept=".json, .settings">
3266+ <div class="flex-container margin0 justifyCenter">
3192- <i id="instruct_set_default" class="menu_button fa-solid fa-heart" title="Auto-select this preset on API connection." data-i18n="[title]Auto-select this preset on API connection"></i>
3267+ <input type="file" hidden data-preset-manager-file="instruct" accept=".json, .settings">
31933268 <i data-newbie-hidden data-preset-manager-update="instruct" class="menu_button fa-solid fa-save" title="Update current presettemplate" data-i18n="[title]Update current presettemplate"></i>
31943269 <i data-newbie-hidden data-preset-manager-new="instruct" class="menu_button fa-solid fa-file-circle-plus" title="Save presettemplate as" data-i18n="[title]Save presettemplate as"></i>
3195- </div>
3270+ <i data-preset-manager-import="instruct" class="displayNone menu_button fa-solid fa-file-import" title="Import template" data-i18n="[title]Import template"></i>
3196- <label data-newbie-hidden>
3271+ <i data-preset-manager-export="instruct" class="displayNone menu_button fa-solid fa-file-export" title="Export template" data-i18n="[title]Export template"></i>
3197- <small data-i18n="Activation Regex">
3272+ <i data-preset-manager-restore="instruct" class="menu_button fa-solid fa-recycle" title="Restore current template" data-i18n="[title]Restore current template"></i>
3198- Activation Regex
3273+ <i data-preset-manager-delete="instruct" class="menu_button fa-solid fa-trash-can" title="Delete template" data-i18n="[title]Delete template"></i>
3274+ </div>
3275+ </div>
3276+ <label>
3277+ <small>
3278+ <span data-i18n="Activation Regex">Activation Regex</span>
3279+ <span class="fa-solid fa-circle-question" title="When connecting to an API or choosing a model, automatically activate this Instruct Template if the model name matches the provided regular expression."></span>
31993280 </small>
32003281 </label>
32013282 <div data-newbie-hidden>
32023283 <textareainput type="text" id="instruct_activation_regex" class="text_pole textarea_compact autoSetHeight" maxlengthplaceholder="5000"e.g. rows="/llama(-)?[3|3.1"><]/textareai">
32033284 </div>
32043285 <div data-newbie-hidden>
32053286 <label for="instruct_wrap" class="checkbox_label">
32063287 <input id="instruct_wrap" type="checkbox" />
32073288 <spansmall data-i18n="Wrap Sequences with Newline">Wrap Sequences with Newline</spansmall>
32083289 </label>
32093290 <label for="instruct_macro" class="checkbox_label">
32103291 <input id="instruct_macro" type="checkbox" />
32113292 <spansmall data-i18n="Replace Macro in Sequences">Replace Macro in Sequences</spansmall>
32123293 </label>
32133294 <label for="instruct_skip_examples" class="checkbox_label">
32143295 <input id="instruct_skip_examples" type="checkbox" />
32153296 <spansmall data-i18n="Skip Example Dialogues Formatting">Skip Example Dialogues Formatting</spansmall>
3216- </label>
3217- <label for="instruct_names" class="checkbox_label">
3218- <input id="instruct_names" type="checkbox" />
3219- <span data-i18n="Include Names">Include Names</span>
3220- </label>
3221- <label for="instruct_names_force_groups" class="checkbox_label indent20p">
3222- <input id="instruct_names_force_groups" type="checkbox" />
3223- <span data-i18n="Force for Groups and Personas">Force for Groups and Personas</span>
3224- </label>
3225- </div>
3226- <div data-newbie-hidden>
3227- <label>
3228- <small data-i18n="System Prompt">System Prompt</small>
32293297 </label>
3230- <textarea id="instruct_system_prompt" class="text_pole textarea_compact autoSetHeight" rows="1"></textarea>
3298+ <div>
3299+ <small data-i18n="Include Names">
3300+ Include Names
3301+ </small>
3302+ <select id="instruct_names_behavior">
3303+ <option value="none" data-i18n="Never">Never</option>
3304+ <option value="force" data-i18n="Groups and Past Personas">Groups and Past Personas</option>
3305+ <option value="always" data-i18n="Always">Always</option>
3306+ </select>
3307+ </div>
32313308 </div>
3232- <div data-newbie-hidden class="inline-drawer wide100p flexFlowColumn">
3309+ </div>
3233- <div class="inline-drawer-toggle inline-drawer-header">
3310+ <div id="InstructSequencesColumn" class="wide100p flexFlowColumn">
3234- <b><span data-i18n="Instruct Mode Sequences">Instruct Mode Sequences</span></b>
3311+ <h4 class="standoutHeader title_restorable">
3235- <div class="fa-solid fa-circle-chevron-down inline-drawer-icon down"></div>
3312+ <b>
3313+ <span data-i18n="Instruct Sequences">
3314+ Instruct Sequences
3315+ </span>
3316+ </b>
3317+ </h4>
3318+ <!-- We keep one auto-open so the user would know what is going on in the picked template -->
3319+ <details open>
3320+ <summary>User Message Sequences</summary>
3321+ <div class="flex-container">
3322+ <div class="flexAuto" title="Inserted before a User message and as a last prompt line when impersonating." data-i18n="[title]Inserted before a User message and as a last prompt line when impersonating.">
3323+ <small data-i18n="User Prefix">User Message Prefix</small>
3324+ <textarea id="instruct_input_sequence" class="text_pole textarea_compact autoSetHeight"></textarea>
3325+ </div>
3326+ <div class="flexAuto" title="Inserted after a User message." data-i18n="[title]Inserted after a User message.">
3327+ <small data-i18n="User Suffix">User Message Suffix</small>
3328+ <textarea id="instruct_input_suffix" class="text_pole wide100p textarea_compact autoSetHeight"></textarea>
3329+ </div>
32363330 </div>
3237- <div class="inline-drawer-content">
3331+ </details>
3238- <h5 class="textAlignCenter" data-i18n="System Prompt Wrapping">
3332+ <details open>
3239- System Prompt Wrapping
3333+ <summary>Assistant Message Sequences</summary>
3240- </h5>
3334+ <div class="flex-container">
3241- <div class="flex-container">
3335+ <div class="flexAuto" title="Inserted before an Assistant message and as a last prompt line when generating an AI reply." data-i18n="[title]Inserted before an Assistant message and as a last prompt line when generating an AI reply.">
3242- <div class="flex1" title="Inserted before a System prompt." data-i18n="[title]Inserted before a System prompt.">
3336+ <small data-i18n="Assistant Prefix">Assistant Message Prefix</small>
3243- <label for="instruct_system_sequence_prefix">
3337+ <textarea id="instruct_output_sequence" class="text_pole wide100p textarea_compact autoSetHeight"></textarea>
3244- <small data-i18n="System Prompt Prefix">System Prompt Prefix</small>
3245- </label>
3246- <div>
3247- <textarea id="instruct_system_sequence_prefix" class="text_pole textarea_compact autoSetHeight" maxlength="2000" placeholder="&mdash;" rows="1"></textarea>
3248- </div>
3249- </div>
3250- <div class="flex1" title="Inserted after a System prompt." data-i18n="[title]Inserted after a System prompt.">
3251- <label for="instruct_system_sequence_suffix">
3252- <small data-i18n="System Prompt Suffix">System Prompt Suffix</small>
3253- </label>
3254- <div>
3255- <textarea id="instruct_system_sequence_suffix" class="text_pole wide100p textarea_compact autoSetHeight" maxlength="2000" placeholder="&mdash;" rows="1"></textarea>
3256- </div>
3257- </div>
32583338 </div>
32593339 <h5div class="textAlignCenterflexAuto" title="Inserted after an Assistant message." data-i18n="Chat[title]Inserted Messagesafter Wrappingan Assistant message.">
3260- Chat Messages Wrapping
3340+ <small data-i18n="Assistant Suffix">Assistant Message Suffix</small>
3261- </h5>
3341+ <textarea id="instruct_output_suffix" class="text_pole wide100p textarea_compact autoSetHeight"></textarea>
3262- <div class="flex-container">
3263- <div class="flex1" title="Inserted before a User message and as a last prompt line when impersonating." data-i18n="[title]Inserted before a User message and as a last prompt line when impersonating.">
3264- <label for="instruct_input_sequence">
3265- <small data-i18n="User Message Prefix">User Message Prefix</small>
3266- </label>
3267- <div>
3268- <textarea id="instruct_input_sequence" class="text_pole textarea_compact autoSetHeight" maxlength="2000" placeholder="&mdash;" rows="1"></textarea>
3269- </div>
3270- </div>
3271- <div class="flex1" title="Inserted after a User message." data-i18n="[title]Inserted after a User message.">
3272- <label for="instruct_input_suffix">
3273- <small data-i18n="User Message Suffix">User Message Suffix</small>
3274- </label>
3275- <div>
3276- <textarea id="instruct_input_suffix" class="text_pole wide100p textarea_compact autoSetHeight" maxlength="2000" placeholder="&mdash;" rows="1"></textarea>
3277- </div>
3278- </div>
32793342 </div>
3280- <div class="flex-container">
3343+ </div>
3281- <div class="flex1" title="Inserted before an Assistant message and as a last prompt line when generating an AI reply." data-i18n="[title]Inserted before an Assistant message and as a last prompt line when generating an AI reply.">
3344+ </details>
3282- <label for="instruct_output_sequence">
3345+ <details>
3283- <small data-i18n="Assistant Message Prefix">Assistant Message Prefix</small>
3346+ <summary>System Message Sequences</summary>
3284- </label>
3347+ <div class="flex-container">
3285- <div>
3348+ <div class="flexAuto" id="instruct_system_sequence_block" title="Inserted before a System (added by slash commands or extensions) message." data-i18n="[title]Inserted before a System (added by slash commands or extensions) message.">
3286- <textarea id="instruct_output_sequence" class="text_pole wide100p textarea_compact autoSetHeight" maxlength="2000" placeholder="&mdash;" rows="1"></textarea>
3349+ <small data-i18n="System Prefix">System Message Prefix</small>
3287- </div>
3350+ <textarea id="instruct_system_sequence" class="text_pole textarea_compact autoSetHeight"></textarea>
3288- </div>
3289- <div class="flex1" title="Inserted after an Assistant message." data-i18n="[title]Inserted after an Assistant message.">
3290- <label for="instruct_output_suffix">
3291- <small data-i18n="Assistant Message Suffix">Assistant Message Suffix</small>
3292- </label>
3293- <div>
3294- <textarea id="instruct_output_suffix" class="text_pole wide100p textarea_compact autoSetHeight" maxlength="2000" placeholder="&mdash;" rows="1"></textarea>
3295- </div>
3296- </div>
32973351 </div>
3298- <div class="flex-container">
3352+ <div class="flexAuto" id="instruct_system_suffix_block" title="Inserted after a System message." data-i18n="[title]Inserted after a System message.">
3299- <div class="flex1" title="Inserted before a System (added by slash commands or extensions) message." data-i18n="[title]Inserted before a System (added by slash commands or extensions) message.">
3353+ <small data-i18n="System Suffix">System Message Suffix</small>
3300- <label for="instruct_system_sequence">
3354+ <textarea id="instruct_system_suffix" class="text_pole wide100p textarea_compact autoSetHeight"></textarea>
3301- <small data-i18n="System Message Prefix">System Message Prefix</small>
3302- </label>
3303- <div>
3304- <textarea id="instruct_system_sequence" class="text_pole textarea_compact autoSetHeight" maxlength="2000" placeholder="&mdash;" rows="1"></textarea>
3305- </div>
3306- </div>
3307- <div class="flex1" title="Inserted after a System message." data-i18n="[title]Inserted after a System message.">
3308- <label for="instruct_system_suffix">
3309- <small data-i18n="System Message Suffix">System Message Suffix</small>
3310- </label>
3311- <div>
3312- <textarea id="instruct_system_suffix" class="text_pole wide100p textarea_compact autoSetHeight" maxlength="2000" placeholder="&mdash;" rows="1"></textarea>
3313- </div>
3314- </div>
3315- <div class="flexBasis100p" title="If enabled, System Sequences will be the same as User Sequences." data-i18n="[title]If enabled, System Sequences will be the same as User Sequences.">
3316- <label class="checkbox_label" for="instruct_system_same_as_user">
3317- <input id="instruct_system_same_as_user" type="checkbox" />
3318- <small data-i18n="System same as User">System same as User</small>
3319- </label>
3320- </div>
33213355 </div>
3322- <h5 class="textAlignCenter" data-i18n="Misc. Sequences">
3356+ </div>
3323- Misc. Sequences
3357+ <div class="flexBasis100p" title="If enabled, System Sequences will be the same as User Sequences." data-i18n="[title]If enabled, System Sequences will be the same as User Sequences.">
3324- </h5>
3358+ <label class="checkbox_label" for="instruct_system_same_as_user">
3325- <div class="flex-container">
3359+ <input id="instruct_system_same_as_user" type="checkbox" />
3326- <div class="flex1" title="Inserted before the first Assistant's message." data-i18n="[title]Inserted before the first Assistant's message.">
3360+ <small data-i18n="System same as User">System same as User</small>
3327- <label for="instruct_first_output_sequence">
3361+ </label>
3328- <small data-i18n="First Assistant Prefix">First Assistant Prefix</small>
3362+ </div>
33293363 </labeldetails>
33303364 <divdetails>
3331- <textarea id="instruct_first_output_sequence" class="text_pole textarea_compact autoSetHeight" maxlength="2000" placeholder="&mdash;" rows="1"></textarea>
3365+ <summary>System Prompt Sequences</summary>
3332- </div>
3366+ <div class="flex-container">
3333- </div>
3367+ <div class="flexAuto" title="Inserted before a System prompt." data-i18n="[title]Inserted before a System prompt.">
3334- <div class="flex1" title="Inserted before the last Assistant's message or as a last prompt line when generating an AI reply (except a neutral/system role)." data-i18n="[title]instruct_last_output_sequence">
3368+ <label for="instruct_system_sequence_prefix">
3335- <label for="instruct_last_output_sequence">
3369+ <small data-i18n="System Prompt Prefix">System Prompt Prefix</small>
3336- <small data-i18n="Last Assistant Prefix">Last Assistant Prefix</small>
3370+ </label>
3337- </label>
3371+ <div>
3338- <div>
3372+ <textarea id="instruct_system_sequence_prefix" class="text_pole textarea_compact autoSetHeight"></textarea>
3339- <textarea id="instruct_last_output_sequence" class="text_pole wide100p textarea_compact autoSetHeight" maxlength="2000" placeholder="&mdash;" rows="1"></textarea>
3340- </div>
33413373 </div>
33423374 </div>
3343- <div class="flex-container">
3375+ <div class="flexAuto" title="Inserted after a System prompt." data-i18n="[title]Inserted after a System prompt.">
3344- <div class="flex1" title="Inserted before the first User's message." data-i18n="[title]Inserted before the first User's message.">
3376+ <label for="instruct_system_sequence_suffix">
3345- <label for="instruct_first_input_sequence">
3377+ <small data-i18n="System Prompt Suffix">System Prompt Suffix</small>
3346- <small data-i18n="First User Prefix">First User Prefix</small>
3378+ </label>
3347- </label>
3379+ <div>
3348- <div>
3380+ <textarea id="instruct_system_sequence_suffix" class="text_pole wide100p textarea_compact autoSetHeight"></textarea>
3349- <textarea id="instruct_first_input_sequence" class="text_pole textarea_compact autoSetHeight" maxlength="2000" placeholder="&mdash;" rows="1"></textarea>
3350- </div>
3351- </div>
3352- <div class="flex1" title="Inserted before the last User's message." data-i18n="[title]instruct_last_input_sequence">
3353- <label for="instruct_last_input_sequence">
3354- <small data-i18n="Last User Prefix">Last User Prefix</small>
3355- </label>
3356- <div>
3357- <textarea id="instruct_last_input_sequence" class="text_pole wide100p textarea_compact autoSetHeight" maxlength="2000" placeholder="&mdash;" rows="1"></textarea>
3358- </div>
33593381 </div>
33603382 </div>
3361- <div class="flex-container">
3383+ </div>
3362- <div class="flex1" title="Will be inserted as a last prompt line when using system/neutral generation." data-i18n="[title]Will be inserted as a last prompt line when using system/neutral generation.">
3384+ </details>
3363- <label for="instruct_last_system_sequence">
3385+ <details>
33643386 <smallsummary data-i18n="System InstructionMisc. PrefixSequences">System InstructionMisc. PrefixSequences</smallsummary>
3365- </label>
3387+ <div class="flex-container">
3366- <div>
3388+ <div class="flexAuto" title="Inserted before the first Assistant's message." data-i18n="[title]Inserted before the first Assistant's message.">
3367- <textarea id="instruct_last_system_sequence" class="text_pole textarea_compact autoSetHeight" maxlength="2000" placeholder="&mdash;" rows="1"></textarea>
3389+ <small data-i18n="First Assistant Prefix">First Assistant Prefix</small>
3368- </div>
3390+ <textarea id="instruct_first_output_sequence" class="text_pole textarea_compact autoSetHeight"></textarea>
3369- </div>
3370- <div class="flex1" title="If a stop sequence is generated, everything past it will be removed from the output (inclusive)." data-i18n="[title]If a stop sequence is generated, everything past it will be removed from the output (inclusive).">
3371- <label for="instruct_stop_sequence">
3372- <small data-i18n="Stop Sequence">Stop Sequence</small>
3373- </label>
3374- <div>
3375- <textarea id="instruct_stop_sequence" class="text_pole textarea_compact autoSetHeight" maxlength="2000" placeholder="&mdash;" rows="1"></textarea>
3376- </div>
3377- </div>
33783391 </div>
3379- <div class="flex-container">
3392+ <div class="flexAuto" title="Inserted before the last Assistant's message or as a last prompt line when generating an AI reply (except a neutral/system role)." data-i18n="[title]instruct_last_output_sequence">
3380- <div class="flex1" title="Will be inserted at the start of the chat history if it doesn't start with a User message." data-i18n="[title]Will be inserted at the start of the chat history if it doesn't start with a User message.">
3393+ <small data-i18n="Last Assistant Prefix">Last Assistant Prefix</small>
3381- <label for="instruct_user_alignment_message">
3394+ <textarea id="instruct_last_output_sequence" class="text_pole wide100p textarea_compact autoSetHeight"></textarea>
3382- <small data-i18n="User Filler Message">User Filler Message</small>
3383- </label>
3384- <div>
3385- <textarea id="instruct_user_alignment_message" class="text_pole textarea_compact autoSetHeight" maxlength="2000" placeholder="&mdash;" rows="1"></textarea>
3386- </div>
3387- </div>
33883395 </div>
33893396 </div>
3390- </div>
3397+ <div class="flex-container">
3398+ <div class="flexAuto" title="Inserted before the first User's message." data-i18n="[title]Inserted before the first User's message.">
3399+ <small data-i18n="First User Prefix">First User Prefix</small>
3400+ <textarea id="instruct_first_input_sequence" class="text_pole textarea_compact autoSetHeight"></textarea>
3401+ </div>
3402+ <div class="flexAuto" title="Inserted before the last User's message." data-i18n="[title]instruct_last_input_sequence">
3403+ <small data-i18n="Last User Prefix">Last User Prefix</small>
3404+ <textarea id="instruct_last_input_sequence" class="text_pole wide100p textarea_compact autoSetHeight"></textarea>
3405+ </div>
3406+ </div>
3407+ <div class="flex-container">
3408+ <div class="flexAuto" title="Will be inserted as a last prompt line when using system/neutral generation." data-i18n="[title]Will be inserted as a last prompt line when using system/neutral generation.">
3409+ <small data-i18n="System Instruction Prefix">System Instruction Prefix</small>
3410+ <textarea id="instruct_last_system_sequence" class="text_pole textarea_compact autoSetHeight"></textarea>
3411+ </div>
3412+ <div class="flexAuto" title="If a stop sequence is generated, everything past it will be removed from the output (inclusive)." data-i18n="[title]If a stop sequence is generated, everything past it will be removed from the output (inclusive).">
3413+ <small data-i18n="Stop Sequence">Stop Sequence</small>
3414+ <textarea id="instruct_stop_sequence" class="text_pole textarea_compact autoSetHeight"></textarea>
3415+ </div>
3416+ </div>
3417+ <div class="flex-container">
3418+ <div class="flexAuto" title="Will be inserted at the start of the chat history if it doesn't start with a User message." data-i18n="[title]Will be inserted at the start of the chat history if it doesn't start with a User message.">
3419+ <small data-i18n="User Filler Message">User Filler Message</small>
3420+ <textarea id="instruct_user_alignment_message" class="text_pole textarea_compact autoSetHeight"></textarea>
3421+ </div>
3422+ </div>
3423+ </details>
33913424 </div>
33923425 </div>
33933426 <div id="ContextFormattingSystemPromptColumn" class="flex-container flexNoGap flexFlowColumn flex1">
33943427 <div id="SystemPromptBlock">
33953428 <divh4 class="flex-containerstandoutHeader alignItemsBaselinetitle_restorable justifySpaceBetween">
33963429 <h4div data-i18nclass="Context Formattingflex-container">
3397- Context Formatting
3430+ <span data-i18n="System Prompt">System Prompt</span>
3398- </h4>
3431+ <a href="https://docs.sillytavern.app/usage/core-concepts/advancedformatting/#system-prompt" class="notes-link" target="_blank">
3399- <small data-i18n="(Saved to Context Template)">
3432+ <span class="fa-solid fa-circle-question note-link-span"></span>
3400- &nbsp;(Saved to Context Template)
3433+ </a>
34013434 </smalldiv>
3435+ <div class="flex-container">
3436+ <label for="sysprompt_enabled" class="checkbox_label flex1" title="Enable System Prompt" data-i18n="[title]sysprompt_enabled">
3437+ <input id="sysprompt_enabled" type="checkbox" style="display:none;" />
3438+ <small><i class="fa-solid fa-power-off menu_button margin0"></i></small>
3439+ </label>
3440+ </div>
3441+ </h4>
3442+
3443+ <div class="flex-container" title="Select your current System Prompt" data-i18n="[title]Select your current System Prompt">
3444+ <select id="sysprompt_select" data-preset-manager-for="sysprompt" class="flex1 text_pole"></select>
3445+ <div class="flex-container margin0 justifyCenter">
3446+ <input type="file" hidden data-preset-manager-file="sysprompt" accept=".json, .settings">
3447+ <i data-preset-manager-update="sysprompt" class="menu_button fa-solid fa-save" title="Update current prompt" data-i18n="[title]Update current prompt"></i>
3448+ <i data-preset-manager-new="sysprompt" class="menu_button fa-solid fa-file-circle-plus" title="Save prompt as" data-i18n="[title]Save prompt as"></i>
3449+ <i data-preset-manager-import="sysprompt" class="displayNone menu_button fa-solid fa-file-import" title="Import template" data-i18n="[title]Import template"></i>
3450+ <i data-preset-manager-export="sysprompt" class="displayNone menu_button fa-solid fa-file-export" title="Export template" data-i18n="[title]Export template"></i>
3451+ <i data-preset-manager-restore="sysprompt" class="menu_button fa-solid fa-recycle" title="Restore current prompt" data-i18n="[title]Restore current prompt"></i>
3452+ <i data-preset-manager-delete="sysprompt" class="menu_button fa-solid fa-trash-can" title="Delete prompt" data-i18n="[title]Delete prompt"></i>
3453+ </div>
3454+ </div>
3455+
3456+ <div>
3457+ <label for="sysprompt_content" class="flex-container">
3458+ <small data-i18n="Prompt Content">Prompt Content</small>
3459+ <i class="editor_maximize fa-solid fa-maximize right_menu_button" data-for="sysprompt_content" title="Expand the editor" data-i18n="[title]Expand the editor"></i>
3460+ </label>
3461+ <textarea id="sysprompt_content" class="text_pole textarea_compact autoSetHeight"></textarea>
34023462 </div>
3403- <label class="checkbox_label" for="always-force-name2-checkbox">
3404- <input id="always-force-name2-checkbox" type="checkbox" />
3405- <span data-i18n="Always add character's name to prompt">
3406- Always add character's name to prompt
3407- </span>
3408- </label>
3409- <label class="checkbox_label" for="single_line">
3410- <input id="single_line" type="checkbox" />
3411- <span data-i18n="Generate only one line per request">
3412- Generate only one line per request
3413- </span>
3414- </label>
3415- <label class="checkbox_label" for="trim_sentences_checkbox">
3416- <input id="trim_sentences_checkbox" type="checkbox" />
3417- <span data-i18n="Trim Incomplete Sentences">
3418- Trim Incomplete Sentences
3419- </span>
3420- </label>
3421- <!-- Add margin since this is a child of above -->
3422- <label data-newbie-hidden class="checkbox_label indent20p" for="include_newline_checkbox">
3423- <input id="include_newline_checkbox" type="checkbox" />
3424- <span data-i18n="Include Newline">Include Newline</span>
3425- </label>
34263463 </div>
3427- <h4 data-i18n="Misc. Settings">
3464+
3428- Misc. Settings
3465+ <div>
3429- </h4>
3466+ &nbsp;
3430- <label class="checkbox_label" for="collapse-newlines-checkbox">
3431- <input id="collapse-newlines-checkbox" type="checkbox" />
3432- <span data-i18n="Collapse Consecutive Newlines">
3433- Collapse Consecutive Newlines
3434- </span>
3435- </label>
3436- <label data-newbie-hidden class="checkbox_label" for="trim_spaces">
3437- <input id="trim_spaces" type="checkbox" />
3438- <span data-i18n="Trim spaces">Trim spaces</span>
3439- </label>
3440- <div data-newbie-hidden>
3441- <h4><span data-i18n="Tokenizer">Tokenizer</span>
3442- <a href="https://docs.sillytavern.app/usage/core-concepts/advancedformatting/#tokenizer" class="notes-link" target="_blank">
3443- <span class="fa-solid fa-circle-question note-link-span"></span>
3444- </a>
3445- </h4>
3446- <select id="tokenizer">
3447- <option value="99">Best match (recommended)</option>
3448- <option value="0">None / Estimated</option>
3449- <option value="1">GPT-2</option>
3450- <!-- Option #2 was a legacy GPT-2/3 tokenizer -->
3451- <option value="3">Llama 1/2</option>
3452- <option value="12">Llama 3</option>
3453- <option value="13">Gemma / Gemini</option>
3454- <option value="14">Jamba</option>
3455- <option value="4">NerdStash (NovelAI Clio)</option>
3456- <option value="5">NerdStash v2 (NovelAI Kayra)</option>
3457- <option value="7">Mistral</option>
3458- <option value="8">Yi</option>
3459- <option value="11">Claude 1/2</option>
3460- <option value="6">API (WebUI / koboldcpp)</option>
3461- </select>
34623467 </div>
3463- <div class="range-block" data-newbie-hidden>
3468+
3464- <div class="range-block-title justifyLeft">
3469+ <div>
3465- <span data-i18n="Token Padding">Token Padding</span>
3470+ <h4 class="range-block-title justifyLeft standoutHeader">
3466- <a href="https://docs.sillytavern.app/usage/core-concepts/advancedformatting/#token-padding" class="notes-link" target="_blank">
3471+ <span data-i18n="Custom Stopping Strings">
3472+ Custom Stopping Strings
3473+ </span>
3474+ <a href="https://docs.sillytavern.app/usage/core-concepts/advancedformatting/#custom-stopping-strings" class="notes-link" target="_blank">
34673475 <span class="fa-solid fa-circle-question note-link-span"></span>
34683476 </a>
3477+ </h4>
3478+ <div>
3479+ <small>
3480+ <span data-i18n="JSON serialized array of strings">JSON serialized array of strings</span>
3481+ <i class="fa-solid fa-question-circle opacity50p" title="e.g: [&quot;Ford&quot;, &quot;BMW&quot;, &quot;Fiat&quot;]"></i>
3482+ </small>
34693483 </div>
3470- <input id="token_padding" class="text_pole textarea_compact" type="number" min="-2048" max="2048" />
3471- </div>
3472- <div class="flex-container flexFlowColumn" data-newbie-hidden>
34733484 <div>
3474- <h4 class="range-block-title justifyLeft">
3485+ <textarea id="custom_stopping_strings" class="text_pole textarea_compact monospace autoSetHeight"></textarea>
3475- <span data-i18n="Start Reply With">
3486+ </div>
3476- Start Reply With
3487+ <label class="checkbox_label" for="custom_stopping_strings_macro">
3477- </span>
3488+ <input id="custom_stopping_strings_macro" type="checkbox" checked>
3489+ <small data-i18n="Replace Macro in Custom Stopping Strings">
3490+ Replace Macro in Custom Stopping Strings
3491+ </small>
3492+ </label>
3493+ </div>
3494+
3495+ <div name="tokenizerSettingsBlock">
3496+ <div name="tokenizerSelectorBlock">
3497+ <h4 class="standoutHeader"><span data-i18n="Tokenizer">Tokenizer</span>
3498+ <a href="https://docs.sillytavern.app/usage/core-concepts/advancedformatting/#tokenizer" class="notes-link" target="_blank">
3499+ <span class="fa-solid fa-circle-question note-link-span"></span>
3500+ </a>
34783501 </h4>
3479- <div>
3502+ <select id="tokenizer">
3480- <textarea id="start_reply_with" rows="2" class="text_pole textarea_compact" data-i18n="[placeholder]AI reply prefix" placeholder="AI reply prefix"></textarea>
3503+ <option value="99">Best match (recommended)</option>
3504+ <option value="0">None / Estimated</option>
3505+ <option value="1">GPT-2</option>
3506+ <!-- Option #2 was a legacy GPT-2/3 tokenizer -->
3507+ <option value="3">Llama 1/2</option>
3508+ <option value="12">Llama 3</option>
3509+ <option value="13">Gemma / Gemini</option>
3510+ <option value="14">Jamba</option>
3511+ <option value="15">Qwen2</option>
3512+ <option value="16">Command-R</option>
3513+ <option value="4">NerdStash (NovelAI Clio)</option>
3514+ <option value="5">NerdStash v2 (NovelAI Kayra)</option>
3515+ <option value="7">Mistral V1</option>
3516+ <option value="17">Mistral Nemo</option>
3517+ <option value="8">Yi</option>
3518+ <option value="11">Claude 1/2</option>
3519+ <option value="6">API (WebUI / koboldcpp)</option>
3520+ </select>
3521+ </div>
3522+ <div class="range-block flex-container flexnowrap" name="tokenPaddingBlock">
3523+ <div class="range-block-title justifyLeft">
3524+ <small data-i18n="Token Padding" class="flex-container">Token Padding
3525+ <a href="https://docs.sillytavern.app/usage/core-concepts/advancedformatting/#token-padding" class="notes-link" target="_blank">
3526+ <span class="fa-solid fa-circle-question note-link-span"></span>
3527+ </a>
3528+ </small>
34813529 </div>
3482- <label class="checkbox_label" for="chat-show-reply-prefix-checkbox">
3530+ <input id="token_padding" class="text_pole textarea_compact" type="number" min="-2048" max="2048" />
3483- <input id="chat-show-reply-prefix-checkbox" type="checkbox" />
3484- <span data-i18n="Show reply prefix in chat">
3485- Show reply prefix in chat
3486- </span>
3487- </label>
34883531 </div>
3532+ </div>
3533+ <div>
3534+ <h4 class="standoutHeader" data-i18n="Miscellaneous">Miscellaneous</h4>
34893535 <div>
3490- <h4 class="range-block-title justifyLeft">
3536+ <small>
34913537 <span data-i18n="Non-markdown strings">
34923538 Non-markdown strings
34933539 </span>
34943540 </h4small>
34953541 <div>
34963542 <input id="markdown_escape_strings" class="text_pole textarea_compact" type="text" data-i18n="[placeholder]separate with commascomma w/odelimited,no spacespaces between" placeholder="separate with commascomma w/odelimited,no spacespaces between" maxlength="100" />
34973543 </div>
34983544 </div>
3499- <div>
3545+
3500- <h4 class="range-block-title justifyLeft">
3546+ <div name="startReplyWithBlock">
3501- <span data-i18n="Custom Stopping Strings">
3502- Custom Stopping Strings
3503- </span>
3504- <a href="https://docs.sillytavern.app/usage/core-concepts/advancedformatting/#custom-stopping-strings" class="notes-link" target="_blank">
3505- <span class="fa-solid fa-circle-question note-link-span"></span>
3506- </a>
3507- </h4>
35083547 <div>
35093548 <small>
35103549 <span data-i18n="JSON serialized arrayStart ofReply stringsWith">JSON serialized array of strings</span>
3550+ Start Reply With
3551+ </span>
35113552 </small>
3553+ <div>
3554+ <textarea id="start_reply_with" class="text_pole textarea_compact autoSetHeight"></textarea>
3555+ </div>
3556+ <label class="checkbox_label" for="chat-show-reply-prefix-checkbox">
3557+ <input id="chat-show-reply-prefix-checkbox" type="checkbox" />
3558+ <small data-i18n="Show reply prefix in chat">
3559+ Show reply prefix in chat
3560+ </small>
3561+ </label>
35123562 </div>
3513- <div>
3514- <textarea id="custom_stopping_strings" rows="2" class="text_pole textarea_compact monospace" placeholder="[&quot;Ford&quot;, &quot;BMW&quot;, &quot;Fiat&quot;]"></textarea>
3515- </div>
3516- <label class="checkbox_label" for="custom_stopping_strings_macro">
3517- <input id="custom_stopping_strings_macro" type="checkbox" checked>
3518- <span data-i18n="Replace Macro in Custom Stopping Strings">
3519- Replace Macro in Custom Stopping Strings
3520- </span>
3521- </label>
3522- </div>
3523- </div>
3524- <div data-newbie-hidden>
3525- <h4>
3526- <span data-i18n="Auto-Continue">Auto-Continue</span>
3527- </h4>
3528- <div class="flex-container">
3529- <label class="checkbox_label" for="auto_continue_enabled">
3530- <input id="auto_continue_enabled" type="checkbox" />
3531- <span data-i18n="Enabled">
3532- Enabled
3533- </span>
3534- </label>
3535- <label class="checkbox_label" for="auto_continue_allow_chat_completions">
3536- <input id="auto_continue_allow_chat_completions" type="checkbox" />
3537- <span data-i18n="Allow for Chat Completion APIs">
3538- Allow for Chat Completion APIs
3539- </span>
3540- </label>
3541- </div>
3542-
3543- <div class="auto_continue_settings_block">
3544- <label for="auto_continue_target_length">
3545- <span data-i18n="Target length (tokens)">Target length (tokens)</span>
3546- <input id="auto_continue_target_length" type="number" class="text_pole textarea_compact" min="0" max="1024" />
3547- </label>
35483563 </div>
35493564 </div>
35503565 </div>
@@ -3553,16 +3568,18 @@
35533568 </div>
35543569 <div id="WI-SP-button" class="drawer">
35553570 <div class="drawer-toggle drawer-header">
35563571 <div id="WIDrawerIcon" class="drawer-icon fa-solid fa-book-atlas fa-fw closedIcon " title="World Info" data-i18n="[title]World Info"></div>
35573572 </div>
35583573 <div id="WorldInfo" class="drawer-content closedDrawer">
35593574 <div id="WorldInfoheader" class="fa-solid fa-grip drag-grabber"></div>
3560- <div id="WI_panel_pin_div" class="flex-container alignitemscenter gap10px" title="Locked = World Editor will stay open" data-i18n="[title]Locked = World Editor will stay open">
3575+ <div class="flex-container alignitemscenter gap10px">
3561- <input type="checkbox" id="WI_panel_pin">
3576+ <div id="WI_panel_pin_div" title="Locked = World Editor will stay open" data-i18n="[title]Locked = World Editor will stay open">
35623577 <labelinput fortype="checkbox" id="WI_panel_pin">
3563- <div class="unchecked fa-solid fa-unlock "></div>
3578+ <label for="WI_panel_pin">
35643579 <div class="checkedunchecked fa-solid fa-lockunlock "></div>
3565- </label>
3580+ <div class="checked fa-solid fa-lock "></div>
3581+ </label>
3582+ </div>
35663583 <h3 class="margin0">
35673584 <span data-i18n="Worlds/Lorebooks">Worlds/Lorebooks</span>
35683585 <a href="https://docs.sillytavern.app/usage/core-concepts/worldinfo/" class="notes-link" target="_blank">
@@ -3752,7 +3769,7 @@
37523769 </div>
37533770 <div id="user-settings-button" class="drawer">
37543771 <div class="drawer-toggle">
37553772 <div class="drawer-icon fa-solid fa-user-cog fa-fw closedIcon" title="User Settings" data-i18n="[title]User Settings"></div>
37563773 </div>
37573774 <div id="user-settings-block" class="drawer-content closedDrawer">
37583775 <div class="flex-container flexFlowColumn">
@@ -3760,10 +3777,6 @@
37603777 <div class="flex-container">
37613778 <div class="flex-container flexnowrap alignItemsBaseline">
37623779 <h3 class="margin0"><span data-i18n="User Settings">User Settings</span></h3>
3763- <select id="ui_mode_select" class="margin0 widthNatural">
3764- <option value="0" data-i18n="Simple">Simple</option>
3765- <option value="1" data-i18n="Advanced">Advanced</option>
3766- </select>
37673780 </div>
37683781 </div>
37693782 <div id="UI-language-block" class="flex-container alignItemsBaseline">
@@ -3794,7 +3807,7 @@
37943807 </div>
37953808 </div>
37963809 <div id="user-settings-block-content" class="flex-container spaceEvenly">
37973810 <div name="UserSettingsFirstColumn" id="UI-Theme-Block" class="flex-container flexFlowColumn wide100p flex1">
37983811 <div id="UI-presets-block" class="flex-container flexFlowColumn">
37993812 <h4 class="title_restorable">
38003813 <span data-i18n="UI Theme">UI Theme</span>
@@ -3822,10 +3835,10 @@
38223835 </div>
38233836 </div>
38243837 </div>
38253838 <div name="themeElements" data-newbie-hidden class="flex-container flexFlowColumn flexNoGap">
38263839 <!-- <h4><span data-i18n="UI Colors">Theme Settings</span></h4> -->
38273840 <div name="AvatarAndChatDisplay" class="flex-container flexFlowColumn">
38283841 <div class="flex-container alignItemsBaseline">
38293842 <span data-i18n="Avatar Style">Avatars:</span>
38303843 <select id="avatar_style" class="widthNatural flex1 margin0">
38313844 <option value="0" data-i18n="Circle">Circle</option>
@@ -3833,16 +3846,16 @@
38333846 <option value="1" data-i18n="Rectangle">Rectangle</option>
38343847 </select>
38353848 </div>
38363849 <div class="flex-container alignItemsBaseline">
38373850 <span data-i18n="Chat Style:">Chat Style:</span><br>
38383851 <select id="chat_display" class="widthNatural flex1 margin0">
38393852 <option value="0" data-i18n="Flat">Flat</spanoption>
38403853 <option value="1" data-i18n="Bubbles">Bubbles</option>
38413854 <option value="2" data-i18n="Document">Document</option>
38423855 </select>
38433856 </div>
38443857 </div>
38453858 <div data-newbie-hidden class="inline-drawer wide100p flexFlowColumn">
38463859 <div class="inline-drawer-toggle inline-drawer-header userSettingsInnerExpandable" title="Specify colors for your theme." data-i18n="[title]Specify colors for your theme.">
38473860 <b><span data-i18n="Theme Colors">Theme Colors</span></b>
38483861 <div class="fa-solid fa-circle-chevron-down inline-drawer-icon down"></div>
@@ -3893,7 +3906,7 @@
38933906 </div>
38943907 </div>
38953908 <hr>
38963909 <div data-newbie-hidden name="FontBlurChatWidthBlock" class="flex-container">
38973910
38983911 <div class="alignitemscenter flex-container flexFlowColumn flexBasis48p flexGrow flexShrink gap0">
38993912 <small>
@@ -3939,11 +3952,11 @@
39393952 <input id="reduced_motion" type="checkbox" />
39403953 <small data-i18n="Reduced Motion">Reduced Motion</small>
39413954 </label>
39423955 <label data-newbie-hidden for="fast_ui_mode" class="checkbox_label" title="Remove blur from window backgrounds, for faster rendering." data-i18n="[title]removes blur from window backgrounds">
39433956 <input id="fast_ui_mode" type="checkbox" />
39443957 <small data-i18n="No Blur Effect">No Blur Effect</small>
39453958 </label>
39463959 <label data-newbie-hidden for="noShadowsmode" class="checkbox_label" title="Remove text shadow effect." data-i18n="[title]Remove text shadow effect">
39473960 <input id="noShadowsmode" type="checkbox" />
39483961 <small data-i18n="No Text Shadows">No Text Shadows</small>
39493962 </label>
@@ -3951,39 +3964,39 @@
39513964 <input id="waifuMode" type="checkbox" />
39523965 <small data-i18n="Waifu Mode">Visual Novel Mode</small>
39533966 </label>
39543967 <label data-newbie-hidden for="expandMessageActions" class="checkbox_label" title="Always show the full list of the Message Actions context items for chat messages, instead of hiding them behind '...'." data-i18n="[title]Always show the full list of the Message Actions context items for chat messages, instead of hiding them behind '...'">
39553968 <input id="expandMessageActions" type="checkbox" />
39563969 <small data-i18n="Auto-Expand Message Actions">Expand Message Actions</small>
39573970 </label>
39583971 <label data-newbie-hidden for="enableZenSliders" class="checkbox_label" title="Alternative UI for numeric sampling parameters with fewer steps." data-i18n="[title]Alternative UI for numeric sampling parameters with fewer steps">
39593972 <input id="enableZenSliders" type="checkbox" />
39603973 <small data-i18n="Zen Sliders">Zen Sliders</small>
39613974 </label>
39623975 <label data-newbie-hidden for="enableLabMode" class="checkbox_label" title="Entirely unrestrict all numeric sampling parameters." data-i18n="[title]Entirely unrestrict all numeric sampling parameters">
39633976 <input id="enableLabMode" type="checkbox" />
39643977 <small data-i18n="Mad Lab Mode">Mad Lab Mode</small>
39653978 </label>
39663979 <label data-newbie-hidden for="messageTimerEnabled" class="checkbox_label" title="Time the AI's message generation, and show the duration in the chat log." data-i18n="[title]Time the AI's message generation, and show the duration in the chat log">
39673980 <input id="messageTimerEnabled" type="checkbox" />
39683981 <small data-i18n="Message Timer">Message Timer</small>
39693982 </label>
39703983 <label data-newbie-hidden for="messageTimestampsEnabled" class="checkbox_label" title="Show a timestamp for each message in the chat log." data-i18n="[title]Show a timestamp for each message in the chat log">
39713984 <input id="messageTimestampsEnabled" type="checkbox" />
39723985 <small data-i18n="Chat Timestamps">Chat Timestamps</small>
39733986 </label>
39743987 <label data-newbie-hidden for="messageModelIconEnabled" class="checkbox_label" title="Show an icon for the API that generated the message." data-i18n="[title]Show an icon for the API that generated the message">
39753988 <input id="messageModelIconEnabled" type="checkbox" />
39763989 <small data-i18n="Model Icon">Model Icons</small>
39773990 </label>
39783991 <label data-newbie-hidden for="mesIDDisplayEnabled" class="checkbox_label" title="Show sequential message numbers in the chat log." data-i18n="[title]Show sequential message numbers in the chat log">
39793992 <input id="mesIDDisplayEnabled" type="checkbox" />
39803993 <small data-i18n="Message IDs">Message IDs</small>
39813994 </label>
39823995 <label data-newbie-hidden for="hideChatAvatarsEnabled" class="checkbox_label" title="Hide avatars in chat messages." data-i18n="[title]Hide avatars in chat messages.">
39833996 <input id="hideChatAvatarsEnabled" type="checkbox" />
39843997 <small data-i18n="Hide Chat Avatars">Hide Chat Avatars</small>
39853998 </label>
39863999 <label data-newbie-hidden for="messageTokensEnabled" class="checkbox_label" title="Show the number of tokens for each message in the chat log." data-i18n="[title]Show the number of tokens in each message in the chat log">
39874000 <input id="messageTokensEnabled" type="checkbox" />
39884001 <small data-i18n="Show Message Token Count">Message Token Count</small>
39894002 </label>
@@ -3991,7 +4004,7 @@
39914004 <input id="compact_input_area" type="checkbox" />
39924005 <small data-i18n="Compact Input Area (Mobile)">Compact Input Area</small><i class="fa-solid fa-mobile-screen-button"></i>
39934006 </label>
39944007 <label data-newbie-hidden for="hotswapEnabled" class="checkbox_label" title="In the Character Management panel, show quick selection buttons for favorited characters." data-i18n="[title]In the Character Management panel, show quick selection buttons for favorited characters">
39954008 <input id="hotswapEnabled" type="checkbox" />
39964009 <small data-i18n="Characters Hotswap">Characters Hotswap</small>
39974010 </label>
@@ -4011,8 +4024,8 @@
40114024
40124025 </div>
40134026 </div>
40144027 <div name="UserSettingsSecondColumn" id="UI-Customization" class="flex-container flexFlowColumn wide100p flexNoGap flex1">
40154028 <div data-newbie-hidden name="CharacterHandlingToggles">
40164029 <h4 data-i18n="Character Handling">
40174030 Character Handling
40184031 </h4>
@@ -4023,7 +4036,7 @@
40234036 <option data-i18n="Created by" value="creator">Created by</option>
40244037 </select>
40254038 </div>
40264039 <div data-newbie-hidden class="flex-container alignitemscenter" title="Defines on importing cards which action should be chosen for importing its listed tags. 'Ask' will always display the dialog." data-i18n="[title]Defines on importing cards which action should be chosen for importing its listed tags. 'Ask' will always display the dialog.">
40274040 <label for="tag_import_setting"><small data-i18n="Import Card Tags">Import Card Tags</small></label>
40284041 <select id="tag_import_setting" class="widthNatural flex1 margin0">
40294042 <option data-i18n="Ask" value="1">Ask</option>
@@ -4032,27 +4045,27 @@
40324045 <option data-i18n="Existing" value="4">Existing</option>
40334046 </select>
40344047 </div>
40354048 <label data-newbie-hidden class="checkbox_label" for="fuzzy_search_checkbox" title="Use fuzzy matching, and search characters in the list by all data fields, not just by a name substring." data-i18n="[title]Use fuzzy matching, and search characters in the list by all data fields, not just by a name substring">
40364049 <input id="fuzzy_search_checkbox" type="checkbox" />
40374050 <small data-i18n="Advanced Character Search">Advanced Character Search</small>
40384051 </label>
40394052 <label data-newbie-hidden for="prefer_character_prompt" title="If checked and the character card contains a prompt override (System Prompt), use that instead." data-i18n="[title]If checked and the character card contains a prompt override (System Prompt), use that instead" class="checkbox_label">
40404053 <input id="prefer_character_prompt" type="checkbox" />
40414054 <small data-i18n="Prefer Character Card Prompt">Prefer Char. Prompt</small>
40424055 </label>
40434056 <label data-newbie-hidden for="prefer_character_jailbreak" title="If checked and the character card contains a Post-History Instructions override, use that instead." data-i18n="[title]If checked and the character card contains a Post-History Instructions override, use that instead" class="checkbox_label">
40444057 <input id="prefer_character_jailbreak" type="checkbox" />
40454058 <small data-i18n="Prefer Character Card Instructions">Prefer Char. Instructions</small>
40464059 </label>
40474060 <label data-newbie-hidden class="checkbox_label" for="never_resize_avatars" title="Avoid cropping and resizing imported character images. When off, crop/resize to 512x768." data-i18n="[title]Avoid cropping and resizing imported character images. When off, crop/resize to 512x768">
40484061 <input id="never_resize_avatars" type="checkbox" />
40494062 <small data-i18n="Never resize avatars">Never resize avatars</small>
40504063 </label>
40514064 <label data-newbie-hidden class="checkbox_label" for="show_card_avatar_urls" title="Show actual file names on the disk, in the characters list display only." data-i18n="[title]Show actual file names on the disk, in the characters list display only">
40524065 <input id="show_card_avatar_urls" type="checkbox" />
40534066 <small data-i18n="Show avatar filenames">Show avatar filenames</small>
40544067 </label>
40554068 <label data-newbie-hidden class="checkbox_label" for="spoiler_free_mode" title="Hide character definitions from the editor panel behind a spoiler button." data-i18n="[title]Hide character definitions from the editor panel behind a spoiler button">
40564069 <input id="spoiler_free_mode" type="checkbox" />
40574070 <small data-i18n="Spoiler Free Mode">Spoiler Free Mode</small>
40584071 </label>
@@ -4061,7 +4074,7 @@
40614074
40624075 <div name="MiscellaneousToggles">
40634076 <h4><span data-i18n="Miscellaneous">Miscellaneous</span></h4>
40644077 <div data-newbie-hidden class="flex-container">
40654078 <div id="reload_chat" class="menu_button whitespacenowrap" data-i18n="[title]Reload and redraw the currently open chat" title="Reload and redraw the currently open chat.">
40664079 <small data-i18n="Reload Chat">Reload Chat</small>
40674080 </div>
@@ -4101,30 +4114,43 @@
41014114 <input id="play_sound_unfocused" type="checkbox" />
41024115 <small data-i18n="Background Sound Only">Background Sound Only</small>
41034116 </label>
41044117 <label data-newbie-hidden class="checkbox_label" for="relaxed_api_urls" title="Reduce the formatting requirements on API URLs." data-i18n="[title]Reduce the formatting requirements on API URLs">
41054118 <input id="relaxed_api_urls" type="checkbox" />
41064119 <small data-i18n="Relaxed API URLS">Relaxed API URLs</small>
41074120 </label>
41084121 <label data-newbie-hidden class="checkbox_label" for="world_import_dialog" title="Ask to import the World Info/Lorebook for every new character with embedded lorebook. If unchecked, a brief message will be shown instead." data-i18n="[title]Ask to import the World Info/Lorebook for every new character with embedded lorebook. If unchecked, a brief message will be shown instead">
41094122 <input id="world_import_dialog" type="checkbox" />
41104123 <small data-i18n="Lorebook Import Dialog">Lorebook Import Dialog</small>
41114124 </label>
41124125 <label data-newbie-hidden class="checkbox_label" for=" enable_auto_select_input" title="Enable auto-select of input text in some text fields when clicking/selecting them. Applies to popup input textboxes, and possible other custom input fields." data-i18n="[title]Enable auto-select of input text in some text fields when clicking/selecting them. Applies to popup input textboxes, and possible other custom input fields.">
41134126 <input id="enable_auto_select_input" type="checkbox" />
41144127 <small data-i18n="Auto-select Input Text">Auto-select Input Text</small>
41154128 </label>
4129+ <label class="checkbox_label alignItemsCenter" for="enable_md_hotkeys" title="Enable hotkeys for inserting markdown format characters in certain text input boxes. See '/help hotkeys'.">
4130+ <input id="enable_md_hotkeys" type="checkbox" />
4131+ <small>
4132+ <span data-i18n="Markdown Hotkeys">Markdown Hotkeys</span>
4133+ <i class="fa-brands fa-markdown"></i>
4134+ </small>
4135+ </label>
41164136 <label class="checkbox_label" for="restore_user_input" title="Restore unsaved user input on page refresh." data-i18n="[title]Restore unsaved user input on page refresh">
41174137 <input id="restore_user_input" type="checkbox" />
41184138 <small data-i18n="Restore User Input">Restore User Input</small>
41194139 </label>
41204140 <div class="flex-container alignItemsCenter">
41214141 <label data-newbie-hidden id="movingUIModeCheckBlock" for="movingUImode" class="checkbox_label" title="Allow repositioning certain UI elements by dragging them. PC only, no effect on mobile." data-i18n="[title]Allow repositioning certain UI elements by dragging them. PC only, no effect on mobile">
41224142 <input id="movingUImode" type="checkbox" />
4123- <small data-i18n="Movable UI Panels">MovingUI&nbsp;<i class="fa-solid fa-desktop"></i></small>
4143+ <small>
4144+ <span data-i18n="Movable UI Panels">MovingUI</span>
4145+ <i class="fa-solid fa-desktop"></i>
4146+ </small>
41244147 </label>
41254148 <div data-newbie-hidden id="movingUIreset" title="Reset MovingUI panel sizes/locations." class="menu_button margin0" data-i18n="[title]Reset MovingUI panel sizes/locations."><i class=" fa-solid fa-recycle margin-r5"></i> <span data-i18n="mui_reset">Reset</span></div>
4149+ <i class=" fa-solid fa-recycle margin-r5"></i>
4150+ <span data-i18n="mui_reset">Reset</span>
4151+ </div>
41264152 </div>
41274153 <div data-newbie-hidden id="MovingUI-presets-block" class="flex-container alignitemscenter">
41284154 <div class="flex-container alignItemsFlexEnd">
41294155 <label for="movingUIPresets" title="MovingUI preset. Predefined/saved draggable positions." data-i18n="[title]MovingUI preset. Predefined/saved draggable positions">
41304156 <small data-i18n="MUI Preset">MovingUI Preset:</small>
@@ -4136,7 +4162,7 @@
41364162 <div id="movingui-preset-save-button" title="Save changes to a new MovingUI preset file." data-i18n="[title]Save movingUI changes to a new file" class="menu_button margin0 fa-solid fa-save"></div>
41374163 </div>
41384164 </div>
41394165 <div data-newbie-hidden id="CustomCSS-block" class="flex-container flexFlowColumn">
41404166 <h4 class="title_restorable" title="Apply a custom CSS style to all of the ST GUI." data-i18n="[title]Apply a custom CSS style to all of the ST GUI">
41414167 <span data-i18n="Custom CSS">Custom CSS</span>
41424168 <i class="editor_maximize fa-solid fa-maximize right_menu_button" data-for="customCSS" title="Expand the editor" data-i18n="[title]Expand the editor"></i>
@@ -4147,7 +4173,7 @@
41474173 </div>
41484174 </div>
41494175 </div>
41504176 <div name="UserSettingsThirdColumn" id="power-user-options-block" class="flex-container wide100p flex1">
41514177 <div id="power-user-option-checkboxes">
41524178
41534179 <div name="ChatMessageHandlingToggles">
@@ -4173,7 +4199,7 @@
41734199 <input class="neo-range-input" type="number" min="5" max="100" step="5" data-for="streaming_fps" id="streaming_fps_counter">
41744200 </div>
41754201 </div>
41764202 <div data-newbie-hidden id="examples-behavior-block">
41774203 <label data-i18n="Example Messages Behavior">
41784204 <small>Example Messages Behavior:</small>
41794205 </label>
@@ -4183,7 +4209,7 @@
41834209 <option value="strip" data-i18n="Never include examples">Never include examples</option>
41844210 </select>
41854211 </div>
41864212 <div data-newbie-hidden class="flex-container alignitemscenter">
41874213 <small data-i18n="Send on Enter">
41884214 Enter to Send:
41894215 </small>
@@ -4193,7 +4219,7 @@
41934219 <option value="1" data-i18n="Enabled">Enabled</option>
41944220 </select>
41954221 </div>
41964222 <label data-newbie-hidden class="checkbox_label" for="continue_on_send">
41974223 <input id="continue_on_send" type="checkbox" />
41984224 <small data-i18n="Press Send to continue">
41994225 "Send" to Continue
@@ -4212,11 +4238,11 @@
42124238 </small>
42134239 </label>
42144240 <div class="checkbox-container flex-container">
42154241 <label data-newbie-hidden class="checkbox_label" for="swipes-checkbox" title="Show arrow buttons on the last in-chat message to generate alternative AI responses. Both PC and mobile." data-i18n="[title]Show arrow buttons on the last in-chat message to generate alternative AI responses. Both PC and mobile">
42164242 <input id="swipes-checkbox" type="checkbox" />
42174243 <small data-i18n="Swipes">Swipes</small><i class="fa-solid fa-desktop"></i><i class="fa-solid fa-mobile-screen-button"></i>
42184244 </label>
42194245 <label data-newbie-hidden class="checkbox_label" for="gestures-checkbox" title="Allow using swiping gestures on the last in-chat message to trigger swipe generation. Mobile only, no effect on PC." , data-i18n="[title]Allow using swiping gestures on the last in-chat message to trigger swipe generation. Mobile only, no effect on PC">
42204246 <input id="gestures-checkbox" type="checkbox" />
42214247 <small data-i18n="Gestures">Gestures</small>
42224248 <i class="fa-solid fa-mobile-screen-button"></i>
@@ -4226,15 +4252,15 @@
42264252 <input id="auto-load-chat-checkbox" type="checkbox" />
42274253 <small data-i18n="Auto-load Last Chat">Auto-load Last Chat</small>
42284254 </label>
42294255 <label data-newbie-hidden for="auto_scroll_chat_to_bottom" class="checkbox_label">
42304256 <input id="auto_scroll_chat_to_bottom" type="checkbox" />
42314257 <small data-i18n="Auto-scroll Chat">Auto-scroll Chat</small>
42324258 </label>
42334259 <label data-newbie-hidden class="checkbox_label" for="auto_save_msg_edits" title="Save edits to messages without confirmation as you type." data-i18n="[title]Save edits to messages without confirmation as you type">
42344260 <input id="auto_save_msg_edits" type="checkbox" />
42354261 <small data-i18n="Auto-save Message Edits">Auto-save Message Edits</small>
42364262 </label>
42374263 <label data-newbie-hidden class="checkbox_label" for="confirm_message_delete">
42384264 <input id="confirm_message_delete" type="checkbox" />
42394265 <small data-i18n="Confirm message deletion">Confirm message deletion</small>
42404266 </label>
@@ -4242,7 +4268,7 @@
42424268 <input id="auto_fix_generated_markdown" type="checkbox" />
42434269 <small data-i18n="Auto-fix Markdown">Auto-fix Markdown</small>
42444270 </label>
42454271 <label data-newbie-hidden class="checkbox_label" for="render_formulas" title="Render LaTeX and AsciiMath equation notation in chat messages. Powered by KaTeX." data-i18n="[title]Render LaTeX and AsciiMath equation notation in chat messages. Powered by KaTeX">
42464272 <input id="render_formulas" type="checkbox" />
42474273 <small data-i18n="Render Formulas">Render Formulas</small>
42484274 <a href="https://docs.sillytavern.app/usage/core-concepts/uicustomization/#formulas-rendering" class="notes-link" target="_blank">
@@ -4253,11 +4279,11 @@
42534279 <input id="forbid_external_media" type="checkbox" />
42544280 <small data-i18n="Forbid External Media">Forbid External Media</small>
42554281 </label>
42564282 <label data-newbie-hidden class="checkbox_label" for="allow_name2_display">
42574283 <input id="allow_name2_display" type="checkbox" />
42584284 <small data-i18n="Allow {{char}}: in bot messages">Show {{char}}: in responses</small>
42594285 </label>
42604286 <label data-newbie-hidden class="checkbox_label" for="allow_name1_display">
42614287 <input id="allow_name1_display" type="checkbox" />
42624288 <small data-i18n="Allow {{user}}: in bot messages">Show {{user}}: in responses</small>
42634289 </label>
@@ -4265,23 +4291,23 @@
42654291 <input id="encode_tags" type="checkbox" />
42664292 <small data-i18n="Show tags in responses">Show &lt;tags&gt; in responses</small>
42674293 </label>
42684294 <label data-newbie-hidden class="checkbox_label" for="disable_group_trimming" title="Allow AI messages in groups to contain lines spoken by other group members." data-i18n="[title]Allow AI messages in groups to contain lines spoken by other group members">
42694295 <input id="disable_group_trimming" type="checkbox" />
42704296 <small data-i18n="Relax message trim in Groups">Relax message trim in Groups</small>
42714297 </label>
42724298 <label data-newbie-hidden class="checkbox_label" for="console_log_prompts">
42734299 <input id="console_log_prompts" type="checkbox" />
42744300 <small data-i18n="Log prompts to console">Log prompts to console</small>
42754301 </label>
42764302 <label data-newbie-hidden class="checkbox_label" for="request_token_probabilities" title="Requests logprobs from the API for the Token Probabilities feature." data-i18n="[title]Requests logprobs from the API for the Token Probabilities feature">
42774303 <input id="request_token_probabilities" type="checkbox" />
42784304 <small data-i18n="Request token probabilities">Request token probabilities</small>
42794305 </label>
42804306 <label data-newbie-hidden class="checkbox_label" for="show_group_chat_queue" title="In group chat, highlight the character(s) that are currently queued to generate responses and the order in which they will respond." data-i18n="[title]In group chat, highlight the character(s) that are currently queued to generate responses and the order in which they will respond.">
42814307 <input id="show_group_chat_queue" type="checkbox" />
42824308 <small data-i18n="Show group chat queue">Show group chat queue</small>
42834309 </label>
42844310 <div data-newbie-hidden class="inline-drawer wide100p flexFlowColumn">
42854311 <div class="inline-drawer-toggle inline-drawer-header userSettingsInnerExpandable" title="Automatically reject and re-generate AI message based on configurable criteria." data-i18n="[title]Automatically reject and re-generate AI message based on configurable criteria">
42864312 <b><span data-i18n="Auto-swipe">Auto-swipe</span></b>
42874313 <div class="fa-solid fa-circle-chevron-down inline-drawer-icon down"></div>
@@ -4295,75 +4321,110 @@
42954321 <input id="auto_swipe_minimum_length" name="auto_swipe_minimum_length" type="number" min="0" step="1" value="0" class="text_pole" title="If the generated message is shorter than this, trigger an auto-swipe." data-i18n="[title]If the generated message is shorter than this, trigger an auto-swipe">
42964322 <small data-i18n="Blacklisted words">Blacklisted words</small>
42974323 <div class="auto_swipe">
42984324 <textarea id="auto_swipe_blacklist" name="auto_swipe_blacklist" data-i18n="[placeholder]words you dont want generated separated by comma ','" placeholder="words you don't want generated separated by comma ','" class="text_pole textarea_compact" maxlength="5000" value="" autocomplete="off" rows="3"></textarea>
42994325 <small data-i18n="Blacklisted word count to swipe">Blacklisted word count to swipe</small>
43004326 <input id="auto_swipe_blacklist_threshold" name="auto_swipe_blacklist_threshold" type="number" min="0" step="1" value="1" class="text_pole" title="Minimum number of blacklisted words detected to trigger an auto-swipe." data-i18n="[title]Minimum number of blacklisted words detected to trigger an auto-swipe">
43014327 </div>
43024328 </div>
43034329 </div>
4304- </div>
4330+ <div nane="AutoContiueBlock" class="inline-drawer wide100p flexFlowColumn">
4305- <div name="AutoCompleteToggle">
4331+ <div class="inline-drawer-toggle inline-drawer-header userSettingsInnerExpandable" title="Automatically 'continue' a response if the model stopped before reaching a certain amount of tokens.">
4306- <h4 data-i18n="AutoComplete Settings">AutoComplete Settings</h4>
4332+ <b><span data-i18n="Auto-swipe">Auto-Continue</span></b>
4307- <label data-newbie-hidden class="checkbox_label" for="stscript_autocomplete_autoHide">
4333+ <div class="fa-solid fa-circle-chevron-down inline-drawer-icon down"></div>
4308- <input id="stscript_autocomplete_autoHide" type="checkbox" />
4309- <small data-i18n="Automatically hide details">
4310- Automatically hide details
4311- </small>
4312- </label>
4313- <div class="flex-container">
4314- <div class="flex1" title="Determines how entries are found for autocomplete." data-i18n="[title]Determines how entries are found for autocomplete.">
4315- <label for="stscript_matching" data-i18n="Autocomplete Matching"><small>Matching</small></label>
4316- <select id="stscript_matching">
4317- <option data-i18n="Starts with" value="strict">Starts with</option>
4318- <option data-i18n="Includes" value="includes">Includes</option>
4319- <option data-i18n="Fuzzy" value="fuzzy">Fuzzy</option>
4320- </select>
43214334 </div>
4322- <div class="flex1" title="Sets the style of the autocomplete." data-i18n="[title]Sets the style of the autocomplete.">
4335+ <div class="inline-drawer-content">
4323- <label for="stscript_autocomplete_style" data-i18n="Autocomplete Style"><small>Style</small></label>
4336+ <div class="flex-container">
43244337 <divlabel class="flex-container flexFlowRowcheckbox_label" alignItemsBaselinefor="auto_continue_enabled">
43254338 <selectinput id="stscript_autocomplete_styleauto_continue_enabled" type="checkbox" />
43264339 <optionsmall data-i18n="Follow Theme" value="themeEnabled">Follow Theme</option>
4327- <option data-i18n="Dark" value="dark">Dark</option>
4340+ Enabled
4328- <option data-i18n="Light" value="light">Light</option>
4341+ </small>
43294342 </selectlabel>
4330- <!-- <div class="menu_button fa-solid fa-pen-to-square" title="Customize colors"></div> -->
4343+ <label class="checkbox_label" for="auto_continue_allow_chat_completions">
4344+ <input id="auto_continue_allow_chat_completions" type="checkbox" />
4345+ <small data-i18n="Allow for Chat Completion APIs">
4346+ Allow for Chat Completion APIs
4347+ </small>
4348+ </label>
4349+ </div>
4350+ <div class="auto_continue_settings_block">
4351+ <label for="auto_continue_target_length">
4352+ <small data-i18n="Target length (tokens)">Target length (tokens)</small>
4353+ <input id="auto_continue_target_length" type="number" class="text_pole textarea_compact" min="0" max="1024" />
4354+ </label>
43314355 </div>
43324356 </div>
4357+
4358+
43334359 </div>
4334- <div title="Determines which keys select an item from the AutoComplete suggestions">
4360+ </div>
4335- <label data-i18n="Keyboard">
4361+ <div name="AutoCompleteToggle" class="inline-drawer wide100p flexFlowColumn">
4336- <small>Keyboard:</small>
4362+ <div class="inline-drawer-toggle inline-drawer-header userSettingsInnerExpandable" title="Options for the various autocompelte input boxes.">
4337- </label>
4363+ <b><span data-i18n="AutoComplete Settings">AutoComplete Settings</span></b>
4338- <select id="stscript_autocomplete_select">
4364+ <div class="fa-solid fa-circle-chevron-down inline-drawer-icon down"></div>
4339- <option value="3" data-i18n="Select with Tab or Enter">Select with Tab or Enter</option>
4340- <option value="1" data-i18n="Select with Tab">Select with Tab</option>
4341- <option value="2" data-i18n="Select with Enter">Select with Enter</option>
4342- </select>
4343- </div>
4344- <div class="flex-container flexFlowColumn gap0" title="Sets the font size of the autocomplete." data-i18n="[title]Sets the font size of the autocomplete.">
4345- <label for="stscript_autocomplete_font_scale"><small>Font Scale</small></label>
4346- <input class="neo-range-slider" type="range" id="stscript_autocomplete_font_scale" min="0.5" max="2" step="0.01">
4347- <input class="neo-range-input" type="number" min="0.5" max="2" step="0.01" data-for="stscript_autocomplete_font_scale" id="stscript_autocomplete_font_scale_counter">
43484365 </div>
4349- <div title="Sets the width of the autocomplete." data-i18n="[title]Sets the width of the autocomplete.">
4366+ <div class="inline-drawer-content">
43504367 <label forclass="stscript_autocomplete_widthcheckbox_label" data-i18nfor="Autocomplete Widthstscript_autocomplete_autoHide"><small>Width</small></label>
4351- <div class="doubleRangeContainer">
4368+ <input id="stscript_autocomplete_autoHide" type="checkbox" />
43524369 <divsmall classdata-i18n="doubleRangeInputContainerAutomatically hide details">
4353- <input type="range" id="stscript_autocomplete_width_left" min="0" max="2" step="1">
4370+ Automatically hide details
4354- <datalist id="stscript_autocomplete_width_left_values">
4371+ </small>
4355- <option value="0" label="input" title="chat input box" data-i18n="[title]chat input box"></option>
4372+ </label>
4356- <option value="1" label="chat" title="entire chat width" data-i18n="[title]entire chat width"></option>
4373+ <div class="flex-container">
43574374 <option value="2"div labelclass="fullflex1" title="fullDetermines windowhow widthentries are found for autocomplete." data-i18n="[title]fullDetermines windowhow widthentries are found for autocomplete."></option>
4358- </datalist>
4375+ <label for="stscript_matching" data-i18n="Autocomplete Matching"><small>Matching</small></label>
4376+ <select id="stscript_matching">
4377+ <option data-i18n="Starts with" value="strict">Starts with</option>
4378+ <option data-i18n="Includes" value="includes">Includes</option>
4379+ <option data-i18n="Fuzzy" value="fuzzy">Fuzzy</option>
4380+ </select>
4381+ </div>
4382+ <div class="flex1" title="Sets the style of the autocomplete." data-i18n="[title]Sets the style of the autocomplete.">
4383+ <label for="stscript_autocomplete_style" data-i18n="Autocomplete Style"><small>Style</small></label>
4384+ <div class="flex-container flexFlowRow alignItemsBaseline">
4385+ <select id="stscript_autocomplete_style">
4386+ <option data-i18n="Follow Theme" value="theme">Follow Theme</option>
4387+ <option data-i18n="Dark" value="dark">Dark</option>
4388+ <option data-i18n="Light" value="light">Light</option>
4389+ </select>
4390+ <!-- <div class="menu_button fa-solid fa-pen-to-square" title="Customize colors"></div> -->
4391+ </div>
43594392 </div>
4360- <div class="doubleRangeInputContainer">
4393+ </div>
4361- <input type="range" id="stscript_autocomplete_width_right" min="0" max="2" step="1">
4394+ <div title="Determines which keys select an item from the AutoComplete suggestions">
43624395 <datalistlabel iddata-i18n="stscript_autocomplete_width_right_valuesKeyboard">
4363- <option value="0" label="input" title="chat input box" data-i18n="[title]chat input box"></option>
4396+ <small>Keyboard:</small>
4364- <option value="1" label="chat" title="entire chat width" data-i18n="[title]entire chat width"></option>
4397+ </label>
4365- <option value="2" label="full" title="full window width" data-i18n="[title]full window width"></option>
4398+ <select id="stscript_autocomplete_select">
4366- </datalist>
4399+ <option value="3" data-i18n="Select with Tab or Enter">Select with Tab or Enter</option>
4400+ <option value="1" data-i18n="Select with Tab">Select with Tab</option>
4401+ <option value="2" data-i18n="Select with Enter">Select with Enter</option>
4402+ </select>
4403+ </div>
4404+ <div class="flex-container flexFlowColumn gap0" title="Sets the font size of the autocomplete." data-i18n="[title]Sets the font size of the autocomplete.">
4405+ <label for="stscript_autocomplete_font_scale"><small>Font Scale</small></label>
4406+ <input class="neo-range-slider" type="range" id="stscript_autocomplete_font_scale" min="0.5" max="2" step="0.01">
4407+ <input class="neo-range-input" type="number" min="0.5" max="2" step="0.01" data-for="stscript_autocomplete_font_scale" id="stscript_autocomplete_font_scale_counter">
4408+ </div>
4409+ <div title="Sets the width of the autocomplete." data-i18n="[title]Sets the width of the autocomplete.">
4410+ <label for="stscript_autocomplete_width" data-i18n="Autocomplete Width"><small>Width</small></label>
4411+ <div class="doubleRangeContainer">
4412+ <div class="doubleRangeInputContainer">
4413+ <input type="range" id="stscript_autocomplete_width_left" min="0" max="2" step="1">
4414+ <datalist id="stscript_autocomplete_width_left_values">
4415+ <option value="0" label="input" title="chat input box" data-i18n="[title]chat input box"></option>
4416+ <option value="1" label="chat" title="entire chat width" data-i18n="[title]entire chat width"></option>
4417+ <option value="2" label="full" title="full window width" data-i18n="[title]full window width"></option>
4418+ </datalist>
4419+ </div>
4420+ <div class="doubleRangeInputContainer">
4421+ <input type="range" id="stscript_autocomplete_width_right" min="0" max="2" step="1">
4422+ <datalist id="stscript_autocomplete_width_right_values">
4423+ <option value="0" label="input" title="chat input box" data-i18n="[title]chat input box"></option>
4424+ <option value="1" label="chat" title="entire chat width" data-i18n="[title]entire chat width"></option>
4425+ <option value="2" label="full" title="full window width" data-i18n="[title]full window width"></option>
4426+ </datalist>
4427+ </div>
43674428 </div>
43684429 </div>
43694430 </div>
@@ -4395,11 +4456,14 @@
43954456 </div>
43964457 <div id="logo_block" class="drawer">
43974458 <div id="site_logo" class="drawer-toggle drawer-header" title="Change Background Image" data-i18n="[title]Change Background Image">
43984459 <div class="drawer-icon fa-solid fa-panorama fa-fw closedIcon"></div>
43994460 </div>
44004461 <div id="Backgrounds" class="drawer-content closedDrawer">
44014462 <div class="flex-container">
44024463 <div class="flex-container alignItemsBaseline wide100p">
4464+ <h3 class="margin0 flex2" data-i18n="Background Image">
4465+ Background Image
4466+ </h3>
44034467 <input id="bg-filter" data-i18n="[placeholder]Filter" placeholder="Filter" class="text_pole flex1" type="search" />
44044468 <div id="auto_background" class="menu_button menu_button_icon" data-i18n="[title]Automatically select a background based on the chat context" title="Automatically select a background based on the chat context.">
44054469 <i class="fa-solid fa-wand-magic"></i>
@@ -4430,7 +4494,7 @@
44304494 </div>
44314495 <div id="extensions-settings-button" class="drawer">
44324496 <div class="drawer-toggle">
44334497 <div class="drawer-icon fa-solid fa-cubes fa-fw closedIcon" title="Extensions" data-i18n="[title]Extensions"></div>
44344498 </div>
44354499 <div id="rm_extensions_block" class="drawer-content closedDrawer">
44364500 <div class="extensions_block flex-container">
@@ -4482,11 +4546,7 @@
44824546 </div>
44834547 <hr class="wide100p margin0">
44844548 <div class="alignitemscenter flex-container justifyCenter wide100p" style="justify-content: space-between;">
44854549 <h4 class="margin0"><span data-i18n="Extras API:">Extras API:</span></h4>
4486- <a target="_blank" href="https://github.com/SillyTavern/SillyTavern-Extras">
4487- SillyTavern-Extras
4488- </a>
4489- </h4>
44904550 <div class="flex-container">
44914551 <div id="extensions_status" data-i18n="Not connected...">Not connected...</div>
44924552 <label for="extensions_autoconnect" class="checkbox_label flexNoGap">
@@ -4496,8 +4556,8 @@
44964556 </div>
44974557 </div>
44984558 <div class="alignitemsflexstart flex-container wide100p">
44994559 <input id="extensions_url" type="text" class="flex1 heightFitContent text_pole widthNatural" maxlength="250" data-i18n="[placeholder]Extras API URL" placeholder="Extras API URL">
45004560 <input id="extensions_api_key" type="text" class="flex1 heightFitContent text_pole widthNatural" maxlength="250" data-i18n="[placeholder]Extras API key (optional)" placeholder="Extras API key (optional)">
45014561 <div class="extensions_url_block">
45024562 <div id="extensions_connect" class="menu_button" data-i18n="Connect">Connect</div>
45034563 </div>
@@ -4507,7 +4567,7 @@
45074567 </div>
45084568 <div id="persona-management-button" class="drawer">
45094569 <div class="drawer-toggle">
45104570 <div class="drawer-icon fa-solid fa-face-smile fa-fw closedIcon" title="Persona Management" data-i18n="[title]Persona Management"></div>
45114571 </div>
45124572 <div class="drawer-content closedDrawer">
45134573 <div class="flex-container wide100p alignitemscenter spaceBetween flexNoGap">
@@ -4541,7 +4601,7 @@
45414601 <i class="fa-solid fa-person-circle-question fa-fw"></i>
45424602 <div data-i18n="Create">Create</div>
45434603 </div>
45444604 <input id="persona_search_bar" class="text_pole width100p flex1 margin0" type="search" data-i18n="[placeholder]Search..." placeholder="Search..." maxlength="100">
45454605 <select id="persona_sort_order" class="margin0">
45464606 <option value="search" data-i18n="Search" hidden>Search</option>
45474607 <option value="asc">A-Z</option>
@@ -4561,7 +4621,7 @@
45614621 <div class="flex1">
45624622 <h4 data-i18n="Name">Name</h4>
45634623 <div class="change_name">
45644624 <input id="your_name" name="your_name" data-i18n="[placeholder]Enter your name" placeholder="Enter your name" class="text_pole wide100p" maxlength="100" value="" autocomplete="off">
45654625 <div id="your_name_button" class="menu_button fa-solid fa-check" title="Click to set a new User Name" data-i18n="[title]Click to set a new User Name">
45664626 </div>
45674627 <div id="lock_user_name" class="menu_button fa-solid fa-unlock" title="Click to lock your selected persona to the current chat. Click again to remove the lock." data-i18n="[title]Click to lock your selected persona to the current chat. Click again to remove the lock.">
@@ -4571,11 +4631,11 @@
45714631 </div>
45724632 <div>
45734633 <h4 data-i18n="Persona Description">Persona Description</h4>
45744634 <textarea id="persona_description" name="persona_description" data-i18n="[placeholder]Example: [{{user}} is a 28-year-old Romanian cat girl.]" placeholder="Example:&#10;[{{user}} is a 28-year-old Romanian cat girl.]" class="text_pole textarea_compact" maxlength="50000" value="" autocomplete="off" rows="8"></textarea>
45754635 <div class="extension_token_counter">
45764636 <span data-i18n="Tokens persona description">Tokens</span>: <span id="persona_description_token_count">0</span>
45774637 </div>
45784638 <div data-newbie-hidden>
45794639 <label for="persona_description_position" data-i18n="Position:">Position:</label>
45804640 <select id="persona_description_position">
45814641 <option value="9" data-i18n="None (disabled)">None (disabled)</option>
@@ -4615,7 +4675,7 @@
46154675 </div>
46164676 <div id="rightNavHolder" class="drawer">
46174677 <div id="unimportantYes" class="drawer-toggle drawer-header">
46184678 <div id="rightNavDrawerIcon" class="drawer-icon fa-solid fa-address-card fa-fw closedIcon" title="Character Management" data-i18n="[title]Character Management">
46194679 </div>
46204680 </div>
46214681 <nav id="right-nav-panel" class="drawer-content closedDrawer fillRight">
@@ -4665,7 +4725,7 @@
46654725 <form id="form_create" action="javascript:void(null);" method="post" enctype="multipart/form-data">
46664726 <div id="avatar-and-name-block">
46674727 <div id="name_div">
46684728 <input id="character_name_pole" name="ch_name" class="text_pole" data-i18n="[placeholder]Name this character" placeholder="Name this character" maxlength="100" value="" autocomplete="off">
46694729 <div class="extension_token_counter">
46704730 <span data-i18n="extension_token_counter">Tokens:</span> <span data-token-counter="character_name_pole" data-token-permanent="true">counting...</span>
46714731 </div>
@@ -4736,7 +4796,7 @@
47364796 </div>
47374797 <div id="tags_div">
47384798 <div class="tag_controls">
47394799 <input id="tagInput" class="text_pole textarea_compact tag_input wide100p margin0" data-i18n="[placeholder]Search / Create Tags" placeholder="Search / Create tags" maxlength="50" />
47404800 <div class="tags_view menu_button fa-solid fa-tags" title="View all tags" data-i18n="[title]View all tags"></div>
47414801 </div>
47424802 <div id="tagList" class="tags"></div>
@@ -4756,7 +4816,7 @@
47564816 <hr>
47574817 <div id="description_div" class="title_restorable">
47584818 <div class="flex-container alignitemscenter">
47594819 <span data-i18n="Character Description" class="mdhotkey_location">Description</span>
47604820 <i class="editor_maximize fa-solid fa-maximize right_menu_button" data-for="description_textarea" title="Expand the editor" data-i18n="[title]Expand the editor"></i>
47614821 <a href="https://docs.sillytavern.app/usage/core-concepts/characterdesign/#character-description" class="notes-link" target="_blank">
47624822 <span class="fa-solid fa-circle-question note-link-span"></span>
@@ -4770,7 +4830,7 @@
47704830 </span>
47714831 </div>
47724832 </div>
47734833 <textarea id="description_textarea" class="mdHotkeys" data-i18n="[placeholder]Describe your character's physical and mental traits here." placeholder="Describe your character's physical and mental traits here." name="description" placeholder=""></textarea>
47744834 <div class="extension_token_counter">
47754835 <span data-i18n="extension_token_counter">Tokens:</span> <span data-token-counter="description_textarea" data-token-permanent="true">counting...</span>
47764836 </div>
@@ -4778,7 +4838,7 @@
47784838 <div id="firstMessageWrapper" class="flex-container flexFlowColumn flex1">
47794839 <div id="first_message_div" class="title_restorable">
47804840 <div class="flex-container alignitemscenter flex1">
47814841 <span data-i18n="First message" class="mdhotkey_location">First message</span>
47824842 <i class="editor_maximize fa-solid fa-maximize right_menu_button" data-for="firstmessage_textarea" title="Expand the editor" data-i18n="[title]Expand the editor"></i>
47834843 <a href="https://docs.sillytavern.app/usage/core-concepts/characterdesign/#first-message" class="notes-link" target="_blank">
47844844 <span class="fa-solid fa-circle-question note-link-span"></span>
@@ -4790,7 +4850,7 @@
47904850 </span>
47914851 </div>
47924852 </div>
47934853 <textarea class="mdHotkeys" id="firstmessage_textarea" data-i18n="[placeholder]This will be the first message from the character that starts every chat." placeholder="This will be the first message from the character that starts every chat." name="first_mes" placeholder=""></textarea>
47944854 <div class="extension_token_counter">
47954855 <span data-i18n="extension_token_counter">Tokens:</span> <span data-token-counter="firstmessage_textarea">counting...</span>
47964856 </div>
@@ -4821,12 +4881,12 @@
48214881 <div class="inline-drawer-content">
48224882 <div id="group-metadata-controls" class="marginTopBot5">
48234883 <div class="flex-container wide100p">
48244884 <input id="rm_group_chat_name" class="text_pole flex1" type="text" name="chat_name" data-i18n="[placeholder]Chat Name (Optional)" placeholder="Chat Name (Optional)" maxlength="200" />
48254885 <div class="chat_lorebook_button menu_button fa-solid fa-passport" title="Chat Lore" data-i18n="[title]Chat Lore"></div>
48264886 </div>
48274887 <div id="group_tags_div" class="wide100p">
48284888 <div class="tag_controls">
48294889 <input id="groupTagInput" class="text_pole textarea_compact tag_input flex1 margin0" data-i18n="[placeholder]Search / Create Tags" placeholder="Search / Create tags" maxlength="50" />
48304890 <div class="tags_view menu_button fa-solid fa-tags margin0" title="View all tags" data-i18n="[title]View all tags"></div>
48314891 </div>
48324892 <div id="groupTagList" class="tags paddingTopBot5"></div>
@@ -4868,7 +4928,7 @@
48684928 <div class="fa-solid fa-circle-info opacity50p" data-i18n="[title]When 'Join character cards' is selected, all respective fields of the characters are being joined together.This means that in the story string for example all character descriptions will be joined to one big text.If you want those fields to be separated, you can define a prefix or suffix here.This value supports normal macros and will also replace {{char}} with the relevant char's name and &lt;FIELDNAME&gt; with the name of the part (e.g.: description, personality, scenario, etc.)" title="When 'Join character cards' is selected, all respective fields of the characters are being joined together.&#13;This means that in the story string for example all character descriptions will be joined to one big text.&#13;If you want those fields to be separated, you can define a prefix or suffix here.&#13;&#13;This value supports normal macros and will also replace {{char}} with the relevant char's name and &lt;FIELDNAME&gt; with the name of the part (e.g.: description, personality, scenario, etc.)">
48694929 </div>
48704930 </label>
48714931 <textarea id="rm_group_generation_mode_join_prefix" class="text_pole wide100p textarea_compact autoSetHeight" maxlength="2000" placeholder="&mdash;" rows="1"></textarea>
48724932 </div>
48734933 <div class="flex1 flexGap5" title="Inserted after each part of the joined fields." data-i18n="[title]Inserted after each part of the joined fields.">
48744934 <label for="rm_group_generation_mode_join_suffix" class="flexnowrap width100p whitespacenowrap">
@@ -4876,7 +4936,7 @@
48764936 <div class="fa-solid fa-circle-info opacity50p" data-i18n="[title]When 'Join character cards' is selected, all respective fields of the characters are being joined together.This means that in the story string for example all character descriptions will be joined to one big text.If you want those fields to be separated, you can define a prefix or suffix here.This value supports normal macros and will also replace {{char}} with the relevant char's name and &lt;FIELDNAME&gt; with the name of the part (e.g.: description, personality, scenario, etc.)" title="When 'Join character cards' is selected, all respective fields of the characters are being joined together.&#13;This means that in the story string for example all character descriptions will be joined to one big text.&#13;If you want those fields to be separated, you can define a prefix or suffix here.&#13;&#13;This value supports normal macros and will also replace {{char}} with the relevant char's name and &lt;FIELDNAME&gt; with the name of the part (e.g.: description, personality, scenario, etc.)">
48774937 </div>
48784938 </label>
48794939 <textarea id="rm_group_generation_mode_join_suffix" class="text_pole wide100p textarea_compact autoSetHeight" maxlength="2000" placeholder="&mdash;" rows="1"></textarea>
48804940 </div>
48814941 </div>
48824942 <div id="GroupFavDelOkBack" class="flex-container flexGap5 spaceEvenly flex1">
@@ -4931,7 +4991,7 @@
49314991 <div class="inline-drawer-content">
49324992 <div name="Unadded Char List" class="flex-container flexFlowColumn overflowYAuto flex1">
49334993 <div id="rm_group_add_members_header">
49344994 <input id="rm_group_filter" class="text_pole margin0" type="search" data-i18n="[placeholder]Search..." placeholder="Search..." maxlength="200" />
49354995 </div>
49364996 <div class="rm_tag_controls">
49374997 <div class="tags rm_tag_filter"></div>
@@ -4945,7 +5005,7 @@
49455005 <div id="rm_character_import" class="right_menu" style="display: none;">
49465006 <form id="form_import" action="javascript:void(null);" method="post" enctype="multipart/form-data">
49475007 <input multiple type="file" id="character_import_file" accept=".json, image/png, .yaml, .yml, .charx" name="avatar">
49485008 <input id="character_import_file_type" name="file_type" class="text_pole" maxlength="999" size="2" value="" autocomplete="off">
49495009 </form>
49505010 <input type="file" id="character_replace_file" accept=".json, image/png, .yaml, .yml, .charx" name="replace_avatar" hidden>
49515011 </div>
@@ -4956,7 +5016,7 @@
49565016 <div id="character_import_button" title="Import Character from File" data-i18n="[title]Import Character from File" class="menu_button fa-solid fa-file-import faSmallFontSquareFix"></div>
49575017 <div id="external_import_button" title="Import content from external URL" data-i18n="[title]Import content from external URL" class="menu_button fa-solid fa-cloud-arrow-down faSmallFontSquareFix"></div>
49585018 <div id="rm_button_group_chats" title="Create New Chat Group" data-i18n="[title]Create New Chat Group" class="menu_button fa-solid fa-users-gear "></div>
49595019 <input id="character_search_bar" class="text_pole width100p" type="search" data-i18n="[placeholder]Search..." placeholder="Search..." maxlength="100" />
49605020 <select id="character_sort_order" title="Characters sorting order" data-i18n="[title]Characters sorting order">
49615021 <option data-field="search" data-order="desc" data-i18n="Search" hidden>Search</option>
49625022 <option data-field="name" data-order="asc" data-i18n="A-Z">A-Z</option>
@@ -4992,1063 +5052,1091 @@
49925052 </div>
49935053 </div>
49945054 <!-- various fullscreen popups -->
4995- <template id="popup_template" data-i18n="[popup-button-save]popup-button-save;[popup-button-yes]popup-button-yes;[popup-button-no]popup-button-no;[popup-button-cancel]popup-button-cancel;[popup-button-import]popup-button-import;[popup-button-crop]popup-button-crop" popup-button-save="Save" popup-button-yes="Yes" popup-button-no="No" popup-button-cancel="Cancel" popup-button-import="Import" popup-button-crop="Crop"> <!-- localization data holder for popups -->
5055+ <div name="templatesAndPopupsWrapper"> <!--this div is just for IDE sanity for quick collapsing-->
49965056 <dialogdiv id="export_format_popup" class="popuplist-group">
4997- <div class="popup-body">
5057+ <div class="export_format list-group-item" data-format="png">PNG</div>
4998- <div class="popup-content">
5058+ <div class="export_format list-group-item" data-format="json">JSON</div>
4999- <h3 class="popup-header">text</h3>
5059+ </div>
5060+ <div id="zoomed_avatar_template" class="template_element">
5061+ <div class="zoomed_avatar">
5062+ <div class="panelControlBar flex-container">
5063+ <div class="fa-fw fa-solid fa-grip drag-grabber"></div>
5064+ <div class="fa-fw fa-solid fa-circle-xmark dragClose" id="closeZoom"></div>
50005065 </div>
50015066 <div class="popup-crop-wrapzoomed_avatar_container">
5002- <img class="popup-crop-image" src="">
5067+ <img class="zoomed_avatar_img" src="" data-izoomify-url="" data-izoomify-magnify="1.8" data-izoomify-duration="300" alt="">
50035068 </div>
5004- <textarea class="popup-input text_pole result-control auto-select" rows="1" data-result="1" data-result-event="submit"></textarea>
5069+ </div>
5005- <div class="popup-inputs"></div>
5070+ </div>
50065071 <divtemplate classid="popup-controlsgeneric_draggable_template">
5007- <div class="popup-button-ok menu_button result-control" data-result="1" data-i18n="Delete">Delete</div>
5072+ <div class="draggable">
5008- <div class="popup-button-cancel menu_button result-control" data-result="0" data-i18n="Cancel">Cancel</div>
5073+ <div class="dragTitle"></div>
5074+ <div class="panelControlBar flex-container">
5075+ <div class="fa-fw fa-solid fa-grip drag-grabber"></div>
5076+ <div class="fa-fw fa-solid fa-circle-xmark dragClose"></div>
50095077 </div>
50105078 </div>
5011- <div class="popup-button-close right_menu_button fa-solid fa-circle-xmark" data-result="0" title="Close popup" data-i18n="[title]Close popup"></div>
5079+ </template>
5012- </dialog>
5080+ <div id="user_avatar_template" class="template_element">
5013- </template>
5081+ <div class="avatar-container">
50145082 <div idimgfile="shadow_popup" class="avatar">
5015- <div id="dialogue_popup">
5083+ <img src="" alt="User Avatar">
5016- <div id="dialogue_popup_holder">
5017- <div id="dialogue_popup_text">
5018- <h3 class="margin0">text</h3>
50195084 </div>
5020- <textarea id="dialogue_popup_input" class="text_pole" rows="1"></textarea>
5085+ <div class="flex-container wide100pLess70px character_select_container">
50215086 <div idclass="dialogue_popup_controlswide100p character_name_block">
5022- <div id="dialogue_popup_ok" class="menu_button" data-i18n="Delete" data-result="1">Delete</div>
5087+ <span class="ch_name flex1"></span>
5023- <div id="dialogue_popup_cancel" class="menu_button" data-i18n="Cancel" data-result="0">Cancel</div>
5088+ <div class="avatar-buttons">
5089+ <button class="menu_button bind_user_name" title="Bind user name to that avatar" data-i18n="[title]Bind user name to that avatar">
5090+ <i class="fa-fw fa-solid fa-user-edit"></i>
5091+ </button>
5092+ <button class="menu_button set_persona_image" title="Change persona image" data-i18n="[title]Change persona image">
5093+ <i class="fa-fw fa-solid fa-image"></i>
5094+ </button>
5095+ <button class="menu_button set_default_persona" title="Select this as default persona for the new chats." data-i18n="[title]Select this as default persona for the new chats.">
5096+ <i class="fa-fw fa-solid fa-crown"></i>
5097+ </button>
5098+ <button class="menu_button duplicate_persona" title="Duplicate persona" data-i18n="[title]Duplicate persona">
5099+ <i class="fa-fw fa-solid fa-clone"></i>
5100+ </button>
5101+ <button class="menu_button delete_avatar" title="Delete persona" data-i18n="[title]Delete persona">
5102+ <i class="fa-fw fa-solid fa-trash-alt"></i>
5103+ </button>
5104+ </div>
5105+ </div>
5106+ <div class="ch_description"></div>
50245107 </div>
50255108 </div>
50265109 </div>
5027- </div>
5110+ <template id="popup_template" data-i18n="[popup-button-save]popup-button-save;[popup-button-yes]popup-button-yes;[popup-button-no]popup-button-no;[popup-button-cancel]popup-button-cancel;[popup-button-import]popup-button-import;[popup-button-crop]popup-button-crop" popup-button-save="Save" popup-button-yes="Yes" popup-button-no="No" popup-button-cancel="Cancel" popup-button-import="Import" popup-button-crop="Crop"> <!-- localization data holder for popups -->
5028- <div id="character_popup" class="flex-container flexFlowColumn flexNoGap">
5111+ <dialog class="popup">
50295112 <div idclass="character_popup_textpopup-body">
5030- <h3 id="character_popup-button-h3" class="margin0"></h3> <span data-i18n="Advanced Defininitions">- Advanced
5113+ <div class="popup-content">
5031- Definitions</span>
5114+ <h3 class="popup-header">text</h3>
50325115 </div>
50335116 <hrdiv class="marginpopup-botcrop-10pxwrap">
5034- <div id="character_cross" class="fa-solid fa-circle-xmark"></div>
5117+ <img class="popup-crop-image" src="">
5035- <div class="inline-drawer">
5118+ </div>
5036- <div class="inline-drawer-toggle inline-drawer-header">
5119+ <textarea class="popup-input text_pole result-control auto-select" rows="1" data-result="1" data-result-event="submit"></textarea>
5037- <h4>
5120+ <div class="popup-inputs"></div>
5038- <span data-i18n="Prompt Overrides">Prompt Overrides</span>
5121+ <div class="popup-controls">
5039- <small data-i18n="(For Chat Completion and Instruct Mode)">(For Chat Completion and Instruct Mode)</small>
5122+ <div class="popup-button-ok menu_button result-control" data-result="1" data-i18n="Delete">Delete</div>
5040- </h4>
5123+ <div class="popup-button-cancel menu_button result-control" data-result="0" data-i18n="Cancel">Cancel</div>
5041- <div class="inline-drawer-icon fa-solid fa-circle-chevron-down down"></div>
5042- </div>
5043- <div class="inline-drawer-content">
5044- <small data-i18n="Insert {{original}} into either box to include the respective default prompt from system settings.">Insert {{original}} into either box to include the respective default prompt from system settings.</small>
5045- <div>
5046- <h4 data-i18n="Main Prompt">Main Prompt</h4>
5047- <textarea id="system_prompt_textarea" name="system_prompt" data-i18n="[placeholder]Any contents here will replace the default Main Prompt used for this character. (v2 spec: system_prompt)" placeholder="Any contents here will replace the default Main Prompt used for this character.&#10;(v2 spec: system_prompt)" form="form_create" class="text_pole" autocomplete="off" rows="3" maxlength="50000"></textarea>
5048- <div class="extension_token_counter">
5049- <span data-i18n="extension_token_counter">Tokens:</span> <span data-token-counter="system_prompt_textarea">counting...</span>
50505124 </div>
50515125 </div>
5052- <div>
5126+ <div class="popup-button-close right_menu_button fa-solid fa-circle-xmark" data-result="0" title="Close popup" data-i18n="[title]Close popup"></div>
5053- <h4 data-i18n="Post-History Instructions">Post-History Instructions</h4>
5127+ </dialog>
5054- <textarea id="post_history_instructions_textarea" name="post_history_instructions" data-i18n="[placeholder]Any contents here will replace the default Post-History Instructions used for this character. (v2 spec: post_history_instructions)" placeholder="Any contents here will replace the default Post-History Instructions used for this character.&#10;(v2 spec: post_history_instructions)" form="form_create" class="text_pole" autocomplete="off" rows="3" maxlength="50000"></textarea>
5128+ </template>
50555129 <div classid="extension_token_countershadow_popup">
5056- <span data-i18n="extension_token_counter">Tokens:</span> <span data-token-counter="post_history_instructions_textarea">counting...</span>
5130+ <div id="dialogue_popup">
5131+ <div id="dialogue_popup_holder">
5132+ <div id="dialogue_popup_text">
5133+ <h3 class="margin0">text</h3>
5134+ </div>
5135+ <textarea id="dialogue_popup_input" class="text_pole" rows="1"></textarea>
5136+ <div id="dialogue_popup_controls">
5137+ <div id="dialogue_popup_ok" class="menu_button" data-i18n="Delete" data-result="1">Delete</div>
5138+ <div id="dialogue_popup_cancel" class="menu_button" data-i18n="Cancel" data-result="0">Cancel</div>
50575139 </div>
50585140 </div>
50595141 </div>
50605142 </div>
5061- <hr>
5143+ <div id="character_popup" class="flex-container flexFlowColumn flexNoGap">
50625144 <div classid="inline-drawercharacter_popup_text">
5063- <div class="inline-drawer-toggle inline-drawer-header">
5145+ <h3 id="character_popup-button-h3" class="margin0"></h3> <span data-i18n="Advanced Defininitions">- Advanced
5064- <h4 data-i18n="Creator's Metadata (Not sent with the AI prompt)"><!-- This data-i18n attribute on the left is kept for backward compatibility, use the ones below when translating -->
5146+ Definitions</span>
5065- <span data-i18n="Creator's Metadata">Creator's Metadata</span>
5066- <small data-i18n="(Not sent with the AI Prompt)">(Not sent with the AI Prompt)</small>
5067- </h4>
5068- <div class="inline-drawer-icon fa-solid fa-circle-chevron-down down"></div>
50695147 </div>
50705148 <divhr class="inlinemargin-drawerbot-content10px">
5071- <small data-i18n="Everything here is optional">Everything here is optional</small>
5149+ <div id="character_cross" class="fa-solid fa-circle-xmark"></div>
50725150 <div class="flexinline-container flexnowrapdrawer">
50735151 <div class="flex1inline-drawer-toggle inline-drawer-header">
5074- <h4 data-i18n="Created by">Created by</h4>
5152+ <h4>
5075- <textarea id="creator_textarea" name="creator" data-i18n="[placeholder](Botmaker's name / Contact Info)" placeholder="(Botmaker's name / Contact info)" form="form_create" class="text_pole" autocomplete="off" rows="2" maxlength="5000"></textarea>
5153+ <span data-i18n="Prompt Overrides">Prompt Overrides</span>
5154+ <small data-i18n="(For Chat Completion and Instruct Mode)">(For Chat Completion and Instruct Mode)</small>
5155+ </h4>
5156+ <div class="inline-drawer-icon fa-solid fa-circle-chevron-down down"></div>
5157+ </div>
5158+ <div class="inline-drawer-content">
5159+ <small data-i18n="Insert {{original}} into either box to include the respective default prompt from system settings.">Insert {{original}} into either box to include the respective default prompt from system settings.</small>
5160+ <div>
5161+ <h4 data-i18n="Main Prompt">Main Prompt</h4>
5162+ <textarea id="system_prompt_textarea" name="system_prompt" data-i18n="[placeholder]Any contents here will replace the default Main Prompt used for this character. (v2 spec: system_prompt)" placeholder="Any contents here will replace the default Main Prompt used for this character.&#10;(v2 spec: system_prompt)" form="form_create" class="text_pole" autocomplete="off" rows="3"></textarea>
5163+ <div class="extension_token_counter">
5164+ <span data-i18n="extension_token_counter">Tokens:</span> <span data-token-counter="system_prompt_textarea">counting...</span>
5165+ </div>
50765166 </div>
50775167 <div class="flex1">
50785168 <h4 data-i18n="CharacterPost-History VersionInstructions">CharacterPost-History VersionInstructions</h4>
50795169 <textarea id="character_version_textareapost_history_instructions_textarea" name="character_versionpost_history_instructions" data-i18n="[placeholder](IfAny youcontents wanthere towill trackreplace the default Post-History Instructions used for this character. versions(v2 spec: post_history_instructions)" placeholder="(IfAny youcontents wanthere towill trackreplace the default Post-History Instructions used for this character.&#10;(v2 versionsspec: post_history_instructions)" form="form_create" class="text_pole" autocomplete="off" rows="2" maxlength="5003"></textarea>
5170+ <div class="extension_token_counter">
5171+ <span data-i18n="extension_token_counter">Tokens:</span> <span data-token-counter="post_history_instructions_textarea">counting...</span>
5172+ </div>
50805173 </div>
50815174 </div>
5082- <div class="flex-container flexnowrap">
5175+ </div>
5083- <div class="flex1">
5176+ <hr>
5084- <h4 class="flex-box" data-i18n="Creator's Notes">Creator's Notes<i class="editor_maximize fa-solid fa-maximize" data-for="creator_notes_textarea" title="Expand the editor" data-i18n="[title]Expand the editor"></i></h4>
5177+ <div class="inline-drawer">
5085- <textarea id="creator_notes_textarea" name="creator_notes" data-i18n="[placeholder](Describe the bot, give use tips, or list the chat models it has been tested on. This will be displayed in the character list.)" placeholder="(Describe the bot, give use tips, or list the chat models it has been tested on. This will be displayed in the character list.)" form="form_create" class="text_pole" autocomplete="off" rows="4" maxlength="20000"></textarea>
5178+ <div class="inline-drawer-toggle inline-drawer-header">
5179+ <h4 data-i18n="Creator's Metadata (Not sent with the AI prompt)"><!-- This data-i18n attribute on the left is kept for backward compatibility, use the ones below when translating -->
5180+ <span data-i18n="Creator's Metadata">Creator's Metadata</span>
5181+ <small data-i18n="(Not sent with the AI Prompt)">(Not sent with the AI Prompt)</small>
5182+ </h4>
5183+ <div class="inline-drawer-icon fa-solid fa-circle-chevron-down down"></div>
5184+ </div>
5185+ <div class="inline-drawer-content">
5186+ <small data-i18n="Everything here is optional">Everything here is optional</small>
5187+ <div class="flex-container flexnowrap">
5188+ <div class="flex1">
5189+ <h4 data-i18n="Created by">Created by</h4>
5190+ <textarea id="creator_textarea" name="creator" data-i18n="[placeholder](Botmaker's name / Contact Info)" placeholder="(Botmaker's name / Contact info)" form="form_create" class="text_pole" autocomplete="off" rows="2"></textarea>
5191+ </div>
5192+ <div class="flex1">
5193+ <h4 data-i18n="Character Version">Character Version</h4>
5194+ <textarea id="character_version_textarea" name="character_version" data-i18n="[placeholder](If you want to track character versions)" placeholder="(If you want to track character versions)" form="form_create" class="text_pole" autocomplete="off" rows="2"></textarea>
5195+ </div>
50865196 </div>
50875197 <div class="flex1flex-container flexnowrap">
5088- <h4 data-i18n="Tags to Embed">Tags to Embed</h4>
5198+ <div class="flex1">
5089- <textarea id="tags_textarea" name="tags" data-i18n="[placeholder](Write a comma-separated list of tags)" placeholder="(Write a comma-separated list of tags)" form="form_create" class="text_pole" autocomplete="off" rows="4" maxlength="5000"></textarea>
5199+ <h4 class="flex-box" data-i18n="Creator's Notes">Creator's Notes<i class="editor_maximize fa-solid fa-maximize" data-for="creator_notes_textarea" title="Expand the editor" data-i18n="[title]Expand the editor"></i></h4>
5200+ <textarea id="creator_notes_textarea" name="creator_notes" data-i18n="[placeholder](Describe the bot, give use tips, or list the chat models it has been tested on. This will be displayed in the character list.)" placeholder="(Describe the bot, give use tips, or list the chat models it has been tested on. This will be displayed in the character list.)" form="form_create" class="text_pole" autocomplete="off" rows="4"></textarea>
5201+ </div>
5202+ <div class="flex1">
5203+ <h4 data-i18n="Tags to Embed">Tags to Embed</h4>
5204+ <textarea id="tags_textarea" name="tags" data-i18n="[placeholder](Write a comma-separated list of tags)" placeholder="(Write a comma-separated list of tags)" form="form_create" class="text_pole" autocomplete="off" rows="4"></textarea>
5205+ </div>
50905206 </div>
50915207 </div>
50925208 </div>
5093- </div>
5209+ <hr>
5094- <hr>
5210+ <div id="personality_div">
50955211 <divh4 idclass="personality_divflex-container alignItemsBaseline">
5096- <h4>
5212+ <span data-i18n="Personality summary">Personality summary</span>
5097- <span data-i18n="Personality summary">Personality summary</span>
5213+ <a href="https://docs.sillytavern.app/usage/core-concepts/characterdesign/#personality-summary" class="notes-link" target="_blank"><span class="fa-solid fa-circle-question note-link-span"></span></a>
5098- <a href="https://docs.sillytavern.app/usage/core-concepts/characterdesign/#personality-summary" class="notes-link" target="_blank"><span class="fa-solid fa-circle-question note-link-span"></span></a>
5099- </h4>
5100- <textarea id="personality_textarea" name="personality" data-i18n="[placeholder](A brief description of the personality)" placeholder="(A brief description of the personality)" form="form_create" class="text_pole" autocomplete="off" rows="4" maxlength="50000"></textarea>
5101- <div class="extension_token_counter">
5102- <span data-i18n="extension_token_counter">Tokens:</span> <span data-token-counter="personality_textarea" data-token-permanent="true">counting...</span>
5103- </div>
5104- </div>
5105- <div id="scenario_div">
5106- <h4>
5107- <span data-i18n="Scenario">Scenario</span>
5108- <a href="https://docs.sillytavern.app/usage/core-concepts/characterdesign/#scenario" class="notes-link" target="_blank">
5109- <span class="fa-solid fa-circle-question note-link-span"></span>
5110- </a>
5111- </h4>
5112- <textarea id="scenario_pole" name="scenario" data-i18n="[placeholder](Circumstances and context of the interaction)" placeholder="(Circumstances and context of the interaction)" class="text_pole" maxlength="50000" value="" autocomplete="off" form="form_create" rows="4"></textarea>
5113- <div class="extension_token_counter">
5114- <span data-i18n="extension_token_counter">Tokens:</span> <span data-token-counter="scenario_pole" data-token-permanent="true">counting...</span>
5115- </div>
5116- </div>
5117- <div id="depth_prompt_div" class="flex-container">
5118- <div class="flex1">
5119- <h4>
5120- <span data-i18n="Character's Note">
5121- Character's Note
5122- </span>
51235214 </h4>
51245215 <textarea id="depth_prompt_promptpersonality_textarea" name="depth_prompt_prompt" class="text_pole" rows="5" maxlength="50000" autocomplete="off" form="form_createpersonality" data-i18n="[placeholder](Text to be inserted in-chatA @brief designateddescription depthof andthe rolepersonality)" placeholder="(TextA tobrief bedescription insertedof in-chatthe @personality)" designatedform="form_create" depthclass="text_pole" andautocomplete="off" role)rows="4"></textarea>
5216+ <div class="extension_token_counter">
5217+ <span data-i18n="extension_token_counter">Tokens:</span> <span data-token-counter="personality_textarea" data-token-permanent="true">counting...</span>
5218+ </div>
51255219 </div>
51265220 <div id="scenario_div">
5127- <h4>
5221+ <h4 class="flex-container alignItemsBaseline">
51285222 <span data-i18n="@ DepthScenario">Scenario</span>
5129- @ Depth
5223+ <a href="https://docs.sillytavern.app/usage/core-concepts/characterdesign/#scenario" class="notes-link" target="_blank">
5130- </span>
5224+ <span class="fa-solid fa-circle-question note-link-span"></span>
51315225 </h4a>
5132- <input id="depth_prompt_depth" name="depth_prompt_depth" class="text_pole textarea_compact m-t-0" type="number" min="0" max="999" value="4" form="form_create" />
5133- <h4>
5134- <span data-i18n="Role">
5135- Role
5136- </span>
51375226 </h4>
5138- <select id="depth_prompt_role" name="depth_prompt_role" form="form_create" class="text_pole textarea_compact m-t-0">
5227+ <textarea id="scenario_pole" name="scenario" data-i18n="[placeholder](Circumstances and context of the interaction)" placeholder="(Circumstances and context of the interaction)" class="text_pole" value="" autocomplete="off" form="form_create" rows="4"></textarea>
5139- <option value="system" data-i18n="System">System</option>
5140- <option value="user" data-i18n="User">User</option>
5141- <option value="assistant" data-i18n="Assistant">Assistant</option>
5142- </select>
51435228 <div class="extension_token_counter">
51445229 <span data-i18n="extension_token_counter">Tokens:</span> <span data-token-counter="depth_prompt_promptscenario_pole" data-token-permanent="true">counting...</span>
51455230 </div>
51465231 </div>
5147- </div>
5232+ <div id="depth_prompt_div" class="flex-container">
51485233 <div idclass="talkativeness_divflex1">
5149- <h4><span data-i18n="Talkativeness">Talkativeness</span></h4>
5234+ <h4>
5150- <h5 data-i18n="How often the character speaks in group chats!"><!-- This data-i18n attribute on the left is kept for backward compatibility, use the ones below when translating -->
5235+ <span data-i18n="Character's Note">
5151- <span data-i18n="How often the character speaks in">How often the character speaks in</span>&nbsp;<span class="warning" data-i18n="group chats!">group chats!</span>
5236+ Character's Note
51525237 </h5span>
5153- <input id="talkativeness_slider" name="talkativeness" type="range" min="0" max="1" step="0.05" value="0.5" form="form_create">
5238+ </h4>
5154- <div class="slider_hint">
5239+ <textarea id="depth_prompt_prompt" name="depth_prompt_prompt" class="text_pole" rows="5" autocomplete="off" form="form_create" data-i18n="[placeholder](Text to be inserted in-chat @ designated depth and role)" placeholder="(Text to be inserted in-chat @ designated depth and role)"></textarea>
5155- <span data-i18n="Shy">Shy</span>
5240+ </div>
5156- <span data-i18n="Normal">Normal</span>
5241+ <div>
5157- <span data-i18n="Chatty">Chatty</span>
5242+ <h4>
5243+ <span data-i18n="@ Depth">
5244+ @ Depth
5245+ </span>
5246+ </h4>
5247+ <input id="depth_prompt_depth" name="depth_prompt_depth" class="text_pole textarea_compact m-t-0" type="number" min="0" max="999" value="4" form="form_create" />
5248+ <h4>
5249+ <span data-i18n="Role">
5250+ Role
5251+ </span>
5252+ </h4>
5253+ <select id="depth_prompt_role" name="depth_prompt_role" form="form_create" class="text_pole textarea_compact m-t-0">
5254+ <option value="system" data-i18n="System">System</option>
5255+ <option value="user" data-i18n="User">User</option>
5256+ <option value="assistant" data-i18n="Assistant">Assistant</option>
5257+ </select>
5258+ <div class="extension_token_counter">
5259+ <span data-i18n="extension_token_counter">Tokens:</span> <span data-token-counter="depth_prompt_prompt" data-token-permanent="true">counting...</span>
5260+ </div>
5261+ </div>
51585262 </div>
5159- </div>
5263+ <div id="talkativeness_div">
5160- <hr>
5264+ <h4><span data-i18n="Talkativeness">Talkativeness</span></h4>
5161- <div id="mes_example_div" class="flex-container flexFlowColumn">
5265+ <h5 data-i18n="How often the character speaks in group chats!"><!-- This data-i18n attribute on the left is kept for backward compatibility, use the ones below when translating -->
5162- <div>
5266+ <span data-i18n="How often the character speaks in">How often the character speaks in</span>&nbsp;<span class="warning" data-i18n="group chats!">group chats!</span>
5163- <h4><span data-i18n="Examples of dialogue">Examples of dialogue</span></h4>
5267+ </h5>
5164- <h5 data-i18n="Important to set the character's writing style.">Important to set the character's writing style. <a href="https://docs.sillytavern.app/usage/core-concepts/characterdesign/#examples-of-dialogue" class="notes-link" target="_blank"><span class="fa-solid fa-circle-question note-link-span"></span></a></h5>
5268+ <input id="talkativeness_slider" name="talkativeness" type="range" min="0" max="1" step="0.05" value="0.5" form="form_create">
5269+ <div class="slider_hint">
5270+ <span data-i18n="Shy">Shy</span>
5271+ <span data-i18n="Normal">Normal</span>
5272+ <span data-i18n="Chatty">Chatty</span>
5273+ </div>
51655274 </div>
5166- <textarea id="mes_example_textarea" class="flexGrow" name="mes_example" data-i18n="[placeholder](Examples of chat dialog. Begin each example with START on a new line.)" placeholder="(Examples of chat dialog. Begin each example with &lt;START&gt; on a new line.)" form="form_create" maxlength="50000" rows="6"></textarea>
5275+ <hr>
51675276 <div id="mes_example_div" class="extension_token_counterflex-container flexFlowColumn">
5168- <span data-i18n="extension_token_counter">Tokens:</span> <span data-token-counter="mes_example_textarea">counting...</span>
5277+ <div>
5278+ <h4 class="flex-container gap5px alignItemsBaseline"><span data-i18n="Examples of dialogue" class="mdhotkey_location">Examples of dialogue</span></h4>
5279+ <h5 data-i18n="Important to set the character's writing style.">Important to set the character's writing style. <a href="https://docs.sillytavern.app/usage/core-concepts/characterdesign/#examples-of-dialogue" class="notes-link" target="_blank"><span class="fa-solid fa-circle-question note-link-span"></span></a></h5>
5280+ </div>
5281+ <textarea id="mes_example_textarea" class="flexGrow mdHotkeys" name="mes_example" data-i18n="[placeholder](Examples of chat dialog. Begin each example with START on a new line.)" placeholder="(Examples of chat dialog. Begin each example with &lt;START&gt; on a new line.)" form="form_create" rows="6"></textarea>
5282+ <div class="extension_token_counter">
5283+ <span data-i18n="extension_token_counter">Tokens:</span> <span data-token-counter="mes_example_textarea">counting...</span>
5284+ </div>
5285+ <!-- TODO: Example chats handhold-editor concept: https://gist.github.com/Cohee1207/50da02a4001ac1adae9b440f9b8e1079 -->
51695286 </div>
5170- <!-- PLACEHOLDER CODE FOR NEW EXAMPLE CHAT HANDLING
5287+ <div id="character_popup_ok" class="menu_button" data-i18n="Save">Save</div>
5171- <div name="exampleChatsBlockTemplate" class="flex-container flexFlowColumn">
5288+ </div>
5172- <div class="flex-container alignitemscenter">
5289+
5173- <textarea class="flexShrink flexGrow wideMinContent" rows="1" placeholder="Name for this example chat"></textarea>
5290+ <div id="shadow_select_chat_popup">
5174- <div class="fa-solid fa-plus menu_button" title="Add a new message to this example chat block"></div>
5291+ <div id="select_chat_popup">
5292+ <div name="selectChatPopupHeader" class="flex-container alignitemscenter justifySpaceBetween flexGap10">
5293+ <div id="select_chat_import"> <!-- import chat popup header -->
5294+ <form id="form_import_chat" action="javascript:void(null);" method="post" enctype="multipart/form-data" style="display: none;">
5295+ <input type="file" id="chat_import_file" accept=".json, .jsonl" name="avatar">
5296+ <input id="chat_import_file_type" name="file_type" class="text_pole" value="" autocomplete="off" style="display: none;">
5297+ <input id="chat_import_avatar_url" name="avatar_url" class="text_pole" value="" autocomplete="off" style="display: none;">
5298+ <input id="chat_import_character_name" name="character_name" class="text_pole" value="" autocomplete="off" style="display: none;">
5299+ </form>
51755300 </div>
51765301 <div classid="flex-containerselectChatPopupHeaderText" whitespacenowrapclass="TxtLrgBoldCenter">
5177- <div class="flex-container flexFlowColumn">
5302+ <span id="ChatHistoryCharName"></span><span data-i18n="Chat History">Chat History</span>
5178- <select>
5303+ <a href="https://docs.sillytavern.app/usage/core-concepts/chatfilemanagement/#chat-import" class="notes-link" target="_blank"><span class="fa-solid fa-circle-question note-link-span"></span></a>
5179- <option>{{user}}</option>
5180- <option>{{char}}</option>
5181- <option>Custom</option>
5182- </select>
5183- <textarea rows="1" placeholder="Custom Entity"></textarea>
5184- </div>
5185- <textarea class="flexShrink flexGrow wideMinContent" placeholder="Content of the example chat."></textarea>
51865304 </div>
51875305 <div id="newChatFromManageScreenButton" class="flex-containermenu_button whitespacenowrapmenu_button_icon">
51885306 <divi class="flexfa-containersolid flexFlowColumnfa-plus"></i>
5189- <select>
5307+ <span data-i18n="New Chat">New Chat</span>
5190- <option>{{user}}</option>
5191- <option>{{char}}</option>
5192- <option>Custom</option>
5193- </select>
5194- <textarea rows="1" placeholder="Custom Entity"></textarea>
5195- </div>
5196- <textarea class="flexShrink flexGrow wideMinContent" placeholder="Content of the example chat."></textarea>
51975308 </div>
5309+ <div id="chat_import_button" class="menu_button menu_button_icon">
5310+ <i class="fa-solid fa-file-import"></i>
5311+ <span data-i18n="Import Chat">Import Chat</span>
5312+ </div>
5313+ <input type="text" id="select_chat_search" class="text_pole flex1" data-i18n="[placeholder]Search..." placeholder="Search..." autocomplete="off">
5314+ <div id="select_chat_cross" class="opacity50p hoverglow fa-solid fa-circle-xmark fontsize120p" alt="Close Past Chat Popup"></div>
51985315 </div>
5199- -->
5316+ <div id="select_chat_div"></div>
5200- </div>
5317+ <div id="load_select_chat_div">
52015318 <div id="character_popup_ok" class="menu_button"fa-solid datafa-i18n="Savehourglass fa-spin">Save</div>
5202- </div>
5203- <div id="shadow_select_chat_popup">
5204- <div id="select_chat_popup">
5205- <div name="selectChatPopupHeader" class="flex-container alignitemscenter justifySpaceBetween flexGap10">
5206- <div id="select_chat_import"> <!-- import chat popup header -->
5207- <form id="form_import_chat" action="javascript:void(null);" method="post" enctype="multipart/form-data" style="display: none;">
5208- <input type="file" id="chat_import_file" accept=".json, .jsonl" name="avatar">
5209- <input id="chat_import_file_type" name="file_type" class="text_pole" maxlength="999" size="2" value="" autocomplete="off" style="display: none;">
5210- <input id="chat_import_avatar_url" name="avatar_url" class="text_pole" maxlength="999" size="2" value="" autocomplete="off" style="display: none;">
5211- <input id="chat_import_character_name" name="character_name" class="text_pole" maxlength="999" size="2" value="" autocomplete="off" style="display: none;">
5212- </form>
5213- </div>
5214- <div id="selectChatPopupHeaderText" class="TxtLrgBoldCenter">
5215- <span id="ChatHistoryCharName"></span><span data-i18n="Chat History">Chat History</span>
5216- <a href="https://docs.sillytavern.app/usage/core-concepts/chatfilemanagement/#chat-import" class="notes-link" target="_blank"><span class="fa-solid fa-circle-question note-link-span"></span></a>
5217- </div>
5218- <div id="newChatFromManageScreenButton" class="menu_button menu_button_icon">
5219- <i class="fa-solid fa-plus"></i>
5220- <span data-i18n="New Chat">New Chat</span>
5221- </div>
5222- <div id="chat_import_button" class="menu_button menu_button_icon">
5223- <i class="fa-solid fa-file-import"></i>
5224- <span data-i18n="Import Chat">Import Chat</span>
52255319 </div>
5226- <input type="text" id="select_chat_search" class="text_pole flex1" data-i18n="[placeholder]Search..." placeholder="Search..." autocomplete="off">
5227- <div id="select_chat_cross" class="opacity50p hoverglow fa-solid fa-circle-xmark fontsize120p" alt="Close Past Chat Popup"></div>
5228- </div>
5229- <div id="select_chat_div"></div>
5230- <div id="load_select_chat_div">
5231- <div class="fa-solid fa-hourglass fa-spin"></div>
52325320 </div>
52335321 </div>
5234- </div>
5322+ <div id="background_template" class="template_element">
52355323 <div idclass="background_templatebg_example flex-container" bgfile="" class="template_elementbg_example_img" title="">
5236- <div class="bg_example flex-container" bgfile="" class="bg_example_img" title="">
5324+ <div title="Copy to system backgrounds" data-i18n="[title]Copy to system backgrounds" class="bg_button bg_example_copy fa-solid fa-file-arrow-up"></div>
52375325 <div title="Copy to systemRename backgroundsbackground" data-i18n="[title]Copy to systemRename backgroundsbackground" class="bg_button bg_example_copybg_example_edit fa-solid fa-file-arrow-uppencil"></div>
52385326 <div title="Rename backgroundLock" data-i18n="[title]Rename backgroundLock" class="bg_button bg_example_editbg_example_lock fa-solid fa-pencillock"></div>
52395327 <div title="LockUnlock" data-i18n="[title]LockUnlock" class="bg_button bg_example_lockbg_example_unlock fa-solid fa-lock-open"></div>
52405328 <div title="UnlockDelete background" data-i18n="[title]UnlockDelete background" class="bg_button bg_example_unlockbg_example_cross fa-solid fa-lockcircle-openxmark"></div>
5241- <div title="Delete background" data-i18n="[title]Delete background" class="bg_button bg_example_cross fa-solid fa-circle-xmark"></div>
5329+ <div class="BGSampleTitle">
5242- <div class="BGSampleTitle">
5330+ </div>
52435331 </div>
52445332 </div>
5245- </div>
5333+ <!-- templates for JS to reuse when needed -->
5246- <!-- templates for JS to reuse when needed -->
5334+ <div id="chat_world_template" class="template_element">
5247- <div id="chat_world_template" class="template_element">
5335+ <div class="chat_world range-block flexFlowColumn flex-container">
52485336 <div class="chat_world range-block flexFlowColumn flex-containertitle">
5249- <div class="range-block-title">
5337+ <h4 data-i18n="Chat Lorebook"><!-- This data-i18n attribute is kept for backward compatibility, use the ones below when translating -->
5250- <h4 data-i18n="Chat Lorebook"><!-- This data-i18n attribute is kept for backward compatibility, use the ones below when translating -->
5338+ <span data-i18n="Chat Lorebook for">Chat Lorebook for</span> <span class="chat_name"></span>
5251- <span data-i18n="Chat Lorebook for">Chat Lorebook for</span> <span class="chat_name"></span>
5339+ </h4>
52525340 </h4div>
5253- </div>
5341+ <div class="range-block-counter justifyLeft flex-container flexFlowColumn margin-bot-10px">
5254- <div class="range-block-counter justifyLeft flex-container flexFlowColumn margin-bot-10px">
5342+ <span data-i18n="chat_world_template_txt">
5255- <span data-i18n="chat_world_template_txt">
5343+ A selected World Info will be bound to this chat. When generating an AI reply,
5256- A selected World Info will be bound to this chat. When generating an AI reply,
5344+ it will be combined with the entries from global and character lorebooks.
5257- it will be combined with the entries from global and character lorebooks.
5345+ </span>
52585346 </spandiv>
5259- </div>
5347+ <div class="range-block-range wide100p">
52605348 <divselect class="range-block-rangechat_world_info_selector wide100p">
5261- <select class="chat_world_info_selector wide100p">
5349+ <option value="">--- None ---</option>
5262- <option value="">--- None ---</option>
5350+ </select>
52635351 </selectdiv>
52645352 </div>
52655353 </div>
5266- </div>
5354+ <div id="character_world_template" class="template_element">
5267- <div id="character_world_template" class="template_element">
5355+ <div class="character_world range-block flexFlowColumn flex-container">
52685356 <div class="character_world range-block flexFlowColumn flex-containertitle">
5269- <div class="range-block-title">
5357+ <h3>
5270- <h3>
5358+ <span data-i18n="Select a World Info file for"> Select a World Info file for <span class="character_name"></span></span>:
5271- <span data-i18n="Select a World Info file for"> Select a World Info file for <span class="character_name"></span></span>:
5359+ </h3>
52725360 </h3div>
5273- </div>
5361+ <h4 data-i18n="Primary Lorebook">Primary Lorebook</h4>
5274- <h4 data-i18n="Primary Lorebook">Primary Lorebook</h4>
5362+ <div class="range-block-counter justifyLeft flex-container flexFlowColumn margin-bot-10px">
5275- <div class="range-block-counter justifyLeft flex-container flexFlowColumn margin-bot-10px">
5363+ <span data-i18n="A selected World Info will be bound to this character as its own Lorebook.">A selected World Info will be bound to this character as its own Lorebook.</span>
52765364 <span data-i18n="AWhen selectedgenerating Worldan InfoAI reply, it will be boundcombined towith thisthe characterentries asfrom itsa ownglobal LorebookWorld Info selector.">AWhen selectedgenerating Worldan InfoAI reply, it will be boundcombined towith thisthe characterentries asfrom itsa ownglobal LorebookWorld Info selector.</span>
52775365 <span data-i18n="When generating an AI reply,Exporting ita willcharacter bewould combinedalso withexport the entriesselected fromLorebook afile globalembedded Worldin Infothe selectorJSON data.">When generating an AI reply,Exporting ita willcharacter bewould combinedalso withexport the entriesselected fromLorebook afile globalembedded Worldin Infothe selectorJSON data.</span>
5278- <span data-i18n="Exporting a character would also export the selected Lorebook file embedded in the JSON data.">Exporting a character would also export the selected Lorebook file embedded in the JSON data.</span>
5366+ </div>
5279- </div>
5367+ <div class="range-block-range wide100p">
52805368 <divselect class="range-block-rangecharacter_world_info_selector wide100p">
5281- <select class="character_world_info_selector wide100p">
5369+ <option value="">--- None ---</option>
5282- <option value="">--- None ---</option>
5370+ </select>
52835371 </selectdiv>
5284- </div>
5372+ <div class="range-block-title">
5285- <div class="range-block-title">
5373+ <h4>
5286- <h4>
5374+ <span data-i18n="Additional Lorebooks">Additional Lorebooks</span>
5287- <span data-i18n="Additional Lorebooks">Additional Lorebooks</span>
5375+ </h4>
52885376 </h4div>
5289- </div>
5377+ <div class="range-block-counter justifyLeft flex-container flexFlowColumn margin-bot-10px">
5290- <div class="range-block-counter justifyLeft flex-container flexFlowColumn margin-bot-10px">
5378+ <span data-i18n="Associate one or more auxillary Lorebooks with this character.">Associate one or more auxillary Lorebooks with this character.</span><br>
52915379 <span data-i18n="AssociateNOTE: oneThese orchoices moreare auxillaryoptional Lorebooksand withwon't thisbe preserved on character. export!">AssociateNOTE: oneThese orchoices moreare auxillaryoptional Lorebooksand withwon't thisbe preserved on character. export!</span><br>
5292- <span data-i18n="NOTE: These choices are optional and won't be preserved on character export!">NOTE: These choices are optional and won't be preserved on character export!</span>
5380+ </div>
5293- </div>
5381+ <div class="range-block-range wide100p">
52945382 <divselect class="range-block-rangecharacter_extra_world_info_selector wide100p" multiple>
5295- <select class="character_extra_world_info_selector wide100p" multiple>
5383+ <option value="" data-i18n="-- World Info not found --">-- World Info not found --</option>
5296- <option value="" data-i18n="-- World Info not found --">-- World Info not found --</option>
5384+ </select>
52975385 </selectdiv>
52985386 </div>
52995387 </div>
5300- </div>
5388+ <div id="past_chat_template" class="template_element">
53015389 <div id="past_chat_template" class="template_elementselect_chat_block_wrapper flex-container">
53025390 <div class="select_chat_block_wrapperselect_chat_block wide100p flex-container" file_name="">
53035391 <div classid="select_chat_block wide100pselect_chat_name_wrapper" class="flex-container" file_name="alignitemscenter justifySpaceBetween wide100p">
5304- <div id="select_chat_name_wrapper" class="flex-container alignitemscenter justifySpaceBetween wide100p">
5392+ <div>
5305- <div>
5393+ <small class="select_chat_block_filename select_chat_block_filename_item"></small>
5306- <small class="select_chat_block_filename select_chat_block_filename_item"></small>
5394+ <div title="Rename chat file" class="renameChatButton hoverglow opacity50p fa-solid fa-pencil" data-i18n="[title]Rename chat file"></div>
5307- <div title="Rename chat file" class="renameChatButton hoverglow opacity50p fa-solid fa-pencil" data-i18n="[title]Rename chat file"></div>
5308- </div>
5309- <div class="flex-container gap10px">
5310- <div class="select_chat_info flex-container">
5311- <small class="chat_messages_date select_chat_block_filename_item"></small>
5312- <small class="chat_file_size select_chat_block_filename_item"></small>
5313- <small class="chat_messages_num select_chat_block_filename_item"></small>
53145395 </div>
53155396 <div class="flex-container gap10px">
5316- <div title="Export JSONL chat file" data-format="jsonl" class="exportRawChatButton opacity50p hoverglow fa-solid fa-file-export" data-i18n="[title]Export JSONL chat file"></div>
5397+ <div class="select_chat_info flex-container">
5317- <div title="Download chat as plain text document" data-format="txt" class="exportChatButton opacity50p hoverglow fa-solid fa-file-lines" data-i18n="[title]Download chat as plain text document"></div>
5398+ <small class="chat_messages_date select_chat_block_filename_item"></small>
5318- <div title="Delete chat file" file_name="" class="PastChat_cross opacity50p hoverglow fa-solid fa-skull" data-i18n="[title]Delete chat file"></div>
5399+ <small class="chat_file_size select_chat_block_filename_item"></small>
5400+ <small class="chat_messages_num select_chat_block_filename_item"></small>
5401+ </div>
5402+ <div class="flex-container gap10px">
5403+ <div title="Export JSONL chat file" data-format="jsonl" class="exportRawChatButton opacity50p hoverglow fa-solid fa-file-export" data-i18n="[title]Export JSONL chat file"></div>
5404+ <div title="Download chat as plain text document" data-format="txt" class="exportChatButton opacity50p hoverglow fa-solid fa-file-lines" data-i18n="[title]Download chat as plain text document"></div>
5405+ <div title="Delete chat file" file_name="" class="PastChat_cross opacity50p hoverglow fa-solid fa-skull" data-i18n="[title]Delete chat file"></div>
5406+ </div>
53195407 </div>
53205408 </div>
5409+ <div class="select_chat_block_mes"></div>
53215410 </div>
5322- <div class="select_chat_block_mes"></div>
53235411 </div>
53245412 </div>
5325- </div>
5413+ <div id="tag_view_template" class="template_element">
53265414 <div id="tag_view_template" class="template_elementtag_view_item">
5327- <div class="tag_view_item">
5415+ <div class="drag-handle" data-i18n="[title]Drag to reorder tag">☰</div>
53285416 <div title="Tag as folder" class="dragtag_as_folder fa-handlesolid fa-folder-open right_menu_button" data-i18n="[title]DragUse totag reorderas tagfolder">☰</div>
5329- <div title="Tag as folder" class="tag_as_folder fa-solid fa-folder-open right_menu_button" data-i18n="[title]Use tag as folder">
5417+ <span class="tag_folder_indicator"></span>
5330- <span class="tag_folder_indicator"></span>
5418+ </div>
5419+ <div class="tag_view_color_picker" data-value="color"></div>
5420+ <div class="tag_view_color_picker" data-value="color2"></div>
5421+ <div class="tag_view_name" contenteditable="true"></div>
5422+ <div class="tag_view_counter"><span class="tag_view_counter_value"></span>&nbsp;entries</div>
5423+ <div title="Delete tag" class="tag_delete fa-solid fa-trash-can right_menu_button" data-i18n="[title]Delete tag"></div>
53315424 </div>
5332- <div class="tag_view_color_picker" data-value="color"></div>
5333- <div class="tag_view_color_picker" data-value="color2"></div>
5334- <div class="tag_view_name" contenteditable="true"></div>
5335- <div class="tag_view_counter"><span class="tag_view_counter_value"></span>&nbsp;entries</div>
5336- <div title="Delete tag" class="tag_delete fa-solid fa-trash-can right_menu_button" data-i18n="[title]Delete tag"></div>
53375425 </div>
5338- </div>
5426+ <div id="entry_edit_template" class="template_element">
53395427 <div id="entry_edit_template" class="template_elementworld_entry">
53405428 <divform class="world_entryworld_entry_form wi-card-entry">
53415429 <formdiv class="world_entry_form wi-cardinline-entrydrawer wide100p">
53425430 <div class="inline-drawer-header wide100pgap5px padding0">
5343- <div class="inline-drawer-header gap5px padding0">
5431+ <span class="drag-handle">&#9776;</span>
5344- <span class="drag-handle">&#9776;</span>
5432+ <div class="gap5px world_entry_thin_controls wide100p alignitemscenter">
5345- <div class="gap5px world_entry_thin_controls wide100p alignitemscenter">
5433+ <div class="inline-drawer-toggle fa-fw fa-solid fa-circle-chevron-down inline-drawer-icon down"></div>
5346- <div class="inline-drawer-toggle fa-fw fa-solid fa-circle-chevron-down inline-drawer-icon down"></div>
5434+ <div class="fa-solid fa-toggle-on killSwitch" name="entryKillSwitch" title="Toggle entry's active state."></div>
5347- <div class="fa-solid fa-toggle-on killSwitch" name="entryKillSwitch" title="Toggle entry's active state."></div>
5435+ <div class="flex-container alignitemscenter wide100p">
53485436 <div class="WIEntryTitleAndStatus flex-container alignitemscenterflex1 wide100palignitemscenter">
5349-
5437+ <div class="flex-container flex1">
5350- <div class="WIEntryTitleAndStatus flex-container flex1 alignitemscenter">
5438+ <textarea class="text_pole" rows="1" name="comment" data-i18n="[placeholder]Entry Title/Memo" placeholder="Entry Title/Memo"></textarea>
5351-
5439+ </div>
5352- <div class="flex-container flex1">
5440+ <!-- <span class="world_entry_form_position_value"></span> -->
5353- <textarea class="text_pole" rows="1" name="comment" maxlength="5000" data-i18n="[placeholder]Entry Title/Memo" placeholder="Entry Title/Memo"></textarea>
5441+ <select data-i18n="[title]WI Entry Status:🔵 Constant🟢 Normal🔗 Vectorized❌ Disabled" title="WI Entry Status:&#13;🔵 Constant&#13;🟢 Normal&#13;🔗 Vectorized&#13;❌ Disabled" name="entryStateSelector" class="text_pole widthNatural margin0">
5354- </div>
5442+ <option value="constant" title="Constant" data-i18n="[title]WI_Entry_Status_Constant">🔵</option>
5355- <select data-i18n="[title]WI Entry Status:🔵 Constant🟢 Normal🔗 Vectorized❌ Disabled" title="WI Entry Status:&#13;🔵 Constant&#13;🟢 Normal&#13;🔗 Vectorized&#13;❌ Disabled" name="entryStateSelector" class="text_pole widthNatural margin0">
5443+ <option value="normal" title="Normal" data-i18n="[title]WI_Entry_Status_Normal">🟢</option>
53565444 <option value="constantvectorized" title="ConstantVectorized" data-i18n="[title]WI_Entry_Status_ConstantWI_Entry_Status_Vectorized">🔵🔗</option>
5357- <option value="normal" title="Normal" data-i18n="[title]WI_Entry_Status_Normal">🟢</option>
5358- <option value="vectorized" title="Vectorized" data-i18n="[title]WI_Entry_Status_Vectorized">🔗</option>
5359- </select>
5360- </div>
5361- <div class="WIEnteryHeaderControls flex-container">
5362- <div name="PositionBlock" class="world_entry_form_control world_entry_form_radios wi-enter-footer-text">
5363- <label for="position" class="WIEntryHeaderTitleMobile" data-i18n="Position:">Position:</label>
5364- <select name="position" class="text_pole widthNatural margin0" data-i18n="[title]T_Position" title="↑Char: Before Character Definitions&#13;↓Char: After Character Definitions&#13;↑EM: Before Example Messages&#13;↓EM: After Example Messages&#13;↑AN: Before Author's Note&#13;↓AN: After Author's Note&#13;@D ⚙️: at Depth (System)&#13;@D 👤: at Depth (User)&#13;@D 🤖: at Depth (Assistant)">
5365- <option value="0" data-role="" data-i18n="Before Char Defs">
5366- ↑Char
5367- </option>
5368- <option value="1" data-role="" data-i18n="After Char Defs">
5369- ↓Char
5370- </option>
5371- <option value="5" data-role="" data-i18n="Before EM">
5372- ↑EM
5373- </option>
5374- <option value="6" data-role="" data-i18n="After EM">
5375- ↓EM
5376- </option>
5377- <option value="2" data-role="" data-i18n="Before AN">
5378- ↑AN
5379- </option>
5380- <option value="3" data-role="" data-i18n="After AN">
5381- ↓AN
5382- </option>
5383- <option value="4" data-role="0" data-i18n="at Depth System">
5384- @D ⚙️
5385- </option>
5386- <option value="4" data-role="1" data-i18n="at Depth User">
5387- @D 👤
5388- </option>
5389- <option value="4" data-role="2" data-i18n="at Depth AI">
5390- @D 🤖
5391- </option>
53925445 </select>
53935446 </div>
53945447 <div class="world_entry_form_control wi-enter-footer-textWIEnteryHeaderControls flex-container flexNoGap">
5395- <label for="depth" class="WIEntryHeaderTitleMobile" data-i18n="Depth:">Depth:</label>
5448+ <div name="PositionBlock" class="world_entry_form_control world_entry_form_radios wi-enter-footer-text">
5396- <input title="Depth" class="text_pole wideMax100px margin0" type="number" name="depth" data-i18n="[title]Depth" placeholder="" min="0" max="999" />
5449+ <label for="position" class="WIEntryHeaderTitleMobile" data-i18n="Position:">Position:</label>
5397- </div>
5450+ <select name="position" class="text_pole widthNatural margin0" data-i18n="[title]T_Position" title="↑Char: Before Character Definitions&#13;↓Char: After Character Definitions&#13;↑EM: Before Example Messages&#13;↓EM: After Example Messages&#13;↑AN: Before Author's Note&#13;↓AN: After Author's Note&#13;@D ⚙️: at Depth (System)&#13;@D 👤: at Depth (User)&#13;@D 🤖: at Depth (Assistant)">
5398- <div class="world_entry_form_control wi-enter-footer-text flex-container flexNoGap">
5451+ <option value="0" data-role="" data-i18n="Before Char Defs">
5399- <label for="order" class="WIEntryHeaderTitleMobile" data-i18n="Order:">Order:</label>
5452+ ↑Char
5400- <input title="Order" data-i18n="[title]Order" class="text_pole wideMax100px margin0" type="number" name="order" placeholder="" min="0" max="999" />
5453+ </option>
5401- </div>
5454+ <option value="1" data-role="" data-i18n="After Char Defs">
5402- <div class="world_entry_form_control wi-enter-footer-text flex-container flexNoGap probabilityContainer">
5455+ ↓Char
5403- <label for="order" class="WIEntryHeaderTitleMobile" data-i18n="Trigger %:">Trigger %:</label>
5456+ </option>
5404- <input title="Probability" data-i18n="[title]Probability" class="text_pole wideMax100px margin0" type="number" name="probability" placeholder="" min="0" max="100" />
5457+ <option value="5" data-role="" data-i18n="Before EM">
5458+ ↑EM
5459+ </option>
5460+ <option value="6" data-role="" data-i18n="After EM">
5461+ ↓EM
5462+ </option>
5463+ <option value="2" data-role="" data-i18n="Before AN">
5464+ ↑AN
5465+ </option>
5466+ <option value="3" data-role="" data-i18n="After AN">
5467+ ↓AN
5468+ </option>
5469+ <option value="4" data-role="0" data-i18n="at Depth System">
5470+ @D ⚙️
5471+ </option>
5472+ <option value="4" data-role="1" data-i18n="at Depth User">
5473+ @D 👤
5474+ </option>
5475+ <option value="4" data-role="2" data-i18n="at Depth AI">
5476+ @D 🤖
5477+ </option>
5478+ </select>
5479+ </div>
5480+ <div class="world_entry_form_control wi-enter-footer-text flex-container flexNoGap">
5481+ <label for="depth" class="WIEntryHeaderTitleMobile" data-i18n="Depth:">Depth:</label>
5482+ <input title="Depth" class="text_pole wideMax100px margin0" type="number" name="depth" data-i18n="[title]Depth" placeholder="" min="0" max="999" />
5483+ </div>
5484+ <div class="world_entry_form_control wi-enter-footer-text flex-container flexNoGap">
5485+ <label for="order" class="WIEntryHeaderTitleMobile" data-i18n="Order:">Order:</label>
5486+ <input title="Order" data-i18n="[title]Order" class="text_pole wideMax100px margin0" type="number" name="order" placeholder="" min="0" max="999" />
5487+ </div>
5488+ <div class="world_entry_form_control wi-enter-footer-text flex-container flexNoGap probabilityContainer">
5489+ <label for="order" class="WIEntryHeaderTitleMobile" data-i18n="Trigger %:">Trigger %:</label>
5490+ <input title="Probability" data-i18n="[title]Probability" class="text_pole wideMax100px margin0" type="number" name="probability" placeholder="" min="0" max="100" />
5491+ </div>
54055492 </div>
54065493 </div>
54075494 </div>
5495+ <i class="menu_button duplicate_entry_button fa-solid fa-paste" title="Duplicate world info entry" data-i18n="[title]Duplicate world info entry" type="submit" value=""></i>
5496+ <i class="menu_button delete_entry_button fa-solid fa-trash-can" title="Delete world info entry" data-i18n="[title]Delete world info entry" type="submit" value=""></i>
54085497 </div>
5409- <i class="menu_button duplicate_entry_button fa-solid fa-paste" title="Duplicate world info entry" data-i18n="[title]Duplicate world info entry" type="submit" value=""></i>
5498+ <div class="inline-drawer-content flex-container paddingBottom5px wide100p">
5410- <i class="menu_button delete_entry_button fa-solid fa-trash-can" title="Delete world info entry" data-i18n="[title]Delete world info entry" type="submit" value=""></i>
5499+ <div class="flex-container wide100p alignitemscenter">
5411- </div>
5500+ <div name="keywordsAndLogicBlock" class="flex-container wide100p alignitemscenter">
54125501 <div class="inline-drawer-content flex-container paddingBottom5pxworld_entry_form_control wide100pflex1">
54135502 <divsmall class="flex-container wide100p alignitemscenterdisplayNone">
5414- <div name="keywordsAndLogicBlock" class="flex-container wide100p alignitemscenter">
5503+ <span data-i18n="Comma separated (required)">
5415- <div class="world_entry_form_control flex1">
5504+ Comma separated (required)
5416- <small class="displayNone">
5417- <span data-i18n="Comma separated (required)">
5418- Comma separated (required)
5419- </span>
5420- </small>
5421- <small class="textAlignCenter" data-i18n="Primary Keywords">Primary Keywords</small>
5422- <select class="keyprimaryselect keyselect select2_multi_sameline" name="key" data-i18n="[placeholder]Keywords or Regexes" placeholder="Keywords or Regexes" multiple="multiple"></select>
5423- <textarea class="text_pole keyprimarytextpole mobile" name="key" rows="1" data-i18n="[placeholder]Comma separated list" placeholder="Comma separated list" maxlength="2000" style="display: none;"></textarea>
5424- <button type="button" class="switch_input_type_icon" tabindex="-1" title="Switch to plaintext mode" data-i18n="[title]Switch to plaintext mode" data-icon-on="✨" data-icon-off="⌨️" data-tooltip-on="Switch to fancy mode" data-tooltip-off="Switch to plaintext mode">
5425- ⌨️
5426- </button>
5427- </div>
5428- <div class="world_entry_form_control">
5429- <small class="textAlignCenter" data-i18n="Logic">Logic</small>
5430- <select name="entryLogicType" class="text_pole widthFitContent margin0">
5431- <option value="0" data-i18n="AND ANY">AND ANY</option>
5432- <option value="3" data-i18n="AND ALL">AND ALL</option>
5433- <option value="1" data-i18n="NOT ALL">NOT ALL</option>
5434- <option value="2" data-i18n="NOT ANY">NOT ANY</option>
5435- </select>
5436- </div>
5437- <div class="world_entry_form_control keysecondary flex1">
5438- <small class="displayNone">
5439- <span data-i18n="(ignored if empty)">
5440- (ignored if empty)
5441- </span>
5442- </small>
5443- <small class="textAlignCenter" data-i18n="Optional Filter">Optional Filter</small>
5444- <select class="keysecondaryselect keyselect select2_multi_sameline" name="keysecondary" data-i18n="[placeholder]Keywords or Regexes (ignored if empty)" placeholder="Keywords or Regexes (ignored if empty)" multiple="multiple"></select>
5445- <textarea class="text_pole keysecondarytextpole mobile" name="keysecondary" rows="1" data-i18n="[placeholder]Comma separated list (ignored if empty)" placeholder="Comma separated list (ignored if empty)" maxlength="2000" style="display: none;"></textarea>
5446- <button type="button" class="switch_input_type_icon" tabindex="-1" title="Switch to plaintext mode" data-i18n="[title]Switch to plaintext mode" data-icon-on="✨" data-icon-off="⌨️" data-tooltip-on="Switch to fancy mode" data-tooltip-off="Switch to plaintext mode">
5447- ⌨️
5448- </button>
5449- </div>
5450- </div>
5451- <div name="perEntryOverridesBlock" class="flex-container wide100p alignitemscenter">
5452- <div class="world_entry_form_control flex1">
5453- <small class="textAlignCenter" data-i18n="Scan Depth">Scan Depth</small>
5454- <input class="text_pole margin0" name="scanDepth" type="number" placeholder="Use global setting" data-i18n="[placeholder]Use global setting" max="1000">
5455- </div>
5456- <div class="world_entry_form_control flex1">
5457- <small class="textAlignCenter" data-i18n="Case-Sensitive">Case-Sensitive</small>
5458- <select name="caseSensitive" class="text_pole widthNatural margin0">
5459- <option value="null" data-i18n="Use global setting">Use global setting</option>
5460- <option value="true" data-i18n="Yes">Yes</option>
5461- <option value="false" data-i18n="No">No</option>
5462- </select>
5463- </div>
5464- <div class="world_entry_form_control flex1">
5465- <small class="textAlignCenter" data-i18n="Match Whole Words">Match Whole Words</small>
5466- <select name="matchWholeWords" class="text_pole widthNatural margin0">
5467- <option value="null" data-i18n="Use global setting">Use global setting</option>
5468- <option value="true" data-i18n="Yes">Yes</option>
5469- <option value="false" data-i18n="No">No</option>
5470- </select>
5471- </div>
5472- <div class="world_entry_form_control flex1">
5473- <small class="textAlignCenter" data-i18n="Use Group Scoring">Use Group Scoring</small>
5474- <select name="useGroupScoring" class="text_pole widthNatural margin0">
5475- <option value="null" data-i18n="Use global setting">Use global setting</option>
5476- <option value="true" data-i18n="Yes">Yes</option>
5477- <option value="false" data-i18n="No">No</option>
5478- </select>
5479- </div>
5480- <div class="world_entry_form_control flex1" title="Can be used to automatically activate Quick Replies" data-i18n="[title]Can be used to automatically activate Quick Replies">
5481- <small class="textAlignCenter" data-i18n="Automation ID">Automation ID</small>
5482- <input class="text_pole margin0" name="automationId" type="text" placeholder="( None )" data-i18n="[placeholder]( None )">
5483- </div>
5484- </div>
5485- <div name="contentAndCharFilterBlock" class="world_entry_thin_controls flex2">
5486- <div class="world_entry_form_control flex1">
5487- <label for="content ">
5488- <small>
5489- <span class="alignitemscenter flex-container flexnowrap wide100p justifySpaceBetween">
5490- <span data-i18n="Content" class="alignitemscenter flex-container flexNoGap">
5491- Content
5492- </span>
5493- <span>
5494- (<span data-i18n="extension_token_counter">Tokens:</span>&nbsp; <span class="world_entry_form_token_counter" data-first-run="true">counting...</span>)&nbsp;
5495- <span class="world_entry_form_uid_value" data-first-run="true"></span>
5496- </span>
5497- <div>
5498- <label class="checkbox flex-container alignitemscenter flexNoGap">
5499- <input type="checkbox" name="exclude_recursion" />
5500- <span data-i18n="Exclude from recursion">
5501- Non-recursable (this entry will not be activated by another)
5502- </span>
5503- </label>
5504- <label class="checkbox flex-container alignitemscenter flexNoGap">
5505- <input type="checkbox" name="prevent_recursion" />
5506- <span data-i18n="Prevent further recursion (this entry will not activate others)">
5507- Prevent further recursion (this entry will not activate others)
5508- </span>
5509- </label>
5510- <label class="checkbox flex-container alignitemscenter flexNoGap">
5511- <input type="checkbox" name="delay_until_recursion" />
5512- <span data-i18n="Delay until recursion (this entry can only be activated on recursive checking)">
5513- Delay until recursion (this entry can only be activated on recursive checking)
5514- </span>
5515- </label>
5516- </div>
55175505 </span>
55185506 </small>
5507+ <small class="textAlignCenter" data-i18n="Primary Keywords">Primary Keywords</small>
5508+ <select class="keyprimaryselect keyselect select2_multi_sameline" name="key" data-i18n="[placeholder]Keywords or Regexes" placeholder="Keywords or Regexes" multiple="multiple"></select>
5509+ <textarea class="text_pole keyprimarytextpole mobile" name="key" rows="1" data-i18n="[placeholder]Comma separated list" placeholder="Comma separated list" style="display: none;"></textarea>
5510+ <button type="button" class="switch_input_type_icon" tabindex="-1" title="Switch to plaintext mode" data-i18n="[title]Switch to plaintext mode" data-icon-on="✨" data-icon-off="⌨️" data-tooltip-on="Switch to fancy mode" data-tooltip-off="Switch to plaintext mode">
5511+ ⌨️
5512+ </button>
5513+ </div>
5514+ <div class="world_entry_form_control">
5515+ <small class="textAlignCenter" data-i18n="Logic">Logic</small>
5516+ <select name="entryLogicType" class="text_pole widthFitContent margin0">
5517+ <option value="0" data-i18n="AND ANY">AND ANY</option>
5518+ <option value="3" data-i18n="AND ALL">AND ALL</option>
5519+ <option value="1" data-i18n="NOT ALL">NOT ALL</option>
5520+ <option value="2" data-i18n="NOT ANY">NOT ANY</option>
5521+ </select>
5522+ </div>
5523+ <div class="world_entry_form_control keysecondary flex1">
55195524 <small class="displayNone">
55205525 <span data-i18n="What this keyword should mean to the AI,(ignored sentif verbatimempty)">
5521- What this keyword should mean to the AI, sent verbatim
5526+ (ignored if empty)
55225527 </span>
55235528 </small>
5524- </label>
5529+ <small class="textAlignCenter" data-i18n="Optional Filter">Optional Filter</small>
55255530 <textareaselect class="text_pole"keysecondaryselect name="contentkeyselect select2_multi_sameline" rowsname="8keysecondary" data-i18n="[placeholder]What this keyword should meanKeywords toor theRegexes AI,(ignored sentif verbatimempty)" placeholder="What this keyword shouldKeywords meanor toRegexes the(ignored AI,if sentempty)" verbatimmultiple="multiple"></textareaselect>
5531+ <textarea class="text_pole keysecondarytextpole mobile" name="keysecondary" rows="1" data-i18n="[placeholder]Comma separated list (ignored if empty)" placeholder="Comma separated list (ignored if empty)" style="display: none;"></textarea>
5532+ <button type="button" class="switch_input_type_icon" tabindex="-1" title="Switch to plaintext mode" data-i18n="[title]Switch to plaintext mode" data-icon-on="✨" data-icon-off="⌨️" data-tooltip-on="Switch to fancy mode" data-tooltip-off="Switch to plaintext mode">
5533+ ⌨️
5534+ </button>
5535+ </div>
5536+ </div>
5537+ <div name="perEntryOverridesBlock" class="flex-container wide100p alignitemscenter">
5538+ <div class="world_entry_form_control flex1">
5539+ <small class="textAlignCenter" data-i18n="Scan Depth">Scan Depth</small>
5540+ <input class="text_pole margin0" name="scanDepth" type="number" placeholder="Use global setting" data-i18n="[placeholder]Use global setting" max="1000">
5541+ </div>
5542+ <div class="world_entry_form_control flex1">
5543+ <small class="textAlignCenter" data-i18n="Case-Sensitive">Case-Sensitive</small>
5544+ <select name="caseSensitive" class="text_pole widthNatural margin0">
5545+ <option value="null" data-i18n="Use global">Use global</option>
5546+ <option value="true" data-i18n="Yes">Yes</option>
5547+ <option value="false" data-i18n="No">No</option>
5548+ </select>
5549+ </div>
5550+ <div class="world_entry_form_control flex1">
5551+ <small class="textAlignCenter" data-i18n="Whole Words">Whole Words</small>
5552+ <select name="matchWholeWords" class="text_pole widthNatural margin0">
5553+ <option value="null" data-i18n="Use global">Use global</option>
5554+ <option value="true" data-i18n="Yes">Yes</option>
5555+ <option value="false" data-i18n="No">No</option>
5556+ </select>
5557+ </div>
5558+ <div class="world_entry_form_control flex1">
5559+ <small class="textAlignCenter" data-i18n="Group Scoring">Group Scoring</small>
5560+ <select name="useGroupScoring" class="text_pole widthNatural margin0">
5561+ <option value="null" data-i18n="Use global">Use global</option>
5562+ <option value="true" data-i18n="Yes">Yes</option>
5563+ <option value="false" data-i18n="No">No</option>
5564+ </select>
5565+ </div>
5566+ <div class="world_entry_form_control flex1" title="Can be used to automatically activate Quick Replies" data-i18n="[title]Can be used to automatically activate Quick Replies">
5567+ <small class="textAlignCenter" data-i18n="Automation ID">Automation ID</small>
5568+ <input class="text_pole margin0" name="automationId" type="text" placeholder="( None )" data-i18n="[placeholder]( None )">
5569+ </div>
5570+ <div class="world_entry_form_control flex1" title="Defines delay levels for recursive scans.&#13;&#13;Initially, only the first level (smallest number) will match.&#13;Once no matches are found, the next level becomes eligible for matching.&#13;This repeats until all levels are checked.&#13;&#13;Tied to the &quot;Delay until recursion&quot; setting." data-i18n="[title]delay_until_recursion_level">
5571+ <small class="textAlignCenter">
5572+ <span data-i18n="Recursion Level">Recursion Level</span>
5573+ <div class="fa-solid fa-circle-info opacity50p"></div>
5574+ </small>
5575+ <input class="text_pole margin0" name="delayUntilRecursionLevel" type="text" placeholder="1">
5576+ </div>
55265577 </div>
5527- </div>
5578+ <div name="contentAndCharFilterBlock" class="world_entry_thin_controls flex2">
55285579 <div class="world_entry_thin_controlsworld_entry_form_control commentContainerflex1">
5529- </div>
5580+ <label for="content ">
5530- </div>
5581+ <small>
55315582 <divspan class="alignitemscenter flex-container flexnowrap wide100p flexGap10justifySpaceBetween">
55325583 <divspan data-i18n="Content" class="flex4alignitemscenter flex-container flexFlowColumn flexNoGap mdhotkey_location">
5533- <div class="flex-container justifySpaceBetween">
5584+ Content
5534- <small for="group">
5585+ </span>
5535- <span data-i18n="Inclusion Group">Inclusion Group</span>
5586+ <span>
5536- <a href="https://docs.sillytavern.app/usage/core-concepts/worldinfo/#inclusion-group" class="notes-link" target="_blank" title="Inclusion Groups ensure only one entry from a group is activated at a time, if multiple are triggered.&#13;Supports multiple comma-separated groups.&#13;&#13;Documentation: World Info - Inclusion Group" data-i18n="[title]Inclusion Groups ensure only one entry from a group is activated at a time, if multiple are triggered.Documentation: World Info - Inclusion Group">
5587+ (<span data-i18n="extension_token_counter">Tokens:</span>&nbsp; <span class="world_entry_form_token_counter" data-first-run="true">counting...</span>)&nbsp;
55375588 <span class="fa-solid fa-circle-questionworld_entry_form_uid_value" notedata-linkfirst-spanrun="true"></span>
55385589 </aspan>
5539- </small>
5590+ <div>
55405591 <label class="checkbox_label flexNoGapcheckbox marginflex-r5"container for="groupOverridealignitemscenter flexNoGap">
55415592 <input type="checkbox" name="groupOverrideexclude_recursion" />
5542- <span>
5593+ <span data-i18n="Non-recursable (will not be activated by another)">
5543- <small title="Prioritize this entry: When checked, this entry is prioritized out of all selections.&#13;If multiple are prioritized, the one with the highest 'Order' is chosen.&#13;" data-i18n="[title]Prioritize this entry: When checked, this entry is prioritized out of all selections.If multiple are prioritized, the one with the highest 'Order' is chosen.">
5594+ Non-recursable (will not be activated by another)
5544- <span data-i18n="Prioritize">Prioritize</span>
5595+ </span>
5545- <div class="fa-solid fa-circle-info opacity50p"></div>
5596+ </label>
5597+ <label class="checkbox flex-container alignitemscenter flexNoGap">
5598+ <input type="checkbox" name="prevent_recursion" />
5599+ <span data-i18n="Prevent further recursion (this entry will not activate others)">
5600+ Prevent further recursion (will not activate others)
5601+ </span>
5602+ </label>
5603+ <label class="checkbox flex-container alignitemscenter flexNoGap">
5604+ <input type="checkbox" name="delay_until_recursion" />
5605+ <span data-i18n="Delay until recursion (can only be activated on recursive checking)">
5606+ Delay until recursion (can only be activated on recursive checking)
5607+ </span>
5608+ </label>
5609+ </div>
5610+ </span>
55465611 </small>
5547- </span>
5612+ <small class="displayNone">
5548- </label>
5613+ <span data-i18n="What this keyword should mean to the AI, sent verbatim">
5614+ What this keyword should mean to the AI, sent verbatim
5615+ </span>
5616+ </small>
5617+ </label>
5618+ <textarea class="text_pole mdHotkeys" name="content" rows="8" data-i18n="[placeholder]What this keyword should mean to the AI, sent verbatim" placeholder="What this keyword should mean to the AI, sent verbatim"></textarea>
5619+ </div>
55495620 </div>
55505621 <div class="range-block-rangeworld_entry_thin_controls commentContainer">
5551- <input type="text" class="text_pole margin0" name="group" rows="1" data-i18n="[placeholder]Only one entry with the same label will be activated" placeholder="Only one entry with the same label will be activated">
55525622 </div>
55535623 </div>
5554- <div class="flex2 flex-container flexFlowColumn flexNoGap" data-i18n="[title]A relative likelihood of entry activation within the group" title="A relative likelihood of entry activation within the group">
5624+ <div class="flex-container wide100p flexGap10">
55555625 <div class="flex4 flex-container justifySpaceBetweenflexFlowColumn marginBot5flexNoGap">
55565626 <smalldiv forclass="groupWeight" dataflex-i18n="Groupcontainer WeightjustifySpaceBetween">
5557- Group Weight
5627+ <small for="group">
5558- </small>
5628+ <span data-i18n="Inclusion Group">Inclusion Group</span>
5559- </div>
5629+ <a href="https://docs.sillytavern.app/usage/core-concepts/worldinfo/#inclusion-group" class="notes-link" target="_blank" title="Inclusion Groups ensure only one entry from a group is activated at a time, if multiple are triggered.&#13;Supports multiple comma-separated groups.&#13;&#13;Documentation: World Info - Inclusion Group" data-i18n="[title]Inclusion Groups ensure only one entry from a group is activated at a time, if multiple are triggered.Documentation: World Info - Inclusion Group">
5560- <div class="range-block-range">
5630+ <span class="fa-solid fa-circle-question note-link-span"></span>
5561- <input type="number" class="text_pole margin0" name="groupWeight" rows="1" placeholder="100" min="1" max="999999">
5631+ </a>
5632+ </small>
5633+ <label class="checkbox_label flexNoGap margin-r5" for="groupOverride">
5634+ <input type="checkbox" name="groupOverride" />
5635+ <span>
5636+ <small title="Prioritize this entry: When checked, this entry is prioritized out of all selections.&#13;If multiple are prioritized, the one with the highest 'Order' is chosen.&#13;" data-i18n="[title]Prioritize this entry: When checked, this entry is prioritized out of all selections.If multiple are prioritized, the one with the highest 'Order' is chosen.">
5637+ <span data-i18n="Prioritize">Prioritize</span>
5638+ <div class="fa-solid fa-circle-info opacity50p"></div>
5639+ </small>
5640+ </span>
5641+ </label>
5642+ </div>
5643+ <div class="range-block-range">
5644+ <input type="text" class="text_pole margin0" name="group" rows="1" data-i18n="[placeholder]Only one entry with the same label will be activated" placeholder="Only one entry with the same label will be activated">
5645+ </div>
55625646 </div>
5563- </div>
5647+ <div class="flex2 flex-container flexFlowColumn flexNoGap" data-i18n="[title]A relative likelihood of entry activation within the group" title="A relative likelihood of entry activation within the group">
5564- <div class="flex2 flex-container flexFlowColumn flexNoGap" data-i18n="[title]Sticky entries will stay active for N messages after being triggered." title="Sticky entries will stay active for N messages after being triggered.">
5648+ <div class="flex-container justifySpaceBetween marginBot5">
5565- <div class="flex-container justifySpaceBetween marginBot5">
5649+ <small for="groupWeight" data-i18n="Group Weight">
5566- <small class="flex-container alignItemsBaseline" for="sticky" data-i18n="Sticky">
5650+ Group Weight
5567- <span data-i18n="Sticky">
5651+ </small>
5568- Sticky
5652+ </div>
5569- </span>
5653+ <div class="range-block-range">
5570- <i class="fa-solid fa-comments fa-xs"></i>
5654+ <input type="number" class="text_pole margin0" name="groupWeight" rows="1" placeholder="100" min="1" max="999999">
55715655 </smalldiv>
55725656 </div>
5573- <div class="range-block-range">
5657+ <div class="flex2 flex-container flexFlowColumn flexNoGap" data-i18n="[title]Sticky entries will stay active for N messages after being triggered." title="Sticky entries will stay active for N messages after being triggered.">
5574- <input class="text_pole margin0" name="sticky" type="number" placeholder="Non-sticky" min="0" max="999999">
5658+ <div class="flex-container justifySpaceBetween marginBot5">
5659+ <small class="flex-container alignItemsBaseline" for="sticky" data-i18n="Sticky">
5660+ <span data-i18n="Sticky">
5661+ Sticky
5662+ </span>
5663+ <i class="fa-solid fa-comments fa-xs"></i>
5664+ </small>
5665+ </div>
5666+ <div class="range-block-range">
5667+ <input class="text_pole margin0" name="sticky" type="number" placeholder="Non-sticky" min="0" max="999999">
5668+ </div>
55755669 </div>
5576- </div>
5670+ <div class="flex2 flex-container flexFlowColumn flexNoGap" data-i18n="[title]Entries with a cooldown can't be activated N messages after being triggered." title="Entries with a cooldown can't be activated N messages after being triggered.">
5577- <div class="flex2 flex-container flexFlowColumn flexNoGap" data-i18n="[title]Entries with a cooldown can't be activated N messages after being triggered." title="Entries with a cooldown can't be activated N messages after being triggered.">
5671+ <div class="flex-container justifySpaceBetween marginBot5">
55785672 <divsmall class="flex-container justifySpaceBetweenalignItemsBaseline" marginBot5for="cooldown" data-i18n="Cooldown">
55795673 <small class="flex-container alignItemsBaseline" for="cooldown"span data-i18n="Cooldown">
5580- <span data-i18n="Cooldown">
5674+ Cooldown
5581- Cooldown
5675+ </span>
5582- </span>
5676+ <i class="fa-solid fa-comments fa-xs"></i>
5583- <i class="fa-solid fa-comments fa-xs"></i>
5677+ </small>
55845678 </smalldiv>
5679+ <div class="range-block-range">
5680+ <input class="text_pole margin0" name="cooldown" type="number" placeholder="No cooldown" min="0" max="999999">
5681+ </div>
55855682 </div>
5586- <div class="range-block-range">
5683+ <div class="flex2 flex-container flexFlowColumn flexNoGap" data-i18n="[title]Entries with a delay can't be activated until there are N messages present in the chat." title="Entries with a delay can't be activated until there are N messages present in the chat.">
5587- <input class="text_pole margin0" name="cooldown" type="number" placeholder="No cooldown" min="0" max="999999">
5684+ <div class="flex-container justifySpaceBetween marginBot5">
5685+ <small class="flex-container alignItemsBaseline" for="delay" data-i18n="Delay">
5686+ <span data-i18n="Delay">
5687+ Delay
5688+ </span>
5689+ <i class="fa-solid fa-comments fa-xs"></i>
5690+ </small>
5691+ </div>
5692+ <div class="range-block-range">
5693+ <input class="text_pole margin0" name="delay" type="number" placeholder="No delay" min="0" max="999999">
5694+ </div>
55885695 </div>
55895696 </div>
5590- <div class="flex2 flex-container flexFlowColumn flexNoGap" data-i18n="[title]Entries with a delay can't be activated until there are N messages present in the chat." title="Entries with a delay can't be activated until there are N messages present in the chat.">
5697+ <div class="flex-container wide100p flexGap10">
55915698 <div class="flex4 flex-container justifySpaceBetweenflexFlowColumn marginBot5flexNoGap">
55925699 <smalldiv class="flex-container alignItemsBaseline" for="delay" data-i18n="DelayjustifySpaceBetween">
55935700 <spansmall for="characterFilter" data-i18n="DelayFilter to Characters or Tags">
5594- Delay
5701+ Filter to Characters or Tags
55955702 </spansmall>
5596- <i class="fa-solid fa-comments fa-xs"></i>
5703+ <label class="checkbox_label flexNoGap margin-r5" for="character_exclusion">
5597- </small>
5704+ <input type="checkbox" name="character_exclusion" />
5598- </div>
5705+ <span>
5599- <div class="range-block-range">
5706+ <small title="Switch the Character/Tags filter around to exclude the listed characters and tags from matching for this entry" data-i18n="[title]Switch the Character/Tags filter around to exclude the listed characters and tags from matching for this entry">
5600- <input class="text_pole margin0" name="delay" type="number" placeholder="No delay" min="0" max="999999">
5707+ <span data-i18n="Exclude">Exclude</span>
5708+ <div class="fa-solid fa-circle-info opacity50p"></div>
5709+ </small>
5710+ </span>
5711+ </label>
5712+ </div>
5713+ <div class="range-block-range">
5714+ <select name="characterFilter" class="select2_multi_sameline" multiple>
5715+ <option value="" data-i18n="-- Characters not found --">
5716+ -- Characters not found --
5717+ </option>
5718+ </select>
5719+ </div>
56015720 </div>
56025721 </div>
5603- </div>
5722+ <div name="WIEntryBottomControls" class="flex-container flex1 justifySpaceBetween world_entry_form_horizontal">
56045723 <div class="flex-container wide100pflexFlowColumn flexGap10flexNoGap wi-enter-footer-text ">
56055724 <divlabel class="flex4checkbox flex-container flexFlowColumn flexNoGap">
5606- <div class="flex-container justifySpaceBetween">
5725+ <input type="checkbox" name="selective" />
5607- <small for="characterFilter" data-i18n="Filter to Characters or Tags">
5726+ <span data-i18n="Selective">Selective</span>
5608- Filter to Characters or Tags
5727+ </label>
5609- </small>
5728+ <label class="checkbox flex-container">
56105729 <labelinput classtype="checkbox_label flexNoGap margin-r5checkbox" forname="character_exclusionuseProbability" />
56115730 <inputspan typedata-i18n="checkbox"Use name="character_exclusionProbability">Use Probability</span>
5612- <span>
5731+ </label>
5613- <small title="Switch the Character/Tags filter around to exclude the listed characters and tags from matching for this entry" data-i18n="[title]Switch the Character/Tags filter around to exclude the listed characters and tags from matching for this entry">
5732+ <label class="checkbox flex-container">
5614- <span data-i18n="Exclude">Exclude</span>
5733+ <input type="checkbox" name="addMemo">
5615- <div class="fa-solid fa-circle-info opacity50p"></div>
5734+ <span data-i18n="Add Memo">Add Memo</span>
5616- </small>
5617- </span>
56185735 </label>
56195736 </div>
5620- <div class="range-block-range">
5621- <select name="characterFilter" class="select2_multi_sameline" multiple>
5622- <option value="">
5623- <span data-i18n="-- Characters not found --">-- Characters not found --</span>
5624- </option>
5625- </select>
5626- </div>
5627- </div>
5628- </div>
5629- <div name="WIEntryBottomControls" class="flex-container flex1 justifySpaceBetween world_entry_form_horizontal">
5630- <div class="flex-container flexFlowColumn flexNoGap wi-enter-footer-text ">
5631- <label class="checkbox flex-container">
5632- <input type="checkbox" name="selective" />
5633- <span data-i18n="Selective">Selective</span>
5634- </label>
5635- <label class="checkbox flex-container">
5636- <input type="checkbox" name="useProbability" />
5637- <span data-i18n="Use Probability">Use Probability</span>
5638- </label>
5639- <label class="checkbox flex-container">
5640- <input type="checkbox" name="addMemo">
5641- <span data-i18n="Add Memo">Add Memo</span>
5642- </label>
56435737 </div>
56445738 </div>
56455739 </div>
56465740 </divform>
5647- </form>
5648- </div>
5649- </div>
5650- <div id="character_template" class="template_element">
5651- <div class="character_select entity_block flex-container wide100p alignitemsflexstart" chid="" id="">
5652- <div class="avatar" title="">
5653- <img src="">
56545741 </div>
5655- <div class="flex-container wide100pLess70px character_select_container">
5742+ </div>
56565743 <div classid="wide100pcharacter_template" character_name_blockclass="template_element">
5657- <span class="ch_name"></span>
5744+ <div class="character_select entity_block flex-container wide100p alignitemsflexstart" chid="" id="">
5658- <small class="ch_additional_info ch_add_placeholder">+++</small>
5745+ <div class="avatar" title="">
56595746 <smallimg classsrc="ch_additional_info character_version"></small>
5660- <small class="ch_additional_info ch_avatar_url"></small>
5747+ </div>
5748+ <div class="flex-container wide100pLess70px character_select_container">
5749+ <div class="wide100p character_name_block">
5750+ <span class="ch_name"></span>
5751+ <small class="ch_additional_info ch_add_placeholder">+++</small>
5752+ <small class="ch_additional_info character_version"></small>
5753+ <small class="ch_additional_info ch_avatar_url"></small>
5754+ </div>
5755+ <i class="ch_fav_icon fa-solid fa-star"></i>
5756+ <input class="ch_fav" value="" hidden />
5757+ <div class="ch_description"></div>
5758+ <div class="tags tags_inline"></div>
56615759 </div>
5662- <i class="ch_fav_icon fa-solid fa-star"></i>
5663- <input class="ch_fav" value="" hidden />
5664- <div class="ch_description"></div>
5665- <div class="tags tags_inline"></div>
56665760 </div>
56675761 </div>
5668- </div>
5762+ <div id="tag_template" class="template_element">
56695763 <divspan id="tag_template" class="template_elementtag">
56705764 <span id="" class="tagtag_name"></span>
56715765 <spani class="tag_namefa-solid fa-circle-xmark tag_remove"></spani>
5672- <i class="fa-solid fa-circle-xmark tag_remove"></i>
5766+ </span>
5673- </span>
5674- </div>
5675- <div id="openai_logit_bias_template" class="template_element">
5676- <div class="openai_logit_bias_form">
5677- <input class="openai_logit_bias_text text_pole" data-i18n="[placeholder]Text or token ids" placeholder="Text or [token ids]" />
5678- <input class="openai_logit_bias_value text_pole" type="number" min="-100" value="0" max="100" />
5679- <i class="menu_button fa-solid fa-xmark openai_logit_bias_remove"></i>
5680- </form>
56815767 </div>
5682- </div>
5768+ <div id="openai_logit_bias_template" class="template_element">
56835769 <div id="logit_bias_template" class="template_elementopenai_logit_bias_form">
5684- <div class="logit_bias_form">
5770+ <input class="openai_logit_bias_text text_pole" data-i18n="[placeholder]Text or token ids" placeholder="Text or [token ids]" />
56855771 <input class="logit_bias_textopenai_logit_bias_value text_pole" data-i18ntype="[placeholder]Typenumber" here...min="-100" placeholdervalue="type0" here...max="100" />
5686- <input class="logit_bias_value text_pole" type="number" min="-100" value="0" max="100" step="0.01" />
5772+ <i class="menu_button fa-solid fa-xmark openai_logit_bias_remove"></i>
5687- <i class="menu_button fa-solid fa-xmark logit_bias_remove"></i>
5773+ </div>
56885774 </div>
5689- </div>
5775+ <div id="logit_bias_template" class="template_element">
5690- <div id="completion_prompt_manager_popup" class="drawer-content" style="display:none;">
5776+ <div class="logit_bias_form">
5691- <div id="completion_prompt_manager_popup_inspect">
5777+ <input class="logit_bias_text text_pole" data-i18n="[placeholder]Type here..." placeholder="type here..." />
5692- <h3>Inspect</h3>
5778+ <input class="logit_bias_value text_pole" type="number" min="-100" value="0" max="100" step="0.01" />
5693- <div class="completion_prompt_manager_popup_entry">
5779+ <i class="menu_button fa-solid fa-xmark logit_bias_remove"></i>
5694- <form class="completion_prompt_manager_popup_entry_form">
5695- <div class="completion_prompt_manager_popup_entry_form_control">
5696- <div class="completion_prompt_manager_popup_header">
5697- <label for="completion_prompt_manager_popup_entry_form_prompt">
5698- <span>Prompt List</span>
5699- </label>
5700- <a id="completion_prompt_manager_popup_close_button" title="close" data-i18n="[title]close" class="fa-solid fa-close menu_button"></a>
5701- </div>
5702- <div class="text_muted">The list of prompts associated with this marker.</div>
5703- <div id="completion_prompt_manager_popup_entry_form_inspect_list"></div>
5704- </div>
5705- </form>
57065780 </div>
57075781 </div>
5708- <div id="completion_prompt_manager_popup_edit">
5782+ <div id="completion_prompt_manager_popup" class="drawer-content" style="display:none;">
57095783 <h3div data-i18nid="prompt_manager_editcompletion_prompt_manager_popup_inspect">Edit</h3>
5710- <div class="completion_prompt_manager_popup_entry">
5784+ <h3>Inspect</h3>
57115785 <formdiv class="completion_prompt_manager_popup_entry_formcompletion_prompt_manager_popup_entry">
57125786 <divform class="flex-container gap10pxcompletion_prompt_manager_popup_entry_form">
57135787 <div class="completion_prompt_manager_popup_entry_form_control flex1">
57145788 <labeldiv forclass="completion_prompt_manager_popup_entry_form_namecompletion_prompt_manager_popup_header">
57155789 <spanlabel data-i18nfor="prompt_manager_namecompletion_prompt_manager_popup_entry_form_prompt">Name</span>
5716- </label>
5790+ <span>Prompt List</span>
5717- <div class="text_muted" data-i18n="A name for this prompt.">A name for this prompt.</div>
5791+ </label>
57185792 <inputa id="completion_prompt_manager_popup_entry_form_namecompletion_prompt_manager_popup_close_button" classtitle="text_poleclose" typedata-i18n="text[title]close" nameclass="name"fa-solid fa-close menu_button"></a>
57195793 </div>
5720- <div class="completion_prompt_manager_popup_entry_form_control flex1">
5794+ <div class="text_muted">The list of prompts associated with this marker.</div>
57215795 <labeldiv forid="completion_prompt_manager_popup_entry_form_rolecompletion_prompt_manager_popup_entry_form_inspect_list"></div>
5722- <span data-i18n="Role">Role</span>
5723- </label>
5724- <div class="text_muted" data-i18n="To whom this message will be attributed.">To whom this message will be attributed.</div>
5725- <select id="completion_prompt_manager_popup_entry_form_role" class="text_pole" name="role">
5726- <option data-i18n="System" value="system">System</option>
5727- <option data-i18n="User" value="user">User</option>
5728- <option data-i18n="AI Assistant" value="assistant">AI Assistant</option>
5729- </select>
5730- </div>
5731- </div>
5732- <div class="flex-container gap10px">
5733- <div class="completion_prompt_manager_popup_entry_form_control flex1">
5734- <label for="completion_prompt_manager_popup_entry_form_injection_position">
5735- <span data-i18n="prompt_manager_position">Position</span>
5736- </label>
5737- <div class="text_muted" data-i18n="Injection position. Relative (to other prompts in prompt manager) or In-chat @ Depth.">Injection position. Relative (to other prompts in prompt manager) or In-chat @ Depth.</div>
5738- <select id="completion_prompt_manager_popup_entry_form_injection_position" class="text_pole" name="injection_position">
5739- <option data-i18n="prompt_manager_relative" value="0">Relative</option>
5740- <option data-i18n="prompt_manager_in_chat" value="1">In-chat</option>
5741- </select>
57425796 </div>
5743- <div id="completion_prompt_manager_depth_block" class="completion_prompt_manager_popup_entry_form_control flex1">
5797+ </form>
5744- <label for="completion_prompt_manager_popup_entry_form_injection_depth">
5798+ </div>
5745- <span data-i18n="prompt_manager_depth">Depth</span>
5799+ </div>
5746- </label>
5800+ <div id="completion_prompt_manager_popup_edit">
5747- <div class="text_muted" data-i18n="Injection depth. 0 = after the last message, 1 = before the last message, etc.">Injection depth. 0 = after the last message, 1 = before the last message, etc.</div>
5801+ <h3 data-i18n="prompt_manager_edit">Edit</h3>
5748- <input id="completion_prompt_manager_popup_entry_form_injection_depth" class="text_pole" type="number" name="injection_depth" min="0" max="999" value="4" />
5802+ <div class="completion_prompt_manager_popup_entry">
5803+ <form class="completion_prompt_manager_popup_entry_form">
5804+ <div class="flex-container gap10px">
5805+ <div class="completion_prompt_manager_popup_entry_form_control flex1">
5806+ <label for="completion_prompt_manager_popup_entry_form_name">
5807+ <span data-i18n="prompt_manager_name">Name</span>
5808+ </label>
5809+ <div class="text_muted" data-i18n="A name for this prompt.">A name for this prompt.</div>
5810+ <input id="completion_prompt_manager_popup_entry_form_name" class="text_pole" type="text" name="name" />
5811+ </div>
5812+ <div class="completion_prompt_manager_popup_entry_form_control flex1">
5813+ <label for="completion_prompt_manager_popup_entry_form_role">
5814+ <span data-i18n="Role">Role</span>
5815+ </label>
5816+ <div class="text_muted" data-i18n="To whom this message will be attributed.">To whom this message will be attributed.</div>
5817+ <select id="completion_prompt_manager_popup_entry_form_role" class="text_pole" name="role">
5818+ <option data-i18n="System" value="system">System</option>
5819+ <option data-i18n="User" value="user">User</option>
5820+ <option data-i18n="AI Assistant" value="assistant">AI Assistant</option>
5821+ </select>
5822+ </div>
57495823 </div>
5750- </div>
5824+ <div class="flex-container gap10px">
57515825 <div class="completion_prompt_manager_popup_entry_form_control flex1">
57525826 <divlabel classfor="flex-container alignItemsCentercompletion_prompt_manager_popup_entry_form_injection_position">
5753- <div class="flex1">
5827+ <span data-i18n="prompt_manager_position">Position</span>
5754- <label for="completion_prompt_manager_popup_entry_form_prompt">
5755- <span data-i18n="Prompt">Prompt</span>
57565828 </label>
57575829 <div class="text_muted" data-i18n="TheInjection promptposition. Relative (to beother sentprompts in prompt manager) or In-chat @ Depth.">TheInjection promptposition. Relative (to beother sentprompts in prompt manager) or In-chat @ Depth.</div>
5830+ <select id="completion_prompt_manager_popup_entry_form_injection_position" class="text_pole" name="injection_position">
5831+ <option data-i18n="prompt_manager_relative" value="0">Relative</option>
5832+ <option data-i18n="prompt_manager_in_chat" value="1">In-chat</option>
5833+ </select>
57585834 </div>
57595835 <div id="completion_prompt_manager_forbid_overrides_blockcompletion_prompt_manager_depth_block" class="completion_prompt_manager_popup_entry_form_control flex1">
5760- <label class="checkbox_label" for="completion_prompt_manager_popup_entry_form_forbid_overrides" title="This prompt cannot be overridden by character cards, even if overrides are preferred." data-i18n="[title]This prompt cannot be overridden by character cards, even if overrides are preferred.">
5836+ <label for="completion_prompt_manager_popup_entry_form_injection_depth">
5761- <input type="checkbox" id="completion_prompt_manager_popup_entry_form_forbid_overrides" name="forbid_overrides" />
5837+ <span data-i18n="prompt_manager_depth">Depth</span>
5762- <span data-i18n="prompt_manager_forbid_overrides">Forbid Overrides</span>
57635838 </label>
5839+ <div class="text_muted" data-i18n="Injection depth. 0 = after the last message, 1 = before the last message, etc.">Injection depth. 0 = after the last message, 1 = before the last message, etc.</div>
5840+ <input id="completion_prompt_manager_popup_entry_form_injection_depth" class="text_pole" type="number" name="injection_depth" min="0" max="999" value="4" />
57645841 </div>
57655842 </div>
57665843 <textarea id="completion_prompt_manager_popup_entry_form_prompt"div class="text_pole" name="promptcompletion_prompt_manager_popup_entry_form_control">
5844+ <div class="flex-container alignItemsCenter">
5845+ <div class="flex1">
5846+ <label for="completion_prompt_manager_popup_entry_form_prompt">
5847+ <span data-i18n="Prompt">Prompt</span>
5848+ </label>
5849+ <div class="text_muted" data-i18n="The prompt to be sent.">The prompt to be sent.</div>
5850+ </div>
5851+ <div id="completion_prompt_manager_forbid_overrides_block">
5852+ <label class="checkbox_label" for="completion_prompt_manager_popup_entry_form_forbid_overrides" title="This prompt cannot be overridden by character cards, even if overrides are preferred." data-i18n="[title]This prompt cannot be overridden by character cards, even if overrides are preferred.">
5853+ <input type="checkbox" id="completion_prompt_manager_popup_entry_form_forbid_overrides" name="forbid_overrides" />
5854+ <span data-i18n="prompt_manager_forbid_overrides">Forbid Overrides</span>
5855+ </label>
5856+ </div>
5857+ </div>
5858+ <textarea id="completion_prompt_manager_popup_entry_form_prompt" class="text_pole" name="prompt">
57675859 </textarea>
57685860 </div>
57695861 <div class="completion_prompt_manager_popup_entry_form_footer">
57705862 <a id="completion_prompt_manager_popup_entry_form_close" title="close" data-i18n="[title]close" class="fa-solid fa-close menu_button"></a>
57715863 <a id="completion_prompt_manager_popup_entry_form_reset" title="reset" data-i18n="[title]reset" class="fa-solid fa-undo menu_button"></a>
57725864 <a id="completion_prompt_manager_popup_entry_form_save" title="save" data-i18n="[title]save" class="fa-solid fa-save menu_button" data-pm-prompt=""></a>
57735865 </div>
57745866 </form>
5867+ </div>
57755868 </div>
57765869 </div>
5777- </div>
5870+ <div id="message_template" class="template_element">
5778- <div id="message_template" class="template_element">
5871+ <div class="mes" mesid="" ch_name="" is_user="" is_system="" bookmark_link="">
57795872 <div class="mes" mesid="" ch_name="" is_user="for_checkbox"></div><input is_systemtype="checkbox" bookmark_linkclass="del_checkbox">
5780- <div class="for_checkbox"></div><input type="checkbox" class="del_checkbox">
5873+ <div class="mesAvatarWrapper">
57815874 <div class="mesAvatarWrapperavatar">
57825875 <divimg classsrc="avatar">
5783- <img src="">
5876+ </div>
5877+ <div class="mesIDDisplay"></div>
5878+ <div class="mes_timer"></div>
5879+ <div class="tokenCounterDisplay"></div>
57845880 </div>
57855881 <div class="mesIDDisplayswipe_left fa-solid fa-chevron-left" style="display: none;"></div>
57865882 <div class="mes_timermes_block"></div>
57875883 <div class="tokenCounterDisplaych_name flex-container justifySpaceBetween"></div>
5788- </div>
5884+ <div class="flex-container flex1 alignitemscenter">
5789- <div class="swipe_left fa-solid fa-chevron-left" style="display: none;"></div>
5885+ <div class="flex-container alignItemsBaseline">
57905886 <divspan class="mes_blockname_text">${characterName}</span>
5791- <div class="ch_name flex-container justifySpaceBetween">
5887+ <i class="mes_ghost fa-solid fa-ghost" title="This message is invisible for the AI" data-i18n="[title]This message is invisible for the AI"></i>
5792- <div class="flex-container flex1 alignitemscenter">
5888+ <small class="timestamp"></small>
5793- <div class="flex-container alignItemsBaseline">
5889+ </div>
5794- <span class="name_text">${characterName}</span>
5795- <i class="mes_ghost fa-solid fa-ghost" title="This message is invisible for the AI" data-i18n="[title]This message is invisible for the AI"></i>
5796- <small class="timestamp"></small>
57975890 </div>
5798- </div>
5891+ <div class="mes_buttons">
5799- <div class="mes_buttons">
5892+ <div title="Message Actions" class="mes_button extraMesButtonsHint fa-solid fa-ellipsis" data-i18n="[title]Message Actions"></div>
5800- <div title="Message Actions" class="mes_button extraMesButtonsHint fa-solid fa-ellipsis" data-i18n="[title]Message Actions"></div>
5893+ <div class="extraMesButtons">
5801- <div class="extraMesButtons">
5894+ <div title="Translate message" class="mes_button mes_translate fa-solid fa-language" data-i18n="[title]Translate message"></div>
58025895 <div title="TranslateGenerate messageImage" class="mes_button mes_translatesd_message_gen fa-solid fa-languagepaintbrush" data-i18n="[title]TranslateGenerate messageImage"></div>
58035896 <div title="Generate ImageNarrate" class="mes_button sd_message_genmes_narrate fa-solid fa-paintbrushbullhorn" data-i18n="[title]Generate ImageNarrate"></div>
58045897 <div title="NarratePrompt" class="mes_button mes_narratemes_prompt fa-solid fa-bullhornsquare-poll-horizontal " data-i18n="[title]NarratePrompt" style="display: none;"></div>
58055898 <div title="PromptExclude message from prompts" class="mes_button mes_promptmes_hide fa-solid fa-square-poll-horizontal eye" data-i18n="[title]Prompt"Exclude style="display:message none;from prompts"></div>
58065899 <div title="ExcludeInclude message fromin prompts" class="mes_button mes_hidemes_unhide fa-solid fa-eye-slash" data-i18n="[title]ExcludeInclude message fromin prompts"></div>
58075900 <div title="IncludeEmbed messagefile inor promptsimage" class="mes_button mes_unhidemes_embed fa-solid fa-eye-slashpaperclip" data-i18n="[title]IncludeEmbed messagefile inor promptsimage"></div>
58085901 <div title="Embed file orCreate imagecheckpoint" class="mes_button mes_embedmes_create_bookmark fa-regular fa-solid fa-paperclipflag-checkered" data-i18n="[title]Embed file orCreate imagecheckpoint"></div>
58095902 <div title="Create checkpointbranch" class="mes_button mes_create_bookmarkmes_create_branch fa-regular fa-solid fa-flagcode-checkeredbranch" data-i18n="[title]Create checkpointBranch"></div>
58105903 <div title="Create branchCopy" class="mes_button mes_create_branchmes_copy fa-regularsolid fa-code-branchcopy " data-i18n="[title]Create BranchCopy"></div>
5811- <div title="Copy" class="mes_button mes_copy fa-solid fa-copy " data-i18n="[title]Copy"></div>
5904+ </div>
5905+ <div data-tooltip="Click to open checkpoint chat&#10;Shift+Click to replace the existing checkpoint with a new one" class="mes_button mes_bookmark fa-solid fa-flag" data-i18n="[data-tooltip]Open checkpoint chat&#10;Shift+Click to replace the existing checkpoint with a new one"></div>
5906+ <div title="Edit" class="mes_button mes_edit fa-solid fa-pencil " data-i18n="[title]Edit"></div>
5907+ </div>
5908+ <div class="mes_edit_buttons">
5909+ <div class="mes_edit_done menu_button fa-solid fa-check" title="Confirm" data-i18n="[title]Confirm"></div>
5910+ <div class="mes_edit_copy menu_button fa-solid fa-copy" title="Copy this message" data-i18n="[title]Copy this message"></div>
5911+ <div class="mes_edit_delete menu_button fa-solid fa-trash-can" title="Delete this message" data-i18n="[title]Delete this message">
5912+ </div>
5913+ <div class="mes_edit_up menu_button fa-solid fa-chevron-up " title="Move message up" data-i18n="[title]Move message up"></div>
5914+ <div class="mes_edit_down menu_button fa-solid fa-chevron-down" title="Move message down" data-i18n="[title]Move message down">
5915+ </div>
5916+ <div class="mes_edit_cancel menu_button fa-solid fa-xmark" title="Cancel" data-i18n="[title]Cancel"></div>
58125917 </div>
5813- <div title="Open checkpoint chat" class="mes_button mes_bookmark fa-solid fa-flag" data-i18n="[title]Open checkpoint chat"></div>
5814- <div title="Edit" class="mes_button mes_edit fa-solid fa-pencil " data-i18n="[title]Edit"></div>
58155918 </div>
58165919 <div class="mes_edit_buttonsmes_text"></div>
5817- <div class="mes_edit_done menu_button fa-solid fa-check" title="Confirm" data-i18n="[title]Confirm"></div>
5920+ <div class="mes_img_container">
5818- <div class="mes_edit_copy menu_button fa-solid fa-copy" title="Copy this message" data-i18n="[title]Copy this message"></div>
5921+ <div class="mes_img_controls">
58195922 <div title="Enlarge" class="mes_edit_deleteright_menu_button menu_button fa-lg fa-solid fa-trashmagnifying-can" title="Delete thisglass messagemes_img_enlarge" data-i18n="[title]Delete this messageEnlarge"></div>
5923+ <div title="Caption" class="right_menu_button fa-lg fa-solid fa-envelope-open-text mes_img_caption" data-i18n="[title]Caption"></div>
5924+ <div title="Delete" class="right_menu_button fa-lg fa-solid fa-trash-can mes_img_delete" data-i18n="[title]Delete"></div>
58205925 </div>
5821- <div class="mes_edit_up menu_button fa-solid fa-chevron-up " title="Move message up" data-i18n="[title]Move message up"></div>
5926+ <div class="mes_img_swipes">
58225927 <div title="Swipe left" class="mes_edit_downright_menu_button menu_button fa-lg fa-solid fa-chevron-down" title="Move messageleft downmes_img_swipe_left" data-i18n="[title]Move messageSwipe downleft"></div>
5928+ <div class="mes_img_swipe_counter">1/1</div>
5929+ <div title="Swipe right" class="right_menu_button fa-lg fa-solid fa-chevron-right mes_img_swipe_right" data-i18n="[title]Swipe right"></div>
58235930 </div>
5824- <div class="mes_edit_cancel menu_button fa-solid fa-xmark" title="Cancel" data-i18n="[title]Cancel"></div>
5931+ <img class="mes_img" src="" />
58255932 </div>
5933+ <div class="mes_bias"></div>
58265934 </div>
5827- <div class="mes_text"></div>
5935+ <div class="swipe_right fa-solid fa-chevron-right" style="display: none;">
58285936 <div class="mes_img_containerswipes-counter"></div>
5829- <div class="mes_img_controls">
5830- <div title="Enlarge" class="right_menu_button fa-lg fa-solid fa-magnifying-glass mes_img_enlarge" data-i18n="[title]Enlarge"></div>
5831- <div title="Caption" class="right_menu_button fa-lg fa-solid fa-envelope-open-text mes_img_caption" data-i18n="[title]Caption"></div>
5832- <div title="Delete" class="right_menu_button fa-lg fa-solid fa-trash-can mes_img_delete" data-i18n="[title]Delete"></div>
5833- </div>
5834- <div class="mes_img_swipes">
5835- <div title="Swipe left" class="right_menu_button fa-lg fa-solid fa-chevron-left mes_img_swipe_left" data-i18n="[title]Swipe left"></div>
5836- <div class="mes_img_swipe_counter">1/1</div>
5837- <div title="Swipe right" class="right_menu_button fa-lg fa-solid fa-chevron-right mes_img_swipe_right" data-i18n="[title]Swipe right"></div>
5838- </div>
5839- <img class="mes_img" src="" />
58405937 </div>
5841- <div class="mes_bias"></div>
58425938 </div>
5843- <div class="swipe_right fa-solid fa-chevron-right" style="display: none;">
5844- <div class="swipes-counter"></div>
5845- </div>
5846- </div>
5847- </div>
5848- <div id="group_avatars_template" class="template_element">
5849- <div class="avatar avatar_collage collage_1">
5850- <img alt="img1" class="img_1" src="">
58515939 </div>
58525940 <div classid="avatar avatar_collagegroup_avatars_template" collage_2class="template_element">
58535941 <img alt="img1"div class="img_1"avatar src="avatar_collage collage_1">
58545942 <img alt="img2img1" class="img_2img_1" src="">
5855- </div>
5856- <div class="avatar avatar_collage collage_3">
5857- <img alt="img1" class="img_1" src="">
5858- <img alt="img2" class="img_2" src="">
5859- <img alt="img3" class="img_3" src="">
5860- </div>
5861- <div class="avatar avatar_collage collage_4">
5862- <img alt="img1" class="img_1" src="">
5863- <img alt="img2" class="img_2" src="">
5864- <img alt="img3" class="img_3" src="">
5865- <img alt="img4" class="img_4" src="">
5866- </div>
5867- </div>
5868-
5869- <div id="onboarding_template" class="template_element">
5870- <div class="onboarding">
5871- <h3 data-i18n="Welcome to SillyTavern!">Welcome to SillyTavern!</h3>
5872- <ul class="justifyLeft margin-bot-10px">
5873- <li><span data-i18n="welcome_message_part_1">Read the</span> <a href="https://docs.sillytavern.app/" target="_blank" data-i18n="welcome_message_part_2">Official Documentation</a><span data-i18n="welcome_message_part_3">.</span></li>
5874- <li><span data-i18n="welcome_message_part_4">Type</span> <code>/help</code> <span data-i18n="welcome_message_part_5">in chat for commands and macros.</span></li>
5875- <li><span data-i18n="welcome_message_part_6">Join the</span> <a href="https://discord.gg/sillytavern" data-i18n="Discord server" target="_blank">Discord server</a> <span data-i18n="welcome_message_part_7">for info and announcements.</span></li>
5876- </ul>
5877- <div id="onboarding-UI-language-block" class="flex-container alignItemsBaseline">
5878- <span data-i18n="UI Language">Language:</span>
5879- <select id="onboarding_ui_language_select" class="flex1 margin0">
5880- <option value="en">English</option>
5881- </select>
58825943 </div>
5883- <b data-i18n="SillyTavern is aimed at advanced users.">
5944+ <div class="avatar avatar_collage collage_2">
5884- SillyTavern is aimed at advanced users.
5945+ <img alt="img1" class="img_1" src="">
5885- </b>
5946+ <img alt="img2" class="img_2" src="">
5886- <div>
5887- <span data-i18n="If you're new to this, enable the simplified UI mode below.">
5888- If you're new to this, enable the simplified UI mode below.
5889- </span>
5890- <br>
5891- <span data-i18n="Change it later in the 'User Settings' panel.">
5892- Change it later in the 'User Settings' panel.
5893- </span>
58945947 </div>
58955948 <labeldiv class="checkbox_labelavatar avatar_collage collage_3">
58965949 <inputimg typealt="checkboximg1" nameclass="enable_simple_modeimg_1" /src="">
5897- <span data-i18n="Enable simple UI mode">
5950+ <img alt="img2" class="img_2" src="">
5898- Enable simple UI mode
5951+ <img alt="img3" class="img_3" src="">
5899- </span>
5900- </label>
5901- <div class="expander"></div>
5902- <div class="textAlignCenter">
5903- <h3 data-i18n="Looking for AI characters?">
5904- Looking for AI characters?
5905- </h3>
5906- <span>
5907- <span class="menu_button menu_button_icon external_import_button">
5908- <i class="fa-solid fa-cloud-arrow-down"></i>
5909- <span data-i18n="onboarding_import">Import</span>
5910- </span>
5911- <span data-i18n="from supported sources or view">
5912- from supported sources or view
5913- </span>
5914- <span class="open_characters_library menu_button menu_button_icon">
5915- <i class="fa-solid fa-image-portrait"></i>
5916- <span data-i18n="Sample characters">Sample characters</span>
5917- </span>
5918- </span>
59195952 </div>
59205953 <div class="expanderavatar avatar_collage collage_4"></div>
5921- <h3 data-i18n="Your Persona">
5954+ <img alt="img1" class="img_1" src="">
5922- Your Persona
5955+ <img alt="img2" class="img_2" src="">
5923- </h3>
5956+ <img alt="img3" class="img_3" src="">
5924- <div class="justifyLeft margin-bot-10px">
5957+ <img alt="img4" class="img_4" src="">
5925- <span data-i18n="Before you get started, you must select a persona name.">
5926- Before you get started, you must select a persona name.
5927- </span>
5928- <br>
5929- <span data-i18n="welcome_message_part_8">This can be changed at any time via the</span> <code><i class="fa-solid fa-face-smile"></i></code> <span data-i18n="welcome_message_part_9">icon.</span>
59305958 </div>
5931- <h4 data-i18n="Persona Name:">Persona Name:</h4>
59325959 </div>
5933- </div>
5960+
59345961 <div id="group_member_templateonboarding_template" class="template_element">
59355962 <div class="group_memberonboarding">
5936- <div class="avatar">
5963+ <h3 data-i18n="Welcome to SillyTavern!">Welcome to SillyTavern!</h3>
59375964 <imgdiv altid="Avataronboarding-UI-language-block" srcclass=""flex-container /alignItemsBaseline">
5938- </div>
5965+ <span data-i18n="UI Language">Language:</span>
59395966 <divselect id="onboarding_ui_language_select" class="group_member_nameflex1 margin0">
59405967 <divoption classvalue="ch_nameen">English</divoption>
5941- <div class="tags tags_inline"></div>
5968+ </select>
5942- </div>
5943- <input class="ch_fav" value="" hidden />
5944- <div class="queue_position"></div>
5945- <div class="group_member_icon">
5946- <div title="Temporarily disable automatic replies from this character" data-action="disable" class="right_menu_button fa-solid fa-lg fa-comment-slash" data-i18n="[title]Temporarily disable automatic replies from this character"></div>
5947- <div title="Enable automatic replies from this character" data-action="enable" class="right_menu_button fa-solid fa-lg fa-comment-slash" data-i18n="[title]Enable automatic replies from this character"></div>
5948- <div title="Trigger a message from this character" data-action="speak" class="right_menu_button fa-solid fa-lg fa-comment" data-i18n="[title]Trigger a message from this character"></div>
5949- <div class="flexFlowColumn flex-container">
5950- <div title="Move up" data-action="up" class="right_menu_button fa-solid fa-chevron-up" data-i18n="[title]Move up"></div>
5951- <div title="Move down" data-action="down" class="right_menu_button fa-solid fa-chevron-down" data-i18n="[title]Move down"></div>
59525969 </div>
5953- <div title="View character card" data-action="view" class="right_menu_button fa-solid fa-xl fa-image-portrait" data-i18n="[title]View character card"></div>
5970+ <b data-i18n="SillyTavern is aimed at advanced users.">
5954- <div title="Remove from group" data-action="remove" class="right_menu_button fa-solid fa-2xl fa-xmark" data-i18n="[title]Remove from group">
5971+ SillyTavern is aimed at advanced users.
5972+ </b>
5973+ <ul class="justifyLeft marginTopBot5">
5974+ <li><span data-i18n="welcome_message_part_1">Read the</span> <a href="https://docs.sillytavern.app/" target="_blank" data-i18n="welcome_message_part_2">Official Documentation</a><span data-i18n="welcome_message_part_3">.</span></li>
5975+ <li><span data-i18n="welcome_message_part_4">Type</span> <code>/help</code> <span data-i18n="welcome_message_part_5">in chat for commands and macros.</span></li>
5976+ <li><span data-i18n="welcome_message_part_6">Join the</span> <a href="https://discord.gg/sillytavern" data-i18n="Discord server" target="_blank">Discord server</a> <span data-i18n="welcome_message_part_7">for info and announcements.</span></li>
5977+ </ul>
5978+ <div class="expander"></div>
5979+ <div class="textAlignCenter">
5980+ <h3 data-i18n="Looking for AI characters?">
5981+ Looking for AI characters?
5982+ </h3>
5983+ <span>
5984+ <span class="menu_button menu_button_icon external_import_button">
5985+ <i class="fa-solid fa-cloud-arrow-down"></i>
5986+ <span data-i18n="onboarding_import">Import</span>
5987+ </span>
5988+ <span data-i18n="from supported sources or view">
5989+ from supported sources or view
5990+ </span>
5991+ <span class="open_characters_library menu_button menu_button_icon">
5992+ <i class="fa-solid fa-image-portrait"></i>
5993+ <span data-i18n="Sample characters">Sample characters</span>
5994+ </span>
5995+ </span>
5996+ </div>
5997+ <div class="expander"></div>
5998+ <h3 data-i18n="Your Persona">
5999+ Your Persona
6000+ </h3>
6001+ <div class="justifyLeft margin-bot-10px">
6002+ <span data-i18n="Before you get started, you must select a persona name.">
6003+ Before you get started, you must select a persona name.
6004+ </span>
6005+ <br>
6006+ <span data-i18n="welcome_message_part_8">This can be changed at any time via the</span> <code><i class="fa-solid fa-face-smile"></i></code> <span data-i18n="welcome_message_part_9">icon.</span>
59556007 </div>
5956- <div title="Add to group" data-action="add" class="right_menu_button fa-solid fa-2xl fa-plus" data-i18n="[title]Add to group"></div>
6008+ <h4 data-i18n="Persona Name:">Persona Name:</h4>
59576009 </div>
59586010 </div>
5959- </div>
6011+ <div id="group_member_template" class="template_element">
59606012 <div id="group_list_template" class="template_elementgroup_member">
59616013 <div class="group_select entity_block flex-container wide100p alignitemsflexstartavatar">
5962- <div class="avatar">
6014+ <img alt="Avatar" src="" />
5963- <img src="">
6015+ </div>
5964- </div>
6016+ <div class="group_member_name">
5965- <div class="flex-container wide100pLess70px gap5px group_select_container">
5966- <div class="wide100p group_name_block character_name_block">
59676017 <div class="ch_name"></div>
59686018 <smalldiv class="ch_additional_infotags group_select_countertags_inline"></smalldiv>
59696019 </div>
5970- <small class="character_name_block_sub_line">in this group</small>
5971- <i class='group_fav_icon fa-solid fa-star'></i>
59726020 <input class="ch_fav" value="" hidden />
59736021 <div class="group_select_block_list ch_descriptionqueue_position"></div>
59746022 <div class="tags tags_inlinegroup_member_icon"></div>
6023+ <div title="Temporarily disable automatic replies from this character" data-action="disable" class="right_menu_button fa-solid fa-lg fa-comment-slash" data-i18n="[title]Temporarily disable automatic replies from this character"></div>
6024+ <div title="Enable automatic replies from this character" data-action="enable" class="right_menu_button fa-solid fa-lg fa-comment-slash" data-i18n="[title]Enable automatic replies from this character"></div>
6025+ <div title="Trigger a message from this character" data-action="speak" class="right_menu_button fa-solid fa-lg fa-comment" data-i18n="[title]Trigger a message from this character"></div>
6026+ <div class="flexFlowColumn flex-container">
6027+ <div title="Move up" data-action="up" class="right_menu_button fa-solid fa-chevron-up" data-i18n="[title]Move up"></div>
6028+ <div title="Move down" data-action="down" class="right_menu_button fa-solid fa-chevron-down" data-i18n="[title]Move down"></div>
6029+ </div>
6030+ <div title="View character card" data-action="view" class="right_menu_button fa-solid fa-xl fa-image-portrait" data-i18n="[title]View character card"></div>
6031+ <div title="Remove from group" data-action="remove" class="right_menu_button fa-solid fa-2xl fa-xmark" data-i18n="[title]Remove from group">
6032+ </div>
6033+ <div title="Add to group" data-action="add" class="right_menu_button fa-solid fa-2xl fa-plus" data-i18n="[title]Add to group"></div>
6034+ </div>
59756035 </div>
59766036 </div>
5977- </div>
6037+ <div id="group_list_template" class="template_element">
5978- <div id="bogus_folder_template" class="template_element">
6038+ <div class="group_select entity_block flex-container wide100p alignitemsflexstart">
59796039 <div class="bogus_folder_select entity_block flex-container wide100p alignitemsflexstartavatar">
5980- <div class="avatar flex alignitemscenter textAlignCenter">
6040+ <img src="">
5981- <i class="bogus_folder_icon fa-solid fa-xl"></i>
6041+ </div>
5982- </div>
6042+ <div class="flex-container wide100pLess70px gap5px group_select_container">
59836043 <div class="flex-containerwide100p wide100pLess70pxgroup_name_block character_select_containercharacter_name_block">
59846044 <div class="wide100p character_name_blockch_name"></div>
59856045 <spansmall class="ch_namech_additional_info group_select_counter"></spansmall>
5986- <small class="ch_additional_info bogus_folder_counter"></small>
6046+ </div>
6047+ <small class="character_name_block_sub_line">in this group</small>
6048+ <i class='group_fav_icon fa-solid fa-star'></i>
6049+ <input class="ch_fav" value="" hidden />
6050+ <div class="group_select_block_list ch_description"></div>
6051+ <div class="tags tags_inline"></div>
59876052 </div>
5988- <small class="character_name_block_sub_line bogus_folder_hidden_counter"></small>
5989- <div class="bogus_folder_avatars_block avatars_inline avatars_inline_small tags tags_inline"></div>
59906053 </div>
59916054 </div>
5992- </div>
6055+ <div id="bogus_folder_template" class="template_element">
5993- <div id="bogus_folder_back_template" class="template_element">
6056+ <div class="bogus_folder_select entity_block flex-container wide100p alignitemsflexstart">
59946057 <div class="bogus_folder_select bogus_folder_select_backavatar flex-container wide100p alignitemsflexstart" id="BogusFolderBack"alignitemscenter tagid="backtextAlignCenter">
5995- <div class="avatar flex alignitemscenter textAlignCenter">
6058+ <i class="bogus_folder_icon fa-solid fa-xl"></i>
5996- <i class="bogus_folder_icon fa-solid fa-xl fa-right-from-bracket fa-flip-horizontal"></i>
6059+ </div>
5997- </div>
6060+ <div class="flex-container wide100pLess70px character_select_container">
59986061 <div class="bogus_folder_back_placeholder flex alignitemscenterwide100p textAlignCentercharacter_name_block">
5999- <i class="bogus_folder_icon fa-solid fa-xl fa-right-from-bracket fa-flip-horizontal"></i>
6062+ <span class="ch_name"></span>
6000- </div>
6063+ <small class="ch_additional_info bogus_folder_counter"></small>
6001- <div class="flex-container wide100pLess70px character_select_container height100p alignitemscenter">
6064+ </div>
60026065 <divsmall class="wide100pcharacter_name_block_sub_line character_name_blockbogus_folder_hidden_counter"></small>
60036066 <spandiv class="ch_namebogus_folder_avatars_block avatars_inline avatars_inline_small tags tags_inline">Go back</spandiv>
60046067 </div>
60056068 </div>
60066069 </div>
6007- </div>
6070+ <div id="bogus_folder_back_template" class="template_element">
60086071 <div class="bogus_folder_select bogus_folder_select_back flex-container wide100p alignitemsflexstart" id="inline_avatar_templateBogusFolderBack" classtagid="template_elementback">
60096072 <div class="avatar inline_avatar flex alignitemscenter textAlignCenter">
6010- <img src="">
6073+ <i class="bogus_folder_icon fa-solid fa-xl fa-right-from-bracket fa-flip-horizontal"></i>
6074+ </div>
6075+ <div class="bogus_folder_back_placeholder flex alignitemscenter textAlignCenter">
6076+ <i class="bogus_folder_icon fa-solid fa-xl fa-right-from-bracket fa-flip-horizontal"></i>
6077+ </div>
6078+ <div class="flex-container wide100pLess70px character_select_container height100p alignitemscenter">
6079+ <div class="wide100p character_name_block">
6080+ <span class="ch_name">Go back</span>
6081+ </div>
6082+ </div>
6083+ </div>
60116084 </div>
6012- </div>
6085+ <div id="inline_avatar_template" class="template_element">
6013- <div id="alternate_greetings_template" class="template_element">
6086+ <div class="avatar inline_avatar flex alignitemscenter textAlignCenter">
6014- <div class="alternate_grettings flexFlowColumn flex-container">
6087+ <img src="">
6015- <div class="title_restorable">
6016- <h3><span data-i18n="Alternate Greetings">Alternate Greetings</span></h3>
6017- <div title="Add" class="menu_button fa-solid fa-plus add_alternate_greeting" data-i18n="[title]Add"></div>
60186088 </div>
6019- <small class="justifyLeft" data-i18n="Alternate_Greetings_desc">
6089+ </div>
6020- These will be displayed as swipes on the first message when starting a new chat.
6090+ <div id="alternate_greetings_template" class="template_element">
6021- Group members can select one of them to initiate the conversation.
6091+ <div class="alternate_grettings flexFlowColumn flex-container">
6022- </small>
6092+ <div class="title_restorable">
6023- <hr>
6093+ <h3><span data-i18n="Alternate Greetings" class="mdhotkey_location">Alternate Greetings</span></h3>
60246094 <div class="alternate_greetings_list flexFlowColumnmenu_button flex-containermenu_button_icon wide100padd_alternate_greeting">
60256095 <strongi class="alternate_grettings_hint marginfa-botsolid fa-10pxplus"></i>
6026- <span data-i18n="alternate_greetings_hint_1">Click the</span> <i class="fa-solid fa-plus"></i> <span data-i18n="alternate_greetings_hint_2">button to get started!</span>
6096+ <span data-i18n="Add">Add</span>
60276097 </strongdiv>
6098+ </div>
6099+ <small class="justifyLeft" data-i18n="Alternate_Greetings_desc">
6100+ These will be displayed as swipes on the first message when starting a new chat.
6101+ Group members can select one of them to initiate the conversation.
6102+ </small>
6103+ <hr>
6104+ <div class="alternate_greetings_list flexFlowColumn flex-container wide100p">
6105+ <strong class="alternate_grettings_hint margin-bot-10px">
6106+ <span data-i18n="alternate_greetings_hint_1">Click the</span> <i class="fa-solid fa-plus"></i> <span data-i18n="alternate_greetings_hint_2">button to get started!</span>
6107+ </strong>
6108+ </div>
60286109 </div>
60296110 </div>
6030- </div>
6111+ <div id="alternate_greeting_form_template" class="template_element">
60316112 <div id="alternate_greeting_form_template" class="template_elementalternate_greeting">
6032- <div class="alternate_greeting">
6113+ <details open>
6033- <div class="title_restorable">
6114+ <summary>
6034- <strong><span data-i18n="Alternate Greeting #">Alternate Greeting #</span><span class="greeting_index"></span></strong>
6115+ <div class="title_restorable">
6035- <div class="menu_button fa-solid fa-trash-alt delete_alternate_greeting"></div>
6116+ <strong><span data-i18n="Alternate Greeting #">Alternate Greeting #</span><span class="greeting_index"></span></strong>
6117+ <div class="menu_button menu_button_icon delete_alternate_greeting">
6118+ <i class="fa-solid fa-trash-alt"></i>
6119+ <span data-i18n="Delete">Delete</span>
6120+ </div>
6121+ </div>
6122+ </summary>
6123+ <textarea name="alternate_greetings" data-i18n="[placeholder](This will be the first message from the character that starts every chat)" placeholder="(This will be the first message from the character that starts every chat)" class="text_pole textarea_compact alternate_greeting_text mdHotkeys" value="" autocomplete="off" rows="12"></textarea>
6124+ </details>
60366125 </div>
6037- <textarea name="alternate_greetings" data-i18n="[placeholder](This will be the first message from the character that starts every chat)" placeholder="(This will be the first message from the character that starts every chat)" class="text_pole textarea_compact alternate_greeting_text" maxlength="50000" value="" autocomplete="off" rows="16"></textarea>
60386126 </div>
6039- </div>
60406127
60416128 <!-- chat and input bar -->
60426129 <div id="typing_indicator_template" class="template_element">
60436130 <div class="typing_indicator"><span class="typing_indicator_name">CHAR</span> is typing</div>
60446131 </div>
60456132 <div id="message_file_template" class="template_element">
60466133 <div class="mes_file_container">
60476134 <div class="fa-lg fa-solid fa-file-alt mes_file_icon"></div>
60486135 <div class="mes_file_name"></div>
60496136 <div class="mes_file_size"></div>
60506137 <div class="right_menu_button mes_file_open fa-solid fa-magnifying-glass" title="View contents" data-i18n="[title]View contents"></div>
60516138 <div class="right_menu_button mes_file_delete fa-solid fa-trash-can" title="Remove the file" data-i18n="[title]Remove the file"></div>
6139+ </div>
60526140 </div>
60536141 </div>
60546142 <div id="movingDivs">
@@ -6071,7 +6159,7 @@
60716159 <b data-i18n="Unique to this chat">Unique to this chat</b>.<br>
60726160 <span data-i18n="Checkpoints inherit the Note from their parent, and can be changed individually after that.">Checkpoints inherit the Note from their parent, and can be changed individually after that.</span><br>
60736161 </small>
60746162 <textarea id="extension_floating_prompt" class="text_pole textarea_compact" rows="8" maxlength="50000"></textarea>
60756163 <div class="extension_token_counter">
60766164 <span data-i18n="extension_token_counter">Tokens:</span> <span id="extension_floating_prompt_token_counter">0</span>
60776165 </div>
@@ -6128,7 +6216,7 @@
61286216 <div class="inline-drawer-content">
61296217 <small data-i18n="Will be automatically added as the author's note for this character. Will be used in groups, but can't be modified when a group chat is open.">Will be automatically added as the author's note for this character. Will be used in groups, but
61306218 can't be modified when a group chat is open.</small>
61316219 <textarea id="extension_floating_chara" class="text_pole textarea_compact" rows="8" maxlength="50000" placeholder="Example:&#10;[Scenario: wacky adventures; Genre: romantic comedy; Style: verbose, creative]"></textarea>
61326220 <div class="extension_token_counter">
61336221 <span data-i18n="extension_token_counter">Tokens:</span> <span id="extension_floating_chara_token_counter">0</span>
61346222 </div>
@@ -6160,7 +6248,7 @@
61606248 </div>
61616249 <div class="inline-drawer-content">
61626250 <small data-i18n="Will be automatically added as the Author's Note for all new chats.">Will be automatically added as the Author's Note for all new chats.</small>
61636251 <textarea id="extension_floating_default" class="text_pole textarea_compact" rows="8" maxlength="50000" placeholder="Example:&#10;[Scenario: wacky adventures; Genre: romantic comedy; Style: verbose, creative]"></textarea>
61646252 <div class="extension_token_counter">
61656253 <span data-i18n="extension_token_counter">Tokens:</span> <span id="extension_floating_default_token_counter">0</span>
61666254 </div>
@@ -6417,7 +6505,7 @@
64176505 <div id="leftSendForm" class="alignContentCenter">
64186506 <div id="options_button" class="fa-solid fa-bars interactable"></div>
64196507 </div>
64206508 <textarea id="send_textarea" name="text" class="mdHotkeys" data-i18n="[no_connection_text]Not connected to API!;[connected_text]Type a message, or /? for help" placeholder="Not connected to API!" no_connection_text="Not connected to API!" connected_text="Type a message, or /? for help"></textarea>
64216509 <div id="rightSendForm" class="alignContentCenter">
64226510 <div id="stscript_continue" title="Continue script execution" class="stscript_btn stscript_continue" data-i18n="[title]Continue script execution">
64236511 <i class="fa-solid fa-play"></i>
@@ -6454,11 +6542,11 @@
64546542 <i class="fa-lg fa-solid fa-note-sticky"></i>
64556543 <span data-i18n="Author's Note">Author's Note</span>
64566544 </a>
64576545 <a data-newbie-hidden id="option_toggle_CFG">
64586546 <i class="fa-lg fa-solid fa-scale-balanced"></i>
64596547 <span data-i18n="CFG Scale">CFG Scale</span>
64606548 </a>
64616549 <a data-newbie-hidden id="option_toggle_logprobs">
64626550 <i class="fa-lg fa-solid fa-pie-chart"></i>
64636551 <span data-i18n="Token Probabilities">Token Probabilities</span>
64646552 </a>
@@ -6506,63 +6594,10 @@
65066594 </a>
65076595 </div>
65086596 </div>
6509- <div id="export_format_popup" class="list-group">
6597+
6510- <div class="export_format list-group-item" data-format="png">PNG</div>
6511- <div class="export_format list-group-item" data-format="json">JSON</div>
6512- </div>
6513- <div id="zoomed_avatar_template" class="template_element">
6514- <div class="zoomed_avatar">
6515- <div class="panelControlBar flex-container">
6516- <div class="fa-fw fa-solid fa-grip drag-grabber"></div>
6517- <div class="fa-fw fa-solid fa-circle-xmark dragClose" id="closeZoom"></div>
6518- </div>
6519- <div class="zoomed_avatar_container">
6520- <img class="zoomed_avatar_img" src="" data-izoomify-url="" data-izoomify-magnify="1.8" data-izoomify-duration="300" alt="">
6521- </div>
6522- </div>
6523- </div>
6524- <template id="generic_draggable_template">
6525- <div class="draggable">
6526- <div class="dragTitle"></div>
6527- <div class="panelControlBar flex-container">
6528- <div class="fa-fw fa-solid fa-grip drag-grabber"></div>
6529- <div class="fa-fw fa-solid fa-circle-xmark dragClose"></div>
6530- </div>
6531- </div>
6532- </template>
6533- <div id="user_avatar_template" class="template_element">
6534- <div class="avatar-container">
6535- <div imgfile="" class="avatar">
6536- <img src="" alt="User Avatar">
6537- </div>
6538- <div class="flex-container wide100pLess70px character_select_container">
6539- <div class="wide100p character_name_block">
6540- <span class="ch_name flex1"></span>
6541- <div class="avatar-buttons">
6542- <button class="menu_button bind_user_name" title="Bind user name to that avatar" data-i18n="[title]Bind user name to that avatar">
6543- <i class="fa-fw fa-solid fa-user-edit"></i>
6544- </button>
6545- <button class="menu_button set_persona_image" title="Change persona image" data-i18n="[title]Change persona image">
6546- <i class="fa-fw fa-solid fa-image"></i>
6547- </button>
6548- <button class="menu_button set_default_persona" title="Select this as default persona for the new chats." data-i18n="[title]Select this as default persona for the new chats.">
6549- <i class="fa-fw fa-solid fa-crown"></i>
6550- </button>
6551- <button class="menu_button duplicate_persona" title="Duplicate persona" data-i18n="[title]Duplicate persona">
6552- <i class="fa-fw fa-solid fa-clone"></i>
6553- </button>
6554- <button class="menu_button delete_avatar" title="Delete persona" data-i18n="[title]Delete persona">
6555- <i class="fa-fw fa-solid fa-trash-alt"></i>
6556- </button>
6557- </div>
6558- </div>
6559- <div class="ch_description"></div>
6560- </div>
6561- </div>
6562- </div>
65636598 <!-- Script includes -->
6599+ <script src="lib/polyfill.js"></script>
65646600 <script src="lib/diff_match_patch.js"></script>
6565- <script src="lib/object-hasown.js"></script>
65666601 <script src="lib/jquery-3.5.1.min.js"></script>
65676602 <script src="lib/jquery-ui.min.js"></script>
65686603 <script src="lib/jquery.transit.min.js"></script>
public/lib/object-hasown.js+0 -4
@@ -1,4 +0,0 @@
1-// Polyfill for old Safari versions
2-if (!Object.hasOwn) {
3- Object.hasOwn = function (obj, prop) { return obj.hasOwnProperty(prop); }
4-}
public/lib/polyfill.js+19 -0
@@ -0,0 +1,19 @@
1+// Polyfills for old Safari versions
2+if (!Object.hasOwn) {
3+ Object.hasOwn = function (obj, prop) { return obj.hasOwnProperty(prop); }
4+}
5+
6+if (!Array.prototype.findLastIndex) {
7+ Array.prototype.findLastIndex = function (callback, thisArg) {
8+ for (let i = this.length - 1; i >= 0; i--) {
9+ if (callback.call(thisArg, this[i], i, this)) return i;
10+ }
11+ return -1;
12+ };
13+}
14+
15+if (!Array.prototype.toSorted) {
16+ Array.prototype.toSorted = function (compareFunction) {
17+ return this.slice().sort(compareFunction);
18+ };
19+}
public/locales/ar-sa.json+1 -1
@@ -32,7 +32,7 @@
3232 "Streaming_desc": "عرض الاستجابة لحظيا كما يتم إنشاؤها.",
3333 "context size(tokens)": "حجم الاحرف (بعدد الاحرف او الرموز)",
3434 "unlocked": "مفتوح",
3535 "Only enable this if your model supports context sizes greater than 40968192 tokens": "قم بتمكين هذا فقط إذا كانت نموذجك يدعم مقاطع السياق بأحجام أكبر من 40968192 رمزًا.",
3636 "Max prompt cost:": "أقصى تكلفة فورية:",
3737 "Display the response bit by bit as it is generated.": "عرض الاستجابة بتدريج كما يتم إنشاؤها.",
3838 "When this is off, responses will be displayed all at once when they are complete.": "عند إيقاف هذا الخيار، سيتم عرض الردود جميعها دفعة واحدة عند اكتمالها.",
public/locales/de-de.json+0 -0
public/locales/es-es.json+0 -0
public/locales/fr-fr.json+0 -0
public/locales/is-is.json+0 -0
public/locales/it-it.json+0 -0
public/locales/ja-jp.json+0 -0
public/locales/ko-kr.json+0 -0
public/locales/nl-nl.json+0 -0
public/locales/pt-pt.json+0 -0
public/locales/ru-ru.json+0 -0
public/locales/uk-ua.json+0 -0
public/locales/vi-vn.json+0 -0
public/locales/zh-cn.json+0 -0
public/locales/zh-tw.json+0 -0
public/script.js+0 -0
public/scripts/PromptManager.js+0 -0
public/scripts/RossAscends-mods.js+0 -0
public/scripts/backgrounds.js+0 -0
public/scripts/bookmarks.js+0 -0
public/scripts/chats.js+0 -0
public/scripts/extensions-slashcommands.js+0 -0
public/scripts/extensions.js+0 -0
public/scripts/extensions/caption/index.js+0 -0
public/scripts/extensions/caption/settings.html+0 -0
public/scripts/extensions/connection-manager/edit.html+0 -0
public/scripts/extensions/connection-manager/index.js+0 -0
public/scripts/extensions/connection-manager/manifest.json+0 -0
public/scripts/extensions/connection-manager/profile.html+0 -0
public/scripts/extensions/connection-manager/settings.html+0 -0
public/scripts/extensions/connection-manager/style.css+0 -0
public/scripts/extensions/connection-manager/view.html+0 -0
public/scripts/extensions/expressions/index.js+0 -0
public/scripts/extensions/gallery/index.js+0 -0
public/scripts/extensions/memory/index.js+0 -0
public/scripts/extensions/memory/settings.html+0 -0
public/scripts/extensions/quick-reply/src/QuickReply.js+0 -0
public/scripts/extensions/quick-reply/src/SlashCommandHandler.js+0 -0
public/scripts/extensions/quick-reply/style.css+0 -0
public/scripts/extensions/quick-reply/style.less+0 -0
public/scripts/extensions/shared.js+0 -0
public/scripts/extensions/stable-diffusion/index.js+0 -0
public/scripts/extensions/stable-diffusion/settings.html+0 -0
public/scripts/extensions/token-counter/index.js+0 -0
public/scripts/extensions/token-counter/style.css+0 -0
public/scripts/extensions/translate/index.js+0 -0
public/scripts/extensions/tts/azure.js+0 -0
public/scripts/extensions/tts/cosyvoice.js+0 -0
public/scripts/extensions/tts/gpt-sovits-v2.js+0 -0
public/scripts/extensions/tts/index.js+0 -0
public/scripts/extensions/tts/openai-compatible.js+0 -0
public/scripts/extensions/vectors/index.js+0 -0
public/scripts/extensions/vectors/settings.html+0 -0
public/scripts/group-chats.js+0 -0
public/scripts/horde.js+0 -0
public/scripts/input-md-formatting.js+0 -0
public/scripts/instruct-mode.js+0 -0
public/scripts/nai-settings.js+0 -0
public/scripts/openai.js+0 -0
public/scripts/personas.js+0 -0
public/scripts/popup.js+0 -0
public/scripts/power-user.js+0 -0
public/scripts/preset-manager.js+0 -0
public/scripts/samplerSelect.js+0 -0
public/scripts/slash-commands.js+0 -0
public/scripts/slash-commands/SlashCommandCommonEnumsProvider.js+0 -0
public/scripts/slash-commands/SlashCommandScope.js+0 -0
public/scripts/sse-stream.js+0 -0
public/scripts/sysprompt.js+0 -0
public/scripts/templates/assistantNote.html+0 -0
public/scripts/templates/createCheckpoint.html+0 -0
public/scripts/templates/hotkeys.html+0 -0
public/scripts/templates/itemizationChat.html+0 -0
public/scripts/templates/itemizationText.html+0 -0
public/scripts/templates/macros.html+0 -0
public/scripts/templates/masterExport.html+0 -0
public/scripts/templates/masterImport.html+0 -0
public/scripts/templates/migrateInstructPrompt.html+0 -0
public/scripts/templates/welcome.html+0 -0
public/scripts/templates/welcomePrompt.html+0 -0
public/scripts/textgen-models.js+0 -0
public/scripts/textgen-settings.js+0 -0
public/scripts/tokenizers.js+0 -0
public/scripts/util/AbortReason.js+0 -0
public/scripts/utils.js+0 -0
public/scripts/variables.js+0 -0
public/scripts/world-info.js+0 -0
public/style.css+0 -0
server.js+0 -0
src/constants.js+0 -0
src/endpoints/backends/chat-completions.js+0 -0
src/endpoints/backends/text-completions.js+0 -0
src/endpoints/characters.js+0 -0
src/endpoints/chats.js+0 -0
src/endpoints/content-manager.js+0 -0
src/endpoints/google.js+0 -0
src/endpoints/horde.js+0 -0
src/endpoints/novelai.js+0 -0
src/endpoints/openai.js+0 -0
src/endpoints/openrouter.js+0 -0
src/endpoints/presets.js+0 -0
src/endpoints/settings.js+0 -0
src/endpoints/stable-diffusion.js+0 -0
src/endpoints/tokenizers.js+0 -0
src/endpoints/translate.js+0 -0
src/endpoints/vectors.js+0 -0
src/prompt-converters.js+0 -0
src/request-proxy.js+0 -0
src/users.js+0 -0
src/util.js+0 -0
src/vectors/makersuite-vectors.js+0 -0
start.sh+0 -0
Diff truncated