Merge branch 'staging' into CosyVoice
| @@ -1,6 +1,20 @@ | ||
| 1 | +> [!IMPORTANT] | |
| 2 | +> ここに掲載されている情報は、古かったり不完全であったりする可能性があります。最新の情報は英語版をご利用ください。 | |
| 3 | + | |
| 4 | +![][cover] | |
| 5 | + | |
| 6 | +<div align="center"> | |
| 7 | + | |
| 1 | 8 | [English](readme.md) | [中文](readme-zh_cn.md) | 日本語 | [Русский](readme-ru_ru.md) |
| 2 | 9 | |
| 3 | - | |
| 10 | +[](https://github.com/SillyTavern/SillyTavern/stargazers) | |
| 11 | +[](https://github.com/SillyTavern/SillyTavern/network) | |
| 12 | +[](https://github.com/SillyTavern/SillyTavern/issues) | |
| 13 | +[](https://github.com/SillyTavern/SillyTavern/pulls) | |
| 14 | + | |
| 15 | +</div> | |
| 16 | + | |
| 17 | +--- | |
| 4 | 18 | |
| 5 | 19 | モバイルデバイスにも適したレイアウト・マルチAPI(KoboldAI/CPP、Horde、NovelAI、Ooba、OpenAI、OpenRouter、Claude、Scale)、VN ライクな Waifu モード、Stable Diffusion、TTS、WorldInfo(伝承本)、カスタマイズ可能なUI、自動翻訳、大量のプロンプトオプション+サードパーティの拡張機能をインストールする機能 |
| 6 | 20 | |
| @@ -71,14 +85,13 @@ Tavern は単なるフロントエンドのUIであり、必要なハードウ | ||
| 71 | 85 | * ワールド情報サポート: 豊富な伝承を作成したり、キャラクターカードにトークンを保存したりできます |
| 72 | 86 | * [OpenRouter](https://openrouter.ai) 各種 API(Claude、GPT-4/3.5 など)の接続 |
| 73 | 87 | * [Oobabooga's TextGen WebUI](https://github.com/oobabooga/text-generation-webui) API 接続 |
| 74 | 88 | * [AI Horde](https://horde.koboldaiaihorde.net/) 接続 |
| 75 | 89 | * プロンプト生成フォーマットの調整 |
| 76 | 90 | |
| 77 | 91 | ## 拡張機能 |
| 78 | 92 | |
| 79 | -SillyTavern は拡張できるようになっており、[SillyTavern Extras API](https://github.com/SillyTavern/SillyTavern-extras) でいくつかの追加AIモジュールをホストしています | |
| 93 | +SillyTavern は拡張できるようになっており。 | |
| 80 | 94 | |
| 81 | -* 作者ノート/キャラクターバイアス | |
| 82 | 95 | * キャラクターの感情表現(スプライト) |
| 83 | 96 | * チャット履歴の自動サマリー |
| 84 | 97 | * チャットに画像を送り、AI が内容を解釈する |
| @@ -282,8 +295,8 @@ ST サーバを再起動すると、ユーザ名とパスワードさえ知っ | ||
| 282 | 295 | |
| 283 | 296 | ## スクリーンショット |
| 284 | 297 | |
| 285 | 298 | <img width="400500" alt="image" src="https://user-images.githubusercontentgithub.com/18619528/228649245user-8061c60fattachments/assets/9b5f32f0-63dcc3b3-488e4102-9325b3f5-f151b7a3ec2d.png0e9213c0f50f"> |
| 286 | 299 | <img width="400500" alt="image" src="https://user-images.githubusercontentgithub.com/18619528/228649856user-fbdeef05attachments/assets/913fdbaa-d7277d33-4d5a42f1-be80ae2c-266cbbc6b811.png89dca41c53d1"> |
| 287 | 300 | |
| 288 | 301 | ## ライセンスとクレジット |
| 289 | 302 | |
| @@ -312,3 +325,6 @@ ST サーバを再起動すると、ユーザ名とパスワードさえ知っ | ||
| 312 | 325 | * @doloroushyeonse による韓国語翻訳 |
| 313 | 326 | * k_euler_a による Horde のサポート <https://github.com/Teashrock> |
| 314 | 327 | * [@XXpE3](https://github.com/XXpE3) による中国語翻訳、中国語 ISSUES の連絡先は @XXpE3 |
| 328 | + | |
| 329 | +<!-- LINK GROUP --> | |
| 330 | +[cover]: https://github.com/user-attachments/assets/01a6ae9a-16aa-45f2-8bff-32b5dc587e44 | |
| @@ -1,8 +1,22 @@ | ||
| 1 | +> [!IMPORTANT] | |
| 2 | +> Приведенная здесь информация может быть устаревшей или неполной и предоставляется только для вашего удобства. Пожалуйста, используйте английскую версию для получения наиболее актуальной информации. | |
| 3 | + | |
| 1 | 4 | <a name="readme-top"></a> |
| 2 | 5 | |
| 6 | +![][cover] | |
| 7 | + | |
| 8 | +<div align="center"> | |
| 9 | + | |
| 3 | 10 | [English](readme.md) | [中文](readme-zh_cn.md) | [日本語](readme-ja_jp.md) | Русский |
| 4 | 11 | |
| 5 | -![][cover] | |
| 12 | +[](https://github.com/SillyTavern/SillyTavern/stargazers) | |
| 13 | +[](https://github.com/SillyTavern/SillyTavern/network) | |
| 14 | +[](https://github.com/SillyTavern/SillyTavern/issues) | |
| 15 | +[](https://github.com/SillyTavern/SillyTavern/pulls) | |
| 16 | + | |
| 17 | +</div> | |
| 18 | + | |
| 19 | +--- | |
| 6 | 20 | |
| 7 | 21 | Мобайл-френдли интерфейс, поддержка множества API (KoboldAI/CPP, Horde, NovelAI, Ooba, OpenAI, OpenRouter, Claude, Scale), ВН-образный режим Вайфу, Stable Diffusion, TTS, поддержка миров (лорбуков), кастомизируемый UI, автоперевод, тончайшая настройка промптов + возможность устанавливать расширения. |
| 8 | 22 | |
| @@ -26,8 +40,8 @@ SillyTavern — это форк версии TavernAI 1.2.8, который ра | ||
| 26 | 40 | |
| 27 | 41 | ## Скриншоты |
| 28 | 42 | |
| 29 | 43 | <img width="400500" alt="image" src="https://github.com/SillyTavern/SillyTavernuser-attachments/assets/61471128/e902c7a29b5f32f0-45a6c3b3-44154102-97aab3f5-c59c597669c10e9213c0f50f"> |
| 30 | 44 | <img width="400500" alt="image" src="https://github.com/SillyTavern/SillyTavernuser-attachments/assets/61471128/f8a79c47913fdbaa-4fe97d33-456442f1-9e4aae2c-bf247ed1c96189dca41c53d1"> |
| 31 | 45 | |
| 32 | 46 | ### Ветки |
| 33 | 47 | |
| @@ -51,7 +65,7 @@ SillyTavern — это просто интерфейс, поэтому запу | ||
| 51 | 65 | ### У нас появился сервер в Discord |
| 52 | 66 | |
| 53 | 67 | | [![][discord-shield-badge]][discord-link] | [Вступайте в наше Discord-сообщество!](https://discord.gg/sillytavern) Задавайте вопросы, делитесь любимыми персонажами и промптами. | |
| 54 | 68 | | :---------------------------------------- | :----------------------------------------------------------------------------------------------------------------------------------- | |
| 55 | 69 | |
| 56 | 70 | Также можно написать разработчикам напрямую: |
| 57 | 71 | |
| @@ -69,14 +83,13 @@ SillyTavern — это просто интерфейс, поэтому запу | ||
| 69 | 83 | * Поддержка миров (функция "Информация о мире" / WorldInfo): создавайте свой богатый лор, или экономьте токены для карточек персонажей |
| 70 | 84 | * Соединение через [OpenRouter](https://openrouter.ai) для разных API (Claude, GPT-4/3.5 и других) |
| 71 | 85 | * Соединение с API [Oobabooga's TextGen WebUI](https://github.com/oobabooga/text-generation-webui) |
| 72 | 86 | * Соединение с [AI Horde](https://horde.koboldaiaihorde.net/) |
| 73 | 87 | * Настройку форматирования промптов |
| 74 | 88 | |
| 75 | 89 | ## Расширения |
| 76 | 90 | |
| 77 | -SillyTavern поддерживает расширения, при этом некоторые из ИИ-модулей работают через [SillyTavern Extras API](https://github.com/SillyTavern/SillyTavern-extras) | |
| 91 | +SillyTavern поддерживает расширения. | |
| 78 | 92 | |
| 79 | -* Заметки автора / Смещение характера | |
| 80 | 93 | * Эмоции для персонажей (спрайты) |
| 81 | 94 | * Автоматический саммарайз (краткий пересказ) истории чата |
| 82 | 95 | * Возможность отправить в чат картинку, которую ИИ сможет рассмотреть и понять |
| @@ -353,7 +366,7 @@ SillyTavern сохраняет ключи от ваших API в файле `sec | ||
| 353 | 366 | |
| 354 | 367 | <!-- LINK GROUP --> |
| 355 | 368 | [back-to-top]: https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square |
| 356 | 369 | [cover]: https://github.com/SillyTavern/SillyTavernuser-attachments/assets/18619528/c2be4c3f01a6ae9a-aada16aa-4f6445f2-87a38bff-ae35a68b61a4 32b5dc587e44 |
| 357 | 370 | [discord-link]: https://discord.gg/sillytavern |
| 358 | 371 | [discord-shield]: https://img.shields.io/discord/1100685673633153084?color=5865F2&label=discord&labelColor=black&logo=discord&logoColor=white&style=flat-square |
| 359 | 372 | [discord-shield-badge]: https://img.shields.io/discord/1100685673633153084?color=5865F2&label=discord&labelColor=black&logo=discord&logoColor=white&style=for-the-badge |
| @@ -1,6 +1,20 @@ | ||
| 1 | +> [!IMPORTANT] | |
| 2 | +> 这里的信息可能已经过时或不完整,仅供您参考。请使用英文版本获取最新信息。 | |
| 3 | + | |
| 4 | +![][cover] | |
| 5 | + | |
| 6 | +<div align="center"> | |
| 7 | + | |
| 1 | 8 | [English](readme.md) | 中文 | [日本語](readme-ja_jp.md) | [Русский](readme-ru_ru.md) |
| 2 | 9 | |
| 3 | - | |
| 10 | +[](https://github.com/SillyTavern/SillyTavern/stargazers) | |
| 11 | +[](https://github.com/SillyTavern/SillyTavern/network) | |
| 12 | +[](https://github.com/SillyTavern/SillyTavern/issues) | |
| 13 | +[](https://github.com/SillyTavern/SillyTavern/pulls) | |
| 14 | + | |
| 15 | +</div> | |
| 16 | + | |
| 17 | +--- | |
| 4 | 18 | |
| 5 | 19 | 移动设备界面友好,多种人工智能服务或模型支持(KoboldAI/CPP, Horde, NovelAI, Ooba, OpenAI, OpenRouter, Claude, Scale),类似 Galgame 的 老 婆 模 式,Horde SD,文本系统语音生成,世界信息(Lorebooks),可定制的界面,自动翻译,和比你所需要的更多的 Prompt。附带扩展服务,支持文本绘画生成与语音生成和基于向量数据库 的聊天信息总结。 |
| 6 | 20 | |
| @@ -67,15 +81,14 @@ SillyTavern 本身并无用处,因为它只是一个用户聊天界面。你 | ||
| 67 | 81 | * 支持世界信息(Lorebooks):创建丰富的传说 |
| 68 | 82 | * 支持 Window AI 浏览器扩展(运行 Claude、GPT 4 等模型):<https://windowai.io/> |
| 69 | 83 | * [Oobabooga's TextGen WebUI](https://github.com/oobabooga/text-generation-webui) API 连接 |
| 70 | 84 | * 连接 [AI Horde](https://horde.koboldaiaihorde.net/) |
| 71 | 85 | * Prompt 生成格式调整 |
| 72 | 86 | * Webp 角色卡支持(PNG 仍是内部格式) |
| 73 | 87 | |
| 74 | 88 | ## 扩展 |
| 75 | 89 | |
| 76 | -SillyTavern 支持扩展服务,一些额外的人工智能模块可通过 [SillyTavern Extras API](https://github.com/SillyTavern/SillyTavern-extras) 提供。 | |
| 90 | +SillyTavern 支持扩展服务。 | |
| 77 | 91 | |
| 78 | -* 作者注释/角色偏见 | |
| 79 | 92 | * 角色情绪识别 |
| 80 | 93 | * 聊天记录自动摘要 |
| 81 | 94 | * 在聊天窗口发送图片,并由人工智能解释图片内容 |
| @@ -276,8 +289,8 @@ SillyTavern 会将 API 密钥保存在目录中的 `secrets.json` 文件内。 | ||
| 276 | 289 | |
| 277 | 290 | ## 屏幕截图 |
| 278 | 291 | |
| 279 | 292 | <img width="400500" alt="image" src="https://user-images.githubusercontentgithub.com/18619528/228649245user-8061c60fattachments/assets/9b5f32f0-63dcc3b3-488e4102-9325b3f5-f151b7a3ec2d.png0e9213c0f50f"> |
| 280 | 293 | <img width="400500" alt="image" src="https://user-images.githubusercontentgithub.com/18619528/228649856user-fbdeef05attachments/assets/913fdbaa-d7277d33-4d5a42f1-be80ae2c-266cbbc6b811.png89dca41c53d1"> |
| 281 | 294 | |
| 282 | 295 | ## 许可证和贡献 |
| 283 | 296 | |
| @@ -304,3 +317,6 @@ SillyTavern 会将 API 密钥保存在目录中的 `secrets.json` 文件内。 | ||
| 304 | 317 | * Default content (characters and lore books) provided by @OtisAlejandro, @RossAscends and @kallmeflocc |
| 305 | 318 | * Korean translation by @doloroushyeonse |
| 306 | 319 | * 中文翻译由 [@XXpE3](https://github.com/XXpE3) 完成,中文 ISSUES 可以联系 @XXpE3 |
| 320 | + | |
| 321 | +<!-- LINK GROUP --> | |
| 322 | +[cover]: https://github.com/user-attachments/assets/01a6ae9a-16aa-45f2-8bff-32b5dc587e44 | |
| @@ -1,135 +1,130 @@ | ||
| 1 | 1 | <a name="readme-top"></a> |
| 2 | 2 | |
| 3 | -English | [中文](readme-zh_cn.md) | [日本語](readme-ja_jp.md) | [Русский](readme-ru_ru.md) | |
| 4 | - | |
| 5 | 3 | ![][cover] |
| 6 | 4 | |
| 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"> | |
| 8 | 6 | |
| 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) | |
| 10 | 8 | |
| 11 | -## Important news! | |
| 9 | +[](https://github.com/SillyTavern/SillyTavern/stargazers) | |
| 10 | +[](https://github.com/SillyTavern/SillyTavern/network) | |
| 11 | +[](https://github.com/SillyTavern/SillyTavern/issues) | |
| 12 | +[](https://github.com/SillyTavern/SillyTavern/pulls) | |
| 12 | 13 | |
| 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> | |
| 14 | 15 | |
| 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 | +--- | |
| 16 | 17 | |
| 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. | |
| 18 | 19 | |
| 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. | |
| 20 | 21 | |
| 21 | 22 | ### What is SillyTavern or TavernAI? |
| 22 | 23 | |
| 23 | 24 | SillyTavern 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. |
| 24 | 25 | |
| 25 | 26 | SillyTavernBeginning 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. |
| 26 | 27 | |
| 27 | 28 | ## ScreenshotsOur Vision |
| 28 | 29 | |
| 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. | |
| 31 | 33 | |
| 32 | 34 | ### Branches |
| 33 | 35 | |
| 34 | 36 | SillyTavern is being developed using a two-branch system to ensure a smooth experience for all users. |
| 35 | 37 | |
| 36 | 38 | * `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. |
| 37 | 39 | * `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. |
| 38 | 40 | |
| 39 | 41 | If you're not familiar with using the git CLI or don't understand what a branch is, don't worry! The release branch is always the preferable option for you. |
| 40 | 42 | |
| 41 | 43 | ### What do I need other than SillyTavern? |
| 42 | 44 | |
| 43 | 45 | On 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/). |
| 44 | 46 | |
| 45 | 47 | ### Do I need a powerful PC to run SillyTavern? |
| 46 | 48 | |
| 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. | |
| 48 | 57 | |
| 49 | 58 | ## Questions or suggestions? |
| 50 | 59 | |
| 51 | 60 | ### We now have a community Discord server |
| 52 | 61 | |
| 53 | 62 | | [![][discord-shield-badge]][discord-link] | [Join our Discord community!](https://discord.gg/sillytavern) Get support, share favorite characters and prompts. | |
| 54 | 63 | | :---------------------------------------- | :----------------------------------------------------------------------------------------------------------------- | |
| 55 | 64 | |
| 56 | 65 | Or get in touch with the developers directly: |
| 57 | 66 | |
| 58 | 67 | * Discord: cohee or, rossascends, wolfsblvt |
| 59 | 68 | * 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/) |
| 60 | 69 | * [Post a GitHub issue](https://github.com/SillyTavern/SillyTavern/issues) |
| 61 | 70 | |
| 62 | -## This version includes | |
| 71 | +### I like your project! How do I contribute? | |
| 63 | 72 | |
| 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 | |
| 74 | 76 | |
| 75 | 77 | ## ExtensionsScreenshots |
| 76 | 78 | |
| 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"> | |
| 78 | 81 | |
| 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) | |
| 85 | 85 | |
| 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. | |
| 87 | 87 | |
| 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. | |
| 89 | 89 | |
| 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 | |
| 99 | 91 | |
| 100 | -* User Name Changes and Character Deletion no longer force the page to refresh. | |
| 92 | +## Key Features | |
| 101 | 93 | |
| 102 | -* Toggle option to automatically connect to API on page load. | |
| 94 | +* Advanced text generation settings with many community-made presets | |
| 103 | 95 | * Toggle optionWorld toInfo automaticallysupport: loadcreate therich mostlore recentlyor viewedsave charactertokens on pageyour load.character card |
| 104 | 96 | * 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/) | |
| 105 | 101 | |
| 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). | |
| 110 | 103 | |
| 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. | |
| 114 | 105 | |
| 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/). | |
| 122 | 115 | |
| 123 | 116 | # ⌛ Installation |
| 124 | 117 | |
| 125 | 118 | > \[!WARNING] |
| 119 | +> | |
| 126 | 120 | > * DO NOT INSTALL INTO ANY WINDOWS CONTROLLED FOLDER (Program Files, System32, etc). |
| 127 | 121 | > * DO NOT RUN START.BAT WITH ADMIN PERMISSIONS |
| 128 | 122 | > * INSTALLATION ON WINDOWS 7 IS IMPOSSIBLE AS IT CAN NOT RUN NODEJS 18.16 |
| 129 | 123 | |
| 130 | 124 | ## 🪟 Windows |
| 131 | 125 | |
| 132 | 126 | ### Installing via Git |
| 127 | + | |
| 133 | 128 | 1. Install [NodeJS](https://nodejs.org/en) (latest LTS version is recommended) |
| 134 | 129 | 2. Install [Git for Windows](https://gitforwindows.org/) |
| 135 | 130 | 3. Open Windows Explorer (`Win+E`) |
| @@ -137,24 +132,16 @@ A full list of included extensions and tutorials on how to use them can be found | ||
| 137 | 132 | 5. Open a Command Prompt inside that folder by clicking in the 'Address Bar' at the top, typing `cmd`, and pressing Enter. |
| 138 | 133 | 6. Once the black box (Command Prompt) pops up, type ONE of the following into it and press Enter: |
| 139 | 134 | |
| 140 | 135 | -* for Release Branch: `git clone https://github.com/SillyTavern/SillyTavern -b release` |
| 141 | 136 | -* for Staging Branch: `git clone https://github.com/SillyTavern/SillyTavern -b staging` |
| 142 | 137 | |
| 143 | 138 | 7. Once everything is cloned, double-click `Start.bat` to make NodeJS install its requirements. |
| 144 | 139 | 8. The server will then start, and SillyTavern will pop up in your browser. |
| 145 | 140 | |
| 146 | 141 | ### Installing via SillyTavernGitHub LauncherDesktop |
| 147 | -1. On your keyboard: press **`WINDOWS + R`** to open Run dialog box. Then, run the following command to install git: | |
| 148 | -```shell | |
| 149 | -cmd /c winget install -e --id Git.Git | |
| 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 | -``` | |
| 155 | 142 | |
| 156 | -## Installing via GitHub Desktop | |
| 157 | 143 | (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 | + | |
| 158 | 145 | 1. Install [NodeJS](https://nodejs.org/en) (latest LTS version is recommended) |
| 159 | 146 | 2. Install [GitHub Desktop](https://central.github.com/deployments/desktop/desktop/latest/win32) |
| 160 | 147 | 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. | ||
| 172 | 159 | 1. Install git and nodeJS (the method for doing this will vary depending on your OS) |
| 173 | 160 | 2. Clone the repo |
| 174 | 161 | |
| 175 | 162 | -* for Release Branch: `git clone https://github.com/SillyTavern/SillyTavern -b release` |
| 176 | 163 | -* for Staging Branch: `git clone https://github.com/SillyTavern/SillyTavern -b staging` |
| 177 | 164 | |
| 178 | 165 | 3. `cd SillyTavern` to navigate into the install folder. |
| 179 | 166 | 4. Run the `start.sh` script with one of these commands: |
| 180 | 167 | |
| 181 | 168 | -* `./start.sh` |
| 182 | 169 | -* `bash start.sh` |
| 170 | + | |
| 171 | +## ⚡ Installing via SillyTavern Launcher | |
| 183 | 172 | |
| 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 | +``` | |
| 185 | 188 | |
| 186 | 189 | ### For Linux users |
| 190 | + | |
| 187 | 191 | 1. Open your favorite terminal and install git |
| 188 | 192 | 2. Git clone the Sillytavern-Launcher with: |
| 193 | + | |
| 189 | 194 | ```shell |
| 190 | 195 | git clone https://github.com/SillyTavern/SillyTavern-Launcher.git && cd SillyTavern-Launcher |
| 191 | 196 | ``` |
| 197 | + | |
| 192 | 198 | 3. Start the installer.sh with: |
| 199 | + | |
| 193 | 200 | ```shell |
| 194 | 201 | chmod +x install.sh && ./install.sh |
| 195 | 202 | ``` |
| 203 | + | |
| 196 | 204 | 4. After installation start the launcher.sh with: |
| 205 | + | |
| 197 | 206 | ```shell |
| 198 | 207 | chmod +x launcher.sh && ./launcher.sh |
| 199 | 208 | ``` |
| 200 | 209 | |
| 201 | 210 | ### For Mac users |
| 211 | + | |
| 202 | 212 | 1. Open a terminal and install brew with: |
| 213 | + | |
| 203 | 214 | ```shell |
| 204 | 215 | /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" |
| 205 | 216 | ``` |
| 217 | + | |
| 206 | 218 | 2. Install git with: |
| 219 | + | |
| 207 | 220 | ```shell |
| 208 | 221 | brew install git |
| 209 | 222 | ``` |
| 223 | + | |
| 210 | 224 | 3. Git clone the Sillytavern-Launcher with: |
| 225 | + | |
| 211 | 226 | ```shell |
| 212 | 227 | git clone https://github.com/SillyTavern/SillyTavern-Launcher.git && cd SillyTavern-Launcher |
| 213 | 228 | ``` |
| 229 | + | |
| 214 | 230 | 4. Start the installer.sh with: |
| 231 | + | |
| 215 | 232 | ```shell |
| 216 | 233 | chmod +x install.sh && ./install.sh |
| 217 | 234 | ``` |
| 235 | + | |
| 218 | 236 | 5. After installation start the launcher.sh with: |
| 237 | + | |
| 219 | 238 | ```shell |
| 220 | 239 | chmod +x launcher.sh && ./launcher.sh |
| 221 | 240 | ``` |
| @@ -236,18 +255,18 @@ You will need two mandatory directory mappings and a port mapping to allow Silly | ||
| 236 | 255 | |
| 237 | 256 | ##### Volume Mappings |
| 238 | 257 | |
| 239 | 258 | -* [config] - The directory where SillyTavern configuration files will be stored on your host machine |
| 240 | 259 | -* [data] - The directory where SillyTavern user data (including characters) will be stored on your host machine |
| 241 | 260 | -* [plugins] - (optional) The directory where SillyTavern server plugins will be stored on your host machine |
| 242 | 261 | |
| 243 | 262 | ##### Port Mappings |
| 244 | 263 | |
| 245 | 264 | -* [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. |
| 246 | 265 | |
| 247 | 266 | ##### Additional Settings |
| 248 | 267 | |
| 249 | 268 | -* [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/). |
| 250 | 269 | -* [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. |
| 251 | 270 | |
| 252 | 271 | #### Install command |
| 253 | 272 | |
| @@ -258,128 +277,82 @@ You will need two mandatory directory mappings and a port mapping to allow Silly | ||
| 258 | 277 | |
| 259 | 278 | > Note that 8000 is a default listening port. Don't forget to use an appropriate port if you change it in the config. |
| 260 | 279 | |
| 261 | 280 | ## 📱 Mobile - Installing via termuxTermux on Android OS |
| 262 | 281 | |
| 263 | 282 | > \[!NOTE] |
| 264 | 283 | > **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 | +> | |
| 265 | 287 | > * <https://rentry.org/STAI-Termux> |
| 266 | 288 | |
| 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. | |
| 267 | 290 | |
| 268 | 291 | ## API keys management |
| 269 | 292 | |
| 270 | 293 | SillyTavern saves your API keys to a `secrets.json` file in the user data directory (`/data/default-user/secrets.json` is the default path). |
| 271 | 294 | |
| 272 | 295 | By default, theyAPI keys will not be exposedvisible tofrom athe frontendinterface after you enterhave saved them and reloadrefreshed the page. |
| 273 | 296 | |
| 274 | 297 | In order to enable viewing your keys by clicking a button in the API block: |
| 275 | 298 | |
| 276 | 299 | 1. Set the value of `allowKeysExposure` to `true` in `config.yaml` file. |
| 277 | 300 | 2. Restart the SillyTavern server. |
| 301 | +3. Click the 'View hidden API keys' link at the bottom right of the API Connection Panel. | |
| 278 | 302 | |
| 279 | 303 | ## 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. | |
| 284 | - | |
| 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).** | |
| 286 | - | |
| 287 | -### 1. Managing whitelisted IPs | |
| 288 | 304 | |
| 289 | 305 | *You Createcan apass newcommand-line textarguments fileto insideSillyTavern yourserver SillyTavernstartup baseto installoverride foldersome calledsettings in `whitelistconfig.txtyaml`. |
| 290 | -* Open the file in a text editor, and add a list of IPs you want to be allowed to connect. | |
| 291 | 306 | |
| 292 | -*Both individual IPs and wildcard IP ranges are accepted. Examples:* | |
| 307 | +### Examples | |
| 293 | 308 | |
| 294 | 309 | ```txtshell |
| 295 | -192.168.0.1 | |
| 310 | +node server.js --port 8000 --listen false | |
| 296 | -192.168.0.20 | |
| 311 | +# or | |
| 297 | -``` | |
| 312 | +npm run start -- --port 8000 --listen false | |
| 298 | - | |
| 313 | +# or (Windows only) | |
| 299 | -or | |
| 314 | +Start.bat --port 8000 --listen false | |
| 300 | - | |
| 301 | -```txt | |
| 302 | -192.168.0.* | |
| 303 | 315 | ``` |
| 304 | 316 | |
| 305 | -(the above wildcard IP range will allow any device on the local network to connect) | |
| 317 | +### Supported arguments | |
| 306 | 318 | |
| 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 | | |
| 325 | 342 | |
| 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`. | |
| 347 | 344 | |
| 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. | |
| 349 | 346 | |
| 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/). | |
| 351 | 348 | |
| 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. | |
| 354 | 350 | |
| 355 | 351 | ## Performance issues? |
| 356 | 352 | |
| 357 | 353 | Try1. 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 | - | |
| 383 | 356 | |
| 384 | 357 | ## License and credits |
| 385 | 358 | |
| @@ -388,32 +361,19 @@ but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 388 | 361 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 389 | 362 | GNU Affero General Public License for more details.** |
| 390 | 363 | |
| 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/> | |
| 402 | 367 | * Noto Sans font by Google (OFL license) |
| 403 | 368 | * 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 | |
| 412 | 370 | * Docker guide by [@mrguymiah](https://github.com/mrguymiah) and [@Bronya-Rand](https://github.com/Bronya-Rand) |
| 413 | 371 | |
| 372 | +## Top Contributors | |
| 373 | + | |
| 374 | +[](https://github.com/SillyTavern/SillyTavern/graphs/contributors) | |
| 375 | + | |
| 414 | 376 | <!-- 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 | |
| 417 | 378 | [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 | |
| 419 | 379 | [discord-shield-badge]: https://img.shields.io/discord/1100685673633153084?color=5865F2&label=discord&labelColor=black&logo=discord&logoColor=white&style=for-the-badge |
| @@ -49,3 +49,4 @@ public/css/user.css | ||
| 49 | 49 | /data |
| 50 | 50 | /default/scaffold |
| 51 | 51 | public/scripts/extensions/third-party |
| 52 | +/certs | |
| @@ -1,4 +1,4 @@ | ||
| 1 | 1 | FROM node:lts-alpine3.1819 |
| 2 | 2 | |
| 3 | 3 | # Arguments |
| 4 | 4 | ARG APP_HOME=/home/node/app |
| @@ -19,7 +19,7 @@ ENV NODE_ENV=production | ||
| 19 | 19 | COPY package*.json post-install.js ./ |
| 20 | 20 | RUN \ |
| 21 | 21 | echo "*** Install npm packages ***" && \ |
| 22 | 22 | npm i --no-audit --no-fund --quietloglevel=error --no-progress --omit=dev && npm cache clean --force |
| 23 | 23 | |
| 24 | 24 | # Bundle app source |
| 25 | 25 | COPY . ./ |
| @@ -1,7 +1,7 @@ | ||
| 1 | 1 | @echo off |
| 2 | 2 | pushd %~dp0 |
| 3 | 3 | set NODE_ENV=production |
| 4 | 4 | call npm install --no-audit --no-fund --quietloglevel=error --no-progress --omit=dev |
| 5 | 5 | node server.js %* |
| 6 | 6 | pause |
| 7 | 7 | popd |
| @@ -12,7 +12,7 @@ if %errorlevel% neq 0 ( | ||
| 12 | 12 | ) |
| 13 | 13 | ) |
| 14 | 14 | set NODE_ENV=production |
| 15 | 15 | call npm install --no-audit --no-fund --quietloglevel=error --no-progress --omit=dev |
| 16 | 16 | node server.js %* |
| 17 | 17 | pause |
| 18 | 18 | popd |
| @@ -95,7 +95,7 @@ if %errorlevel% neq 0 ( | ||
| 95 | 95 | |
| 96 | 96 | echo Installing npm packages and starting server |
| 97 | 97 | set NODE_ENV=production |
| 98 | 98 | call npm install --no-audit --no-fund --quietloglevel=error --no-progress --omit=dev |
| 99 | 99 | node server.js %* |
| 100 | 100 | |
| 101 | 101 | :end |
| @@ -37,6 +37,16 @@ basicAuthUser: | ||
| 37 | 37 | password: "password" |
| 38 | 38 | # Enables CORS proxy middleware |
| 39 | 39 | enableCorsProxy: 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 | |
| 40 | 50 | # Enable multi-user mode |
| 41 | 51 | enableUserAccounts: false |
| 42 | 52 | # Enable discreet login mode: hides user list on the login screen |
| @@ -73,6 +83,8 @@ skipContentCheck: false | ||
| 73 | 83 | disableChatBackup: false |
| 74 | 84 | # Number of backups to keep for each chat and settings file |
| 75 | 85 | numberOfBackups: 50 |
| 86 | +# Interval in milliseconds to throttle chat backups per user | |
| 87 | +chatBackupThrottleInterval: 10000 | |
| 76 | 88 | # Allowed hosts for card downloads |
| 77 | 89 | whitelistImportDomains: |
| 78 | 90 | - localhost |
| @@ -90,9 +102,14 @@ whitelistImportDomains: | ||
| 90 | 102 | ## headers: |
| 91 | 103 | ## User-Agent: "Googlebot/2.1 (+http://www.google.com/bot.html)" |
| 92 | 104 | requestOverrides: [] |
| 93 | 105 | # -- PLUGINEXTENSIONS CONFIGURATION -- |
| 94 | 106 | # Enable UI extensions |
| 95 | 107 | enableExtensions: true |
| 108 | +# Automatically update extensions when a release version changes | |
| 109 | +enableExtensionsAutoUpdate: true | |
| 110 | +# Additional model tokenizers can be downloaded on demand. | |
| 111 | +# Disabling will fallback to another locally available tokenizer. | |
| 112 | +enableDownloadableTokenizers: true | |
| 96 | 113 | # Extension settings |
| 97 | 114 | extras: |
| 98 | 115 | # Disables automatic model download from HuggingFace |
| @@ -320,6 +320,26 @@ | ||
| 320 | 320 | "type": "novel_preset" |
| 321 | 321 | }, |
| 322 | 322 | { |
| 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 | + { | |
| 323 | 343 | "filename": "presets/textgen/Asterism.json", |
| 324 | 344 | "type": "textgen_preset" |
| 325 | 345 | }, |
| @@ -468,10 +488,6 @@ | ||
| 468 | 488 | "type": "context" |
| 469 | 489 | }, |
| 470 | 490 | { |
| 471 | - "filename": "presets/context/Alpaca-Roleplay.json", | |
| 472 | - "type": "context" | |
| 473 | - }, | |
| 474 | - { | |
| 475 | 491 | "filename": "presets/context/Alpaca-Single-Turn.json", |
| 476 | 492 | "type": "context" |
| 477 | 493 | }, |
| @@ -512,10 +528,6 @@ | ||
| 512 | 528 | "type": "context" |
| 513 | 529 | }, |
| 514 | 530 | { |
| 515 | - "filename": "presets/context/Mistral.json", | |
| 516 | - "type": "context" | |
| 517 | - }, | |
| 518 | - { | |
| 519 | 531 | "filename": "presets/context/NovelAI.json", |
| 520 | 532 | "type": "context" |
| 521 | 533 | }, |
| @@ -556,10 +568,6 @@ | ||
| 556 | 568 | "type": "instruct" |
| 557 | 569 | }, |
| 558 | 570 | { |
| 559 | - "filename": "presets/instruct/Alpaca-Roleplay.json", | |
| 560 | - "type": "instruct" | |
| 561 | - }, | |
| 562 | - { | |
| 563 | 571 | "filename": "presets/instruct/Alpaca-Single-Turn.json", |
| 564 | 572 | "type": "instruct" |
| 565 | 573 | }, |
| @@ -600,10 +608,6 @@ | ||
| 600 | 608 | "type": "instruct" |
| 601 | 609 | }, |
| 602 | 610 | { |
| 603 | - "filename": "presets/instruct/Mistral.json", | |
| 604 | - "type": "instruct" | |
| 605 | - }, | |
| 606 | - { | |
| 607 | 611 | "filename": "presets/instruct/OpenOrca-OpenChat.json", |
| 608 | 612 | "type": "instruct" |
| 609 | 613 | }, |
| @@ -686,5 +690,77 @@ | ||
| 686 | 690 | { |
| 687 | 691 | "filename": "presets/instruct/Gemma 2.json", |
| 688 | 692 | "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" | |
| 689 | 765 | } |
| 690 | 766 | ] |
| @@ -6,7 +6,6 @@ | ||
| 6 | 6 | "allow_jailbreak": false, |
| 7 | 7 | "always_force_name2": false, |
| 8 | 8 | "trim_sentences": false, |
| 9 | - "include_newline": false, | |
| 10 | 9 | "single_line": true, |
| 11 | 10 | "name": "Adventure" |
| 12 | 11 | } |
| @@ -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 | -} | |
| @@ -6,7 +6,6 @@ | ||
| 6 | 6 | "allow_jailbreak": false, |
| 7 | 7 | "always_force_name2": false, |
| 8 | 8 | "trim_sentences": false, |
| 9 | - "include_newline": false, | |
| 10 | 9 | "single_line": false, |
| 11 | 10 | "name": "Alpaca-Single-Turn" |
| 12 | 11 | } |
| @@ -6,7 +6,6 @@ | ||
| 6 | 6 | "allow_jailbreak": false, |
| 7 | 7 | "always_force_name2": true, |
| 8 | 8 | "trim_sentences": false, |
| 9 | - "include_newline": false, | |
| 10 | 9 | "single_line": false, |
| 11 | 10 | "name": "Alpaca" |
| 12 | 11 | } |
| @@ -6,7 +6,6 @@ | ||
| 6 | 6 | "allow_jailbreak": false, |
| 7 | 7 | "always_force_name2": true, |
| 8 | 8 | "trim_sentences": false, |
| 9 | - "include_newline": false, | |
| 10 | 9 | "single_line": false, |
| 11 | 10 | "name": "ChatML-Names" |
| 12 | 11 | } |
| @@ -6,7 +6,6 @@ | ||
| 6 | 6 | "allow_jailbreak": false, |
| 7 | 7 | "always_force_name2": true, |
| 8 | 8 | "trim_sentences": false, |
| 9 | - "include_newline": false, | |
| 10 | 9 | "single_line": false, |
| 11 | 10 | "name": "ChatML" |
| 12 | 11 | } |
| @@ -6,7 +6,6 @@ | ||
| 6 | 6 | "allow_jailbreak": false, |
| 7 | 7 | "always_force_name2": true, |
| 8 | 8 | "trim_sentences": false, |
| 9 | - "include_newline": false, | |
| 10 | 9 | "single_line": false, |
| 11 | 10 | "name": "Command R" |
| 12 | 11 | } |
| @@ -6,7 +6,6 @@ | ||
| 6 | 6 | "allow_jailbreak": false, |
| 7 | 7 | "always_force_name2": true, |
| 8 | 8 | "trim_sentences": false, |
| 9 | - "include_newline": false, | |
| 10 | 9 | "single_line": false, |
| 11 | 10 | "name": "Default" |
| 12 | 11 | } |
| @@ -6,7 +6,6 @@ | ||
| 6 | 6 | "allow_jailbreak": false, |
| 7 | 7 | "always_force_name2": false, |
| 8 | 8 | "trim_sentences": true, |
| 9 | - "include_newline": false, | |
| 10 | 9 | "single_line": false, |
| 11 | 10 | "name": "DreamGen Role-Play V1 ChatML" |
| 12 | 11 | } |
| @@ -6,7 +6,6 @@ | ||
| 6 | 6 | "allow_jailbreak": false, |
| 7 | 7 | "always_force_name2": false, |
| 8 | 8 | "trim_sentences": true, |
| 9 | - "include_newline": false, | |
| 10 | 9 | "single_line": false, |
| 11 | 10 | "name": "DreamGen Role-Play V1 Llama3" |
| 12 | 11 | } |
| @@ -6,7 +6,6 @@ | ||
| 6 | 6 | "allow_jailbreak": false, |
| 7 | 7 | "always_force_name2": true, |
| 8 | 8 | "trim_sentences": false, |
| 9 | - "include_newline": false, | |
| 10 | 9 | "single_line": false, |
| 11 | 10 | "name": "Gemma 2" |
| 12 | 11 | } |
| @@ -1,12 +1,11 @@ | ||
| 1 | 1 | { |
| 2 | 2 | "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}}", |
| 3 | 3 | "example_separator": "### Example:", |
| 4 | 4 | "chat_start": "### START ROLEPLAY:", |
| 5 | 5 | "use_stop_strings": false, |
| 6 | 6 | "allow_jailbreak": false, |
| 7 | 7 | "always_force_name2": true, |
| 8 | 8 | "trim_sentences": false, |
| 9 | - "include_newline": false, | |
| 10 | 9 | "single_line": false, |
| 11 | 10 | "name": "Libra-32B" |
| 12 | 11 | } |
| @@ -6,7 +6,6 @@ | ||
| 6 | 6 | "allow_jailbreak": false, |
| 7 | 7 | "always_force_name2": true, |
| 8 | 8 | "trim_sentences": false, |
| 9 | - "include_newline": false, | |
| 10 | 9 | "single_line": false, |
| 11 | 10 | "name": "Lightning 1.1" |
| 12 | 11 | } |
| @@ -6,7 +6,6 @@ | ||
| 6 | 6 | "allow_jailbreak": false, |
| 7 | 7 | "always_force_name2": true, |
| 8 | 8 | "trim_sentences": false, |
| 9 | - "include_newline": false, | |
| 10 | 9 | "single_line": false, |
| 11 | 10 | "name": "Llama 2 Chat" |
| 12 | 11 | } |
| @@ -6,7 +6,6 @@ | ||
| 6 | 6 | "allow_jailbreak": false, |
| 7 | 7 | "always_force_name2": true, |
| 8 | 8 | "trim_sentences": false, |
| 9 | - "include_newline": false, | |
| 10 | 9 | "single_line": false, |
| 11 | 10 | "name": "Llama 3 Instruct" |
| 12 | 11 | } |
| @@ -6,7 +6,6 @@ | ||
| 6 | 6 | "allow_jailbreak": false, |
| 7 | 7 | "always_force_name2": true, |
| 8 | 8 | "trim_sentences": false, |
| 9 | - "include_newline": false, | |
| 10 | 9 | "single_line": false, |
| 11 | 10 | "name": "Llama-3-Instruct-Names" |
| 12 | 11 | } |
| @@ -6,7 +6,6 @@ | ||
| 6 | 6 | "allow_jailbreak": false, |
| 7 | 7 | "always_force_name2": true, |
| 8 | 8 | "trim_sentences": false, |
| 9 | - "include_newline": false, | |
| 10 | 9 | "single_line": false, |
| 11 | 10 | "name": "Minimalist" |
| 12 | 11 | } |
| @@ -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 | +} | |
| @@ -1,12 +1,11 @@ | ||
| 1 | 1 | { |
| 2 | 2 | "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>", |
| 3 | 3 | "example_separator": "Examples:", |
| 4 | 4 | "chat_start": "", |
| 5 | 5 | "use_stop_strings": false, |
| 6 | 6 | "allow_jailbreak": false, |
| 7 | 7 | "always_force_name2": true, |
| 8 | 8 | "trim_sentences": false, |
| 9 | - "include_newline": false, | |
| 10 | 9 | "single_line": false, |
| 11 | 10 | "name": "Mistral V2 & V3" |
| 12 | 11 | } |
| @@ -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 | +} | |
| @@ -6,7 +6,6 @@ | ||
| 6 | 6 | "allow_jailbreak": false, |
| 7 | 7 | "always_force_name2": true, |
| 8 | 8 | "trim_sentences": false, |
| 9 | - "include_newline": false, | |
| 10 | 9 | "single_line": false, |
| 11 | 10 | "name": "NovelAI" |
| 12 | 11 | } |
| @@ -6,7 +6,6 @@ | ||
| 6 | 6 | "allow_jailbreak": false, |
| 7 | 7 | "always_force_name2": true, |
| 8 | 8 | "trim_sentences": false, |
| 9 | - "include_newline": false, | |
| 10 | 9 | "single_line": false, |
| 11 | 10 | "name": "OldDefault" |
| 12 | 11 | } |
| @@ -6,7 +6,6 @@ | ||
| 6 | 6 | "allow_jailbreak": false, |
| 7 | 7 | "always_force_name2": true, |
| 8 | 8 | "trim_sentences": false, |
| 9 | - "include_newline": false, | |
| 10 | 9 | "single_line": false, |
| 11 | 10 | "name": "Phi" |
| 12 | 11 | } |
| @@ -6,7 +6,6 @@ | ||
| 6 | 6 | "allow_jailbreak": false, |
| 7 | 7 | "always_force_name2": true, |
| 8 | 8 | "trim_sentences": false, |
| 9 | - "include_newline": false, | |
| 10 | 9 | "single_line": false, |
| 11 | 10 | "name": "Pygmalion" |
| 12 | 11 | } |
| @@ -6,7 +6,6 @@ | ||
| 6 | 6 | "allow_jailbreak": false, |
| 7 | 7 | "always_force_name2": true, |
| 8 | 8 | "trim_sentences": false, |
| 9 | - "include_newline": false, | |
| 10 | 9 | "single_line": false, |
| 11 | 10 | "name": "Story" |
| 12 | 11 | } |
| @@ -6,7 +6,6 @@ | ||
| 6 | 6 | "allow_jailbreak": false, |
| 7 | 7 | "always_force_name2": true, |
| 8 | 8 | "trim_sentences": false, |
| 9 | - "include_newline": false, | |
| 10 | 9 | "single_line": false, |
| 11 | 10 | "name": "Synthia" |
| 12 | 11 | } |
| @@ -6,7 +6,6 @@ | ||
| 6 | 6 | "allow_jailbreak": false, |
| 7 | 7 | "always_force_name2": true, |
| 8 | 8 | "trim_sentences": false, |
| 9 | - "include_newline": false, | |
| 10 | 9 | "single_line": false, |
| 11 | 10 | "name": "simple-proxy-for-tavern" |
| 12 | 11 | } |
| @@ -1,5 +1,4 @@ | ||
| 1 | 1 | { |
| 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.]", | |
| 3 | 2 | "input_sequence": "", |
| 4 | 3 | "output_sequence": "", |
| 5 | 4 | "last_output_sequence": "", |
| @@ -7,8 +6,7 @@ | ||
| 7 | 6 | "stop_sequence": "", |
| 8 | 7 | "wrap": true, |
| 9 | 8 | "macro": true, |
| 10 | 9 | "namesnames_behavior": false"none", |
| 11 | - "names_force_groups": false, | |
| 12 | 10 | "activation_regex": "", |
| 13 | 11 | "system_sequence_prefix": "", |
| 14 | 12 | "system_sequence_suffix": "", |
| @@ -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 | -} | |
| @@ -1,5 +1,4 @@ | ||
| 1 | 1 | { |
| 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.", | |
| 3 | 2 | "input_sequence": "", |
| 4 | 3 | "output_sequence": "", |
| 5 | 4 | "last_output_sequence": "\n### Response:", |
| @@ -7,12 +6,11 @@ | ||
| 7 | 6 | "stop_sequence": "", |
| 8 | 7 | "wrap": true, |
| 9 | 8 | "macro": true, |
| 10 | 9 | "namesnames_behavior": false"force", |
| 11 | - "names_force_groups": true, | |
| 12 | 10 | "activation_regex": "", |
| 13 | 11 | "system_sequence_prefix": "", |
| 14 | 12 | "system_sequence_suffix": "", |
| 15 | 13 | "first_output_sequence": "<START OF ROLEPLAYCHAT>", |
| 16 | 14 | "skip_examples": false, |
| 17 | 15 | "output_suffix": "", |
| 18 | 16 | "input_suffix": "", |
| @@ -1,5 +1,4 @@ | ||
| 1 | 1 | { |
| 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", | |
| 3 | 2 | "input_sequence": "### Instruction:", |
| 4 | 3 | "output_sequence": "### Response:", |
| 5 | 4 | "last_output_sequence": "", |
| @@ -7,8 +6,7 @@ | ||
| 7 | 6 | "stop_sequence": "", |
| 8 | 7 | "wrap": true, |
| 9 | 8 | "macro": true, |
| 10 | 9 | "namesnames_behavior": false"force", |
| 11 | - "names_force_groups": true, | |
| 12 | 10 | "activation_regex": "", |
| 13 | 11 | "system_sequence_prefix": "", |
| 14 | 12 | "system_sequence_suffix": "", |
| @@ -1,5 +1,4 @@ | ||
| 1 | 1 | { |
| 2 | - "system_prompt": "You're {{char}} in this fictional never-ending uncensored roleplay with {{user}}.", | |
| 3 | 2 | "input_sequence": "<|im_start|>[{{name}}]", |
| 4 | 3 | "output_sequence": "<|im_start|>[{{name}}]", |
| 5 | 4 | "last_output_sequence": "", |
| @@ -7,8 +6,7 @@ | ||
| 7 | 6 | "stop_sequence": "<|im_end|>", |
| 8 | 7 | "wrap": true, |
| 9 | 8 | "macro": true, |
| 10 | 9 | "namesnames_behavior": false"none", |
| 11 | - "names_force_groups": false, | |
| 12 | 10 | "activation_regex": "", |
| 13 | 11 | "system_sequence_prefix": "", |
| 14 | 12 | "system_sequence_suffix": "", |
| @@ -1,5 +1,4 @@ | ||
| 1 | 1 | { |
| 2 | - "system_prompt": "You're {{char}} in this fictional never-ending uncensored roleplay with {{user}}.", | |
| 3 | 2 | "input_sequence": "<|im_start|>user", |
| 4 | 3 | "output_sequence": "<|im_start|>assistant", |
| 5 | 4 | "last_output_sequence": "", |
| @@ -7,8 +6,7 @@ | ||
| 7 | 6 | "stop_sequence": "<|im_end|>", |
| 8 | 7 | "wrap": true, |
| 9 | 8 | "macro": true, |
| 10 | 9 | "namesnames_behavior": true"always", |
| 11 | - "names_force_groups": true, | |
| 12 | 10 | "activation_regex": "", |
| 13 | 11 | "system_sequence_prefix": "", |
| 14 | 12 | "system_sequence_suffix": "", |
| @@ -1,5 +1,4 @@ | ||
| 1 | 1 | { |
| 2 | - "system_prompt": "Write {{char}}'s next reply in this fictional roleplay with {{user}}.", | |
| 3 | 2 | "input_sequence": "<|START_OF_TURN_TOKEN|><|USER_TOKEN|>", |
| 4 | 3 | "output_sequence": "<|START_OF_TURN_TOKEN|><|CHATBOT_TOKEN|>", |
| 5 | 4 | "first_output_sequence": "", |
| @@ -9,8 +8,7 @@ | ||
| 9 | 8 | "stop_sequence": "<|END_OF_TURN_TOKEN|>", |
| 10 | 9 | "wrap": false, |
| 11 | 10 | "macro": true, |
| 12 | 11 | "namesnames_behavior": true"always", |
| 13 | - "names_force_groups": true, | |
| 14 | 12 | "activation_regex": "", |
| 15 | 13 | "skip_examples": false, |
| 16 | 14 | "output_suffix": "<|END_OF_TURN_TOKEN|>", |
| @@ -1,5 +1,4 @@ | ||
| 1 | 1 | { |
| 2 | - "system_prompt": "You are an intelligent, skilled, versatile writer.\n\nYour task is to write a role-play based on the information below.", | |
| 3 | 2 | "input_sequence": "\n<|im_start|>text names= {{name}}\n", |
| 4 | 3 | "output_sequence": "\n<|im_start|>text names= {{name}}\n", |
| 5 | 4 | "last_output_sequence": "", |
| @@ -7,8 +6,7 @@ | ||
| 7 | 6 | "stop_sequence": "\n<|im_start|>", |
| 8 | 7 | "wrap": false, |
| 9 | 8 | "macro": true, |
| 10 | 9 | "namesnames_behavior": false"none", |
| 11 | - "names_force_groups": false, | |
| 12 | 10 | "activation_regex": "", |
| 13 | 11 | "system_sequence_prefix": "", |
| 14 | 12 | "system_sequence_suffix": "", |
| @@ -1,5 +1,4 @@ | ||
| 1 | 1 | { |
| 2 | - "system_prompt": "You are an intelligent, skilled, versatile writer.\n\nYour task is to write a role-play based on the information below.", | |
| 3 | 2 | "input_sequence": "<|eot_id|>\n<|start_header_id|>writer character: {{user}}<|end_header_id|>\n\n", |
| 4 | 3 | "output_sequence": "<|eot_id|>\n<|start_header_id|>writer character: {{char}}<|end_header_id|>\n\n", |
| 5 | 4 | "first_output_sequence": "", |
| @@ -10,8 +9,7 @@ | ||
| 10 | 9 | "separator_sequence": "", |
| 11 | 10 | "wrap": false, |
| 12 | 11 | "macro": true, |
| 13 | 12 | "namesnames_behavior": false"none", |
| 14 | - "names_force_groups": false, | |
| 15 | 13 | "activation_regex": "", |
| 16 | 14 | "skip_examples": false, |
| 17 | 15 | "name": "DreamGen Role-Play V1 Llama3" |
| @@ -1,5 +1,4 @@ | ||
| 1 | 1 | { |
| 2 | - "system_prompt": "Continue writing this story and portray characters realistically.", | |
| 3 | 2 | "input_sequence": "<start_of_turn>user", |
| 4 | 3 | "output_sequence": "<start_of_turn>model", |
| 5 | 4 | "last_output_sequence": "", |
| @@ -7,8 +6,7 @@ | ||
| 7 | 6 | "stop_sequence": "<end_of_turn>", |
| 8 | 7 | "wrap": true, |
| 9 | 8 | "macro": true, |
| 10 | 9 | "namesnames_behavior": false"none", |
| 11 | - "names_force_groups": false, | |
| 12 | 10 | "activation_regex": "", |
| 13 | 11 | "system_sequence_prefix": "", |
| 14 | 12 | "system_sequence_suffix": "", |
| @@ -1,5 +1,4 @@ | ||
| 1 | 1 | { |
| 2 | - "system_prompt": "Write {{char}}'s next reply in a fictional roleplay chat between {{user}} and {{char}}.\n", | |
| 3 | 2 | "input_sequence": "USER: ", |
| 4 | 3 | "output_sequence": "GPT: ", |
| 5 | 4 | "last_output_sequence": "", |
| @@ -7,8 +6,7 @@ | ||
| 7 | 6 | "stop_sequence": "", |
| 8 | 7 | "wrap": false, |
| 9 | 8 | "macro": true, |
| 10 | 9 | "namesnames_behavior": false"force", |
| 11 | - "names_force_groups": true, | |
| 12 | 10 | "activation_regex": "", |
| 13 | 11 | "system_sequence_prefix": "BEGINNING OF CONVERSATION: ", |
| 14 | 12 | "system_sequence_suffix": "", |
| @@ -1,5 +1,4 @@ | ||
| 1 | 1 | { |
| 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.", | |
| 3 | 2 | "input_sequence": "", |
| 4 | 3 | "output_sequence": "", |
| 5 | 4 | "last_output_sequence": "\n### Response:", |
| @@ -7,8 +6,7 @@ | ||
| 7 | 6 | "stop_sequence": "", |
| 8 | 7 | "wrap": true, |
| 9 | 8 | "macro": true, |
| 10 | 9 | "namesnames_behavior": true"always", |
| 11 | - "names_force_groups": true, | |
| 12 | 10 | "activation_regex": "", |
| 13 | 11 | "system_sequence_prefix": "", |
| 14 | 12 | "system_sequence_suffix": "", |
| @@ -1,5 +1,4 @@ | ||
| 1 | 1 | { |
| 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", | |
| 3 | 2 | "input_sequence": "### Instruction:", |
| 4 | 3 | "output_sequence": "### Response: (length = unlimited)", |
| 5 | 4 | "last_output_sequence": "", |
| @@ -7,8 +6,7 @@ | ||
| 7 | 6 | "stop_sequence": "", |
| 8 | 7 | "wrap": true, |
| 9 | 8 | "macro": true, |
| 10 | 9 | "namesnames_behavior": false"force", |
| 11 | - "names_force_groups": true, | |
| 12 | 10 | "activation_regex": "", |
| 13 | 11 | "system_sequence_prefix": "", |
| 14 | 12 | "system_sequence_suffix": "", |
| @@ -1,5 +1,4 @@ | ||
| 1 | 1 | { |
| 2 | - "system_prompt": "Write {{char}}'s next reply in this fictional roleplay with {{user}}.", | |
| 3 | 2 | "input_sequence": "[INST] ", |
| 4 | 3 | "output_sequence": "", |
| 5 | 4 | "last_output_sequence": "", |
| @@ -7,8 +6,7 @@ | ||
| 7 | 6 | "stop_sequence": "", |
| 8 | 7 | "wrap": false, |
| 9 | 8 | "macro": true, |
| 10 | 9 | "namesnames_behavior": false"force", |
| 11 | - "names_force_groups": true, | |
| 12 | 10 | "activation_regex": "", |
| 13 | 11 | "system_sequence_prefix": "", |
| 14 | 12 | "system_sequence_suffix": "", |
| @@ -1,5 +1,4 @@ | ||
| 1 | 1 | { |
| 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}}.", | |
| 3 | 2 | "input_sequence": "<|start_header_id|>user<|end_header_id|>\n\n", |
| 4 | 3 | "output_sequence": "<|start_header_id|>assistant<|end_header_id|>\n\n", |
| 5 | 4 | "last_output_sequence": "", |
| @@ -7,8 +6,7 @@ | ||
| 7 | 6 | "stop_sequence": "<|eot_id|>", |
| 8 | 7 | "wrap": false, |
| 9 | 8 | "macro": true, |
| 10 | 9 | "namesnames_behavior": true"always", |
| 11 | - "names_force_groups": true, | |
| 12 | 10 | "activation_regex": "", |
| 13 | 11 | "system_sequence_prefix": "", |
| 14 | 12 | "system_sequence_suffix": "", |
| @@ -1,5 +1,4 @@ | ||
| 1 | 1 | { |
| 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}}.", | |
| 3 | 2 | "input_sequence": "<|start_header_id|>[{{name}}]<|end_header_id|>\n\n", |
| 4 | 3 | "output_sequence": "<|start_header_id|>[{{name}}]<|end_header_id|>\n\n", |
| 5 | 4 | "last_output_sequence": "", |
| @@ -7,8 +6,7 @@ | ||
| 7 | 6 | "stop_sequence": "<|eot_id|>", |
| 8 | 7 | "wrap": false, |
| 9 | 8 | "macro": true, |
| 10 | 9 | "namesnames_behavior": false"none", |
| 11 | - "names_force_groups": false, | |
| 12 | 10 | "activation_regex": "", |
| 13 | 11 | "system_sequence_prefix": "", |
| 14 | 12 | "system_sequence_suffix": "", |
| @@ -1,5 +1,4 @@ | ||
| 1 | 1 | { |
| 2 | - "system_prompt": "Enter roleplay mode. You must act as {{char}}, whose persona follows:", | |
| 3 | 2 | "input_sequence": "<|user|>", |
| 4 | 3 | "output_sequence": "<|model|>", |
| 5 | 4 | "last_output_sequence": "", |
| @@ -7,8 +6,7 @@ | ||
| 7 | 6 | "stop_sequence": "</s>", |
| 8 | 7 | "wrap": false, |
| 9 | 8 | "macro": true, |
| 10 | 9 | "namesnames_behavior": false"force", |
| 11 | - "names_force_groups": true, | |
| 12 | 10 | "activation_regex": "", |
| 13 | 11 | "system_sequence_prefix": "<|system|>", |
| 14 | 12 | "system_sequence_suffix": "", |
| @@ -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 | +} | |
| @@ -1,24 +1,22 @@ | ||
| 1 | 1 | { |
| 2 | - "system_prompt": "Write {{char}}'s next reply in this fictional roleplay with {{user}}.", | |
| 3 | 2 | "input_sequence": "[INST] ", |
| 4 | 3 | "output_sequence": "[/INST] ", |
| 5 | 4 | "last_output_sequence": "[/INST]", |
| 6 | 5 | "system_sequence": "", |
| 7 | 6 | "stop_sequence": "", |
| 8 | 7 | "wrap": false, |
| 9 | 8 | "macro": true, |
| 10 | 9 | "namesnames_behavior": true"always", |
| 11 | - "names_force_groups": true, | |
| 12 | 10 | "activation_regex": "", |
| 13 | 11 | "system_sequence_prefix": "", |
| 14 | 12 | "system_sequence_suffix": "", |
| 15 | 13 | "first_output_sequence": "", |
| 16 | 14 | "skip_examples": false, |
| 17 | 15 | "output_suffix": "\n</s>", |
| 18 | 16 | "input_suffix": " [/INST]\n", |
| 19 | 17 | "system_suffix": "", |
| 20 | 18 | "user_alignment_message": "Let's get started. Please respond based on the information and instructions provided above.", |
| 21 | 19 | "system_same_as_user": true, |
| 22 | 20 | "last_system_sequence": "", |
| 23 | 21 | "name": "Mistral V2 & V3" |
| 24 | 22 | } |
| @@ -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 | +} | |
| @@ -1,5 +1,4 @@ | ||
| 1 | 1 | { |
| 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", | |
| 3 | 2 | "input_sequence": "\nUser: ", |
| 4 | 3 | "output_sequence": "\nAssistant: ", |
| 5 | 4 | "last_output_sequence": "", |
| @@ -7,8 +6,7 @@ | ||
| 7 | 6 | "stop_sequence": "", |
| 8 | 7 | "wrap": false, |
| 9 | 8 | "macro": true, |
| 10 | 9 | "namesnames_behavior": false"force", |
| 11 | - "names_force_groups": true, | |
| 12 | 10 | "activation_regex": "", |
| 13 | 11 | "system_sequence_prefix": "", |
| 14 | 12 | "system_sequence_suffix": "", |
| @@ -1,5 +1,4 @@ | ||
| 1 | 1 | { |
| 2 | - "system_prompt": "Write {{char}}'s next reply in this fictional roleplay with {{user}}.", | |
| 3 | 2 | "input_sequence": "<|user|>\n", |
| 4 | 3 | "output_sequence": "<|assistant|>\n", |
| 5 | 4 | "first_output_sequence": "", |
| @@ -9,8 +8,7 @@ | ||
| 9 | 8 | "stop_sequence": "<|end|>", |
| 10 | 9 | "wrap": false, |
| 11 | 10 | "macro": true, |
| 12 | 11 | "namesnames_behavior": true"always", |
| 13 | - "names_force_groups": true, | |
| 14 | 12 | "activation_regex": "", |
| 15 | 13 | "skip_examples": false, |
| 16 | 14 | "output_suffix": "<|end|>\n", |
| @@ -1,5 +1,4 @@ | ||
| 1 | 1 | { |
| 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.", | |
| 3 | 2 | "input_sequence": "<|user|>", |
| 4 | 3 | "output_sequence": "<|model|>", |
| 5 | 4 | "last_output_sequence": "", |
| @@ -7,8 +6,7 @@ | ||
| 7 | 6 | "stop_sequence": "<|user|>", |
| 8 | 7 | "wrap": false, |
| 9 | 8 | "macro": true, |
| 10 | 9 | "namesnames_behavior": true"always", |
| 11 | - "names_force_groups": true, | |
| 12 | 10 | "activation_regex": "", |
| 13 | 11 | "system_sequence_prefix": "<|system|>", |
| 14 | 12 | "system_sequence_suffix": "", |
| @@ -1,5 +1,4 @@ | ||
| 1 | 1 | { |
| 2 | - "system_prompt": "", | |
| 3 | 2 | "input_sequence": "", |
| 4 | 3 | "output_sequence": "", |
| 5 | 4 | "last_output_sequence": "", |
| @@ -7,8 +6,7 @@ | ||
| 7 | 6 | "stop_sequence": "", |
| 8 | 7 | "wrap": true, |
| 9 | 8 | "macro": true, |
| 10 | 9 | "namesnames_behavior": false"none", |
| 11 | - "names_force_groups": false, | |
| 12 | 10 | "activation_regex": "", |
| 13 | 11 | "system_sequence_prefix": "", |
| 14 | 12 | "system_sequence_suffix": "", |
| @@ -1,5 +1,4 @@ | ||
| 1 | 1 | { |
| 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.", | |
| 3 | 2 | "input_sequence": "USER: ", |
| 4 | 3 | "output_sequence": "ASSISTANT: ", |
| 5 | 4 | "last_output_sequence": "", |
| @@ -7,8 +6,7 @@ | ||
| 7 | 6 | "stop_sequence": "", |
| 8 | 7 | "wrap": false, |
| 9 | 8 | "macro": true, |
| 10 | 9 | "namesnames_behavior": false"force", |
| 11 | - "names_force_groups": true, | |
| 12 | 10 | "activation_regex": "", |
| 13 | 11 | "system_sequence_prefix": "SYSTEM: ", |
| 14 | 12 | "system_sequence_suffix": "", |
| @@ -1,5 +1,4 @@ | ||
| 1 | 1 | { |
| 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", | |
| 3 | 2 | "input_sequence": "### Human:", |
| 4 | 3 | "output_sequence": "### Assistant:", |
| 5 | 4 | "last_output_sequence": "", |
| @@ -7,8 +6,7 @@ | ||
| 7 | 6 | "stop_sequence": "", |
| 8 | 7 | "wrap": true, |
| 9 | 8 | "macro": true, |
| 10 | 9 | "namesnames_behavior": false"force", |
| 11 | - "names_force_groups": true, | |
| 12 | 10 | "activation_regex": "", |
| 13 | 11 | "system_sequence_prefix": "", |
| 14 | 12 | "system_sequence_suffix": "", |
| @@ -1,5 +1,4 @@ | ||
| 1 | 1 | { |
| 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", | |
| 3 | 2 | "input_sequence": "\nUSER: ", |
| 4 | 3 | "output_sequence": "\nASSISTANT: ", |
| 5 | 4 | "last_output_sequence": "", |
| @@ -7,8 +6,7 @@ | ||
| 7 | 6 | "stop_sequence": "", |
| 8 | 7 | "wrap": false, |
| 9 | 8 | "macro": true, |
| 10 | 9 | "namesnames_behavior": false"force", |
| 11 | - "names_force_groups": true, | |
| 12 | 10 | "activation_regex": "", |
| 13 | 11 | "system_sequence_prefix": "BEGINNING OF CONVERSATION:", |
| 14 | 12 | "system_sequence_suffix": "", |
| @@ -1,5 +1,4 @@ | ||
| 1 | 1 | { |
| 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}}.", | |
| 3 | 2 | "input_sequence": "USER: ", |
| 4 | 3 | "output_sequence": "ASSISTANT: ", |
| 5 | 4 | "last_output_sequence": "", |
| @@ -7,8 +6,7 @@ | ||
| 7 | 6 | "stop_sequence": "", |
| 8 | 7 | "wrap": true, |
| 9 | 8 | "macro": true, |
| 10 | 9 | "namesnames_behavior": false"force", |
| 11 | - "names_force_groups": true, | |
| 12 | 10 | "activation_regex": "", |
| 13 | 11 | "system_sequence_prefix": "", |
| 14 | 12 | "system_sequence_suffix": "", |
| @@ -1,5 +1,4 @@ | ||
| 1 | 1 | { |
| 2 | - "system_prompt": "Write {{char}}'s next reply in a fictional roleplay chat between {{user}} and {{char}}.\n", | |
| 3 | 2 | "input_sequence": "", |
| 4 | 3 | "output_sequence": "### Response:", |
| 5 | 4 | "last_output_sequence": "", |
| @@ -7,8 +6,7 @@ | ||
| 7 | 6 | "stop_sequence": "", |
| 8 | 7 | "wrap": true, |
| 9 | 8 | "macro": true, |
| 10 | 9 | "namesnames_behavior": false"force", |
| 11 | - "names_force_groups": true, | |
| 12 | 10 | "activation_regex": "", |
| 13 | 11 | "system_sequence_prefix": "", |
| 14 | 12 | "system_sequence_suffix": "", |
| @@ -1,5 +1,4 @@ | ||
| 1 | 1 | { |
| 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.]", | |
| 3 | 2 | "input_sequence": "### Instruction:\n#### {{name}}:", |
| 4 | 3 | "output_sequence": "### Response:\n#### {{name}}:", |
| 5 | 4 | "last_output_sequence": "### Response (2 paragraphs, engaging, natural, authentic, descriptive, creative):\n#### {{name}}:", |
| @@ -7,8 +6,7 @@ | ||
| 7 | 6 | "stop_sequence": "", |
| 8 | 7 | "wrap": true, |
| 9 | 8 | "macro": true, |
| 10 | 9 | "namesnames_behavior": false"none", |
| 11 | - "names_force_groups": false, | |
| 12 | 10 | "activation_regex": "", |
| 13 | 11 | "system_sequence_prefix": "", |
| 14 | 12 | "system_sequence_suffix": "", |
| @@ -14,7 +14,10 @@ | ||
| 14 | 14 | "use_cache": false, |
| 15 | 15 | "return_full_text": false, |
| 16 | 16 | "prefix": "vanilla", |
| 17 | - "cfg_scale": 1, | |
| 18 | 17 | "phrase_rep_pen": "medium", |
| 19 | 18 | "max_context": 7800, |
| 19 | + "min_p": 0, | |
| 20 | + "math1_temp": 1, | |
| 21 | + "math1_quad": 0, | |
| 22 | + "math1_quad_entropy_scale": 0 | |
| 20 | 23 | } |
| @@ -1,5 +1,5 @@ | ||
| 1 | 1 | { |
| 2 | 2 | "order": [6, 0, 1, 2, 3], |
| 3 | 3 | "temperature": 1, |
| 4 | 4 | "max_length": 150, |
| 5 | 5 | "min_length": 1, |
| @@ -14,6 +14,9 @@ | ||
| 14 | 14 | "return_full_text": false, |
| 15 | 15 | "prefix": "vanilla", |
| 16 | 16 | "phrase_rep_pen": "medium", |
| 17 | 17 | "cfg_scalemax_context": 1.557800, |
| 18 | 18 | "max_contextmin_p": 78000, |
| 19 | + "math1_temp": 1, | |
| 20 | + "math1_quad": 0, | |
| 21 | + "math1_quad_entropy_scale": 0 | |
| 19 | 22 | } |
| @@ -1,5 +1,5 @@ | ||
| 1 | 1 | { |
| 2 | 2 | "order": [6, 2, 3, 1, 0], |
| 3 | 3 | "temperature": 1, |
| 4 | 4 | "max_length": 150, |
| 5 | 5 | "min_length": 1, |
| @@ -15,6 +15,9 @@ | ||
| 15 | 15 | "return_full_text": false, |
| 16 | 16 | "prefix": "vanilla", |
| 17 | 17 | "phrase_rep_pen": "very_aggressive", |
| 18 | 18 | "cfg_scalemax_context": 1.37800, |
| 19 | 19 | "max_contextmin_p": 78000, |
| 20 | + "math1_temp": 1, | |
| 21 | + "math1_quad": 0, | |
| 22 | + "math1_quad_entropy_scale": 0 | |
| 20 | 23 | } |
| @@ -15,7 +15,10 @@ | ||
| 15 | 15 | "use_cache": false, |
| 16 | 16 | "return_full_text": false, |
| 17 | 17 | "prefix": "vanilla", |
| 18 | - "cfg_scale": 1, | |
| 19 | 18 | "phrase_rep_pen": "aggressive", |
| 20 | 19 | "max_context": 7800, |
| 20 | + "min_p": 0, | |
| 21 | + "math1_temp": 1, | |
| 22 | + "math1_quad": 0, | |
| 23 | + "math1_quad_entropy_scale": 0 | |
| 21 | 24 | } |
| @@ -1,5 +1,5 @@ | ||
| 1 | 1 | { |
| 2 | 2 | "order": [8, 6, 5, 0, 3], |
| 3 | 3 | "temperature": 0.9, |
| 4 | 4 | "max_length": 150, |
| 5 | 5 | "min_length": 1, |
| @@ -15,6 +15,9 @@ | ||
| 15 | 15 | "return_full_text": false, |
| 16 | 16 | "prefix": "vanilla", |
| 17 | 17 | "phrase_rep_pen": "off", |
| 18 | 18 | "cfg_scalemax_context": 1.487800, |
| 19 | 19 | "max_contextmin_p": 78000, |
| 20 | + "math1_temp": 1, | |
| 21 | + "math1_quad": 0, | |
| 22 | + "math1_quad_entropy_scale": 0 | |
| 20 | 23 | } |
| @@ -15,7 +15,10 @@ | ||
| 15 | 15 | "use_cache": false, |
| 16 | 16 | "return_full_text": false, |
| 17 | 17 | "prefix": "vanilla", |
| 18 | - "cfg_scale": 1, | |
| 19 | 18 | "phrase_rep_pen": "very_light", |
| 20 | 19 | "max_context": 7800, |
| 20 | + "min_p": 0, | |
| 21 | + "math1_temp": 1, | |
| 22 | + "math1_quad": 0, | |
| 23 | + "math1_quad_entropy_scale": 0 | |
| 21 | 24 | } |
| @@ -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 | +} | |
| @@ -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 | +} | |
| @@ -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 | +} | |
| @@ -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 | +} | |
| @@ -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 | +} | |
| @@ -16,7 +16,10 @@ | ||
| 16 | 16 | "use_cache": false, |
| 17 | 17 | "return_full_text": false, |
| 18 | 18 | "prefix": "vanilla", |
| 19 | - "cfg_scale": 1, | |
| 20 | 19 | "phrase_rep_pen": "very_light", |
| 21 | 20 | "max_context": 7800, |
| 21 | + "min_p": 0, | |
| 22 | + "math1_temp": 1, | |
| 23 | + "math1_quad": 0, | |
| 24 | + "math1_quad_entropy_scale": 0 | |
| 22 | 25 | } |
| @@ -14,7 +14,10 @@ | ||
| 14 | 14 | "use_cache": false, |
| 15 | 15 | "return_full_text": false, |
| 16 | 16 | "prefix": "vanilla", |
| 17 | - "cfg_scale": 1, | |
| 18 | 17 | "phrase_rep_pen": "off", |
| 19 | 18 | "max_context": 7800, |
| 19 | + "min_p": 0, | |
| 20 | + "math1_temp": 1, | |
| 21 | + "math1_quad": 0, | |
| 22 | + "math1_quad_entropy_scale": 0 | |
| 20 | 23 | } |
| @@ -1,5 +1,5 @@ | ||
| 1 | 1 | { |
| 2 | 2 | "order": [6, 0, 8, 5, 3], |
| 3 | 3 | "temperature": 1.5, |
| 4 | 4 | "max_length": 150, |
| 5 | 5 | "min_length": 1, |
| @@ -15,6 +15,9 @@ | ||
| 15 | 15 | "return_full_text": false, |
| 16 | 16 | "prefix": "vanilla", |
| 17 | 17 | "phrase_rep_pen": "very_aggressive", |
| 18 | 18 | "cfg_scalemax_context": 1.47800, |
| 19 | 19 | "max_contextmin_p": 78000, |
| 20 | + "math1_temp": 1, | |
| 21 | + "math1_quad": 0, | |
| 22 | + "math1_quad_entropy_scale": 0 | |
| 20 | 23 | } |
| @@ -16,7 +16,10 @@ | ||
| 16 | 16 | "use_cache": false, |
| 17 | 17 | "return_full_text": false, |
| 18 | 18 | "prefix": "vanilla", |
| 19 | - "cfg_scale": 1, | |
| 20 | 19 | "phrase_rep_pen": "very_light", |
| 21 | 20 | "max_context": 7800, |
| 21 | + "min_p": 0, | |
| 22 | + "math1_temp": 1, | |
| 23 | + "math1_quad": 0, | |
| 24 | + "math1_quad_entropy_scale": 0 | |
| 22 | 25 | } |
| @@ -16,7 +16,10 @@ | ||
| 16 | 16 | "use_cache": false, |
| 17 | 17 | "return_full_text": false, |
| 18 | 18 | "prefix": "vanilla", |
| 19 | - "cfg_scale": 1, | |
| 20 | 19 | "phrase_rep_pen": "very_light", |
| 21 | 20 | "max_context": 7800, |
| 21 | + "min_p": 0, | |
| 22 | + "math1_temp": 1, | |
| 23 | + "math1_quad": 0, | |
| 24 | + "math1_quad_entropy_scale": 0 | |
| 22 | 25 | } |
| @@ -1,5 +1,5 @@ | ||
| 1 | 1 | { |
| 2 | 2 | "order": [6, 0, 4, 1, 2, 5, 3], |
| 3 | 3 | "temperature": 1.31, |
| 4 | 4 | "max_length": 150, |
| 5 | 5 | "min_length": 1, |
| @@ -17,6 +17,9 @@ | ||
| 17 | 17 | "return_full_text": false, |
| 18 | 18 | "prefix": "vanilla", |
| 19 | 19 | "phrase_rep_pen": "medium", |
| 20 | 20 | "cfg_scalemax_context": 1.357800, |
| 21 | 21 | "max_contextmin_p": 78000, |
| 22 | + "math1_temp": 1, | |
| 23 | + "math1_quad": 0, | |
| 24 | + "math1_quad_entropy_scale": 0 | |
| 22 | 25 | } |
| @@ -15,6 +15,9 @@ | ||
| 15 | 15 | "return_full_text": false, |
| 16 | 16 | "prefix": "vanilla", |
| 17 | 17 | "phrase_rep_pen": "medium", |
| 18 | 18 | "cfg_scalemax_context": 1.07800, |
| 19 | 19 | "max_contextmin_p": 78000, |
| 20 | + "math1_temp": 1, | |
| 21 | + "math1_quad": 0, | |
| 22 | + "math1_quad_entropy_scale": 0 | |
| 20 | 23 | } |
| @@ -13,5 +13,9 @@ | ||
| 13 | 13 | "return_full_text": false, |
| 14 | 14 | "prefix": "vanilla", |
| 15 | 15 | "phrase_rep_pen": "medium", |
| 16 | 16 | "max_context": 7800, |
| 17 | + "min_p": 0, | |
| 18 | + "math1_temp": 1, | |
| 19 | + "math1_quad": 0, | |
| 20 | + "math1_quad_entropy_scale": 0 | |
| 17 | 21 | } |
| @@ -16,7 +16,10 @@ | ||
| 16 | 16 | "use_cache": false, |
| 17 | 17 | "return_full_text": false, |
| 18 | 18 | "prefix": "vanilla", |
| 19 | - "cfg_scale": 1, | |
| 20 | 19 | "phrase_rep_pen": "very_light", |
| 21 | 20 | "max_context": 7800, |
| 21 | + "min_p": 0, | |
| 22 | + "math1_temp": 1, | |
| 23 | + "math1_quad": 0, | |
| 24 | + "math1_quad_entropy_scale": 0 | |
| 22 | 25 | } |
| @@ -14,6 +14,9 @@ | ||
| 14 | 14 | "return_full_text": false, |
| 15 | 15 | "prefix": "vanilla", |
| 16 | 16 | "phrase_rep_pen": "aggressive", |
| 17 | 17 | "cfg_scalemax_context": 1.07800, |
| 18 | 18 | "max_contextmin_p": 78000, |
| 19 | + "math1_temp": 1, | |
| 20 | + "math1_quad": 0, | |
| 21 | + "math1_quad_entropy_scale": 0 | |
| 19 | 22 | } |
| @@ -1,5 +1,5 @@ | ||
| 1 | 1 | { |
| 2 | 2 | "order": [6, 0, 5], |
| 3 | 3 | "temperature": 0.895, |
| 4 | 4 | "max_length": 150, |
| 5 | 5 | "min_length": 1, |
| @@ -13,6 +13,9 @@ | ||
| 13 | 13 | "return_full_text": false, |
| 14 | 14 | "prefix": "vanilla", |
| 15 | 15 | "phrase_rep_pen": "aggressive", |
| 16 | 16 | "cfg_scalemax_context": 1.37800, |
| 17 | 17 | "max_contextmin_p": 78000, |
| 18 | + "math1_temp": 1, | |
| 19 | + "math1_quad": 0, | |
| 20 | + "math1_quad_entropy_scale": 0 | |
| 18 | 21 | } |
| @@ -16,7 +16,10 @@ | ||
| 16 | 16 | "use_cache": false, |
| 17 | 17 | "return_full_text": false, |
| 18 | 18 | "prefix": "vanilla", |
| 19 | - "cfg_scale": 1, | |
| 20 | 19 | "phrase_rep_pen": "very_light", |
| 21 | 20 | "max_context": 7800, |
| 21 | + "min_p": 0, | |
| 22 | + "math1_temp": 1, | |
| 23 | + "math1_quad": 0, | |
| 24 | + "math1_quad_entropy_scale": 0 | |
| 22 | 25 | } |
| @@ -17,5 +17,9 @@ | ||
| 17 | 17 | "return_full_text": false, |
| 18 | 18 | "prefix": "vanilla", |
| 19 | 19 | "phrase_rep_pen": "very_aggressive", |
| 20 | 20 | "max_context": 7800, |
| 21 | + "min_p": 0, | |
| 22 | + "math1_temp": 1, | |
| 23 | + "math1_quad": 0, | |
| 24 | + "math1_quad_entropy_scale": 0 | |
| 21 | 25 | } |
| @@ -5,10 +5,9 @@ | ||
| 5 | 5 | "windowai_model": "", |
| 6 | 6 | "openrouter_model": "OR_Website", |
| 7 | 7 | "openrouter_use_fallback": false, |
| 8 | - "openrouter_force_instruct": false, | |
| 9 | 8 | "openrouter_group_models": false, |
| 10 | 9 | "openrouter_sort_models": "alphabetically", |
| 11 | 10 | "ai21_model": "j2jamba-ultra1.5-large", |
| 12 | 11 | "mistralai_model": "mistral-large-latest", |
| 13 | 12 | "custom_model": "", |
| 14 | 13 | "custom_url": "", |
| @@ -19,7 +18,6 @@ | ||
| 19 | 18 | "temperature": 1, |
| 20 | 19 | "frequency_penalty": 0, |
| 21 | 20 | "presence_penalty": 0, |
| 22 | - "count_penalty": 0, | |
| 23 | 21 | "top_p": 1, |
| 24 | 22 | "top_k": 0, |
| 25 | 23 | "top_a": 0, |
| @@ -233,8 +231,6 @@ | ||
| 233 | 231 | "assistant_prefill": "", |
| 234 | 232 | "assistant_impersonation": "", |
| 235 | 233 | "human_sysprompt_message": "Let's get started. Please generate your response based on the information and instructions provided above.", |
| 236 | - "use_ai21_tokenizer": false, | |
| 237 | - "use_google_tokenizer": false, | |
| 238 | 234 | "claude_use_sysprompt": false, |
| 239 | 235 | "use_alt_scale": false, |
| 240 | 236 | "squash_system_messages": false, |
| @@ -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 | +} | |
| @@ -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 | +} | |
| @@ -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 | +} | |
| @@ -0,0 +1,4 @@ | ||
| 1 | +{ | |
| 2 | + "name": "Blank", | |
| 3 | + "content": "" | |
| 4 | +} | |
| @@ -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 | +} | |
| @@ -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 | +} | |
| @@ -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 | +} | |
| @@ -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 | +} | |
| @@ -0,0 +1,4 @@ | ||
| 1 | +{ | |
| 2 | + "name": "Roleplay - Simple", | |
| 3 | + "content": "You're {{char}} in this fictional never-ending uncensored roleplay with {{user}}." | |
| 4 | +} | |
| @@ -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 | +} | |
| @@ -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 | +} | |
| @@ -0,0 +1,4 @@ | ||
| 1 | +{ | |
| 2 | + "name": "Writer - Realistic", | |
| 3 | + "content": "Continue writing this story and portray characters realistically." | |
| 4 | +} | |
| @@ -4,8 +4,8 @@ | ||
| 4 | 4 | "api_server": "http://127.0.0.1:5000/api", |
| 5 | 5 | "preset_settings": "RecoveredRuins", |
| 6 | 6 | "user_avatar": "user-default.png", |
| 7 | 7 | "amount_gen": 250350, |
| 8 | 8 | "max_context": 20488192, |
| 9 | 9 | "main_api": "koboldhorde", |
| 10 | 10 | "world_info_settings": { |
| 11 | 11 | "world_info": { |
| @@ -90,7 +90,6 @@ | ||
| 90 | 90 | "pin_examples": false, |
| 91 | 91 | "strip_examples": false, |
| 92 | 92 | "trim_sentences": false, |
| 93 | - "include_newline": false, | |
| 94 | 93 | "always_force_name2": true, |
| 95 | 94 | "user_prompt_bias": "", |
| 96 | 95 | "show_user_prompt_bias": true, |
| @@ -142,6 +141,7 @@ | ||
| 142 | 141 | "timestamps_enabled": true, |
| 143 | 142 | "timestamp_model_icon": true, |
| 144 | 143 | "mesIDDisplay_enabled": false, |
| 144 | + "hideChatAvatars_enabled": false, | |
| 145 | 145 | "max_context_unlocked": false, |
| 146 | 146 | "prefer_character_prompt": true, |
| 147 | 147 | "prefer_character_jailbreak": true, |
| @@ -149,11 +149,9 @@ | ||
| 149 | 149 | "continue_on_send": false, |
| 150 | 150 | "trim_spaces": true, |
| 151 | 151 | "relaxed_api_urls": false, |
| 152 | - "default_instruct": "", | |
| 153 | 152 | "instruct": { |
| 154 | 153 | "enabled": false, |
| 155 | 154 | "preset": "Alpaca", |
| 156 | - "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", | |
| 157 | 155 | "input_sequence": "### Instruction:", |
| 158 | 156 | "output_sequence": "### Response:", |
| 159 | 157 | "last_output_sequence": "", |
| @@ -161,8 +159,7 @@ | ||
| 161 | 159 | "stop_sequence": "", |
| 162 | 160 | "wrap": true, |
| 163 | 161 | "macro": true, |
| 164 | 162 | "namesnames_behavior": false"force", |
| 165 | - "names_force_groups": true, | |
| 166 | 163 | "activation_regex": "", |
| 167 | 164 | "system_sequence_prefix": "", |
| 168 | 165 | "system_sequence_suffix": "", |
| @@ -174,7 +171,11 @@ | ||
| 174 | 171 | "user_alignment_message": "", |
| 175 | 172 | "system_same_as_user": false |
| 176 | 173 | }, |
| 177 | 174 | "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 | + }, | |
| 178 | 179 | "context": { |
| 179 | 180 | "preset": "Default", |
| 180 | 181 | "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}}", |
| @@ -195,7 +196,15 @@ | ||
| 195 | 196 | "enableLabMode": false, |
| 196 | 197 | "enableZenSliders": false, |
| 197 | 198 | "ui_mode": 1, |
| 198 | 199 | "forbid_external_media": true, |
| 200 | + "stscript": { | |
| 201 | + "parser": { | |
| 202 | + "flags": { | |
| 203 | + "1": true, | |
| 204 | + "2": true | |
| 205 | + } | |
| 206 | + } | |
| 207 | + } | |
| 199 | 208 | }, |
| 200 | 209 | "extension_settings": { |
| 201 | 210 | "apiUrl": "http://localhost:5100", |
| @@ -226,7 +235,7 @@ | ||
| 226 | 235 | "lengthPenaltyStep": 0.1, |
| 227 | 236 | "memoryFrozen": false, |
| 228 | 237 | "source": "extras", |
| 229 | 238 | "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.]", |
| 230 | 239 | "promptWords": 200, |
| 231 | 240 | "promptMinWords": 25, |
| 232 | 241 | "promptMaxWords": 1000, |
| @@ -289,13 +298,13 @@ | ||
| 289 | 298 | "horde_karras": true, |
| 290 | 299 | "refine_mode": false, |
| 291 | 300 | "prompts": { |
| 292 | 301 | "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,']", |
| 293 | 302 | "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.]", |
| 294 | 303 | "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.]", |
| 295 | 304 | "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.]", |
| 296 | - "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)'", | |
| 297 | 306 | "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,']", |
| 298 | 307 | "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.]" |
| 299 | 308 | }, |
| 300 | 309 | "character_prompts": {} |
| 301 | 310 | }, |
| @@ -309,9 +318,9 @@ | ||
| 309 | 318 | "objective": { |
| 310 | 319 | "customPrompts": { |
| 311 | 320 | "default": { |
| 312 | 321 | "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 ", |
| 313 | 322 | "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 ", |
| 314 | 323 | "currentTask": "Your current task is [{{task}}]. Balance existing roleplaystory with completing this task." |
| 315 | 324 | } |
| 316 | 325 | } |
| 317 | 326 | }, |
| @@ -408,7 +417,6 @@ | ||
| 408 | 417 | "preset_settings_novel": "Talker-Chat-Clio", |
| 409 | 418 | "streaming_novel": true, |
| 410 | 419 | "preamble": "[ Style: chat, complex, sensory, visceral ]", |
| 411 | - "cfg_uc": "", | |
| 412 | 420 | "banned_tokens": "", |
| 413 | 421 | "order": [ |
| 414 | 422 | 1, |
| @@ -451,7 +459,6 @@ | ||
| 451 | 459 | "temp_openai": 1.0, |
| 452 | 460 | "freq_pen_openai": 0, |
| 453 | 461 | "pres_pen_openai": 0, |
| 454 | - "count_pen": 0, | |
| 455 | 462 | "top_p_openai": 1, |
| 456 | 463 | "top_k_openai": 0, |
| 457 | 464 | "stream_openai": true, |
| @@ -613,7 +620,7 @@ | ||
| 613 | 620 | "wi_format": "{0}", |
| 614 | 621 | "openai_model": "gpt-4-turbo", |
| 615 | 622 | "claude_model": "claude-3-5-sonnet-20240620", |
| 616 | 623 | "ai21_model": "j2jamba-ultra1.5-large", |
| 617 | 624 | "windowai_model": "", |
| 618 | 625 | "openrouter_model": "OR_Website", |
| 619 | 626 | "jailbreak_system": true, |
| @@ -624,7 +631,6 @@ | ||
| 624 | 631 | "show_external_models": false, |
| 625 | 632 | "proxy_password": "", |
| 626 | 633 | "assistant_prefill": "", |
| 627 | 634 | "assistant_impersonation": "", |
| 628 | - "use_ai21_tokenizer": false | |
| 629 | 635 | } |
| 630 | 636 | } |
| @@ -23,6 +23,7 @@ | ||
| 23 | 23 | "timestamps_enabled": true, |
| 24 | 24 | "timestamp_model_icon": false, |
| 25 | 25 | "mesIDDisplay_enabled": true, |
| 26 | + "hideChatAvatars_enabled": false, | |
| 26 | 27 | "message_token_count_enabled": false, |
| 27 | 28 | "expand_message_actions": false, |
| 28 | 29 | "enableZenSliders": false, |
| @@ -23,6 +23,7 @@ | ||
| 23 | 23 | "timestamps_enabled": true, |
| 24 | 24 | "timestamp_model_icon": true, |
| 25 | 25 | "mesIDDisplay_enabled": true, |
| 26 | + "hideChatAvatars_enabled": false, | |
| 26 | 27 | "message_token_count_enabled": false, |
| 27 | 28 | "expand_message_actions": false, |
| 28 | 29 | "enableZenSliders": false, |
| @@ -23,6 +23,7 @@ | ||
| 23 | 23 | "timestamps_enabled": true, |
| 24 | 24 | "timestamp_model_icon": true, |
| 25 | 25 | "mesIDDisplay_enabled": false, |
| 26 | + "hideChatAvatars_enabled": false, | |
| 26 | 27 | "message_token_count_enabled": false, |
| 27 | 28 | "expand_message_actions": false, |
| 28 | 29 | "enableZenSliders": "", |
Binary file
| @@ -1,12 +1,12 @@ | ||
| 1 | 1 | { |
| 2 | 2 | "name": "sillytavern", |
| 3 | 3 | "version": "1.12.56", |
| 4 | 4 | "lockfileVersion": 3, |
| 5 | 5 | "requires": true, |
| 6 | 6 | "packages": { |
| 7 | 7 | "": { |
| 8 | 8 | "name": "sillytavern", |
| 9 | 9 | "version": "1.12.56", |
| 10 | 10 | "hasInstallScript": true, |
| 11 | 11 | "license": "AGPL-3.0", |
| 12 | 12 | "dependencies": { |
| @@ -22,7 +22,7 @@ | ||
| 22 | 22 | "cookie-session": "^2.1.0", |
| 23 | 23 | "cors": "^2.8.5", |
| 24 | 24 | "csrf-csrf": "^2.2.3", |
| 25 | 25 | "express": "^4.1921.20", |
| 26 | 26 | "form-data": "^4.0.0", |
| 27 | 27 | "google-translate-api-browser": "^3.0.1", |
| 28 | 28 | "he": "^1.2.0", |
| @@ -40,12 +40,13 @@ | ||
| 40 | 40 | "png-chunk-text": "^1.0.0", |
| 41 | 41 | "png-chunks-encode": "^1.0.0", |
| 42 | 42 | "png-chunks-extract": "^1.0.0", |
| 43 | + "proxy-agent": "^6.4.0", | |
| 43 | 44 | "rate-limiter-flexible": "^5.0.0", |
| 44 | 45 | "response-time": "^2.3.2", |
| 45 | 46 | "sanitize-filename": "^1.6.3", |
| 46 | 47 | "sillytavern-transformers": "2.14.6", |
| 47 | 48 | "simple-git": "^3.19.1", |
| 48 | 49 | "tiktoken": "^1.0.1516", |
| 49 | 50 | "vectra": "^0.2.2", |
| 50 | 51 | "wavefile": "^11.0.0", |
| 51 | 52 | "write-file-atomic": "^5.0.1", |
| @@ -941,6 +942,12 @@ | ||
| 941 | 942 | "integrity": "sha512-OvjF+z51L3ov0OyAU0duzsYuvO01PH7x4t6DJx+guahgTnBHkhJdG7soQeTSFLWN3efnHyibZ4Z8l2EuWwJN3A==", |
| 942 | 943 | "license": "MIT" |
| 943 | 944 | }, |
| 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 | + }, | |
| 944 | 951 | "node_modules/@types/cacheable-request": { |
| 945 | 952 | "version": "6.0.3", |
| 946 | 953 | "resolved": "https://registry.npmjs.org/@types/cacheable-request/-/cacheable-request-6.0.3.tgz", |
| @@ -1080,6 +1087,41 @@ | ||
| 1080 | 1087 | "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" |
| 1081 | 1088 | } |
| 1082 | 1089 | }, |
| 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 | + }, | |
| 1083 | 1125 | "node_modules/agentkeepalive": { |
| 1084 | 1126 | "version": "4.5.0", |
| 1085 | 1127 | "resolved": "https://registry.npmjs.org/agentkeepalive/-/agentkeepalive-4.5.0.tgz", |
| @@ -1382,6 +1424,18 @@ | ||
| 1382 | 1424 | "integrity": "sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==", |
| 1383 | 1425 | "license": "MIT" |
| 1384 | 1426 | }, |
| 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 | + }, | |
| 1385 | 1439 | "node_modules/async": { |
| 1386 | 1440 | "version": "3.2.5", |
| 1387 | 1441 | "resolved": "https://registry.npmjs.org/async/-/async-3.2.5.tgz", |
| @@ -1445,6 +1499,15 @@ | ||
| 1445 | 1499 | ], |
| 1446 | 1500 | "license": "MIT" |
| 1447 | 1501 | }, |
| 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 | + }, | |
| 1448 | 1511 | "node_modules/bing-translate-api": { |
| 1449 | 1512 | "version": "2.9.1", |
| 1450 | 1513 | "resolved": "https://registry.npmjs.org/bing-translate-api/-/bing-translate-api-2.9.1.tgz", |
| @@ -1461,9 +1524,9 @@ | ||
| 1461 | 1524 | "license": "MIT" |
| 1462 | 1525 | }, |
| 1463 | 1526 | "node_modules/body-parser": { |
| 1464 | 1527 | "version": "1.20.23", |
| 1465 | 1528 | "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.23.tgz", |
| 1466 | 1529 | "integrity": "sha512-ml9pReCu3M61kGlqoTm2umSXTlRTuGTx0bfYj+uIUKKYycG5NtSbeetV3faSU6R7ajOPw0g7rAxByjUMqQ3/J1PvK4qNy7s5bAbHJy7D6OGXvx/MMc4IqBn/X0fcM1QUcAItpZrBEYhWGem+tzXH90c+G01ypMcYJBO9Y30203g==", |
| 1467 | 1530 | "license": "MIT", |
| 1468 | 1531 | "dependencies": { |
| 1469 | 1532 | "bytes": "3.1.2", |
| @@ -1474,7 +1537,7 @@ | ||
| 1474 | 1537 | "http-errors": "2.0.0", |
| 1475 | 1538 | "iconv-lite": "0.4.24", |
| 1476 | 1539 | "on-finished": "2.4.1", |
| 1477 | 1540 | "qs": "6.1113.0", |
| 1478 | 1541 | "raw-body": "2.5.2", |
| 1479 | 1542 | "type-is": "~1.6.18", |
| 1480 | 1543 | "unpipe": "1.0.0" |
| @@ -1618,13 +1681,19 @@ | ||
| 1618 | 1681 | } |
| 1619 | 1682 | }, |
| 1620 | 1683 | "node_modules/call-bind": { |
| 1621 | 1684 | "version": "1.0.27", |
| 1622 | 1685 | "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.27.tgz", |
| 1623 | 1686 | "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJGHTSNSYICQ7scH7sZ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrAM2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==", |
| 1624 | 1687 | "license": "MIT", |
| 1625 | 1688 | "dependencies": { |
| 1626 | 1689 | "functiones-binddefine-property": "^1.10.10", |
| 1627 | 1690 | "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" | |
| 1628 | 1697 | }, |
| 1629 | 1698 | "funding": { |
| 1630 | 1699 | "url": "https://github.com/sponsors/ljharb" |
| @@ -1644,6 +1713,7 @@ | ||
| 1644 | 1713 | "version": "2.7.0", |
| 1645 | 1714 | "resolved": "https://registry.npmjs.org/centra/-/centra-2.7.0.tgz", |
| 1646 | 1715 | "integrity": "sha512-PbFMgMSrmgx6uxCdm57RUos9Tc3fclMvhLSATYN39XsDV29B89zZ3KA89jmY0vwSGazyU+uerqwa6t+KaodPcg==", |
| 1716 | + "license": "MIT", | |
| 1647 | 1717 | "dependencies": { |
| 1648 | 1718 | "follow-redirects": "^1.15.6" |
| 1649 | 1719 | } |
| @@ -2229,6 +2299,15 @@ | ||
| 2229 | 2299 | "url": "https://github.com/sponsors/fb55" |
| 2230 | 2300 | } |
| 2231 | 2301 | }, |
| 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 | + }, | |
| 2232 | 2311 | "node_modules/debug": { |
| 2233 | 2312 | "version": "2.6.9", |
| 2234 | 2313 | "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", |
| @@ -2269,6 +2348,23 @@ | ||
| 2269 | 2348 | "node": ">=10" |
| 2270 | 2349 | } |
| 2271 | 2350 | }, |
| 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 | + }, | |
| 2272 | 2368 | "node_modules/define-lazy-prop": { |
| 2273 | 2369 | "version": "2.0.0", |
| 2274 | 2370 | "resolved": "https://registry.npmjs.org/define-lazy-prop/-/define-lazy-prop-2.0.0.tgz", |
| @@ -2278,6 +2374,20 @@ | ||
| 2278 | 2374 | "node": ">=8" |
| 2279 | 2375 | } |
| 2280 | 2376 | }, |
| 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 | + }, | |
| 2281 | 2391 | "node_modules/delayed-stream": { |
| 2282 | 2392 | "version": "1.0.0", |
| 2283 | 2393 | "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", |
| @@ -2416,9 +2526,9 @@ | ||
| 2416 | 2526 | "license": "MIT" |
| 2417 | 2527 | }, |
| 2418 | 2528 | "node_modules/encodeurl": { |
| 2419 | 2529 | "version": "12.0.20", |
| 2420 | 2530 | "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-12.0.20.tgz", |
| 2421 | 2531 | "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0wQ0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==", |
| 2422 | 2532 | "license": "MIT", |
| 2423 | 2533 | "engines": { |
| 2424 | 2534 | "node": ">= 0.8" |
| @@ -2445,6 +2555,27 @@ | ||
| 2445 | 2555 | "url": "https://github.com/fb55/entities?sponsor=1" |
| 2446 | 2556 | } |
| 2447 | 2557 | }, |
| 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 | + }, | |
| 2448 | 2579 | "node_modules/escalade": { |
| 2449 | 2580 | "version": "3.1.2", |
| 2450 | 2581 | "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.2.tgz", |
| @@ -2469,6 +2600,27 @@ | ||
| 2469 | 2600 | "node": ">=0.8.0" |
| 2470 | 2601 | } |
| 2471 | 2602 | }, |
| 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 | + }, | |
| 2472 | 2624 | "node_modules/eslint": { |
| 2473 | 2625 | "version": "8.57.0", |
| 2474 | 2626 | "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.57.0.tgz", |
| @@ -2624,6 +2776,19 @@ | ||
| 2624 | 2776 | "url": "https://opencollective.com/eslint" |
| 2625 | 2777 | } |
| 2626 | 2778 | }, |
| 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 | + }, | |
| 2627 | 2792 | "node_modules/esquery": { |
| 2628 | 2793 | "version": "1.5.0", |
| 2629 | 2794 | "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.5.0.tgz", |
| @@ -2654,7 +2819,6 @@ | ||
| 2654 | 2819 | "version": "5.3.0", |
| 2655 | 2820 | "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", |
| 2656 | 2821 | "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", |
| 2657 | - "dev": true, | |
| 2658 | 2822 | "license": "BSD-2-Clause", |
| 2659 | 2823 | "engines": { |
| 2660 | 2824 | "node": ">=4.0" |
| @@ -2664,7 +2828,6 @@ | ||
| 2664 | 2828 | "version": "2.0.3", |
| 2665 | 2829 | "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", |
| 2666 | 2830 | "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", |
| 2667 | - "dev": true, | |
| 2668 | 2831 | "license": "BSD-2-Clause", |
| 2669 | 2832 | "engines": { |
| 2670 | 2833 | "node": ">=0.10.0" |
| @@ -2702,36 +2865,37 @@ | ||
| 2702 | 2865 | "integrity": "sha512-c2bQfLNbMzLPmzQuOr8fy0csy84WmwnER81W88DzTp9CYNPJ6yzOj2EZAh9pywYpqHnshVLHQJ8WzldAyfY+Iw==" |
| 2703 | 2866 | }, |
| 2704 | 2867 | "node_modules/express": { |
| 2705 | 2868 | "version": "4.1921.20", |
| 2706 | 2869 | "resolved": "https://registry.npmjs.org/express/-/express-4.1921.20.tgz", |
| 2707 | 2870 | "integrity": "sha512-5T6nhjsT+EOMzuck8JjBHARTHfMht0POzlA60WV2pMD3gyXw2LZnZVqcNGcj/Id5ZT1LZ/cfihi3ttTn+ueGdNxGNJmkli2eZADigjq29qTlWi/hAQ43t/VLPq8+0calOJcWKbpFcuzLZ91YWq9QUX06FCEx3ByOYet6ZFblng==", |
| 2871 | + "license": "MIT", | |
| 2708 | 2872 | "dependencies": { |
| 2709 | 2873 | "accepts": "~1.3.8", |
| 2710 | 2874 | "array-flatten": "1.1.1", |
| 2711 | 2875 | "body-parser": "1.20.23", |
| 2712 | 2876 | "content-disposition": "0.5.4", |
| 2713 | 2877 | "content-type": "~1.0.4", |
| 2714 | 2878 | "cookie": "0.6.0", |
| 2715 | 2879 | "cookie-signature": "1.0.6", |
| 2716 | 2880 | "debug": "2.6.9", |
| 2717 | 2881 | "depd": "2.0.0", |
| 2718 | 2882 | "encodeurl": "~12.0.20", |
| 2719 | 2883 | "escape-html": "~1.0.3", |
| 2720 | 2884 | "etag": "~1.8.1", |
| 2721 | 2885 | "finalhandler": "1.23.01", |
| 2722 | 2886 | "fresh": "0.5.2", |
| 2723 | 2887 | "http-errors": "2.0.0", |
| 2724 | 2888 | "merge-descriptors": "1.0.13", |
| 2725 | 2889 | "methods": "~1.1.2", |
| 2726 | 2890 | "on-finished": "2.4.1", |
| 2727 | 2891 | "parseurl": "~1.3.3", |
| 2728 | 2892 | "path-to-regexp": "0.1.710", |
| 2729 | 2893 | "proxy-addr": "~2.0.7", |
| 2730 | 2894 | "qs": "6.1113.0", |
| 2731 | 2895 | "range-parser": "~1.2.1", |
| 2732 | 2896 | "safe-buffer": "5.2.1", |
| 2733 | 2897 | "send": "0.1819.0", |
| 2734 | 2898 | "serve-static": "1.1516.02", |
| 2735 | 2899 | "setprototypeof": "1.2.0", |
| 2736 | 2900 | "statuses": "2.0.1", |
| 2737 | 2901 | "type-is": "~1.6.18", |
| @@ -2846,13 +3010,13 @@ | ||
| 2846 | 3010 | } |
| 2847 | 3011 | }, |
| 2848 | 3012 | "node_modules/finalhandler": { |
| 2849 | 3013 | "version": "1.23.01", |
| 2850 | 3014 | "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.23.01.tgz", |
| 2851 | 3015 | "integrity": "sha512-5uXcUVftlQMFnWC9qu/svkWv3GTd2PfUhK6BN9trH7bp3qvnrRyzsBz+g3lZxTNZTbVO2EV1CS0WIcDbawYVdYvGflME/3PLkYNAe7FbqJMt3515HaxE6eRL74GdsriiwujiawdaB1BpEISg9QP0h0pYlCDBCTjYa9nZzMDpyxQ==", |
| 2852 | 3016 | "license": "MIT", |
| 2853 | 3017 | "dependencies": { |
| 2854 | 3018 | "debug": "2.6.9", |
| 2855 | 3019 | "encodeurl": "~12.0.20", |
| 2856 | 3020 | "escape-html": "~1.0.3", |
| 2857 | 3021 | "on-finished": "2.4.1", |
| 2858 | 3022 | "parseurl": "~1.3.3", |
| @@ -3002,6 +3166,20 @@ | ||
| 3002 | 3166 | "node": ">= 0.6" |
| 3003 | 3167 | } |
| 3004 | 3168 | }, |
| 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 | + }, | |
| 3005 | 3183 | "node_modules/fs.realpath": { |
| 3006 | 3184 | "version": "1.0.0", |
| 3007 | 3185 | "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", |
| @@ -3028,15 +3206,19 @@ | ||
| 3028 | 3206 | } |
| 3029 | 3207 | }, |
| 3030 | 3208 | "node_modules/get-intrinsic": { |
| 3031 | 3209 | "version": "1.2.14", |
| 3032 | 3210 | "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.14.tgz", |
| 3033 | 3211 | "integrity": "sha512-2DcsyfABl+gVHEfCOaTrWgyt+tb6MSEGmKq+kI5HwLbIYgjgmMcV8KQ41uaKz1xxUcn9tJtgFbQUEVcEbd0FYw5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==", |
| 3034 | 3212 | "license": "MIT", |
| 3035 | 3213 | "dependencies": { |
| 3036 | 3214 | "functiones-binderrors": "^1.13.10", |
| 3037 | 3215 | "hasfunction-bind": "^1.01.32", |
| 3038 | 3216 | "has-proto": "^1.0.1", |
| 3039 | 3217 | "has-symbols": "^1.0.3", |
| 3218 | + "hasown": "^2.0.0" | |
| 3219 | + }, | |
| 3220 | + "engines": { | |
| 3221 | + "node": ">= 0.4" | |
| 3040 | 3222 | }, |
| 3041 | 3223 | "funding": { |
| 3042 | 3224 | "url": "https://github.com/sponsors/ljharb" |
| @@ -3057,6 +3239,44 @@ | ||
| 3057 | 3239 | "url": "https://github.com/sponsors/sindresorhus" |
| 3058 | 3240 | } |
| 3059 | 3241 | }, |
| 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 | + }, | |
| 3060 | 3280 | "node_modules/gifwrap": { |
| 3061 | 3281 | "version": "0.10.1", |
| 3062 | 3282 | "resolved": "https://registry.npmjs.org/gifwrap/-/gifwrap-0.10.1.tgz", |
| @@ -3120,6 +3340,18 @@ | ||
| 3120 | 3340 | "integrity": "sha512-KTLodkyGBWMK9IW6QIeJ2zCuju4Z0CLpbkADKo+yLhbSTD4l+CXXpQ/xaynGVAzeBezzJG6qn8MLeqOq3SmW0A==", |
| 3121 | 3341 | "license": "MIT" |
| 3122 | 3342 | }, |
| 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 | + }, | |
| 3123 | 3355 | "node_modules/got": { |
| 3124 | 3356 | "version": "11.8.6", |
| 3125 | 3357 | "resolved": "https://registry.npmjs.org/got/-/got-11.8.6.tgz", |
| @@ -3169,18 +3401,6 @@ | ||
| 3169 | 3401 | "integrity": "sha512-Y8T4vYhEfwJOTbouREvG+3XDsjr8E3kIr7uf+JZ0BYloFsttiHU0WfvANVsR7TxNUJa/WpCnw/Ino/p+DeBhBQ==", |
| 3170 | 3402 | "license": "ISC" |
| 3171 | 3403 | }, |
| 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 | - }, | |
| 3184 | 3404 | "node_modules/has-flag": { |
| 3185 | 3405 | "version": "4.0.0", |
| 3186 | 3406 | "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", |
| @@ -3191,10 +3411,22 @@ | ||
| 3191 | 3411 | "node": ">=8" |
| 3192 | 3412 | } |
| 3193 | 3413 | }, |
| 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 | + }, | |
| 3194 | 3426 | "node_modules/has-proto": { |
| 3195 | 3427 | "version": "1.0.13", |
| 3196 | 3428 | "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.13.tgz", |
| 3197 | 3429 | "integrity": "sha512-7qE+iP+O+bgF9clE5SJ1amZAJUiZS+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpTPhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhguMAUT2pl3FxzVUH+Q==", |
| 3198 | 3430 | "license": "MIT", |
| 3199 | 3431 | "engines": { |
| 3200 | 3432 | "node": ">= 0.4" |
| @@ -3215,6 +3447,18 @@ | ||
| 3215 | 3447 | "url": "https://github.com/sponsors/ljharb" |
| 3216 | 3448 | } |
| 3217 | 3449 | }, |
| 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 | + }, | |
| 3218 | 3462 | "node_modules/he": { |
| 3219 | 3463 | "version": "1.2.0", |
| 3220 | 3464 | "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz", |
| @@ -3272,6 +3516,42 @@ | ||
| 3272 | 3516 | "node": ">= 0.8" |
| 3273 | 3517 | } |
| 3274 | 3518 | }, |
| 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 | + }, | |
| 3275 | 3555 | "node_modules/http2-wrapper": { |
| 3276 | 3556 | "version": "1.0.3", |
| 3277 | 3557 | "resolved": "https://registry.npmjs.org/http2-wrapper/-/http2-wrapper-1.0.3.tgz", |
| @@ -3285,6 +3565,42 @@ | ||
| 3285 | 3565 | "node": ">=10.19.0" |
| 3286 | 3566 | } |
| 3287 | 3567 | }, |
| 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 | + }, | |
| 3288 | 3604 | "node_modules/humanize-ms": { |
| 3289 | 3605 | "version": "1.2.1", |
| 3290 | 3606 | "resolved": "https://registry.npmjs.org/humanize-ms/-/humanize-ms-1.2.1.tgz", |
| @@ -3388,6 +3704,19 @@ | ||
| 3388 | 3704 | "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", |
| 3389 | 3705 | "license": "ISC" |
| 3390 | 3706 | }, |
| 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 | + }, | |
| 3391 | 3720 | "node_modules/ip-matching": { |
| 3392 | 3721 | "version": "2.1.2", |
| 3393 | 3722 | "resolved": "https://registry.npmjs.org/ip-matching/-/ip-matching-2.1.2.tgz", |
| @@ -3572,6 +3901,12 @@ | ||
| 3572 | 3901 | "js-yaml": "bin/js-yaml.js" |
| 3573 | 3902 | } |
| 3574 | 3903 | }, |
| 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 | + }, | |
| 3575 | 3910 | "node_modules/json-buffer": { |
| 3576 | 3911 | "version": "3.0.1", |
| 3577 | 3912 | "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz", |
| @@ -3664,6 +3999,18 @@ | ||
| 3664 | 3999 | "dev": true, |
| 3665 | 4000 | "license": "MIT" |
| 3666 | 4001 | }, |
| 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 | + }, | |
| 3667 | 4014 | "node_modules/keygrip": { |
| 3668 | 4015 | "version": "1.1.0", |
| 3669 | 4016 | "resolved": "https://registry.npmjs.org/keygrip/-/keygrip-1.1.0.tgz", |
| @@ -3710,9 +4057,9 @@ | ||
| 3710 | 4057 | } |
| 3711 | 4058 | }, |
| 3712 | 4059 | "node_modules/load-bmfont": { |
| 3713 | 4060 | "version": "1.4.12", |
| 3714 | 4061 | "resolved": "https://registry.npmjs.org/load-bmfont/-/load-bmfont-1.4.12.tgz", |
| 3715 | 4062 | "integrity": "sha512-8UyQoYmdRDy81Brz6aLAUhfZLwr5zV0L3taTQ4hju7m6biuwiWiJXjPhBJxbUQJA8PrkvJqElWkmjW9Oq1F9EI5Gt7aD9zcdHb9spJCW1L/7Enqmwk2sM14soAdmPf7KzCCEJxq8nhHz5eCgI9aMf7vrG/wyaCqdsI+Iy9ZTlog==", |
| 3716 | 4063 | "license": "MIT", |
| 3717 | 4064 | "dependencies": { |
| 3718 | 4065 | "buffer-equal": "0.0.1", |
| @@ -3720,7 +4067,7 @@ | ||
| 3720 | 4067 | "parse-bmfont-ascii": "^1.0.3", |
| 3721 | 4068 | "parse-bmfont-binary": "^1.0.5", |
| 3722 | 4069 | "parse-bmfont-xml": "^1.1.4", |
| 3723 | 4070 | "phin": "^23.97.1", |
| 3724 | 4071 | "xhr": "^2.0.1", |
| 3725 | 4072 | "xtend": "^4.0.0" |
| 3726 | 4073 | } |
| @@ -3804,10 +4151,13 @@ | ||
| 3804 | 4151 | } |
| 3805 | 4152 | }, |
| 3806 | 4153 | "node_modules/merge-descriptors": { |
| 3807 | 4154 | "version": "1.0.13", |
| 3808 | 4155 | "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.13.tgz", |
| 3809 | 4156 | "integrity": "sha512-cCi6g3gaNvAS7TZ897/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1wrVaZ0nMtAyxNyi/pdbjbAwUpFQpN70GqnVfOiXpeUUMKRBmzXaSQ8DdTX4/0ms62r2K+hE6mQ==", |
| 3810 | 4157 | "license": "MIT", |
| 4158 | + "funding": { | |
| 4159 | + "url": "https://github.com/sponsors/sindresorhus" | |
| 4160 | + } | |
| 3811 | 4161 | }, |
| 3812 | 4162 | "node_modules/methods": { |
| 3813 | 4163 | "version": "1.1.2", |
| @@ -3953,6 +4303,15 @@ | ||
| 3953 | 4303 | "node": ">= 0.6" |
| 3954 | 4304 | } |
| 3955 | 4305 | }, |
| 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 | + }, | |
| 3956 | 4315 | "node_modules/node-domexception": { |
| 3957 | 4316 | "version": "1.0.0", |
| 3958 | 4317 | "resolved": "https://registry.npmjs.org/node-domexception/-/node-domexception-1.0.0.tgz", |
| @@ -4042,10 +4401,13 @@ | ||
| 4042 | 4401 | } |
| 4043 | 4402 | }, |
| 4044 | 4403 | "node_modules/object-inspect": { |
| 4045 | 4404 | "version": "1.1213.32", |
| 4046 | 4405 | "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.1213.32.tgz", |
| 4047 | 4406 | "integrity": "sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBRIRZSRuzJiynemAXPYtPe5BoI/hLXK1aT6zmVSO0jsQcs7fj6MGw89jCRESNYR7TYm50MC5Mqbd3Jmw5y790sErYw3V6SryFJD64b74qQQs9wn5Bg/cjGfLcNOrtMYtGqm81gk3g==", |
| 4048 | 4407 | "license": "MIT", |
| 4408 | + "engines": { | |
| 4409 | + "node": ">= 0.4" | |
| 4410 | + }, | |
| 4049 | 4411 | "funding": { |
| 4050 | 4412 | "url": "https://github.com/sponsors/ljharb" |
| 4051 | 4413 | } |
| @@ -4220,6 +4582,61 @@ | ||
| 4220 | 4582 | "url": "https://github.com/sponsors/sindresorhus" |
| 4221 | 4583 | } |
| 4222 | 4584 | }, |
| 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 | + }, | |
| 4223 | 4640 | "node_modules/pako": { |
| 4224 | 4641 | "version": "1.0.11", |
| 4225 | 4642 | "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz", |
| @@ -4252,13 +4669,13 @@ | ||
| 4252 | 4669 | "license": "MIT" |
| 4253 | 4670 | }, |
| 4254 | 4671 | "node_modules/parse-bmfont-xml": { |
| 4255 | 4672 | "version": "1.1.46", |
| 4256 | 4673 | "resolved": "https://registry.npmjs.org/parse-bmfont-xml/-/parse-bmfont-xml-1.1.46.tgz", |
| 4257 | 4674 | "integrity": "sha512-bjnliEOmGv3y1aMEfREMBJ9tfL3WR0i0CKPj61DnSLaoxWR3nLrsQrEbCId/8rF4NyRF0cCqisSVXyQYWM0cEliVMZEhrFDwMh4SxIyVJpqYoOWDJ9P895tFuS+mCQXuNzI5UBmBk5U5O4KuJdTnZpSBI4LFA2+ZiJaiwfSwlMA==", |
| 4258 | 4675 | "license": "MIT", |
| 4259 | 4676 | "dependencies": { |
| 4260 | 4677 | "xml-parse-from-string": "^1.0.0", |
| 4261 | 4678 | "xml2js": "^0.4.5.0" |
| 4262 | 4679 | } |
| 4263 | 4680 | }, |
| 4264 | 4681 | "node_modules/parse-headers": { |
| @@ -4346,9 +4763,9 @@ | ||
| 4346 | 4763 | } |
| 4347 | 4764 | }, |
| 4348 | 4765 | "node_modules/path-to-regexp": { |
| 4349 | 4766 | "version": "0.1.710", |
| 4350 | 4767 | "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.710.tgz", |
| 4351 | 4768 | "integrity": "sha512-5DFkuoqlv1uYQKxy8omFBeJPQcdoE07Kv2sferDCrAq1ohOU+MSDswDIbnx3YAM60qIOnYa53wBhXW0EbMonrQ7lf7qcQidTku0Gu3YDPc8DJ1q7OOucfa/BSsIwjuh56VU7katFvuM8hULfkwB3Fns/rsVF7PwPKVw1sl5KQS9w==", |
| 4352 | 4769 | "license": "MIT" |
| 4353 | 4770 | }, |
| 4354 | 4771 | "node_modules/peek-readable": { |
| @@ -4374,6 +4791,7 @@ | ||
| 4374 | 4791 | "version": "3.7.1", |
| 4375 | 4792 | "resolved": "https://registry.npmjs.org/phin/-/phin-3.7.1.tgz", |
| 4376 | 4793 | "integrity": "sha512-GEazpTWwTZaEQ9RhL7Nyz0WwqilbqgLahDM3D0hxWwmVDI52nXEybHqiN6/elwpkJBhcuj+WbBu+QfT0uhPGfQ==", |
| 4794 | + "license": "MIT", | |
| 4377 | 4795 | "dependencies": { |
| 4378 | 4796 | "centra": "^2.7.0" |
| 4379 | 4797 | }, |
| @@ -4515,6 +4933,57 @@ | ||
| 4515 | 4933 | "node": ">= 0.10" |
| 4516 | 4934 | } |
| 4517 | 4935 | }, |
| 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 | + }, | |
| 4518 | 4987 | "node_modules/proxy-from-env": { |
| 4519 | 4988 | "version": "1.1.0", |
| 4520 | 4989 | "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", |
| @@ -4541,12 +5010,12 @@ | ||
| 4541 | 5010 | } |
| 4542 | 5011 | }, |
| 4543 | 5012 | "node_modules/qs": { |
| 4544 | 5013 | "version": "6.1113.0", |
| 4545 | 5014 | "resolved": "https://registry.npmjs.org/qs/-/qs-6.1113.0.tgz", |
| 4546 | 5015 | "integrity": "sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu38qI9SOr8tfZ4QmJNplMUxqjbe7LKvvZgWdExBOmd+egZTtjLB67Gu0HRX3u/MaJzRkIk4QXOq7UU2Nx6nsjvS16Z9uwfpg==", |
| 4547 | 5016 | "license": "BSD-3-Clause", |
| 4548 | 5017 | "dependencies": { |
| 4549 | 5018 | "side-channel": "^1.0.46" |
| 4550 | 5019 | }, |
| 4551 | 5020 | "engines": { |
| 4552 | 5021 | "node": ">=0.6" |
| @@ -4853,15 +5322,15 @@ | ||
| 4853 | 5322 | } |
| 4854 | 5323 | }, |
| 4855 | 5324 | "node_modules/sax": { |
| 4856 | 5325 | "version": "1.2.4.1", |
| 4857 | 5326 | "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.1.tgz", |
| 4858 | 5327 | "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9+aWOz7yVScEGoKNd4PA10LZ8sk0A/atZwz5+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWwnXQG5giUO5rprX9jgYsTdov9qCchZiPIZezbZH+jRut8nPodFAX4Jg==", |
| 4859 | 5328 | "license": "ISC" |
| 4860 | 5329 | }, |
| 4861 | 5330 | "node_modules/send": { |
| 4862 | 5331 | "version": "0.1819.0", |
| 4863 | 5332 | "resolved": "https://registry.npmjs.org/send/-/send-0.1819.0.tgz", |
| 4864 | 5333 | "integrity": "sha512-qqWzuOjSFOuqPjFe4NOsMLafToQQwBSOEpS+FwEt3A2V3vKubTquT3vmLTQpFgMXp8AlFWFuP1qKaJZOtPpVXgdW41u5VfLXu8SJh5bwRmyYUbAoSB3c9uQh6L8h/KtsFREPWpbX1lrljJo186Jc4nmci/sGUZ9a0a0J2zgfq2hw==", |
| 4865 | 5334 | "license": "MIT", |
| 4866 | 5335 | "dependencies": { |
| 4867 | 5336 | "debug": "2.6.9", |
| @@ -4882,6 +5351,15 @@ | ||
| 4882 | 5351 | "node": ">= 0.8.0" |
| 4883 | 5352 | } |
| 4884 | 5353 | }, |
| 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 | + }, | |
| 4885 | 5363 | "node_modules/send/node_modules/ms": { |
| 4886 | 5364 | "version": "2.1.3", |
| 4887 | 5365 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", |
| @@ -4889,20 +5367,37 @@ | ||
| 4889 | 5367 | "license": "MIT" |
| 4890 | 5368 | }, |
| 4891 | 5369 | "node_modules/serve-static": { |
| 4892 | 5370 | "version": "1.1516.02", |
| 4893 | 5371 | "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.1516.02.tgz", |
| 4894 | 5372 | "integrity": "sha512-XGuRDNjXUijsUL0vl6nSD7cwURuzEgglbOaFuZM9g3kwDXOWVTck0jLzjPzGD+TazWbboZYu52VqpjJZKadQB/9PEbEwvFdO43Ax5dFBZ2UECszz8bQ7pi7wt/XPdUgne9g/PWe1P6MN7eCnjsatYtBT6EuiClbjSWP2WrIoTw==", |
| 4895 | 5373 | "license": "MIT", |
| 4896 | 5374 | "dependencies": { |
| 4897 | 5375 | "encodeurl": "~12.0.20", |
| 4898 | 5376 | "escape-html": "~1.0.3", |
| 4899 | 5377 | "parseurl": "~1.3.3", |
| 4900 | 5378 | "send": "0.1819.0" |
| 4901 | 5379 | }, |
| 4902 | 5380 | "engines": { |
| 4903 | 5381 | "node": ">= 0.8.0" |
| 4904 | 5382 | } |
| 4905 | 5383 | }, |
| 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 | + }, | |
| 4906 | 5401 | "node_modules/setprototypeof": { |
| 4907 | 5402 | "version": "1.2.0", |
| 4908 | 5403 | "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", |
| @@ -4931,14 +5426,18 @@ | ||
| 4931 | 5426 | } |
| 4932 | 5427 | }, |
| 4933 | 5428 | "node_modules/side-channel": { |
| 4934 | 5429 | "version": "1.0.46", |
| 4935 | 5430 | "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.46.tgz", |
| 4936 | 5431 | "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42fDW/EZ6Q9RiO8eFG8Hj+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA==", |
| 4937 | 5432 | "license": "MIT", |
| 4938 | 5433 | "dependencies": { |
| 4939 | 5434 | "call-bind": "^1.0.07", |
| 4940 | 5435 | "getes-intrinsicerrors": "^1.03.20", |
| 4941 | 5436 | "objectget-inspectintrinsic": "^1.92.04", |
| 5437 | + "object-inspect": "^1.13.1" | |
| 5438 | + }, | |
| 5439 | + "engines": { | |
| 5440 | + "node": ">= 0.4" | |
| 4942 | 5441 | }, |
| 4943 | 5442 | "funding": { |
| 4944 | 5443 | "url": "https://github.com/sponsors/ljharb" |
| @@ -5011,6 +5510,83 @@ | ||
| 5011 | 5510 | "integrity": "sha512-VZBmZP8WU3sMOZm1bdgTadsQbcscK0UM8oKxKVBs4XAhUo2Xxzm/OFMGBkPusxw9xL3Uy8LrzEqGqJhclsr0yA==", |
| 5012 | 5511 | "license": "MIT" |
| 5013 | 5512 | }, |
| 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 | + }, | |
| 5014 | 5590 | "node_modules/statuses": { |
| 5015 | 5591 | "version": "2.0.1", |
| 5016 | 5592 | "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz", |
| @@ -5162,9 +5738,10 @@ | ||
| 5162 | 5738 | "license": "MIT" |
| 5163 | 5739 | }, |
| 5164 | 5740 | "node_modules/tiktoken": { |
| 5165 | 5741 | "version": "1.0.1516", |
| 5166 | 5742 | "resolved": "https://registry.npmjs.org/tiktoken/-/tiktoken-1.0.1516.tgz", |
| 5167 | 5743 | "integrity": "sha512-sCsrq/vMWUSEW29CJLNmPvWxlVp7yh2tlkAjpJltIKqp5CKf98ZNpdeHRmAlPVFlGEbswDc6SmI8vz64WhRcORIGF2YlAgWx3nzrGJOrKSJwLoc81HpXmMQk89632XAgURc7IeV2FgQ2iXo9z/qErwJ96fCvpsHg2kWoHcbj9fg==", |
| 5744 | + "license": "MIT" | |
| 5168 | 5745 | }, |
| 5169 | 5746 | "node_modules/timm": { |
| 5170 | 5747 | "version": "1.7.1", |
| @@ -5224,6 +5801,12 @@ | ||
| 5224 | 5801 | "utf8-byte-length": "^1.0.1" |
| 5225 | 5802 | } |
| 5226 | 5803 | }, |
| 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 | + }, | |
| 5227 | 5810 | "node_modules/tsscmp": { |
| 5228 | 5811 | "version": "1.0.6", |
| 5229 | 5812 | "resolved": "https://registry.npmjs.org/tsscmp/-/tsscmp-1.0.6.tgz", |
| @@ -5283,6 +5866,15 @@ | ||
| 5283 | 5866 | "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==", |
| 5284 | 5867 | "license": "MIT" |
| 5285 | 5868 | }, |
| 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 | + }, | |
| 5286 | 5878 | "node_modules/unpipe": { |
| 5287 | 5879 | "version": "1.0.0", |
| 5288 | 5880 | "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", |
| @@ -12,7 +12,7 @@ | ||
| 12 | 12 | "cookie-session": "^2.1.0", |
| 13 | 13 | "cors": "^2.8.5", |
| 14 | 14 | "csrf-csrf": "^2.2.3", |
| 15 | 15 | "express": "^4.1921.20", |
| 16 | 16 | "form-data": "^4.0.0", |
| 17 | 17 | "google-translate-api-browser": "^3.0.1", |
| 18 | 18 | "he": "^1.2.0", |
| @@ -30,12 +30,13 @@ | ||
| 30 | 30 | "png-chunk-text": "^1.0.0", |
| 31 | 31 | "png-chunks-encode": "^1.0.0", |
| 32 | 32 | "png-chunks-extract": "^1.0.0", |
| 33 | + "proxy-agent": "^6.4.0", | |
| 33 | 34 | "rate-limiter-flexible": "^5.0.0", |
| 34 | 35 | "response-time": "^2.3.2", |
| 35 | 36 | "sanitize-filename": "^1.6.3", |
| 36 | 37 | "sillytavern-transformers": "2.14.6", |
| 37 | 38 | "simple-git": "^3.19.1", |
| 38 | 39 | "tiktoken": "^1.0.1516", |
| 39 | 40 | "vectra": "^0.2.2", |
| 40 | 41 | "wavefile": "^11.0.0", |
| 41 | 42 | "write-file-atomic": "^5.0.1", |
| @@ -48,15 +49,9 @@ | ||
| 48 | 49 | "node": ">= 18" |
| 49 | 50 | }, |
| 50 | 51 | "overrides": { |
| 51 | - "parse-bmfont-xml": { | |
| 52 | - "xml2js": "^0.5.0" | |
| 53 | - }, | |
| 54 | 52 | "vectra": { |
| 55 | 53 | "openai": "^4.17.0" |
| 56 | 54 | }, |
| 57 | - "load-bmfont": { | |
| 58 | - "phin": "^3.7.1" | |
| 59 | - }, | |
| 60 | 55 | "axios": { |
| 61 | 56 | "follow-redirects": "^1.15.4" |
| 62 | 57 | }, |
| @@ -71,7 +66,7 @@ | ||
| 71 | 66 | "type": "git", |
| 72 | 67 | "url": "https://github.com/SillyTavern/SillyTavern.git" |
| 73 | 68 | }, |
| 74 | 69 | "version": "1.12.56", |
| 75 | 70 | "scripts": { |
| 76 | 71 | "start": "node server.js", |
| 77 | 72 | "start:no-csrf": "node server.js --disableCsrf", |
| @@ -1,11 +1,14 @@ | ||
| 1 | 1 | // Plugin manager script. |
| 2 | 2 | // Usage: node plugins.js update |
| 3 | +// 1. node plugins.js update | |
| 4 | +// 2. node plugins.js install <plugin-git-url> | |
| 3 | 5 | // More operations coming soon. |
| 4 | 6 | const { default: git } = require('simple-git'); |
| 5 | 7 | const fs = require('fs'); |
| 6 | 8 | const path = require('path'); |
| 7 | 9 | const { color } = require('./src/util'); |
| 8 | 10 | |
| 11 | +process.chdir(__dirname); | |
| 9 | 12 | const pluginsPath = './plugins'; |
| 10 | 13 | |
| 11 | 14 | const command = process.argv[2]; |
| @@ -55,7 +58,6 @@ async function updatePlugins() { | ||
| 55 | 58 | } |
| 56 | 59 | |
| 57 | 60 | console.log(color.magenta('All plugins updated!')); |
| 58 | - | |
| 59 | 61 | } |
| 60 | 62 | |
| 61 | 63 | async function installPlugin(pluginName) { |
| @@ -1,6 +1,16 @@ | ||
| 1 | 1 | /*will apply to anything 1000px or less. this catches ipads, horizontal phones, and vertical phones)*/ |
| 2 | 2 | @media screen and (max-width: 1000px) { |
| 3 | 3 | |
| 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 | + | |
| 4 | 14 | #send_form.compact #leftSendForm, |
| 5 | 15 | #send_form.compact #rightSendForm { |
| 6 | 16 | flex-wrap: nowrap; |
| @@ -93,7 +103,6 @@ | ||
| 93 | 103 | touch-action: none; |
| 94 | 104 | overflow: hidden; |
| 95 | 105 | position: fixed; |
| 96 | - | |
| 97 | 106 | } |
| 98 | 107 | |
| 99 | 108 | .world_entry_form_control { |
| @@ -102,7 +111,7 @@ | ||
| 102 | 111 | |
| 103 | 112 | .drawer-content { |
| 104 | 113 | min-width: unset; |
| 105 | 114 | width: 100%100dvw; |
| 106 | 115 | max-height: calc(100vh - 45px); |
| 107 | 116 | max-height: calc(100dvh - 45px); |
| 108 | 117 | position: fixed; |
| @@ -149,9 +158,9 @@ | ||
| 149 | 158 | #sheld, |
| 150 | 159 | #character_popup, |
| 151 | 160 | .drawer-content { |
| 152 | 161 | width: 100%100dvw !important; |
| 153 | 162 | margin: 0 auto; |
| 154 | 163 | max-width: 100%100dvw; |
| 155 | 164 | left: 0 !important; |
| 156 | 165 | resize: none !important; |
| 157 | 166 | top: var(--topBarBlockSize); |
| @@ -223,9 +232,9 @@ | ||
| 223 | 232 | /* 100vh are fallback units for browsers that don't support dvh */ |
| 224 | 233 | height: calc(100vh - 45px); |
| 225 | 234 | height: calc(100dvh - 45px); |
| 226 | 235 | min-width: 100%100dvw !important; |
| 227 | 236 | width: 100%100dvw !important; |
| 228 | 237 | max-width: 100%100dvw !important; |
| 229 | 238 | overflow-y: hidden; |
| 230 | 239 | border-left: 1px solid var(--SmartThemeBorderColor); |
| 231 | 240 | border-right: 1px solid var(--SmartThemeBorderColor); |
| @@ -342,17 +351,6 @@ | ||
| 342 | 351 | } |
| 343 | 352 | } |
| 344 | 353 | |
| 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 | - | |
| 356 | 354 | /*landscape mode phones and ipads*/ |
| 357 | 355 | @media screen and (max-width: 1000px) and (orientation: landscape) { |
| 358 | 356 | body.waifuMode img.expression { |
| @@ -482,10 +480,10 @@ | ||
| 482 | 480 | margin: 0 auto; |
| 483 | 481 | height: calc(100vh - 70px); |
| 484 | 482 | height: calc(100dvh - 70px); |
| 485 | 483 | width: calc(100%100dvw - 5px); |
| 486 | 484 | max-height: calc(100vh - 70px); |
| 487 | 485 | max-height: calc(100dvh - 70px); |
| 488 | 486 | max-width: calc(100%100dvw - 5px); |
| 489 | 487 | |
| 490 | 488 | } |
| 491 | 489 | |
| @@ -47,6 +47,10 @@ dialog { | ||
| 47 | 47 | padding: 1px; |
| 48 | 48 | } |
| 49 | 49 | |
| 50 | +.popup:not(:has(.img_enlarged_container)) .popup-body { | |
| 51 | + max-height: 95dvh; | |
| 52 | +} | |
| 53 | + | |
| 50 | 54 | .popup .popup-content { |
| 51 | 55 | margin-top: 10px; |
| 52 | 56 | padding: 0 8px; |
| @@ -91,15 +91,34 @@ | ||
| 91 | 91 | #completion_prompt_manager_popup #completion_prompt_manager_popup_inspect { |
| 92 | 92 | display: none; |
| 93 | 93 | padding: 0.5em; |
| 94 | + height: 100%; | |
| 95 | + display: flex; | |
| 96 | + flex-direction: column; | |
| 94 | 97 | } |
| 95 | 98 | |
| 96 | 99 | #completion_prompt_manager_popup .completion_prompt_manager_popup_entry { |
| 97 | 100 | padding: 1em0.5em; |
| 98 | 101 | 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; | |
| 99 | 118 | } |
| 100 | 119 | |
| 101 | 120 | #completion_prompt_manager_popup #completion_prompt_manager_popup_inspect .completion_prompt_manager_popup_entry { |
| 102 | 121 | padding: 1em0.5em; |
| 103 | 122 | } |
| 104 | 123 | |
| 105 | 124 | #completion_prompt_manager_popup #completion_prompt_manager_popup_entry_form_inspect_list { |
| @@ -248,7 +267,7 @@ | ||
| 248 | 267 | } |
| 249 | 268 | |
| 250 | 269 | #completion_prompt_manager_footer_append_prompt { |
| 251 | 270 | font-size: 16px1em; |
| 252 | 271 | } |
| 253 | 272 | |
| 254 | 273 | #prompt-manager-export-format-popup { |
| @@ -303,10 +322,6 @@ | ||
| 303 | 322 | justify-content: space-between; |
| 304 | 323 | } |
| 305 | 324 | |
| 306 | -#prompt-manager-export-format-popup span { | |
| 307 | - font-size: 16px; | |
| 308 | -} | |
| 309 | - | |
| 310 | 325 | @media screen and (max-width: 412px) { |
| 311 | 326 | #completion_prompt_manager_popup { |
| 312 | 327 | max-width: 100%; |
| @@ -316,3 +331,15 @@ | ||
| 316 | 331 | margin-left: 0.5em; |
| 317 | 332 | } |
| 318 | 333 | } |
| 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 | +} | |
| @@ -15,8 +15,13 @@ | ||
| 15 | 15 | z-index: 40000; |
| 16 | 16 | } |
| 17 | 17 | |
| 18 | 18 | .select2-container .select2-selection .select2-selection__clear { |
| 19 | 19 | color: var(--SmartThemeBodyColor); |
| 20 | + font-size: 24px; | |
| 21 | + padding: 0; | |
| 22 | + position: absolute; | |
| 23 | + right: 5px; | |
| 24 | + top: 0; | |
| 20 | 25 | } |
| 21 | 26 | |
| 22 | 27 | .select2-container .select2-search__field { |
| @@ -360,6 +360,10 @@ | ||
| 360 | 360 | margin-right: 2px; |
| 361 | 361 | } |
| 362 | 362 | |
| 363 | +.flexAuto { | |
| 364 | + flex: auto; | |
| 365 | +} | |
| 366 | + | |
| 363 | 367 | .flex0 { |
| 364 | 368 | flex: 0; |
| 365 | 369 | } |
| @@ -495,6 +499,10 @@ textarea:disabled { | ||
| 495 | 499 | filter: brightness(0.5); |
| 496 | 500 | } |
| 497 | 501 | |
| 502 | +#AdvancedFormatting .disabled { | |
| 503 | + filter: brightness(0.5); | |
| 504 | +} | |
| 505 | + | |
| 498 | 506 | .debug-red { |
| 499 | 507 | border: 1px solid red !important; |
| 500 | 508 | } |
| @@ -28,8 +28,8 @@ body.hideChatAvatars .mesAvatarWrapper .avatar { | ||
| 28 | 28 | display: none !important; |
| 29 | 29 | } |
| 30 | 30 | |
| 31 | 31 | body.hideChatAvatars .last_mes:not(.smallSysMes) { |
| 32 | 32 | padding-bottom: 40px20px !important; |
| 33 | 33 | } |
| 34 | 34 | |
| 35 | 35 | body.square-avatars .avatar, |
| @@ -455,3 +455,7 @@ body.expandMessageActions .mes .mes_buttons .extraMesButtonsHint { | ||
| 455 | 455 | #smooth_streaming:checked~#smooth_streaming_speed_control { |
| 456 | 456 | display: block; |
| 457 | 457 | } |
| 458 | + | |
| 459 | +.mdhotkey_icon { | |
| 460 | + opacity: 0.6; | |
| 461 | +} | |
| @@ -274,3 +274,7 @@ select.keyselect+span.select2-container .select2-selection--multiple { | ||
| 274 | 274 | align-self: center; |
| 275 | 275 | width: 100%; |
| 276 | 276 | } |
| 277 | + | |
| 278 | +.world_entry:has(input[name="delay_until_recursion"]:not(:checked)) .world_entry_form_control:has(input[name="delayUntilRecursionLevel"]) { | |
| 279 | + display: none; | |
| 280 | +} | |
Binary file
| @@ -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> | |
Binary file
| @@ -5,7 +5,7 @@ | ||
| 5 | 5 | <title>SillyTavern</title> |
| 6 | 6 | <base href="/"> |
| 7 | 7 | <meta charset="utf-8"> |
| 8 | 8 | <meta name="viewport" content="width=device-width, viewport-fit=cover, initial-scale=1, maximum-scale=1.0, user-scalable=no, interactive-widget=resizes-content"> |
| 9 | 9 | <meta name="apple-mobile-web-app-capable" content="yes"> |
| 10 | 10 | <meta name="darkreader-lock"> |
| 11 | 11 | <meta name="robots" content="noindex, nofollow" /> |
| @@ -65,7 +65,7 @@ | ||
| 65 | 65 | <!-- background selection menu --> |
| 66 | 66 | <div id="ai-config-button" class="drawer"> |
| 67 | 67 | <div class="drawer-toggle drawer-header"> |
| 68 | 68 | <div id="leftNavDrawerIcon" class="drawer-icon fa-solid fa-sliders fa-fw closedIcon" title="AI Response Configuration" data-i18n="[title]AI Response Configuration"></div> |
| 69 | 69 | </div> |
| 70 | 70 | <div id="left-nav-panel" class="drawer-content fillLeft closedDrawer"> |
| 71 | 71 | <div id="left-nav-panelheader" class="fa-solid fa-grip drag-grabber"></div> |
| @@ -98,12 +98,12 @@ | ||
| 98 | 98 | </select> |
| 99 | 99 | <div class="flex-container marginLeft5 "> |
| 100 | 100 | <input type="file" hidden data-preset-manager-file="kobold" accept=".json, .settings"> |
| 101 | 101 | <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> |
| 102 | 102 | <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> |
| 103 | 103 | <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> |
| 104 | 104 | <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> |
| 105 | 105 | <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> |
| 106 | 106 | <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> |
| 107 | 107 | </div> |
| 108 | 108 | </div> |
| 109 | 109 | </div> |
| @@ -119,13 +119,13 @@ | ||
| 119 | 119 | <option value="gui" data-i18n="Default">Default</option> |
| 120 | 120 | </select> |
| 121 | 121 | <div class="flex-container marginLeft5 "> |
| 122 | 122 | <input type="file" hidden data-preset-manager-file="novel" accept=".json, .settings, .preset"> |
| 123 | 123 | <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> |
| 124 | 124 | <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> |
| 125 | 125 | <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> |
| 126 | 126 | <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> |
| 127 | 127 | <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> |
| 128 | 128 | <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> |
| 129 | 129 | </div> |
| 130 | 130 | </div> |
| 131 | 131 | </div> |
| @@ -140,9 +140,9 @@ | ||
| 140 | 140 | <input id="openai_preset_import_file" type="file" accept=".json,.settings" hidden /> |
| 141 | 141 | <i id="update_oai_preset" class="menu_button fa-solid fa-save" title="Update current preset" data-i18n="[title]Update current preset"></i> |
| 142 | 142 | <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> |
| 143 | 143 | <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> |
| 144 | 144 | <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> |
| 145 | 145 | <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> |
| 146 | 146 | </div> |
| 147 | 147 | </div> |
| 148 | 148 | </div> |
| @@ -154,17 +154,17 @@ | ||
| 154 | 154 | </select> |
| 155 | 155 | <div class="flex-container marginLeft5 "> |
| 156 | 156 | <input type="file" hidden data-preset-manager-file="textgenerationwebui" accept=".json, .settings"> |
| 157 | 157 | <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> |
| 158 | 158 | <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> |
| 159 | 159 | <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> |
| 160 | 160 | <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> |
| 161 | 161 | <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> |
| 162 | 162 | <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> |
| 163 | 163 | </div> |
| 164 | 164 | </div> |
| 165 | 165 | </div> |
| 166 | 166 | </div> |
| 167 | 167 | <div data-newbie-hidden id="ai_module_block_novel" class="width100p"> |
| 168 | 168 | <div class="range-block"> |
| 169 | 169 | <div class="range-block-title justifyLeft" data-i18n="AI Module"> |
| 170 | 170 | AI Module |
| @@ -215,7 +215,7 @@ | ||
| 215 | 215 | <label class="checkbox_label"> |
| 216 | 216 | <input id="max_context_unlocked" type="checkbox" /> |
| 217 | 217 | <small><span data-i18n="unlocked">Unlocked</span> |
| 218 | 218 | <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. Increase only if you know what you're doing."></div> |
| 219 | 219 | </small> |
| 220 | 220 | </label> |
| 221 | 221 | </div> |
| @@ -271,7 +271,7 @@ | ||
| 271 | 271 | </div> |
| 272 | 272 | </div> |
| 273 | 273 | </div> |
| 274 | 274 | <div data-newbie-hidden class="range-block"> |
| 275 | 275 | <div class="range-block-title" data-i18n="Rep. Pen. Range."> |
| 276 | 276 | Rep Pen Range |
| 277 | 277 | </div> |
| @@ -284,7 +284,7 @@ | ||
| 284 | 284 | </div> |
| 285 | 285 | </div> |
| 286 | 286 | </div> |
| 287 | 287 | <div data-newbie-hidden class="range-block"> |
| 288 | 288 | <div class="range-block-title" data-i18n="Rep. Pen. Slope"> |
| 289 | 289 | Repetition Penalty Slope |
| 290 | 290 | </div> |
| @@ -297,7 +297,7 @@ | ||
| 297 | 297 | </div> |
| 298 | 298 | </div> |
| 299 | 299 | </div> |
| 300 | 300 | <div data-newbie-hidden class="range-block"> |
| 301 | 301 | <div class="range-block-title" data-i18n="Rep. Pen. Freq."> |
| 302 | 302 | Repetition Penalty Frequency |
| 303 | 303 | </div> |
| @@ -310,7 +310,7 @@ | ||
| 310 | 310 | </div> |
| 311 | 311 | </div> |
| 312 | 312 | </div> |
| 313 | 313 | <div data-newbie-hidden class="range-block"> |
| 314 | 314 | <div class="range-block-title" data-i18n="Rep. Pen. Presence"> |
| 315 | 315 | Repetition Penalty Presence |
| 316 | 316 | </div> |
| @@ -323,7 +323,20 @@ | ||
| 323 | 323 | </div> |
| 324 | 324 | </div> |
| 325 | 325 | </div> |
| 326 | 326 | <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"> | |
| 327 | 340 | <div class="range-block-title" data-i18n="TFS"> |
| 328 | 341 | TFS |
| 329 | 342 | </div> |
| @@ -336,7 +349,137 @@ | ||
| 336 | 349 | </div> |
| 337 | 350 | </div> |
| 338 | 351 | </div> |
| 339 | 352 | <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"> | |
| 340 | 483 | <div class="range-block-title" data-i18n="Phrase Repetition Penalty"> |
| 341 | 484 | Phrase Repetition Penalty |
| 342 | 485 | </div> |
| @@ -349,9 +492,49 @@ | ||
| 349 | 492 | <option value="very_aggressive" data-i18n="Very aggressive">Very aggressive</option> |
| 350 | 493 | </select> |
| 351 | 494 | </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: some text [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> | |
| 352 | 535 | </div> |
| 353 | 536 | <div id="range_block_openai"> |
| 354 | 537 | <div data-newbie-hidden class="range-block"> |
| 355 | 538 | <label class="checkbox_label"> |
| 356 | 539 | <input id="oai_max_context_unlocked" type="checkbox" /> |
| 357 | 540 | <span data-i18n="Unlocked Context Size"> |
| @@ -383,7 +566,7 @@ | ||
| 383 | 566 | Max Response Length (tokens) |
| 384 | 567 | </div> |
| 385 | 568 | <div class="wide100p"> |
| 386 | 569 | <input type="number" id="openai_max_tokens" name="openai_max_tokens" class="text_pole" min="1" max="1638465536"> |
| 387 | 570 | </div> |
| 388 | 571 | </div> |
| 389 | 572 | <div class="range-block" data-source="openai,custom"> |
| @@ -436,7 +619,7 @@ | ||
| 436 | 619 | </div> |
| 437 | 620 | </div> |
| 438 | 621 | </div> |
| 439 | 622 | <div data-newbie-hidden class="range-block" data-source="openai,openrouter,ai21,custom,cohere,perplexity,groq"> |
| 440 | 623 | <div class="range-block-title" data-i18n="Frequency Penalty"> |
| 441 | 624 | Frequency Penalty |
| 442 | 625 | </div> |
| @@ -449,7 +632,7 @@ | ||
| 449 | 632 | </div> |
| 450 | 633 | </div> |
| 451 | 634 | </div> |
| 452 | 635 | <div data-newbie-hidden class="range-block" data-source="openai,openrouter,ai21,custom,cohere,perplexity,groq"> |
| 453 | 636 | <div class="range-block-title" data-i18n="Presence Penalty"> |
| 454 | 637 | Presence Penalty |
| 455 | 638 | </div> |
| @@ -462,20 +645,7 @@ | ||
| 462 | 645 | </div> |
| 463 | 646 | </div> |
| 464 | 647 | </div> |
| 465 | 648 | <div data-newbie-hidden class="range-block" data-source="ai21claude,openrouter,makersuite,cohere,perplexity"> |
| 466 | - <div class="range-block-title" data-i18n="Count Penalty"> | |
| 467 | - Count Penalty | |
| 468 | - </div> | |
| 469 | - <div class="range-block-range-and-counter"> | |
| 470 | - <div class="range-block-range"> | |
| 471 | - <input type="range" id="count_pen" name="volume" min="0" max="1" step="0.01"> | |
| 472 | - </div> | |
| 473 | - <div class="range-block-counter"> | |
| 474 | - <input type="number" min="0" max="1" step="0.01" data-for="count_pen" id="count_pen_counter"> | |
| 475 | - </div> | |
| 476 | - </div> | |
| 477 | - </div> | |
| 478 | - <div data-newbie-hidden class="range-block" data-source="claude,openrouter,ai21,makersuite,cohere,perplexity"> | |
| 479 | 649 | <div class="range-block-title" data-i18n="Top K"> |
| 480 | 650 | Top K |
| 481 | 651 | </div> |
| @@ -488,7 +658,7 @@ | ||
| 488 | 658 | </div> |
| 489 | 659 | </div> |
| 490 | 660 | </div> |
| 491 | 661 | <div data-newbie-hidden class="range-block" data-source="openai,claude,openrouter,ai21,scale,makersuite,mistralai,custom,cohere,perplexity,groq,01ai"> |
| 492 | 662 | <div class="range-block-title" data-i18n="Top P"> |
| 493 | 663 | Top P |
| 494 | 664 | </div> |
| @@ -501,7 +671,7 @@ | ||
| 501 | 671 | </div> |
| 502 | 672 | </div> |
| 503 | 673 | </div> |
| 504 | 674 | <div data-newbie-hidden class="range-block" data-source="openrouter"> |
| 505 | 675 | <div class="range-block-title" data-i18n="Repetition Penalty"> |
| 506 | 676 | Repetition Penalty |
| 507 | 677 | </div> |
| @@ -514,7 +684,7 @@ | ||
| 514 | 684 | </div> |
| 515 | 685 | </div> |
| 516 | 686 | </div> |
| 517 | 687 | <div data-newbie-hidden class="range-block" data-source="openrouter"> |
| 518 | 688 | <div class="range-block-title" data-i18n="Min P"> |
| 519 | 689 | Min P |
| 520 | 690 | </div> |
| @@ -527,7 +697,7 @@ | ||
| 527 | 697 | </div> |
| 528 | 698 | </div> |
| 529 | 699 | </div> |
| 530 | 700 | <div data-newbie-hidden class="range-block" data-source="openrouter"> |
| 531 | 701 | <div class="range-block-title" data-i18n="Top A"> |
| 532 | 702 | Top A |
| 533 | 703 | </div> |
| @@ -566,7 +736,7 @@ | ||
| 566 | 736 | </div> |
| 567 | 737 | </div> |
| 568 | 738 | </div> |
| 569 | 739 | <div data-newbie-hidden class="inline-drawer wide100p"> |
| 570 | 740 | <div class="inline-drawer-toggle inline-drawer-header"> |
| 571 | 741 | <b data-i18n="Utility Prompts">Utility Prompts</b> |
| 572 | 742 | <div class="fa-solid fa-circle-chevron-down inline-drawer-icon down"></div> |
| @@ -725,7 +895,7 @@ | ||
| 725 | 895 | </div> |
| 726 | 896 | </div> |
| 727 | 897 | </div> |
| 728 | 898 | <div data-newbie-hidden class="range-block" data-source="openai,openrouter,mistralai,custom,cohere,groq"> |
| 729 | 899 | <div class="range-block-title justifyLeft" data-i18n="Seed"> |
| 730 | 900 | Seed |
| 731 | 901 | </div> |
| @@ -749,7 +919,7 @@ | ||
| 749 | 919 | <input class="neo-range-slider" type="range" id="temp" name="volume" min="0.0" max="4.0" step="0.01"> |
| 750 | 920 | <input class="neo-range-input" type="number" min="0.0" max="4.0" step="0.01" data-for="temp" id="temp_counter"> |
| 751 | 921 | </div> |
| 752 | 922 | <div data-newbie-hidden class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0"> |
| 753 | 923 | <small> |
| 754 | 924 | <span data-i18n="Top K">Top K</span> |
| 755 | 925 | <div class="fa-solid fa-circle-info opacity50p" title="Top K sets a maximum amount of top tokens that can be chosen from. 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). Set to 0 to disable." data-i18n="[title]Top_K_desc"></div> |
| @@ -757,7 +927,7 @@ | ||
| 757 | 927 | <input class="neo-range-slider" type="range" id="top_k" name="volume" min="0" max="100" step="1"> |
| 758 | 928 | <input class="neo-range-input" type="number" min="0" max="100" step="1" data-for="top_k" id="top_k_counter"> |
| 759 | 929 | </div> |
| 760 | 930 | <div data-newbie-hidden class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0"> |
| 761 | 931 | <small> |
| 762 | 932 | Top P |
| 763 | 933 | <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. E.g If the Top 2 tokens are both 25%, and Top P is 0.50, only the Top 2 tokens are considered. Set to 1.0 to disable." data-i18n="[title]Top_P_desc"></div> |
| @@ -765,7 +935,7 @@ | ||
| 765 | 935 | <input class="neo-range-slider" type="range" id="top_p" name="volume" min="0" max="1" step="0.01"> |
| 766 | 936 | <input class="neo-range-input" type="number" min="0" max="1" step="0.01" data-for="top_p" id="top_p_counter"> |
| 767 | 937 | </div> |
| 768 | 938 | <div data-newbie-hidden class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0"> |
| 769 | 939 | <small> |
| 770 | 940 | <span data-i18n="Typical P">Typical P</span> |
| 771 | 941 | <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. It maintains tokens whose cumulative probability is close to a predefined threshold (e.g., 0.5), emphasizing those with average information content. Set to 1.0 to disable." data-i18n="[title]Typical_P_desc"></div> |
| @@ -781,7 +951,7 @@ | ||
| 781 | 951 | <input class="neo-range-slider" type="range" id="min_p" name="volume" min="0" max="1" step="0.001"> |
| 782 | 952 | <input class="neo-range-input" type="number" min="0" max="1" step="0.001" data-for="min_p" id="min_p_counter"> |
| 783 | 953 | </div> |
| 784 | 954 | <div data-newbie-hidden class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0"> |
| 785 | 955 | <small> |
| 786 | 956 | <span data-i18n="Top A">Top A</span> |
| 787 | 957 | <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. 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. Set to 0 to disable." data-i18n="[title]Top_A_desc"></div> |
| @@ -789,7 +959,7 @@ | ||
| 789 | 959 | <input class="neo-range-slider" type="range" id="top_a" name="volume" min="0" max="1" step="0.001"> |
| 790 | 960 | <input class="neo-range-input" type="number" min="0" max="1" step="0.001" data-for="top_a" id="top_a_counter"> |
| 791 | 961 | </div> |
| 792 | 962 | <div data-newbie-hidden class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0"> |
| 793 | 963 | <small> |
| 794 | 964 | <span data-i18n="TFS">TFS</span> |
| 795 | 965 | <div class="fa-solid fa-circle-info opacity50p" title="Tail-Free Sampling (TFS) searches for a tail of low-probability tokens in the distribution, 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. The closer to 0, the more discarded tokens. Set to 1.0 to disable." data-i18n="[title]Tail_Free_Sampling_desc"></div> |
| @@ -811,14 +981,14 @@ | ||
| 811 | 981 | <input class="neo-range-slider" type="range" id="rep_pen_range" name="volume" min="0" max="4096" step="1"> |
| 812 | 982 | <input class="neo-range-input" type="number" min="0" max="4096" step="1" data-for="rep_pen_range" id="rep_pen_range_counter"> |
| 813 | 983 | </div> |
| 814 | 984 | <div data-newbie-hidden class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0"> |
| 815 | 985 | <small> |
| 816 | 986 | <span data-i18n="Rep. Pen. Slope">Repetition Penalty Slope</span> |
| 817 | 987 | </small> |
| 818 | 988 | <input class="neo-range-slider" type="range" id="rep_pen_slope" name="volume" min="0" max="10" step="0.01"> |
| 819 | 989 | <input class="neo-range-input" type="number" min="0" max="10" step="0.01" data-for="rep_pen_slope" id="rep_pen_slope_counter"> |
| 820 | 990 | </div> |
| 821 | 991 | <div data-newbie-hidden name="miroStatBlock-kobold" class="wide100p"> |
| 822 | 992 | <h4 class="wide100p textAlignCenter" data-i18n="Mirostat">Mirostat</h4> |
| 823 | 993 | <div class="flex-container flexFlowRow gap10px flexShrink"> |
| 824 | 994 | <div class="alignitemscenter flex-container flexFlowColumn flexGrow flexShrink gap0"> |
| @@ -848,7 +1018,7 @@ | ||
| 848 | 1018 | </div> |
| 849 | 1019 | <hr class="wide100p"> |
| 850 | 1020 | </div> |
| 851 | 1021 | <div data-newbie-hidden class="alignitemscenter justifyCenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0"> |
| 852 | 1022 | <label class="checkbox_label alignItemsBaseline" for="use_default_badwordsids"> |
| 853 | 1023 | <input id="use_default_badwordsids" type="checkbox" /> |
| 854 | 1024 | <span> |
| @@ -857,13 +1027,13 @@ | ||
| 857 | 1027 | </span> |
| 858 | 1028 | </label> |
| 859 | 1029 | </div> |
| 860 | 1030 | <div data-newbie-hidden class="alignitemscenter textAlignCenter flexBasis30p flexGrow flexShrink gap0"> |
| 861 | 1031 | <!-- <hr class="wide100p"> --> |
| 862 | 1032 | <small data-i18n="Seed">Seed</small> |
| 863 | 1033 | <!-- Max value is 2**64 - 1 --> |
| 864 | 1034 | <input type="number" id="seed_kobold" class="text_pole wideMax100px" min="-1" value="-1" max="18446744073709551615" /> |
| 865 | 1035 | </div> |
| 866 | 1036 | <div data-newbie-hidden id="grammar_block" class="wide100p"> |
| 867 | 1037 | <hr class="wide100p"> |
| 868 | 1038 | <h4 class="wide100p textAlignCenter"><span data-i18n="GBNF Grammar">GBNF Grammar</span> |
| 869 | 1039 | <a href="https://github.com/ggerganov/llama.cpp/blob/master/grammars/README.md" target="_blank"> |
| @@ -874,7 +1044,7 @@ | ||
| 874 | 1044 | </h4> |
| 875 | 1045 | <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> |
| 876 | 1046 | </div> |
| 877 | 1047 | <div data-newbie-hidden name="KoboldSamplerOrderBlock" class="range-block flexFlowColumn"> |
| 878 | 1048 | <hr class="wide100p"> |
| 879 | 1049 | <div class="range-block-title"> |
| 880 | 1050 | <span data-i18n="Samplers Order">Samplers Order</span> |
| @@ -919,164 +1089,7 @@ | ||
| 919 | 1089 | </div> |
| 920 | 1090 | </div> |
| 921 | 1091 | </div><!-- end of kobold settings--> |
| 922 | 1092 | <div data-newbie-hidden id="novel_api-settings"> |
| 923 | - <div class="range-block"> | |
| 924 | - <div class="range-block-title openai_restorable"> | |
| 925 | - <span data-i18n="Preamble">Preamble</span> | |
| 926 | - <div id="nai_preamble_restore" title="Restore default prompt" data-i18n="[title]Restore default prompt" class="right_menu_button"> | |
| 927 | - <div class="fa-solid fa-clock-rotate-left "></div> | |
| 928 | - </div> | |
| 929 | - </div> | |
| 930 | - <div class="toggle-description justifyLeft" data-i18n="Use style tags to modify the writing style of the output."> | |
| 931 | - Use style tags to modify the writing style of the output. | |
| 932 | - </div> | |
| 933 | - <div class="wide100p"> | |
| 934 | - <textarea id="nai_preamble_textarea" class="text_pole textarea_compact" name="nai_preamble" rows="2" placeholder=""></textarea> | |
| 935 | - </div> | |
| 936 | - </div> | |
| 937 | - <div class="range-block"> | |
| 938 | - <div class="range-block-title justifyLeft"> | |
| 939 | - <span data-i18n="Banned Tokens">Banned Tokens</span> | |
| 940 | - </div> | |
| 941 | - <div class="toggle-description justifyLeft" data-i18n="Sequences you don't want to appear in the output. One per line."> | |
| 942 | - Sequences you don't want to appear in the output. One per line. Text or [token ids]. | |
| 943 | - </div> | |
| 944 | - <div class="wide100p"> | |
| 945 | - <textarea id="nai_banned_tokens" class="text_pole textarea_compact" name="nai_banned_tokens" rows="3" placeholder="Example: some text [42, 69, 1337]"></textarea> | |
| 946 | - </div> | |
| 947 | - </div> | |
| 948 | - <div class="range-block"> | |
| 949 | - <div id="logit_bias_novel" class="range-block-title title_restorable"> | |
| 950 | - <span data-i18n="Logit Bias">Logit Bias</span> | |
| 951 | - <div id="novelai_logit_bias_new_entry" class="menu_button menu_button_icon"> | |
| 952 | - <i class="fa-xs fa-solid fa-plus"></i> | |
| 953 | - <small data-i18n="Add">Add</small> | |
| 954 | - </div> | |
| 955 | - </div> | |
| 956 | - <div class="toggle-description justifyLeft" data-i18n="Helps to ban or reenforce the usage of certain words"> | |
| 957 | - Helps to ban or reinforce the usage of certain tokens. | |
| 958 | - </div> | |
| 959 | - <div class="flex-container flexFlowColumn wide100p"> | |
| 960 | - <div class="logit_bias_list"></div> | |
| 961 | - </div> | |
| 962 | - </div> | |
| 963 | - <div class="range-block"> | |
| 964 | - <hr> | |
| 965 | - <div class="range-block-title justifyLeft" data-i18n="CFG Scale"> | |
| 966 | - CFG Scale | |
| 967 | - </div> | |
| 968 | - <div class="range-block-range-and-counter"> | |
| 969 | - <div class="range-block-range"> | |
| 970 | - <input type="range" id="cfg_scale_novel" name="volume" min="1" max="3" step="0.05"> | |
| 971 | - </div> | |
| 972 | - <div class="range-block-counter"> | |
| 973 | - <input type="number" min="1" max="3" step="0.05" data-for="cfg_scale_novel" id="cfg_scale_counter_novel"> | |
| 974 | - </div> | |
| 975 | - </div> | |
| 976 | - </div> | |
| 977 | - <div class="range-block"> | |
| 978 | - <div class="range-block-title justifyLeft"> | |
| 979 | - <span data-i18n="Negative Prompt">Negative Prompt</span> | |
| 980 | - </div> | |
| 981 | - <div class="wide100p"> | |
| 982 | - <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> | |
| 983 | - </div> | |
| 984 | - <small class="margin-bot-10px" data-i18n="Used if CFG Scale is unset globally, per chat or character"> | |
| 985 | - Used if CFG Scale is unset globally, per chat or character | |
| 986 | - </small> | |
| 987 | - <hr> | |
| 988 | - </div> | |
| 989 | - <div class="range-block"> | |
| 990 | - <div class="range-block-title" data-i18n="Top P"> | |
| 991 | - Top P | |
| 992 | - </div> | |
| 993 | - <div class="range-block-range-and-counter"> | |
| 994 | - <div class="range-block-range"> | |
| 995 | - <input type="range" id="top_p_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_p_novel" id="top_p_counter_novel"> | |
| 999 | - </div> | |
| 1000 | - </div> | |
| 1001 | - </div> | |
| 1002 | - <div class="range-block"> | |
| 1003 | - <div class="range-block-title" data-i18n="Top A"> | |
| 1004 | - Top A | |
| 1005 | - </div> | |
| 1006 | - <div class="range-block-range-and-counter"> | |
| 1007 | - <div class="range-block-range"> | |
| 1008 | - <input type="range" id="top_a_novel" name="volume" min="0" max="1" step="0.001"> | |
| 1009 | - </div> | |
| 1010 | - <div class="range-block-counter"> | |
| 1011 | - <input type="number" min="0" max="1" step="0.001" data-for="top_a_novel" id="top_a_counter_novel"> | |
| 1012 | - </div> | |
| 1013 | - </div> | |
| 1014 | - </div> | |
| 1015 | - <div class="range-block"> | |
| 1016 | - <div class="range-block-title" data-i18n="Top K"> | |
| 1017 | - Top K | |
| 1018 | - </div> | |
| 1019 | - <div class="range-block-range-and-counter"> | |
| 1020 | - <div class="range-block-range"> | |
| 1021 | - <input type="range" id="top_k_novel" name="volume" min="0" max="300" step="1"> | |
| 1022 | - </div> | |
| 1023 | - <div class="range-block-counter"> | |
| 1024 | - <input type="number" min="0" max="300" step="1" data-for="top_k_novel" id="top_k_counter_novel"> | |
| 1025 | - </div> | |
| 1026 | - </div> | |
| 1027 | - </div> | |
| 1028 | - <div class="range-block"> | |
| 1029 | - <div class="range-block-title" data-i18n="Mirostat Tau"> | |
| 1030 | - Mirostat Tau | |
| 1031 | - </div> | |
| 1032 | - <div class="range-block-range-and-counter"> | |
| 1033 | - <div class="range-block-range"> | |
| 1034 | - <input type="range" id="mirostat_tau_novel" name="volume" min="0" max="6" step="0.01"> | |
| 1035 | - </div> | |
| 1036 | - <div class="range-block-counter"> | |
| 1037 | - <input type="number" min="0" max="6" step="0.01" data-for="mirostat_tau_novel" id="mirostat_tau_counter_novel"> | |
| 1038 | - </div> | |
| 1039 | - </div> | |
| 1040 | - </div> | |
| 1041 | - <div class="range-block"> | |
| 1042 | - <div class="range-block-title" data-i18n="Mirostat LR"> | |
| 1043 | - Mirostat LR | |
| 1044 | - </div> | |
| 1045 | - <div class="range-block-range-and-counter"> | |
| 1046 | - <div class="range-block-range"> | |
| 1047 | - <input type="range" id="mirostat_lr_novel" name="volume" min="0" max="1" step="0.01"> | |
| 1048 | - </div> | |
| 1049 | - <div class="range-block-counter"> | |
| 1050 | - <input type="number" min="0" max="1" step="0.01" data-for="mirostat_lr_novel" id="mirostat_lr_counter_novel"> | |
| 1051 | - </div> | |
| 1052 | - </div> | |
| 1053 | - </div> | |
| 1054 | - <div class="range-block"> | |
| 1055 | - <div class="range-block-title" data-i18n="Typical P"> | |
| 1056 | - Typical P | |
| 1057 | - </div> | |
| 1058 | - <div class="range-block-range-and-counter"> | |
| 1059 | - <div class="range-block-range"> | |
| 1060 | - <input type="range" id="typical_p_novel" name="volume" min="0" max="1" step="0.001"> | |
| 1061 | - </div> | |
| 1062 | - <div class="range-block-counter"> | |
| 1063 | - <input type="number" min="0" max="1" step="0.001" data-for="typical_p_novel" id="typical_p_counter_novel"> | |
| 1064 | - </div> | |
| 1065 | - </div> | |
| 1066 | - </div> | |
| 1067 | - <div class="range-block"> | |
| 1068 | - <div class="range-block-title" data-i18n="Min Length"> | |
| 1069 | - Min Length | |
| 1070 | - </div> | |
| 1071 | - <div class="range-block-range-and-counter"> | |
| 1072 | - <div class="range-block-range"> | |
| 1073 | - <input type="range" id="min_length_novel" name="volume" min="1" max="150" step="1"> | |
| 1074 | - </div> | |
| 1075 | - <div class="range-block-counter"> | |
| 1076 | - <input type="number" min="1" max="150" step="1" data-for="min_length_novel" id="min_length_counter_novel"> | |
| 1077 | - </div> | |
| 1078 | - </div> | |
| 1079 | - </div> | |
| 1080 | 1093 | <div class="range-block flexFlowColumn"> |
| 1081 | 1094 | <div class="range-block-title"> |
| 1082 | 1095 | <span data-i18n="Samplers Order">Samplers Order</span> |
| @@ -1115,22 +1128,27 @@ | ||
| 1115 | 1128 | <small>5</small> |
| 1116 | 1129 | <div class="toggle_button right_menu_button"></div> |
| 1117 | 1130 | </div> |
| 1118 | - <div data-id="6"> | |
| 1131 | + <!-- 6 and 7 were removed samplers. --> | |
| 1119 | - <span data-i18n="CFG">CFG</span> | |
| 1120 | - <small>6</small> | |
| 1121 | - <div class="toggle_button right_menu_button"></div> | |
| 1122 | - </div> | |
| 1123 | - <!-- Yes, there is no 7. It was a removed Top G sampling. RIP. --> | |
| 1124 | 1132 | <div data-id="8"> |
| 1125 | 1133 | <span data-i18n="Mirostat">Mirostat</span> |
| 1126 | 1134 | <small>8</small> |
| 1127 | 1135 | <div class="toggle_button right_menu_button"></div> |
| 1128 | 1136 | </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> | |
| 1129 | 1147 | </div> |
| 1130 | 1148 | </div> |
| 1131 | 1149 | </div><!-- end of novel settings--> |
| 1132 | 1150 | <div id="textgenerationwebui_api-settings"> |
| 1133 | 1151 | <div data-newbie-hidden class="flex-container justifyCenter"> |
| 1134 | 1152 | <small class="flex-container alignitemscenter"> |
| 1135 | 1153 | <div id="samplerResetButton" class="menu_button whitespacenowrap" data-i18n="Neutralize Samplers">Neutralize Samplers</div> |
| 1136 | 1154 | <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> |
| @@ -1141,7 +1159,7 @@ | ||
| 1141 | 1159 | <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> |
| 1142 | 1160 | </small> |
| 1143 | 1161 | </div> |
| 1144 | 1162 | <div data-newbie-hidden data-tg-type="mancer, vllm, aphrodite, tabby, infermaticai" class="flex-container flexFlowColumn alignitemscenter flexBasis100p flexGrow flexShrink gap0"> |
| 1145 | 1163 | <small data-i18n="Multiple swipes per generation">Multiple swipes per generation</small> |
| 1146 | 1164 | <input type="number" id="n_textgenerationwebui" class="text_pole textAlignCenter" min="1" value="1" step="1" /> |
| 1147 | 1165 | </div> |
| @@ -1154,7 +1172,7 @@ | ||
| 1154 | 1172 | <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"> |
| 1155 | 1173 | <input class="neo-range-input" type="number" min="0.0" max="5.0" step="0.01" data-for="temp_textgenerationwebui" id="temp_counter_textgenerationwebui"> |
| 1156 | 1174 | </div> |
| 1157 | 1175 | <div data-newbie-hidden class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0"> |
| 1158 | 1176 | <small> |
| 1159 | 1177 | <span data-i18n="Top K">Top K</span> |
| 1160 | 1178 | <div class="fa-solid fa-circle-info opacity50p" title="Top K sets a maximum amount of top tokens that can be chosen from. 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). Set to 0 (or -1, depending on your backend) to disable." data-i18n="[title]Top_K_desc"></div> |
| @@ -1162,7 +1180,7 @@ | ||
| 1162 | 1180 | <input class="neo-range-slider" type="range" id="top_k_textgenerationwebui" name="volume" min="-1" max="200" step="1"> |
| 1163 | 1181 | <input class="neo-range-input" type="number" min="-1" max="200" step="1" data-for="top_k_textgenerationwebui" id="top_k_counter_textgenerationwebui"> |
| 1164 | 1182 | </div> |
| 1165 | 1183 | <div data-newbie-hidden class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0"> |
| 1166 | 1184 | <small> |
| 1167 | 1185 | <span data-i18n="Top P">Top P</span> |
| 1168 | 1186 | <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. E.g If the Top 2 tokens are both 25%, and Top P is 0.50, only the Top 2 tokens are considered. Set to 1.0 to disable." data-i18n="[title]Top_P_desc"></div> |
| @@ -1170,7 +1188,7 @@ | ||
| 1170 | 1188 | <input class="neo-range-slider" type="range" id="top_p_textgenerationwebui" name="volume" min="0" max="1" step="0.01"> |
| 1171 | 1189 | <input class="neo-range-input" type="number" min="0" max="1" step="0.01" data-for="top_p_textgenerationwebui" id="top_p_counter_textgenerationwebui"> |
| 1172 | 1190 | </div> |
| 1173 | 1191 | <div data-newbie-hidden class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0"> |
| 1174 | 1192 | <small> |
| 1175 | 1193 | <span data-i18n="Typical P">Typical P</span> |
| 1176 | 1194 | <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. It maintains tokens whose cumulative probability is close to a predefined threshold (e.g., 0.5), emphasizing those with average information content. Set to 1.0 to disable." data-i18n="[title]Typical_P_desc"></div> |
| @@ -1186,7 +1204,7 @@ | ||
| 1186 | 1204 | <input class="neo-range-slider" type="range" id="min_p_textgenerationwebui" name="volume" min="0" max="1" step="0.001"> |
| 1187 | 1205 | <input class="neo-range-input" type="number" min="0" max="1" step="0.001" data-for="min_p_textgenerationwebui" id="min_p_counter_textgenerationwebui"> |
| 1188 | 1206 | </div> |
| 1189 | 1207 | <div data-newbie-hidden class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0"> |
| 1190 | 1208 | <small> |
| 1191 | 1209 | <span data-i18n="Top A">Top A</span> |
| 1192 | 1210 | <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. 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. Set to 0 to disable." data-i18n="[title]Top_A_desc"></div> |
| @@ -1194,7 +1212,7 @@ | ||
| 1194 | 1212 | <input class="neo-range-slider" type="range" id="top_a_textgenerationwebui" name="volume" min="0" max="1" step="0.01"> |
| 1195 | 1213 | <input class="neo-range-input" type="number" min="0" max="1" step="0.01" data-for="top_a_textgenerationwebui" id="top_a_counter_textgenerationwebui"> |
| 1196 | 1214 | </div> |
| 1197 | 1215 | <div data-newbie-hidden class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0"> |
| 1198 | 1216 | <small> |
| 1199 | 1217 | <span data-i18n="TFS">TFS</span> |
| 1200 | 1218 | <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, 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. The closer to 0, the more discarded tokens. Set to 1.0 to disable."></div> |
| @@ -1202,7 +1220,7 @@ | ||
| 1202 | 1220 | <input class="neo-range-slider" type="range" id="tfs_textgenerationwebui" name="volume" min="0" max="1" step="0.01"> |
| 1203 | 1221 | <input class="neo-range-input" type="number" min="0" max="1" step="0.01" data-for="tfs_textgenerationwebui" id="tfs_counter_textgenerationwebui"> |
| 1204 | 1222 | </div> |
| 1205 | 1223 | <div data-newbie-hidden data-tg-type="ooba,mancer,aphrodite" class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0"> |
| 1206 | 1224 | <small> |
| 1207 | 1225 | <span data-i18n="Epsilon Cutoff">Epsilon Cutoff</span> |
| 1208 | 1226 | <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. In units of 1e-4; a reasonable value is 3. Set to 0 to disable."></div> |
| @@ -1210,7 +1228,7 @@ | ||
| 1210 | 1228 | <input class="neo-range-slider" type="range" id="epsilon_cutoff_textgenerationwebui" name="volume" min="0" max="9" step="0.01"> |
| 1211 | 1229 | <input class="neo-range-input" type="number" min="0" max="9" step="0.01" data-for="epsilon_cutoff_textgenerationwebui" id="epsilon_cutoff_counter_textgenerationwebui"> |
| 1212 | 1230 | </div> |
| 1213 | 1231 | <div data-newbie-hidden data-tg-type="ooba,mancer,aphrodite" class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0"> |
| 1214 | 1232 | <small> |
| 1215 | 1233 | <span data-i18n="Eta Cutoff">Eta Cutoff</span> |
| 1216 | 1234 | <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. In units of 1e-4; a reasonable value is 3. Set to 0 to disable. See the paper Truncation Sampling as Language Model Desmoothing by Hewitt et al. (2022) for details."></div> |
| @@ -1238,61 +1256,83 @@ | ||
| 1238 | 1256 | <input class="neo-range-slider" type="range" id="rep_pen_decay_textgenerationwebui" name="volume" min="-1" max="8192" step="1"> |
| 1239 | 1257 | <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"> |
| 1240 | 1258 | </div> |
| 1241 | 1259 | <div data-tg-type="ooba" data-newbie-hidden class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0"> |
| 1242 | 1260 | <small data-i18n="Encoder Rep. Pen.">Encoder Penalty</small> |
| 1243 | 1261 | <input class="neo-range-slider" type="range" id="encoder_rep_pen_textgenerationwebui" name="volume" min="0.8" max="1.5" step="0.01" /> |
| 1244 | 1262 | <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"> |
| 1245 | 1263 | </div> |
| 1246 | 1264 | <div data-newbie-hidden class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0"> |
| 1247 | 1265 | <small data-i18n="Frequency Penalty">Frequency Penalty</small> |
| 1248 | 1266 | <input class="neo-range-slider" type="range" id="freq_pen_textgenerationwebui" name="volume" min="-2" max="2" step="0.01" /> |
| 1249 | 1267 | <input class="neo-range-input" type="number" data-for="freq_pen_textgenerationwebui" min="-2" max="2" step="0.01" id="freq_pen_counter_textgenerationwebui"> |
| 1250 | 1268 | </div> |
| 1251 | 1269 | <div data-newbie-hidden class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0"> |
| 1252 | 1270 | <small data-i18n="Presence Penalty">Presence Penalty</small> |
| 1253 | 1271 | <input class="neo-range-slider" type="range" id="presence_pen_textgenerationwebui" name="volume" min="-2" max="2" step="0.01" /> |
| 1254 | 1272 | <input class="neo-range-input" type="number" min="-2" max="2" step="0.01" data-for="presence_pen_textgenerationwebui" id="presence_pen_counter_textgenerationwebui"> |
| 1255 | 1273 | </div> |
| 1256 | 1274 | <div data-tg-type="ooba" data-newbie-hidden class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0"> |
| 1257 | 1275 | <small data-i18n="No Repeat Ngram Size">No Repeat Ngram Size</small> |
| 1258 | 1276 | <input class="neo-range-slider" type="range" id="no_repeat_ngram_size_textgenerationwebui" name="volume" min="0" max="20" step="1"> |
| 1259 | 1277 | <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"> |
| 1260 | 1278 | </div> |
| 1261 | 1279 | <div data-newbie-hidden data-tg-type="tabby" class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0"> |
| 1262 | 1280 | <small data-i18n="Skew">Skew</small> |
| 1263 | 1281 | <input class="neo-range-slider" type="range" id="skew_textgenerationwebui" name="volume" min="-5" max="5" step="0.01" /> |
| 1264 | 1282 | <input class="neo-range-input" type="number" min="-5" max="5" step="0.01" data-for="skew_textgenerationwebui" id="skew_counter_textgenerationwebui"> |
| 1265 | 1283 | </div> |
| 1266 | 1284 | <div data-newbie-hidden data-tg-type="mancer, ooba, tabby, dreamgen, infermaticai, aphrodite" class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0"> |
| 1267 | 1285 | <small data-i18n="Min Length">Min Length</small> |
| 1268 | 1286 | <input class="neo-range-slider" type="range" id="min_length_textgenerationwebui" name="volume" min="0" max="2000" step="1" /> |
| 1269 | 1287 | <input class="neo-range-input" type="number" min="0" max="2000" step="1" data-for="min_length_textgenerationwebui" id="min_length_counter_textgenerationwebui"> |
| 1270 | 1288 | </div> |
| 1271 | 1289 | <div data-newbie-hidden data-tg-type="ooba" class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0"> |
| 1272 | 1290 | <small data-i18n="Max Tokens Second">Maximum tokens/second</small> |
| 1273 | 1291 | <input class="neo-range-slider" type="range" id="max_tokens_second_textgenerationwebui" name="volume" min="0" max="20" step="1" /> |
| 1274 | 1292 | <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"> |
| 1275 | 1293 | </div> |
| 1276 | 1294 | <div data-newbie-hidden data-tg-type="mancer, ooba, koboldcpp, aphrodite, tabby" id="smoothingBlock" name="smoothingBlock" class="wide100p"> |
| 1277 | 1295 | <h4 class="wide100p textAlignCenter"> |
| 1278 | 1296 | <label data-i18n="Smooth Sampling">Smooth Sampling</label> |
| 1279 | 1297 | <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> |
| 1280 | 1298 | </h4> |
| 1281 | 1299 | <div data-tg-type="mancer, ooba, koboldcpp, aphrodite, tabby" class="flex-container flexFlowRow gap10px flexShrink"> |
| 1282 | 1300 | <div data-newbie-hidden class="alignitemscenter flex-container flexFlowColumn flexBasis48p flexGrow flexShrink gap0"> |
| 1283 | 1301 | <small data-i18n="Smoothing Factor">Smoothing Factor</small> |
| 1284 | 1302 | <input class="neo-range-slider" type="range" id="smoothing_factor_textgenerationwebui" name="volume" min="0" max="10" step="0.01" /> |
| 1285 | 1303 | <input class="neo-range-input" type="number" min="0" max="10" step="0.01" data-for="smoothing_factor_textgenerationwebui" id="smoothing_factor_counter_textgenerationwebui"> |
| 1286 | 1304 | </div> |
| 1287 | 1305 | <div data-tg-type="mancer, ooba, koboldcpp, aphrodite" data-newbie-hidden class="alignitemscenter flex-container flexFlowColumn flexBasis48p flexGrow flexShrink gap0"> |
| 1288 | 1306 | <small data-i18n="Smoothing Curve">Smoothing Curve</small> |
| 1289 | 1307 | <input class="neo-range-slider" type="range" id="smoothing_curve_textgenerationwebui" name="volume" min="1" max="10" step="0.01" /> |
| 1290 | 1308 | <input class="neo-range-input" type="number" min="1" max="10" step="0.01" data-for="smoothing_curve_textgenerationwebui" id="smoothing_curve_counter_textgenerationwebui"> |
| 1291 | 1309 | </div> |
| 1292 | 1310 | </div> |
| 1293 | 1311 | </div> |
| 1312 | + | |
| 1313 | + <div data-tg-type="koboldcpp, aphrodite, tabby" id="xtc_block" class="wide100p"> | |
| 1314 | + <h4 class="wide100p textAlignCenter"> | |
| 1315 | + <label data-i18n="Exclude Top Choices (XTC)">Exclude Top Choices (XTC)</label> | |
| 1316 | + <a href="https://github.com/oobabooga/text-generation-webui/pull/6335" target="_blank"> | |
| 1317 | + <div class=" fa-solid fa-circle-info opacity50p"></div> | |
| 1318 | + </a> | |
| 1319 | + </h4> | |
| 1320 | + <div class="flex-container flexFlowRow gap10px flexShrink"> | |
| 1321 | + <div class="alignitemscenter flex-container flexFlowColumn flexBasis48p flexGrow flexShrink gap0"> | |
| 1322 | + <small data-i18n="Threshold">Threshold</small> | |
| 1323 | + <input class="neo-range-slider" type="range" id="xtc_threshold_textgenerationwebui" name="volume" min="0" max="0.5" step="0.01" /> | |
| 1324 | + <input class="neo-range-input" type="number" min="0" max="0.5" step="0.01" data-for="xtc_threshold_textgenerationwebui" id="xtc_threshold_counter_textgenerationwebui"> | |
| 1325 | + </div> | |
| 1326 | + <div class="alignitemscenter flex-container flexFlowColumn flexBasis48p flexGrow flexShrink gap0"> | |
| 1327 | + <small data-i18n="Probability">Probability</small> | |
| 1328 | + <input class="neo-range-slider" type="range" id="xtc_probability_textgenerationwebui" name="volume" min="0" max="1" step="0.01" /> | |
| 1329 | + <input class="neo-range-input" type="number" min="0" max="1" step="0.01" data-for="xtc_probability_textgenerationwebui" id="xtc_probability_counter_textgenerationwebui"> | |
| 1330 | + </div> | |
| 1331 | + </div> | |
| 1332 | + </div> | |
| 1333 | + | |
| 1294 | 1334 | <!-- Enable for llama.cpp when the PR is merged: https://github.com/ggerganov/llama.cpp/pull/6839 --> |
| 1295 | 1335 | <div data-newbie-hidden data-tg-type="ooba, koboldcpp, tabby" id="dryBlock" class="wide100p"> |
| 1296 | 1336 | <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"> |
| 1297 | 1337 | <label data-i18n="DRY Repetition Penalty">DRY Repetition Penalty</label> |
| 1298 | 1338 | <a href="https://github.com/oobabooga/text-generation-webui/pull/5677" target="_blank"> |
| @@ -1315,7 +1355,7 @@ | ||
| 1315 | 1355 | <input class="neo-range-slider" type="range" id="dry_allowed_length_textgenerationwebui" min="1" max="20" step="1" /> |
| 1316 | 1356 | <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"> |
| 1317 | 1357 | </div> |
| 1318 | 1358 | <div class="alignItemsCenter flex-container flexFlowColumn flexBasis48p flexGrow flexShrink gap0" data-tg-type="llamacpp, koboldcpp, tabby"> |
| 1319 | 1359 | <small data-i18n="Penalty Range">Penalty Range</small> |
| 1320 | 1360 | <input class="neo-range-slider" type="range" id="dry_penalty_last_n_textgenerationwebui" min="0" max="8192" step="1" /> |
| 1321 | 1361 | <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"> |
| @@ -1330,7 +1370,7 @@ | ||
| 1330 | 1370 | </div> |
| 1331 | 1371 | </div> |
| 1332 | 1372 | </div> |
| 1333 | 1373 | <div data-newbie-hidden data-tg-type="ooba, mancer, koboldcpp, tabby, llamacpp, aphrodite" id="dynatemp_block_ooba" class="wide100p"> |
| 1334 | 1374 | <h4 class="wide100p textAlignCenter"> |
| 1335 | 1375 | <div class="flex-container alignitemscenter justifyCenter"> |
| 1336 | 1376 | <div class="checkbox_label" for="dynatemp_textgenerationwebui"> |
| @@ -1358,7 +1398,7 @@ | ||
| 1358 | 1398 | </div> |
| 1359 | 1399 | </div> |
| 1360 | 1400 | </div> |
| 1361 | 1401 | <div data-newbie-hidden data-tg-type="ooba,aphrodite,infermaticai,koboldcpp,llamacpp,mancer,ollama,tabby" id="mirostat_block_ooba" class="wide100p"> |
| 1362 | 1402 | <h4 class="wide100p textAlignCenter"> |
| 1363 | 1403 | <label data-i18n="Mirostat (mode=1 is only for llama.cpp)">Mirostat</label> |
| 1364 | 1404 | <div class=" fa-solid fa-circle-info opacity50p " data-i18n="[title]Mirostat_desc" title="Mirostat is a thermostat for output perplexity. Mirostat matches the output perplexity to that of the input, thus avoiding the repetition trap (where, as the autoregressive inference produces text, the perplexity of the output tends toward zero) and the confusion trap (where the perplexity diverges). For details, see the paper Mirostat: A Neural Text Decoding Algorithm that Directly Controls Perplexity by Basu et al. (2020). Mode chooses the Mirostat version. 0=disable, 1=Mirostat 1.0 (llama.cpp only), 2=Mirostat 2.0."></div> |
| @@ -1387,33 +1427,41 @@ | ||
| 1387 | 1427 | </div> |
| 1388 | 1428 | </div> |
| 1389 | 1429 | </div> |
| 1390 | 1430 | <div data-newbie-hidden data-tg-type="ooba, vllm" id="beamSearchBlock" name="beamSearchBlock" class="wide100p"> |
| 1391 | 1431 | <h4 class="wide100p textAlignCenter"> |
| 1392 | 1432 | <label> |
| 1393 | 1433 | <span data-i18n="Beam search">Beam Search</span> |
| 1394 | - <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> | |
| 1395 | 1435 | </label> |
| 1396 | 1436 | </h4> |
| 1397 | 1437 | <div class="flex-container flexFlowRow alignitemscenter gap10px flexShrink"> |
| 1398 | 1438 | <div class="alignitemscenter flex-container marginBot5 flexFlowColumn flexGrow flexShrink gap0"> |
| 1399 | - <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> | |
| 1400 | 1443 | <input class="neo-range-slider" type="range" id="num_beams_textgenerationwebui" name="volume" min="1" max="20" step="1" /> |
| 1401 | 1444 | <input class="neo-range-input" type="number" min="1" max="20" step="1" data-for="num_beams_textgenerationwebui" id="num_beams_counter_textgenerationwebui"> |
| 1402 | 1445 | </div> |
| 1403 | 1446 | <div class="alignitemscenter flex-container marginBot5 flexFlowColumn flexGrow flexShrink gap0"> |
| 1447 | + <label> | |
| 1404 | 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> | |
| 1405 | 1451 | <input class="neo-range-slider" type="range" id="length_penalty_textgenerationwebui" name="volume" min="-5" max="5" step="0.1" /> |
| 1406 | 1452 | <input class="neo-range-input" type="number" min="-5" max="5" step="0.1" data-for="length_penalty_textgenerationwebui" id="length_penalty_counter_textgenerationwebui"> |
| 1407 | 1453 | </div> |
| 1408 | 1454 | <div class=""> |
| 1409 | 1455 | <label class="checkbox_label" for="early_stopping_textgenerationwebui"> |
| 1410 | 1456 | <input type="checkbox" id="early_stopping_textgenerationwebui" /> |
| 1411 | 1457 | <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> | |
| 1412 | 1460 | </label> |
| 1413 | 1461 | </div> |
| 1414 | 1462 | </div> |
| 1415 | 1463 | </div> |
| 1416 | 1464 | <div data-tg-type="ooba" data-newbie-hidden id="contrastiveSearchBlock" name="contrastiveSearchBlock" class="alignitemscenter flex-container flexFlowColumn flexBasis48p flexGrow flexShrink gap0"> |
| 1417 | 1465 | <h4 class="textAlignCenter" data-i18n="Contrastive search">Contrastive Search |
| 1418 | 1466 | <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> |
| 1419 | 1467 | </h4> |
| @@ -1426,7 +1474,7 @@ | ||
| 1426 | 1474 | <input class="neo-range-input" type="number" min="0" max="5" step="0.05" data-for="penalty_alpha_textgenerationwebui" id="penalty_alpha_counter_textgenerationwebui"> |
| 1427 | 1475 | </div> |
| 1428 | 1476 | </div> |
| 1429 | 1477 | <div data-newbie-hidden name="checkboxes" class="flex-container flexBasis48p justifyCenter flexGrow flexShrink "> |
| 1430 | 1478 | <div class="flex-container flexFlowColumn marginTop5"> |
| 1431 | 1479 | <label data-tg-type="ooba" class="checkbox_label flexGrow flexShrink" for="do_sample_textgenerationwebui"> |
| 1432 | 1480 | <input type="checkbox" id="do_sample_textgenerationwebui" /> |
| @@ -1439,7 +1487,7 @@ | ||
| 1439 | 1487 | <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> |
| 1440 | 1488 | </label> |
| 1441 | 1489 | </label> |
| 1442 | 1490 | <label data-tg-type="ooba, llamacpp, tabby, koboldcpp" class="checkbox_label flexGrow flexShrink" for="ban_eos_token_textgenerationwebui"> |
| 1443 | 1491 | <input type="checkbox" id="ban_eos_token_textgenerationwebui" /> |
| 1444 | 1492 | <label> |
| 1445 | 1493 | <small data-i18n="Ban EOS Token">Ban EOS Token</small> |
| @@ -1477,18 +1525,21 @@ | ||
| 1477 | 1525 | </label> |
| 1478 | 1526 | </div> |
| 1479 | 1527 | </div> |
| 1480 | 1528 | <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"> |
| 1481 | - <small data-i18n="Seed" class="textAlignCenter">Seed</small> | |
| 1529 | + <label> | |
| 1482 | - <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" /> | |
| 1483 | 1534 | </div> |
| 1484 | 1535 | <div id="banned_tokens_block_ooba" data-newbie-hidden class="wide100p"> |
| 1485 | 1536 | <hr data-newbie-hidden class="width100p"> |
| 1486 | 1537 | <h4 class="range-block-title justifyCenter"> |
| 1487 | 1538 | <span data-i18n="Banned Tokens">Banned Tokens/Strings</span> |
| 1488 | 1539 | <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. Sequencessequences you don't want to appear in the output. OneUnquoted pertext line.will Textbe ortokenized in the back end and banned as tokens. [token ids] will be banned as-is. Most tokens have a leading space. Use token counter (with the correct tokenizer selected first!) if you are unsure. Enclose text in double quotes to ban the entire string as a set. Quoted Strings and [Token ids] must be on their own line."></div> |
| 1489 | 1540 | </h4> |
| 1490 | 1541 | <div class="wide100p"> |
| 1491 | 1542 | <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: 'some text as tokens [42420, 69, 1337] "Some verbatim string"'></textarea> |
| 1492 | 1543 | </div> |
| 1493 | 1544 | </div> |
| 1494 | 1545 | <div class="range-block wide100p"> |
| @@ -1506,7 +1557,7 @@ | ||
| 1506 | 1557 | <div class="logit_bias_list"></div> |
| 1507 | 1558 | </div> |
| 1508 | 1559 | </div> |
| 1509 | 1560 | <div id="cfg_block_ooba" data-newbie-hidden data-tg-type="ooba, tabby" class="wide100p"> |
| 1510 | 1561 | <hr class="width100p"> |
| 1511 | 1562 | <h4 data-i18n="CFG" class="textAlignCenter">CFG |
| 1512 | 1563 | <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> |
| @@ -1528,18 +1579,7 @@ | ||
| 1528 | 1579 | </div> |
| 1529 | 1580 | </div> |
| 1530 | 1581 | </div> |
| 1531 | 1582 | <div data-newbie-hidden id="json_schema_blockgrammar_block_ooba" data-tg-type="tabbyooba, llamacppaphrodite" class="wide100p"> |
| 1532 | - <hr class="wide100p"> | |
| 1533 | - <h4 class="wide100p textAlignCenter"><span data-i18n="JSON Schema">JSON Schema</span> | |
| 1534 | - <a href="https://json-schema.org/learn/getting-started-step-by-step" target="_blank"> | |
| 1535 | - <small> | |
| 1536 | - <div class="fa-solid fa-circle-question note-link-span"></div> | |
| 1537 | - </small> | |
| 1538 | - </a> | |
| 1539 | - </h4> | |
| 1540 | - <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> | |
| 1541 | - </div> | |
| 1542 | - <div data-newbie-hidden id="grammar_block_ooba" class="wide100p"> | |
| 1543 | 1583 | <hr class="wide100p"> |
| 1544 | 1584 | <h4 class="wide100p textAlignCenter"> |
| 1545 | 1585 | <label> |
| @@ -1554,7 +1594,18 @@ | ||
| 1554 | 1594 | </h4> |
| 1555 | 1595 | <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> |
| 1556 | 1596 | </div> |
| 1557 | 1597 | <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"> | |
| 1558 | 1609 | <hr class="wide100p"> |
| 1559 | 1610 | <div class="range-block-title"> |
| 1560 | 1611 | <span data-i18n="Samplers Order">Samplers Order</span> |
| @@ -1597,7 +1648,7 @@ | ||
| 1597 | 1648 | <span data-i18n="Load default order">Load default order</span> |
| 1598 | 1649 | </div> |
| 1599 | 1650 | </div> |
| 1600 | 1651 | <div id="sampler_order_block_lcpp" data-newbie-hidden data-tg-type="llamacpp" class="range-block flexFlowColumn wide100p"> |
| 1601 | 1652 | <hr class="wide100p"> |
| 1602 | 1653 | <h4 class="range-block-title justifyCenter"> |
| 1603 | 1654 | <span data-i18n="Sampler Order">Sampler Order</span> |
| @@ -1618,7 +1669,7 @@ | ||
| 1618 | 1669 | <span data-i18n="Load default order">Load default order</span> |
| 1619 | 1670 | </div> |
| 1620 | 1671 | </div> |
| 1621 | 1672 | <div id="sampler_priority_block_ooba" data-newbie-hidden data-tg-type="ooba" class="range-block flexFlowColumn wide100p"> |
| 1622 | 1673 | <hr class="wide100p"> |
| 1623 | 1674 | <h4 class="range-block-title justifyCenter"> |
| 1624 | 1675 | <span data-i18n="Sampler Priority">Sampler Priority</span> |
| @@ -1791,22 +1842,6 @@ | ||
| 1791 | 1842 | </select> |
| 1792 | 1843 | </div> |
| 1793 | 1844 | </div> |
| 1794 | - <div class="range-block" data-source="ai21"> | |
| 1795 | - <label for="use_ai21_tokenizer" title="Use AI21 Tokenizer" data-i18n="[title]Use AI21 Tokenizer" class="checkbox_label widthFreeExpand"> | |
| 1796 | - <input id="use_ai21_tokenizer" type="checkbox" /><span data-i18n="Use AI21 Tokenizer">Use AI21 Tokenizer</span> | |
| 1797 | - </label> | |
| 1798 | - <div class="toggle-description justifyLeft"> | |
| 1799 | - <span data-i18n="Use the appropriate tokenizer for Jurassic models, which is more efficient than GPT's.">Use the appropriate tokenizer for Jurassic models, which is more efficient than GPT's.</span> | |
| 1800 | - </div> | |
| 1801 | - </div> | |
| 1802 | - <div class="range-block" data-source="makersuite"> | |
| 1803 | - <label for="use_google_tokenizer" title="Use Google Tokenizer" data-i18n="[title]Use Google Tokenizer" class="checkbox_label widthFreeExpand"> | |
| 1804 | - <input id="use_google_tokenizer" type="checkbox" /><span data-i18n="Use Google Tokenizer">Use Google Tokenizer</span> | |
| 1805 | - </label> | |
| 1806 | - <div class="toggle-description justifyLeft"> | |
| 1807 | - <span data-i18n="Use the appropriate tokenizer for Google models via their API. Slower prompt processing, but offers much more accurate token counting.">Use the appropriate tokenizer for Google models via their API. Slower prompt processing, but offers much more accurate token counting.</span> | |
| 1808 | - </div> | |
| 1809 | - </div> | |
| 1810 | 1845 | <div class="range-block" data-source="makersuite"> |
| 1811 | 1846 | <label for="use_makersuite_sysprompt" class="checkbox_label widthFreeExpand"> |
| 1812 | 1847 | <input id="use_makersuite_sysprompt" type="checkbox" /> |
| @@ -1821,18 +1856,18 @@ | ||
| 1821 | 1856 | </span> |
| 1822 | 1857 | </div> |
| 1823 | 1858 | </div> |
| 1824 | 1859 | <div data-newbie-hidden class="range-block" data-source="claude"> |
| 1825 | 1860 | <div class="wide100p"> |
| 1826 | 1861 | <div class="flex-container alignItemsCenter"> |
| 1827 | 1862 | <span id="claude_assistant_prefill_text" data-i18n="Assistant Prefill">Assistant Prefill</span> |
| 1828 | 1863 | <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> |
| 1829 | 1864 | </div> |
| 1830 | 1865 | <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> |
| 1831 | 1866 | <div class="flex-container alignItemsCenter"> |
| 1832 | 1867 | <span id="claude_assistant_impersonation_text" data-i18n="Assistant Impersonation Prefill">Assistant Impersonation Prefill</span> |
| 1833 | 1868 | <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> |
| 1834 | 1869 | </div> |
| 1835 | 1870 | <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> |
| 1836 | 1871 | </div> |
| 1837 | 1872 | <label for="claude_use_sysprompt" class="checkbox_label widthFreeExpand"> |
| 1838 | 1873 | <input id="claude_use_sysprompt" type="checkbox" /> |
| @@ -1852,11 +1887,11 @@ | ||
| 1852 | 1887 | <div class="fa-solid fa-clock-rotate-left"></div> |
| 1853 | 1888 | </div> |
| 1854 | 1889 | </div> |
| 1855 | 1890 | <textarea id="claude_human_sysprompt_textarea" class="text_pole textarea_compact" rows="4autoSetHeight" maxlengthrows="100002" data-i18n="[placeholder]Human message" placeholder="Human message, instruction, etc. Adds nothing when empty, i.e. requires a new prompt with the role 'user'."></textarea> |
| 1856 | 1891 | </div> |
| 1857 | 1892 | </div> |
| 1858 | 1893 | </div> |
| 1859 | 1894 | <div data-newbie-hidden class="range-block m-t-1" data-source="openai,openrouter,scale"> |
| 1860 | 1895 | <div id="logit_bias_openai" class="range-block-title openai_restorable" data-i18n="Logit Bias"> |
| 1861 | 1896 | Logit Bias |
| 1862 | 1897 | </div> |
| @@ -1894,7 +1929,7 @@ | ||
| 1894 | 1929 | </div> |
| 1895 | 1930 | </div> |
| 1896 | 1931 | </div> |
| 1897 | 1932 | <div data-newbie-hidden class="range-block m-b-1"> |
| 1898 | 1933 | <div id="completion_prompt_manager"></div> |
| 1899 | 1934 | </div> |
| 1900 | 1935 | </div><!-- end of OpenAI settings--> |
| @@ -1905,35 +1940,44 @@ | ||
| 1905 | 1940 | </div> |
| 1906 | 1941 | <div id="sys-settings-button" class="drawer"> |
| 1907 | 1942 | <div class="drawer-toggle drawer-header"> |
| 1908 | 1943 | <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> |
| 1909 | 1944 | </div> |
| 1910 | 1945 | <div id="rm_api_block" class="drawer-content closedDrawer"> |
| 1911 | 1946 | <h3 class="margin0" id="title_api">API</h3> |
| 1912 | 1947 | <div class="flex-container flexFlowColumn"> |
| 1913 | 1948 | <div id="main-API-selector-block"> |
| 1914 | 1949 | <select id="main_api"> |
| 1915 | 1950 | <option value="textgenerationwebui"><span data-i18n="Text Completion">Text Completion</span></option> |
| 1916 | 1951 | <option value="openai"><span data-i18n="Chat Completion">Chat Completion</span></option> |
| 1917 | 1952 | <option value="novel"><span data-i18n="NovelAI">NovelAI</span></option> |
| 1918 | 1953 | <option value="koboldhorde"><span data-i18n="KoboldAI Horde">KoboldAI Horde</span></option> |
| 1919 | 1954 | <option value="kobold"><span data-i18n="KoboldAI">KoboldAI Classic</span></option> |
| 1920 | 1955 | </select> |
| 1921 | 1956 | </div> |
| 1922 | 1957 | <div id="kobold_horde" style="position: relative;"> <!-- shows the kobold settings --> |
| 1923 | 1958 | <form action="javascript:void(null);" method="post" enctype="multipart/form-data"> |
| 1924 | 1959 | <div id="kobold_horde_block"> |
| 1925 | 1960 | <ul> |
| 1926 | - <li data-i18n="Avoid sending sensitive information to the Horde."> | |
| 1961 | + <li> | |
| 1927 | - Avoid sending sensitive information to the Horde. | |
| 1962 | + <a target="_blank" href="https://aihorde.net/" data-i18n="KoboldAI Horde Website"> | |
| 1928 | - <a target="_blank" href="https://docs.sillytavern.app/usage/api-connections/horde/" data-i18n="Review the Privacy statement">Review the Privacy statement</a> | |
| 1963 | + KoboldAI Horde Website | |
| 1964 | + </a> | |
| 1965 | + </li> | |
| 1966 | + <li> | |
| 1967 | + <span data-i18n="Avoid sending sensitive information to the Horde.">Avoid sending sensitive information to the Horde.</span> | |
| 1968 | + <a target="_blank" href="https://docs.sillytavern.app/usage/api-connections/horde/" data-i18n="Review the Privacy statement"> | |
| 1969 | + Review the Privacy statement | |
| 1970 | + </a> | |
| 1929 | 1971 | </li> |
| 1930 | 1972 | <li> |
| 1931 | 1973 | <a target="_blank" href="https://horde.koboldaiaihorde.net/register" data-i18n="Register a Horde account for faster queue times">Register a Horde |
| 1932 | 1974 | Register a Horde account for faster queue times</a> |
| 1975 | + </a> | |
| 1933 | 1976 | </li> |
| 1934 | 1977 | <li> |
| 1935 | 1978 | <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 |
| 1936 | 1979 | Learn how to contribute your idle GPU cycles to the Horde</a> |
| 1980 | + </a> | |
| 1937 | 1981 | </li> |
| 1938 | 1982 | </ul> |
| 1939 | 1983 | <label for="horde_auto_adjust_context_length" class="checkbox_label"> |
| @@ -1951,14 +1995,11 @@ | ||
| 1951 | 1995 | <small id="adjustedHordeParams">Context: --, Response: --</small> |
| 1952 | 1996 | <h4 data-i18n="API key">API key</h4> |
| 1953 | 1997 | <small> |
| 1954 | 1998 | <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> |
| 1955 | 1999 | <span data-i18n="Enter">Enter </span> <span class="monospace">0000000000</span> <span data-i18n="to use anonymous mode.">to use anonymous mode. </span> |
| 1956 | 2000 | </small> |
| 1957 | - <!-- <div> | |
| 1958 | - <a id="horde_kudos" href="javascript:void(0);">View my Kudos</a> | |
| 1959 | - </div> --> | |
| 1960 | 2001 | <div class="flex-container"> |
| 1961 | 2002 | <input id="horde_api_key" name="horde_api_key" class="text_pole flex1" maxlength="500" type="text" placeholder="0000000000" autocomplete="off"> |
| 1962 | 2003 | <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> |
| 1963 | 2004 | </div> |
| 1964 | 2005 | <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."> |
| @@ -1985,13 +2026,13 @@ | ||
| 1985 | 2026 | <div id="kobold_api_block"> |
| 1986 | 2027 | <h4 data-i18n="API url">API url</h4> |
| 1987 | 2028 | <small data-i18n="Example: http://127.0.0.1:5000/api ">Example: http://127.0.0.1:5000/api </small> |
| 1988 | 2029 | <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"> |
| 1989 | 2030 | <div id="koboldcpp_hint" class="neutral_warning displayNone"> |
| 1990 | 2031 | KoboldCpp works better when you select the Text Completion API and then KoboldCpp as a type! |
| 1991 | 2032 | </div> |
| 1992 | 2033 | <div class="flex-container"> |
| 1993 | 2034 | <div id="api_button" class="api_button menu_button menu_button_icon" type="submit" data-i18n="Connect" data-server-connect="kobold">Connect</div> |
| 1994 | 2035 | <div class="api_loading menu_button menu_button_icon" data-i18n="Cancel">Cancel</div> |
| 1995 | 2036 | </div> |
| 1996 | 2037 | </div> |
| 1997 | 2038 | <div class="online_status"> |
| @@ -2013,7 +2054,7 @@ | ||
| 2013 | 2054 | </ol> |
| 2014 | 2055 | </span> |
| 2015 | 2056 | <div class="flex-container"> |
| 2016 | 2057 | <input id="api_key_novel" name="api_key_novel" class="text_pole flex1 wide100p" maxlength="500" size="35" type="text" autocomplete="off"> |
| 2017 | 2058 | <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"> |
| 2018 | 2059 | </div> |
| 2019 | 2060 | </div> |
| @@ -2028,10 +2069,11 @@ | ||
| 2028 | 2069 | <select id="model_novel_select"> |
| 2029 | 2070 | <option value="clio-v1">Clio</option> |
| 2030 | 2071 | <option value="kayra-v1">Kayra</option> |
| 2072 | + <option value="llama-3-erato-v1">Erato</option> | |
| 2031 | 2073 | </select> |
| 2032 | 2074 | <div class="flex-container"> |
| 2033 | 2075 | <div id="api_button_novel" class="api_button menu_button menu_button_icon" type="submit" data-i18n="Connect">Connect</div> |
| 2034 | 2076 | <div class="api_loading menu_button menu_button_icon" data-i18n="Cancel">Cancel</div> |
| 2035 | 2077 | </div> |
| 2036 | 2078 | </form> |
| 2037 | 2079 | <div class="online_status"> |
| @@ -2063,7 +2105,7 @@ | ||
| 2063 | 2105 | <div data-tg-type="togetherai" class="flex-container flexFlowColumn"> |
| 2064 | 2106 | <h4 data-i18n="TogetherAI API Key">TogetherAI API Key</h4> |
| 2065 | 2107 | <div class="flex-container"> |
| 2066 | 2108 | <input id="api_key_togetherai" name="api_key_togetherai" class="text_pole flex1" maxlength="500" value="" type="text" autocomplete="off"> |
| 2067 | 2109 | <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> |
| 2068 | 2110 | </div> |
| 2069 | 2111 | <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."> |
| @@ -2072,7 +2114,7 @@ | ||
| 2072 | 2114 | <div> |
| 2073 | 2115 | <h4 data-i18n="TogetherAI Model">TogetherAI Model</h4> |
| 2074 | 2116 | <select id="model_togetherai_select"> |
| 2075 | 2117 | <option value="" data-i18n="-- Connect to the API --"> |
| 2076 | 2118 | -- Connect to the API -- |
| 2077 | 2119 | </option> |
| 2078 | 2120 | </select> |
| @@ -2087,7 +2129,7 @@ | ||
| 2087 | 2129 | <a href="https://openrouter.ai/account" target="_blank" data-i18n="View Remaining Credits">View Remaining Credits</a> |
| 2088 | 2130 | </div> |
| 2089 | 2131 | <div class="flex-container"> |
| 2090 | 2132 | <input id="api_key_openrouter-tg" name="api_key_openrouter" class="text_pole flex1 api_key_openrouter" maxlength="500" value="" type="text" autocomplete="off"> |
| 2091 | 2133 | <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> |
| 2092 | 2134 | </div> |
| 2093 | 2135 | <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."> |
| @@ -2096,7 +2138,7 @@ | ||
| 2096 | 2138 | <div> |
| 2097 | 2139 | <h4 data-i18n="OpenRouter Model">OpenRouter Model</h4> |
| 2098 | 2140 | <select id="openrouter_model"> |
| 2099 | 2141 | <option value="" data-i18n="-- Connect to the API --"> |
| 2100 | 2142 | -- Connect to the API -- |
| 2101 | 2143 | </option> |
| 2102 | 2144 | </select> |
| @@ -2114,7 +2156,7 @@ | ||
| 2114 | 2156 | <div data-tg-type="infermaticai" class="flex-container flexFlowColumn"> |
| 2115 | 2157 | <h4 data-i18n="InfermaticAI API Key">InfermaticAI API Key</h4> |
| 2116 | 2158 | <div class="flex-container"> |
| 2117 | 2159 | <input id="api_key_infermaticai" name="api_key_infermaticai" class="text_pole flex1" maxlength="500" value="" type="text" autocomplete="off"> |
| 2118 | 2160 | <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> |
| 2119 | 2161 | </div> |
| 2120 | 2162 | <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."> |
| @@ -2123,7 +2165,7 @@ | ||
| 2123 | 2165 | <div> |
| 2124 | 2166 | <h4 data-i18n="InfermaticAI Model">InfermaticAI Model</h4> |
| 2125 | 2167 | <select id="model_infermaticai_select"> |
| 2126 | - <option> | |
| 2168 | + <option value="" data-i18n="-- Connect to the API --"> | |
| 2127 | 2169 | -- Connect to the API -- |
| 2128 | 2170 | </option> |
| 2129 | 2171 | </select> |
| @@ -2137,7 +2179,7 @@ | ||
| 2137 | 2179 | </a> |
| 2138 | 2180 | </h4> |
| 2139 | 2181 | <div class="flex-container"> |
| 2140 | 2182 | <input id="api_key_dreamgen" name="api_key_dreamgen" class="text_pole flex1" maxlength="500" value="" type="text" autocomplete="off"> |
| 2141 | 2183 | <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> |
| 2142 | 2184 | </div> |
| 2143 | 2185 | <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."> |
| @@ -2146,7 +2188,7 @@ | ||
| 2146 | 2188 | <div> |
| 2147 | 2189 | <h4 data-i18n="DreamGen Model">DreamGen Model</h4> |
| 2148 | 2190 | <select id="model_dreamgen_select"> |
| 2149 | - <option> | |
| 2191 | + <option value="" data-i18n="-- Connect to the API --"> | |
| 2150 | 2192 | -- Connect to the API -- |
| 2151 | 2193 | </option> |
| 2152 | 2194 | </select> |
| @@ -2162,7 +2204,7 @@ | ||
| 2162 | 2204 | </a> |
| 2163 | 2205 | </h4> |
| 2164 | 2206 | <div class="flex-container"> |
| 2165 | 2207 | <input id="api_key_mancer" name="api_key_mancer" class="text_pole flex1 wide100p" maxlength="500" size="35" type="text" autocomplete="off"> |
| 2166 | 2208 | <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"> |
| 2167 | 2209 | </div> |
| 2168 | 2210 | </div> |
| @@ -2172,7 +2214,7 @@ | ||
| 2172 | 2214 | <div class="flex1"> |
| 2173 | 2215 | <h4 data-i18n="Mancer Model">Mancer Model</h4> |
| 2174 | 2216 | <select id="mancer_model"> |
| 2175 | 2217 | <option value="" data-i18n="-- Connect to the API --"> |
| 2176 | 2218 | -- Connect to the API -- |
| 2177 | 2219 | </option> |
| 2178 | 2220 | </select> |
| @@ -2192,7 +2234,7 @@ | ||
| 2192 | 2234 | </div> |
| 2193 | 2235 | <h4 data-i18n="API key (optional)">API key (optional)</h4> |
| 2194 | 2236 | <div class="flex-container"> |
| 2195 | 2237 | <input id="api_key_ooba" name="api_key_ooba" class="text_pole flex1 wide100p" maxlength="500" size="35" type="text" autocomplete="off"> |
| 2196 | 2238 | <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"> |
| 2197 | 2239 | </div> |
| 2198 | 2240 | </div> |
| @@ -2202,9 +2244,9 @@ | ||
| 2202 | 2244 | <div class="flex1"> |
| 2203 | 2245 | <h4 data-i18n="Server url">Server URL</h4> |
| 2204 | 2246 | <small data-i18n="Example: 127.0.0.1:5000">Example: http://127.0.0.1:5000</small> |
| 2205 | 2247 | <input id="textgenerationwebui_api_url_text" name="textgenerationwebui_api_url" class="text_pole wide100p" maxlength="500" value="" autocomplete="off" data-server-history="ooba_blocking"> |
| 2206 | 2248 | </div> |
| 2207 | 2249 | <input id="custom_model_textgenerationwebui" class="text_pole wide100p" maxlength="500" placeholder="Custom model (optional)" data-i18n="[placeholder]Custom model (optional)" type="text"> |
| 2208 | 2250 | </div> |
| 2209 | 2251 | <div data-tg-type="featherless" class="flex-container flexFlowColumn"> |
| 2210 | 2252 | <div class="flex-container flexFlowColumn"> |
| @@ -2214,7 +2256,7 @@ | ||
| 2214 | 2256 | </div> |
| 2215 | 2257 | <h4 data-i18n="API key (optional)">API key</h4> |
| 2216 | 2258 | <div class="flex-container"> |
| 2217 | 2259 | <input id="api_key_featherless" name="api_key_featherless" class="text_pole flex1 wide100p" maxlength="500" size="35" type="text" autocomplete="off"> |
| 2218 | 2260 | <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"> |
| 2219 | 2261 | </div> |
| 2220 | 2262 | </div> |
| @@ -2222,7 +2264,7 @@ | ||
| 2222 | 2264 | For privacy reasons, your API key will be hidden after you reload the page. |
| 2223 | 2265 | </div> |
| 2224 | 2266 | <select id="featherless_model"> |
| 2225 | 2267 | <option value="" data-i18n="-- Connect to the API --"> |
| 2226 | 2268 | -- Connect to the API -- |
| 2227 | 2269 | </option> |
| 2228 | 2270 | </select> |
| @@ -2235,7 +2277,7 @@ | ||
| 2235 | 2277 | </div> |
| 2236 | 2278 | <h4 data-i18n="vLLM API key">vLLM API key</h4> |
| 2237 | 2279 | <div class="flex-container"> |
| 2238 | 2280 | <input id="api_key_vllm" name="api_key_vllm" class="text_pole flex1 wide100p" maxlength="500" size="35" type="text" autocomplete="off"> |
| 2239 | 2281 | <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"> |
| 2240 | 2282 | </div> |
| 2241 | 2283 | </div> |
| @@ -2245,12 +2287,12 @@ | ||
| 2245 | 2287 | <div class="flex1"> |
| 2246 | 2288 | <h4 data-i18n="API url">API URL</h4> |
| 2247 | 2289 | <small data-i18n="Example: 127.0.0.1:8000">Example: http://127.0.0.1:8000</small> |
| 2248 | 2290 | <input id="vllm_api_url_text" class="text_pole wide100p" maxlength="500" value="" autocomplete="off" data-server-history="vllm"> |
| 2249 | 2291 | </div> |
| 2250 | 2292 | <div> |
| 2251 | 2293 | <h4 data-i18n="vLLM Model">vLLM Model</h4> |
| 2252 | 2294 | <select id="vllm_model"> |
| 2253 | 2295 | <option value="" data-i18n="-- Connect to the API --"> |
| 2254 | 2296 | -- Connect to the API -- |
| 2255 | 2297 | </option> |
| 2256 | 2298 | </select> |
| @@ -2259,7 +2301,7 @@ | ||
| 2259 | 2301 | <div data-tg-type="huggingface"> |
| 2260 | 2302 | <h4 data-i18n="HuggingFace Token">HuggingFace Token</h4> |
| 2261 | 2303 | <div class="flex-container"> |
| 2262 | 2304 | <input id="api_key_huggingface" name="api_key_huggingface" class="text_pole flex1 wide100p" maxlength="500" size="35" type="text" autocomplete="off"> |
| 2263 | 2305 | <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"> |
| 2264 | 2306 | </div> |
| 2265 | 2307 | </div> |
| @@ -2269,7 +2311,7 @@ | ||
| 2269 | 2311 | <div class="flex1"> |
| 2270 | 2312 | <h4 data-i18n="Endpoint URL">Endpoint URL</h4> |
| 2271 | 2313 | <small data-i18n="Example: https://****.endpoints.huggingface.cloud">Example: https://****.endpoints.huggingface.cloud</small> |
| 2272 | 2314 | <input id="huggingface_api_url_text" class="text_pole wide100p" maxlength="500" value="" autocomplete="off" data-server-history="huggingface"> |
| 2273 | 2315 | </div> |
| 2274 | 2316 | </div> |
| 2275 | 2317 | |
| @@ -2281,7 +2323,7 @@ | ||
| 2281 | 2323 | </div> |
| 2282 | 2324 | <h4 data-i18n="Aphrodite API key">Aphrodite API key</h4> |
| 2283 | 2325 | <div class="flex-container"> |
| 2284 | 2326 | <input id="api_key_aphrodite" name="api_key_aphrodite" class="text_pole flex1 wide100p" maxlength="500" size="35" type="text" autocomplete="off"> |
| 2285 | 2327 | <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"> |
| 2286 | 2328 | </div> |
| 2287 | 2329 | </div> |
| @@ -2291,12 +2333,12 @@ | ||
| 2291 | 2333 | <div class="flex1"> |
| 2292 | 2334 | <h4 data-i18n="API url">API URL</h4> |
| 2293 | 2335 | <small data-i18n="Example: 127.0.0.1:5000">Example: http://127.0.0.1:5000</small> |
| 2294 | 2336 | <input id="aphrodite_api_url_text" class="text_pole wide100p" maxlength="500" value="" autocomplete="off" data-server-history="aphrodite"> |
| 2295 | 2337 | </div> |
| 2296 | 2338 | <div> |
| 2297 | 2339 | <h4 data-i18n="Aphrodite Model">Aphrodite Model</h4> |
| 2298 | 2340 | <select id="aphrodite_model"> |
| 2299 | 2341 | <option value="" data-i18n="-- Connect to the API --"> |
| 2300 | 2342 | -- Connect to the API -- |
| 2301 | 2343 | </option> |
| 2302 | 2344 | </select> |
| @@ -2310,7 +2352,7 @@ | ||
| 2310 | 2352 | </div> |
| 2311 | 2353 | <h4 data-i18n="API key (optional)">API key (optional)</h4> |
| 2312 | 2354 | <div class="flex-container"> |
| 2313 | 2355 | <input id="api_key_llamacpp" name="api_key_llamacpp" class="text_pole flex1 wide100p" maxlength="500" size="35" type="text" autocomplete="off"> |
| 2314 | 2356 | <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"> |
| 2315 | 2357 | </div> |
| 2316 | 2358 | </div> |
| @@ -2320,7 +2362,7 @@ | ||
| 2320 | 2362 | <div class="flex1"> |
| 2321 | 2363 | <h4 data-i18n="API url">API URL</h4> |
| 2322 | 2364 | <small data-i18n="Example: 127.0.0.1:8080">Example: http://127.0.0.1:8080</small> |
| 2323 | 2365 | <input id="llamacpp_api_url_text" class="text_pole wide100p" maxlength="500" value="" autocomplete="off" data-server-history="llamacpp"> |
| 2324 | 2366 | </div> |
| 2325 | 2367 | </div> |
| 2326 | 2368 | <div data-tg-type="ollama"> |
| @@ -2332,15 +2374,14 @@ | ||
| 2332 | 2374 | <div class="flex1"> |
| 2333 | 2375 | <h4 data-i18n="API url">API URL</h4> |
| 2334 | 2376 | <small data-i18n="Example: 127.0.0.1:11434">Example: http://127.0.0.1:11434</small> |
| 2335 | 2377 | <input id="ollama_api_url_text" class="text_pole wide100p" maxlength="500" value="" autocomplete="off" data-server-history="ollama"> |
| 2336 | 2378 | </div> |
| 2337 | 2379 | <div class="flex1"> |
| 2338 | 2380 | <h4> |
| 2339 | 2381 | <span data-i18n="Ollama Model">Ollama Model</span> |
| 2340 | - </h4> | |
| 2341 | 2382 | </h4> |
| 2342 | 2383 | <select id="ollama_model"> |
| 2343 | 2384 | <option value="" data-i18n="-- Connect to the API --"> |
| 2344 | 2385 | -- Connect to the API -- |
| 2345 | 2386 | </option> |
| 2346 | 2387 | </select> |
| @@ -2358,7 +2399,7 @@ | ||
| 2358 | 2399 | </div> |
| 2359 | 2400 | <h4 data-i18n="Tabby API key">Tabby API key</h4> |
| 2360 | 2401 | <div class="flex-container"> |
| 2361 | 2402 | <input id="api_key_tabby" name="api_key_tabby" class="text_pole flex1 wide100p" maxlength="500" size="35" type="text" autocomplete="off"> |
| 2362 | 2403 | <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"> |
| 2363 | 2404 | </div> |
| 2364 | 2405 | </div> |
| @@ -2368,13 +2409,34 @@ | ||
| 2368 | 2409 | <div class="flex1"> |
| 2369 | 2410 | <h4 data-i18n="API url">API URL</h4> |
| 2370 | 2411 | <small data-i18n="Example: 127.0.0.1:5000">Example: http://127.0.0.1:5000</small> |
| 2371 | 2412 | <input id="tabby_api_url_text" class="text_pole wide100p" maxlength="500" value="" autocomplete="off" data-server-history="tabby"> |
| 2372 | 2413 | </div> |
| 2373 | 2414 | <div class="flex1"> |
| 2374 | 2415 | <h4> |
| 2375 | 2416 | <span data-i18n="Tabby Model">Tabby Model</span> |
| 2376 | 2417 | </h4> |
| 2377 | - </h4> | |
| 2418 | + <select id="tabby_model"> | |
| 2419 | + <option value="" data-i18n="-- Connect to the API --"> | |
| 2420 | + -- Connect to the API -- | |
| 2421 | + </option> | |
| 2422 | + </select> | |
| 2423 | + <div class="marginTopBot5"> | |
| 2424 | + <i class="fa-solid fa-flask"></i> | |
| 2425 | + <span>Experimental feature. Use at your own risk.</span> | |
| 2426 | + </div> | |
| 2427 | + <div class="marginTopBot5"> | |
| 2428 | + <small> | |
| 2429 | + <i class="fa-solid fa-lightbulb"></i> | |
| 2430 | + | |
| 2431 | + <code>inline_model_loading: True</code> | |
| 2432 | + <span data-i18n="must be set in Tabby's config.yml to switch models."> | |
| 2433 | + must be set in Tabby's config.yml to switch models. | |
| 2434 | + </span> | |
| 2435 | + <b data-i18n="Use an admin API key."> | |
| 2436 | + Use an admin API key. | |
| 2437 | + </b> | |
| 2438 | + </small> | |
| 2439 | + </div> | |
| 2378 | 2440 | <div id="tabby_download_model" class="menu_button menu_button_icon"> |
| 2379 | 2441 | <i class="fa-solid fa-download"></i> |
| 2380 | 2442 | <span data-i18n="Download">Download</span> |
| @@ -2389,7 +2451,7 @@ | ||
| 2389 | 2451 | </div> |
| 2390 | 2452 | <h4 data-i18n="koboldcpp API key (optional)">koboldcpp API key (optional)</h4> |
| 2391 | 2453 | <div class="flex-container"> |
| 2392 | 2454 | <input id="api_key_koboldcpp" name="api_key_koboldcpp" class="text_pole flex1 wide100p" maxlength="500" size="35" type="text" autocomplete="off"> |
| 2393 | 2455 | <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"> |
| 2394 | 2456 | </div> |
| 2395 | 2457 | </div> |
| @@ -2399,15 +2461,15 @@ | ||
| 2399 | 2461 | <div class="flex1"> |
| 2400 | 2462 | <h4 data-i18n="API url">API URL</h4> |
| 2401 | 2463 | <small data-i18n="Example: 127.0.0.1:5001">Example: http://127.0.0.1:5001</small> |
| 2402 | 2464 | <input id="koboldcpp_api_url_text" class="text_pole wide100p" maxlength="500" value="" autocomplete="off" data-server-history="koboldcpp"> |
| 2403 | 2465 | </div> |
| 2404 | 2466 | </div> |
| 2405 | 2467 | <div class="flex-container"> |
| 2406 | 2468 | <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> |
| 2407 | 2469 | <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> |
| 2408 | 2470 | <div class="api_loading menu_button menu_button_icon" data-i18n="Cancel">Cancel</div> |
| 2409 | 2471 | </div> |
| 2410 | 2472 | <label data-tg-type="ooba,aphrodite" class="checkbox_label margin-bot-10px" for="legacy_api_textgenerationwebui"> |
| 2411 | 2473 | <input type="checkbox" id="legacy_api_textgenerationwebui" /> |
| 2412 | 2474 | <span data-i18n="Legacy API (pre-OAI, no streaming)">Legacy API (pre-OAI, no streaming)</span> |
| 2413 | 2475 | </label> |
| @@ -2445,7 +2507,7 @@ | ||
| 2445 | 2507 | <option value="windowai">Window AI</option> |
| 2446 | 2508 | </optgroup> |
| 2447 | 2509 | </select> |
| 2448 | 2510 | <div data-newbie-hidden class="inline-drawer wide100p" data-source="openai,claude,mistralai,makersuite"> |
| 2449 | 2511 | <div class="inline-drawer-toggle inline-drawer-header"> |
| 2450 | 2512 | <b data-i18n="Reverse Proxy">Reverse Proxy</b> |
| 2451 | 2513 | <div class="fa-solid fa-circle-chevron-down inline-drawer-icon down"></div> |
| @@ -2474,7 +2536,7 @@ | ||
| 2474 | 2536 | </span> |
| 2475 | 2537 | </div> |
| 2476 | 2538 | <div class="wide100p"> |
| 2477 | 2539 | <input id="openai_reverse_proxy_name" type="text" class="text_pole" placeholder="..." maxlength="100" /> |
| 2478 | 2540 | </div> |
| 2479 | 2541 | <div class="range-block-title justifyLeft" data-i18n="Proxy Server URL"> |
| 2480 | 2542 | Proxy Server URL |
| @@ -2485,7 +2547,7 @@ | ||
| 2485 | 2547 | </span> |
| 2486 | 2548 | </div> |
| 2487 | 2549 | <div class="wide100p"> |
| 2488 | 2550 | <input id="openai_reverse_proxy" type="text" class="text_pole" placeholder="https://api.openai.com/v1" maxlength="5000" /> |
| 2489 | 2551 | <small class="reverse_proxy_warning"> |
| 2490 | 2552 | <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> |
| 2491 | 2553 | </small> |
| @@ -2499,7 +2561,7 @@ | ||
| 2499 | 2561 | </span> |
| 2500 | 2562 | </div> |
| 2501 | 2563 | <div class="flex-container width100p"> |
| 2502 | 2564 | <input id="openai_proxy_password" type="password" class="text_pole flex1" placeholder="" maxlength="5000" form="openai_form" autocomplete="off" /> |
| 2503 | 2565 | <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> |
| 2504 | 2566 | </div> |
| 2505 | 2567 | </div> |
| @@ -2540,7 +2602,7 @@ | ||
| 2540 | 2602 | </ol> |
| 2541 | 2603 | </span> |
| 2542 | 2604 | <div class="flex-container"> |
| 2543 | 2605 | <input id="api_key_openai" name="api_key_openai" class="text_pole flex1" maxlength="500" value="" type="text" autocomplete="off"> |
| 2544 | 2606 | <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> |
| 2545 | 2607 | </div> |
| 2546 | 2608 | <div id="ReverseProxyWarningMessage2" class="reverse_proxy_warning"> |
| @@ -2593,6 +2655,10 @@ | ||
| 2593 | 2655 | <option value="gpt-4-0125-preview">gpt-4-0125-preview (2024)</option> |
| 2594 | 2656 | <option value="gpt-4-1106-preview">gpt-4-1106-preview (2023)</option> |
| 2595 | 2657 | </optgroup> |
| 2658 | + <optgroup label="o1"> | |
| 2659 | + <option value="o1-preview">o1-preview</option> | |
| 2660 | + <option value="o1-mini">o1-mini</option> | |
| 2661 | + </optgroup> | |
| 2596 | 2662 | <optgroup label="Other"> |
| 2597 | 2663 | <option value="text-davinci-003">text-davinci-003</option> |
| 2598 | 2664 | <option value="text-davinci-002">text-davinci-002</option> |
| @@ -2625,7 +2691,7 @@ | ||
| 2625 | 2691 | </b> |
| 2626 | 2692 | </div> |
| 2627 | 2693 | <div class="flex-container"> |
| 2628 | 2694 | <input id="api_key_claude" name="api_key_claude" class="text_pole flex1" maxlength="500" value="" type="text" autocomplete="off"> |
| 2629 | 2695 | <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> |
| 2630 | 2696 | </div> |
| 2631 | 2697 | <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."> |
| @@ -2677,7 +2743,7 @@ | ||
| 2677 | 2743 | <a href="https://openrouter.ai/account" target="_blank" data-i18n="View Remaining Credits">View Remaining Credits</a> |
| 2678 | 2744 | </div> |
| 2679 | 2745 | <div class="flex-container"> |
| 2680 | 2746 | <input id="api_key_openrouter" name="api_key_openrouter" class="text_pole flex1 api_key_openrouter" maxlength="500" value="" type="text" autocomplete="off"> |
| 2681 | 2747 | <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> |
| 2682 | 2748 | </div> |
| 2683 | 2749 | <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."> |
| @@ -2686,7 +2752,7 @@ | ||
| 2686 | 2752 | <div> |
| 2687 | 2753 | <h4 data-i18n="OpenRouter Model">OpenRouter Model</h4> |
| 2688 | 2754 | <select id="model_openrouter_select"> |
| 2689 | 2755 | <option value="" data-i18n="-- Connect to the API --">-- Connect to the API --</option> |
| 2690 | 2756 | </select> |
| 2691 | 2757 | </div> |
| 2692 | 2758 | <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."> |
| @@ -2732,40 +2798,28 @@ | ||
| 2732 | 2798 | <span data-i18n="Allow fallback providers">Allow fallback providers</span> |
| 2733 | 2799 | </label> |
| 2734 | 2800 | </div> |
| 2735 | 2801 | <divsmall class="marginTopBot5"> |
| 2736 | - <label for="openrouter_force_instruct" class="checkbox_label"> | |
| 2802 | + <i class="fa-solid fa-lightbulb"></i> | |
| 2737 | - <input id="openrouter_force_instruct" type="checkbox" /> | |
| 2803 | + <span>To use instruct formatting, switch to OpenRouter under Text Completion API.</span> | |
| 2738 | - <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"> | |
| 2804 | + </small> | |
| 2739 | - <i class="fa-solid fa-circle-exclamation neutral_warning"></i> | |
| 2740 | - <b data-i18n="LEGACY">LEGACY</b> | |
| 2741 | - </span> | |
| 2742 | - <span data-i18n="Force Instruct Mode formatting">Force Instruct Mode formatting</span> | |
| 2743 | - </label> | |
| 2744 | - <div class="toggle-description justifyLeft wide100p"> | |
| 2745 | - <span data-i18n="Force_Instruct_Mode_formatting_Description"> | |
| 2746 | - If both Instruct Mode and this are enabled, the prompt will be formatted by SillyTavern using the current | |
| 2747 | - advanced formatting settings (except instruct System Prompt). If disabled, the prompt will be formatted by OpenRouter. | |
| 2748 | - </span> | |
| 2749 | - </div> | |
| 2750 | - </div> | |
| 2751 | 2805 | </form> |
| 2752 | 2806 | <form id="scale_form" data-source="scale" action="javascript:void(null);" method="post" enctype="multipart/form-data"> |
| 2753 | 2807 | <div id="normal_scale_form"> |
| 2754 | 2808 | <h4 data-i18n="Scale API Key">Scale API Key</h4> |
| 2755 | 2809 | <div class="flex-container"> |
| 2756 | 2810 | <input id="api_key_scale" name="api_key_scale" class="text_pole flex1" maxlength="500" value="" autocomplete="off"> |
| 2757 | 2811 | <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> |
| 2758 | 2812 | </div> |
| 2759 | 2813 | <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."> |
| 2760 | 2814 | For privacy reasons, your API key will be hidden after you reload the page. |
| 2761 | 2815 | </div> |
| 2762 | 2816 | <h4>Scale API URL</h4> |
| 2763 | 2817 | <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"> |
| 2764 | 2818 | </div> |
| 2765 | 2819 | <div id="alt_scale_form"> |
| 2766 | 2820 | <h4>Scale Cookie (_jwt)</h4> |
| 2767 | 2821 | <div class="flex-container"> |
| 2768 | 2822 | <input id="scale_cookie" name="scale_cookie" class="text_pole flex1" maxlength="500" value="" autocomplete="off"> |
| 2769 | 2823 | <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> |
| 2770 | 2824 | </div> |
| 2771 | 2825 | <div data-for="scale_cookie" class="neutral_warning"> |
| @@ -2782,7 +2836,7 @@ | ||
| 2782 | 2836 | <form id="ai21_form" data-source="ai21" action="javascript:void(null);" method="post" enctype="multipart/form-data"> |
| 2783 | 2837 | <h4 data-i18n="AI21 API Key">AI21 API Key</h4> |
| 2784 | 2838 | <div class="flex-container"> |
| 2785 | 2839 | <input id="api_key_ai21" name="api_key_ai21" class="text_pole flex1" maxlength="500" value="" type="text" autocomplete="off"> |
| 2786 | 2840 | <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> |
| 2787 | 2841 | </div> |
| 2788 | 2842 | <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."> |
| @@ -2791,10 +2845,12 @@ | ||
| 2791 | 2845 | <div> |
| 2792 | 2846 | <h4 data-i18n="AI21 Model">AI21 Model</h4> |
| 2793 | 2847 | <select id="model_ai21_select"> |
| 2794 | 2848 | <optgroup label="LatestJamba 1.5"> |
| 2795 | 2849 | <option value="j2jamba-ultra1.5-mini">j2jamba-ultra1.5-mini</option> |
| 2796 | 2850 | <option value="j2jamba-mid1.5-large">j2jamba-mid1.5-large</option> |
| 2797 | - <option value="j2-light">j2-light</option> | |
| 2851 | + </optgroup> | |
| 2852 | + <optgroup label="Jamba-Instruct (Deprecated)"> | |
| 2853 | + <option value="jamba-instruct-preview">jamba-instruct-preview</option> | |
| 2798 | 2854 | </optgroup> |
| 2799 | 2855 | </select> |
| 2800 | 2856 | </div> |
| @@ -2802,7 +2858,7 @@ | ||
| 2802 | 2858 | <form id="makersuite_form" data-source="makersuite" action="javascript:void(null);" method="post" enctype="multipart/form-data"> |
| 2803 | 2859 | <h4 data-i18n="Google AI Studio API Key">Google AI Studio API Key</h4> |
| 2804 | 2860 | <div class="flex-container"> |
| 2805 | 2861 | <input id="api_key_makersuite" name="api_key_makersuite" class="text_pole flex1" maxlength="500" value="" type="text" autocomplete="off"> |
| 2806 | 2862 | <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> |
| 2807 | 2863 | </div> |
| 2808 | 2864 | <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."> |
| @@ -2824,10 +2880,16 @@ | ||
| 2824 | 2880 | </optgroup> |
| 2825 | 2881 | <optgroup label="Subversions"> |
| 2826 | 2882 | <option value="gemini-1.5-pro-exp-0801">Gemini 1.5 Pro Experiment 2024-08-01</option> |
| 2883 | + <option value="gemini-1.5-pro-exp-0827">Gemini 1.5 Pro Experiment 2024-08-27</option> | |
| 2827 | 2884 | <option value="gemini-1.5-pro-latest">Gemini 1.5 Pro [latest]</option> |
| 2828 | 2885 | <option value="gemini-1.5-pro-001">Gemini 1.5 Pro [001]</option> |
| 2886 | + <option value="gemini-1.5-pro-002">Gemini 1.5 Pro [002]</option> | |
| 2887 | + <option value="gemini-1.5-flash-exp-0827">Gemini 1.5 Flash Experiment 2024-08-27</option> | |
| 2888 | + <option value="gemini-1.5-flash-8b-exp-0827">Gemini 1.5 Flash 8B Experiment 2024-08-27</option> | |
| 2889 | + <option value="gemini-1.5-flash-8b-exp-0924">Gemini 1.5 Flash 8B Experiment 2024-09-24</option> | |
| 2829 | 2890 | <option value="gemini-1.5-flash-latest">Gemini 1.5 Flash [latest]</option> |
| 2830 | 2891 | <option value="gemini-1.5-flash-001">Gemini 1.5 Flash [001]</option> |
| 2892 | + <option value="gemini-1.5-flash-002">Gemini 1.5 Flash [002]</option> | |
| 2831 | 2893 | <option value="gemini-1.0-pro-latest">Gemini 1.0 Pro [latest]</option> |
| 2832 | 2894 | <option value="gemini-1.0-pro-001">Gemini 1.0 Pro (Tuning) [001]</option> |
| 2833 | 2895 | <option value="gemini-1.0-pro-vision-latest">Gemini 1.0 Pro Vision [latest]</option> |
| @@ -2838,7 +2900,7 @@ | ||
| 2838 | 2900 | <form id="mistralai_form" data-source="mistralai" action="javascript:void(null);" method="post" enctype="multipart/form-data"> |
| 2839 | 2901 | <h4 data-i18n="MistralAI API Key">MistralAI API Key</h4> |
| 2840 | 2902 | <div class="flex-container"> |
| 2841 | 2903 | <input id="api_key_mistralai" name="api_key_mistralai" class="text_pole flex1" maxlength="500" value="" type="text" autocomplete="off"> |
| 2842 | 2904 | <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> |
| 2843 | 2905 | </div> |
| 2844 | 2906 | <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."> |
| @@ -2858,6 +2920,7 @@ | ||
| 2858 | 2920 | <option value="mistral-large-latest">mistral-large-latest</option> |
| 2859 | 2921 | <option value="codestral-latest">codestral-latest</option> |
| 2860 | 2922 | <option value="codestral-mamba-latest">codestral-mamba-latest</option> |
| 2923 | + <option value="pixtral-latest">pixtral-latest</option> | |
| 2861 | 2924 | </optgroup> |
| 2862 | 2925 | <optgroup label="Sub-versions"> |
| 2863 | 2926 | <option value="open-mistral-nemo-2407">open-mistral-nemo-2407</option> |
| @@ -2865,11 +2928,13 @@ | ||
| 2865 | 2928 | <option value="mistral-tiny-2312">mistral-tiny-2312</option> |
| 2866 | 2929 | <option value="mistral-small-2312">mistral-small-2312</option> |
| 2867 | 2930 | <option value="mistral-small-2402">mistral-small-2402</option> |
| 2931 | + <option value="mistral-small-2409">mistral-small-2409</option> | |
| 2868 | 2932 | <option value="mistral-medium-2312">mistral-medium-2312</option> |
| 2869 | 2933 | <option value="mistral-large-2402">mistral-large-2402</option> |
| 2870 | 2934 | <option value="mistral-large-2407">mistral-large-2407</option> |
| 2871 | 2935 | <option value="codestral-2405">codestral-2405</option> |
| 2872 | 2936 | <option value="codestral-mamba-2407">codestral-mamba-2407</option> |
| 2937 | + <option value="pixtral-12b-2409">pixtral-12b-2409</option> | |
| 2873 | 2938 | </optgroup> |
| 2874 | 2939 | </select> |
| 2875 | 2940 | </div> |
| @@ -2877,7 +2942,7 @@ | ||
| 2877 | 2942 | <div id="groq_form" data-source="groq"> |
| 2878 | 2943 | <h4 data-i18n="Groq API Key">Groq API Key</h4> |
| 2879 | 2944 | <div class="flex-container"> |
| 2880 | 2945 | <input id="api_key_groq" name="api_key_groq" class="text_pole flex1" maxlength="500" value="" type="text" autocomplete="off"> |
| 2881 | 2946 | <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> |
| 2882 | 2947 | </div> |
| 2883 | 2948 | <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."> |
| @@ -2900,7 +2965,7 @@ | ||
| 2900 | 2965 | <div id="perplexity_form" data-source="perplexity"> |
| 2901 | 2966 | <h4 data-i18n="Perplexity API Key">Perplexity API Key</h4> |
| 2902 | 2967 | <div class="flex-container"> |
| 2903 | 2968 | <input id="api_key_perplexity" name="api_key_perplexity" class="text_pole flex1" maxlength="500" value="" type="text" autocomplete="off"> |
| 2904 | 2969 | <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> |
| 2905 | 2970 | </div> |
| 2906 | 2971 | <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."> |
| @@ -2940,7 +3005,7 @@ | ||
| 2940 | 3005 | <form id="cohere_form" data-source="cohere" action="javascript:void(null);" method="post" enctype="multipart/form-data"> |
| 2941 | 3006 | <h4 data-i18n="Cohere API Key">Cohere API Key</h4> |
| 2942 | 3007 | <div class="flex-container"> |
| 2943 | 3008 | <input id="api_key_cohere" name="api_key_cohere" class="text_pole flex1" maxlength="500" value="" type="text" autocomplete="off"> |
| 2944 | 3009 | <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> |
| 2945 | 3010 | </div> |
| 2946 | 3011 | <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."> |
| @@ -2950,11 +3015,14 @@ | ||
| 2950 | 3015 | <h4 data-i18n="Cohere Model">Cohere Model</h4> |
| 2951 | 3016 | <select id="model_cohere_select"> |
| 2952 | 3017 | <optgroup label="Stable"> |
| 2953 | 3018 | <option value="c4ai-aya-23-35b">c4ai-aya-23-35b</option> |
| 3019 | + <option value="c4ai-aya-23-8b">c4ai-aya-23-8b</option> | |
| 2954 | 3020 | <option value="command-light">command-light</option> |
| 2955 | 3021 | <option value="command">command</option> |
| 2956 | 3022 | <option value="command-r">command-r</option> |
| 2957 | 3023 | <option value="command-r-plus">command-r-plus</option> |
| 3024 | + <option value="command-r-08-2024">command-r-08-2024</option> | |
| 3025 | + <option value="command-r-plus-08-2024">command-r-plus-08-2024</option> | |
| 2958 | 3026 | </optgroup> |
| 2959 | 3027 | <optgroup label="Nightly"> |
| 2960 | 3028 | <option value="command-light-nightly">command-light-nightly</option> |
| @@ -2966,7 +3034,7 @@ | ||
| 2966 | 3034 | <form id="blockentropy_form" data-source="blockentropy"> |
| 2967 | 3035 | <h4 data-i18n="Block Entropy API Key">Block Entropy API Key</h4> |
| 2968 | 3036 | <div class="flex-container"> |
| 2969 | 3037 | <input id="api_key_blockentropy" name="api_key_blockentropy" class="text_pole flex1" maxlength="500" value="" type="text" autocomplete="off"> |
| 2970 | 3038 | <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> |
| 2971 | 3039 | </div> |
| 2972 | 3040 | <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."> |
| @@ -2980,7 +3048,7 @@ | ||
| 2980 | 3048 | <form id="custom_form" data-source="custom"> |
| 2981 | 3049 | <h4 data-i18n="Custom Endpoint (Base URL)">Custom Endpoint (Base URL)</h4> |
| 2982 | 3050 | <div class="flex-container"> |
| 2983 | 3051 | <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"> |
| 2984 | 3052 | </div> |
| 2985 | 3053 | <div> |
| 2986 | 3054 | <small> |
| @@ -2992,7 +3060,7 @@ | ||
| 2992 | 3060 | <small data-i18n="(Optional)">(Optional)</small> |
| 2993 | 3061 | </h4> |
| 2994 | 3062 | <div class="flex-container"> |
| 2995 | 3063 | <input id="api_key_custom" name="api_key_custom" class="text_pole flex1" maxlength="5000" value="" type="text" autocomplete="off"> |
| 2996 | 3064 | <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> |
| 2997 | 3065 | </div> |
| 2998 | 3066 | <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."> |
| @@ -3000,7 +3068,7 @@ | ||
| 3000 | 3068 | </div> |
| 3001 | 3069 | <h4 data-i18n="Enter a Model ID">Enter a Model ID</h4> |
| 3002 | 3070 | <div class="flex-container"> |
| 3003 | 3071 | <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"> |
| 3004 | 3072 | <datalist id="model_custom_select_fill" class="text_pole model_custom_select"></datalist> |
| 3005 | 3073 | </div> |
| 3006 | 3074 | <h4 data-i18n="Available Models">Available Models</h4> |
| @@ -3020,7 +3088,7 @@ | ||
| 3020 | 3088 | </a> |
| 3021 | 3089 | </h4> |
| 3022 | 3090 | <div class="flex-container"> |
| 3023 | 3091 | <input id="api_key_01ai" name="api_key_01ai" class="text_pole flex1" maxlength="500" value="" type="text" autocomplete="off"> |
| 3024 | 3092 | <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> |
| 3025 | 3093 | </div> |
| 3026 | 3094 | <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."> |
| @@ -3032,7 +3100,7 @@ | ||
| 3032 | 3100 | </div> |
| 3033 | 3101 | <div class="flex-container flex"> |
| 3034 | 3102 | <div id="api_button_openai" class="api_button menu_button menu_button_icon" type="submit" data-i18n="Connect">Connect</div> |
| 3035 | 3103 | <div class="api_loading menu_button menu_button_icon" data-i18n="Cancel">Cancel</div> |
| 3036 | 3104 | <div data-source="custom" id="customize_additional_parameters" class="menu_button menu_button_icon" data-i18n="Additional Parameters">Additional Parameters</div> |
| 3037 | 3105 | <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> |
| 3038 | 3106 | <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> |
| @@ -3053,14 +3121,27 @@ | ||
| 3053 | 3121 | </div> |
| 3054 | 3122 | <div id="advanced-formatting-button" class="drawer"> |
| 3055 | 3123 | <div class="drawer-toggle"> |
| 3056 | 3124 | <div class="drawer-icon fa-solid fa-font fa-fw closedIcon" title="AI Response Formatting" data-i18n="[title]AI Response Formatting"></div> |
| 3057 | 3125 | </div> |
| 3058 | 3126 | <div id="AdvancedFormatting" class="drawer-content"> |
| 3059 | 3127 | <h3div class="margin0" dataflex-i18n="Advancedcontainer FormattingalignItemsBaseline"> |
| 3128 | + <h3 class="margin0 flex1" data-i18n="Advanced Formatting"> | |
| 3060 | 3129 | Advanced Formatting |
| 3061 | 3130 | </h3> |
| 3062 | 3131 | <div class="flex-container"> |
| 3063 | - <div id="PygOverrides"> | |
| 3132 | + <input id="af_master_import_file" type="file" hidden accept=".json" class="displayNone"> | |
| 3133 | + <div id="af_master_import" class="menu_button menu_button_icon" title="Import Advanced Formatting settings You can also provide legacy files for Instruct and Context templates." data-i18n="[title]Import Advanced Formatting settings"> | |
| 3134 | + <i class="fa-solid fa-file-import"></i> | |
| 3135 | + <span data-i18n="Master Import">Master Import</span> | |
| 3136 | + </div> | |
| 3137 | + <div id="af_master_export" class="menu_button menu_button_icon" title="Export Advanced Formatting settings" data-i18n="[title]Export Advanced Formatting settings"> | |
| 3138 | + <i class="fa-solid fa-file-export"></i> | |
| 3139 | + <span data-i18n="Master Export">Master Export</span> | |
| 3140 | + </div> | |
| 3141 | + </div> | |
| 3142 | + </div> | |
| 3143 | + <div class="flex-container spaceEvenly"> | |
| 3144 | + <div id="ContextSettings" class="flex-container flexNoGap flexFlowColumn flex1"> | |
| 3064 | 3145 | <div> |
| 3065 | 3146 | <h4 class="standoutHeader title_restorable"> |
| 3066 | 3147 | <div> |
| @@ -3069,32 +3150,32 @@ | ||
| 3069 | 3150 | <span class="fa-solid fa-circle-question note-link-span"></span> |
| 3070 | 3151 | </a> |
| 3071 | 3152 | </div> |
| 3072 | - <div class="flex-container"> | |
| 3073 | - <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> | |
| 3074 | - <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> | |
| 3075 | - <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> | |
| 3076 | - <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> | |
| 3077 | - </div> | |
| 3078 | 3153 | </h4> |
| 3079 | - <div class="flex-container"> | |
| 3154 | + <div class="flex-container" title="Select your current Context Template" data-i18n="[title]Select your current Context Template"> | |
| 3080 | 3155 | <select id="context_presets" data-preset-manager-for="context" class="flex1 text_pole"></select> |
| 3156 | + <div class="flex-container justifyCenter"> | |
| 3081 | 3157 | <input type="file" hidden data-preset-manager-file="context" accept=".json, .settings"> |
| 3082 | 3158 | <i iddata-preset-manager-update="context_set_defaultcontext" class="menu_button fa-solid fa-heartsave" title="Auto-select this preset forUpdate Instructcurrent Mode.template" data-i18n="[title]Auto-select this preset forUpdate Instructcurrent Modetemplate"></i> |
| 3083 | 3159 | <i data-newbie-hidden data-preset-manager-updatenew="context" class="menu_button fa-solid fa-savefile-circle-plus" title="UpdateSave currenttemplate presetas" data-i18n="[title]UpdateSave currenttemplate presetas"></i> |
| 3084 | 3160 | <i data-newbie-hidden data-preset-manager-newimport="context" class="displayNone menu_button fa-solid fa-file-circle-plusimport" title="Save presetImport astemplate" data-i18n="[title]Save presetImport astemplate"></i> |
| 3161 | + <i data-preset-manager-export="context" class="displayNone menu_button fa-solid fa-file-export" title="Export template" data-i18n="[title]Export template"></i> | |
| 3162 | + <i data-preset-manager-restore="context" class="menu_button fa-solid fa-recycle" title="Restore current template" data-i18n="[title]Restore current template"></i> | |
| 3163 | + <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> | |
| 3085 | 3164 | </div> |
| 3086 | 3165 | </div data-newbie-hidden> |
| 3087 | - <label for="context_story_string"> | |
| 3166 | + <div> | |
| 3167 | + <label for="context_story_string" class="flex-container"> | |
| 3088 | 3168 | <small data-i18n="Story String">Story String</small> |
| 3169 | + <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> | |
| 3089 | 3170 | </label> |
| 3090 | 3171 | <textarea id="context_story_string" class="text_pole textarea_compact autoSetHeight" rows="1"></textarea> |
| 3091 | 3172 | <div class="flex-container"> |
| 3092 | 3173 | <div class="flex1"> |
| 3093 | 3174 | <label for="context_example_separator"> |
| 3094 | 3175 | <small data-i18n="Example Separator">Example Separator</small> |
| 3095 | 3176 | </label> |
| 3096 | 3177 | <div> |
| 3097 | 3178 | <textarea id="context_example_separator" class="text_pole textarea_compact autoSetHeight" maxlength="500" rows="1"></textarea> |
| 3098 | 3179 | </div> |
| 3099 | 3180 | </div> |
| 3100 | 3181 | <div class="flex1"> |
| @@ -3102,10 +3183,45 @@ | ||
| 3102 | 3183 | <small data-i18n="Chat Start">Chat Start</small> |
| 3103 | 3184 | </label> |
| 3104 | 3185 | <div> |
| 3105 | 3186 | <textarea id="context_chat_start" class="text_pole textarea_compact autoSetHeight" maxlength="500" rows="1"></textarea> |
| 3106 | 3187 | </div> |
| 3107 | 3188 | </div> |
| 3108 | 3189 | </div> |
| 3190 | + <div> | |
| 3191 | + <h4 class="standoutHeader"> | |
| 3192 | + <span data-i18n="Context Formatting"> | |
| 3193 | + Context Formatting | |
| 3194 | + </span> | |
| 3195 | + </h4> | |
| 3196 | + | |
| 3197 | + <label class="checkbox_label" for="always-force-name2-checkbox"> | |
| 3198 | + <input id="always-force-name2-checkbox" type="checkbox" /> | |
| 3199 | + <small data-i18n="Always add character's name to prompt"> | |
| 3200 | + Always add character's name to prompt | |
| 3201 | + </small> | |
| 3202 | + </label> | |
| 3203 | + <label class="checkbox_label" for="single_line"> | |
| 3204 | + <input id="single_line" type="checkbox" /> | |
| 3205 | + <small data-i18n="Generate only one line per request"> | |
| 3206 | + Generate only one line per request | |
| 3207 | + </small> | |
| 3208 | + </label> | |
| 3209 | + <label class="checkbox_label" for="collapse-newlines-checkbox"> | |
| 3210 | + <input id="collapse-newlines-checkbox" type="checkbox" /> | |
| 3211 | + <small data-i18n="Collapse Consecutive Newlines"> | |
| 3212 | + Collapse Consecutive Newlines | |
| 3213 | + </small> | |
| 3214 | + </label> | |
| 3215 | + <label class="checkbox_label" for="trim_spaces"> | |
| 3216 | + <input id="trim_spaces" type="checkbox" /> | |
| 3217 | + <small data-i18n="Trim spaces">Trim spaces</small> | |
| 3218 | + </label> | |
| 3219 | + <label class="checkbox_label" for="trim_sentences_checkbox"> | |
| 3220 | + <input id="trim_sentences_checkbox" type="checkbox" /> | |
| 3221 | + <small data-i18n="Trim Incomplete Sentences"> | |
| 3222 | + Trim Incomplete Sentences | |
| 3223 | + </small> | |
| 3224 | + </label> | |
| 3109 | 3225 | <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."> |
| 3110 | 3226 | <input id="context_use_stop_strings" type="checkbox" /> |
| 3111 | 3227 | <small data-i18n="Separators as Stop Strings">Separators as Stop Strings</small> |
| @@ -3114,201 +3230,127 @@ | ||
| 3114 | 3230 | <input id="context_names_as_stop_strings" type="checkbox" /> |
| 3115 | 3231 | <small data-i18n="Names as Stop Strings">Names as Stop Strings</small> |
| 3116 | 3232 | </label> |
| 3233 | + </div> | |
| 3234 | + | |
| 3117 | 3235 | <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. THIS IS NOT RECOMMENDED FOR TEXT COMPLETION MODELS, CAN LEAD TO BAD OUTPUT." data-i18n="[title]context_allow_post_history_instructions"> |
| 3118 | 3236 | <input id="context_allow_jailbreak" type="checkbox" /> |
| 3119 | 3237 | <small data-i18n="Allow Post-History Instructions">Allow Post-History Instructions</small> |
| 3120 | 3238 | </label> |
| 3121 | 3239 | </div> |
| 3122 | - | |
| 3123 | - <div data-newbie-hidden class="inline-drawer wide100p flexFlowColumn margin-bot-10px" style="display:none;"> | |
| 3124 | - <div class="inline-drawer-toggle inline-drawer-header"> | |
| 3125 | - <b><span data-i18n="Context Order">Context Order</span></b> | |
| 3126 | - <div class="fa-solid fa-circle-chevron-down inline-drawer-icon down"></div> | |
| 3127 | - </div> | |
| 3128 | - <div class="inline-drawer-content"> | |
| 3129 | - <div id="context_order" class="prompt_order"> | |
| 3130 | - <div data-id="0"> | |
| 3131 | - <span data-i18n="Story String">Story String</span> | |
| 3132 | - <small>0</small> | |
| 3133 | - </div> | |
| 3134 | - <div data-id="1"> | |
| 3135 | - <span data-i18n="Summary">Summary</span> | |
| 3136 | - <small>1</small> | |
| 3137 | - </div> | |
| 3138 | - <div data-id="2"> | |
| 3139 | - <span data-i18n="Author's Note">Author's Note</span> | |
| 3140 | - <small>2</small> | |
| 3141 | - </div> | |
| 3142 | - <div data-id="3"> | |
| 3143 | - <span data-i18n="Example Dialogues">Example Dialogues</span> | |
| 3144 | - <small>3</small> | |
| 3145 | - </div> | |
| 3146 | - <div data-id="4"> | |
| 3147 | - <span data-i18n="Chat Start">Chat History</span> | |
| 3148 | - <small>4</small> | |
| 3149 | - </div> | |
| 3150 | - </div> | |
| 3151 | - <small> | |
| 3152 | - <b data-i18n="Hint">Hint:</b> | |
| 3153 | - <span data-i18n="In-Chat Position not affected"> | |
| 3154 | - Summary and Author's Note orders are only affected when they don't have an In-Chat position set. | |
| 3155 | - </span> | |
| 3156 | - </small> | |
| 3157 | 3240 | </div> |
| 3158 | 3241 | </div> |
| 3159 | - </div> | |
| 3242 | + <div id="InstructSettingsColumn" class="flex-container flexNoGap flexFlowColumn flex1"> | |
| 3160 | 3243 | <div id="instructSettingsBlock"> |
| 3161 | 3244 | <h4 class="standoutHeader title_restorable justifySpaceBetween"> |
| 3162 | 3245 | <div class="flex-container"> |
| 3163 | 3246 | <span data-i18n="Instruct ModeTemplate">Instruct ModeTemplate</span> |
| 3164 | 3247 | <a href="https://docs.sillytavern.app/usage/core-concepts/instructmode/" class="notes-link" target="_blank"> |
| 3165 | 3248 | <span class="fa-solid fa-circle-question note-link-span"></span> |
| 3166 | 3249 | </a> |
| 3167 | 3250 | </div> |
| 3168 | 3251 | <div class="flex-container"> |
| 3169 | - <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> | |
| 3252 | + <label for="instruct_bind_to_context" class="checkbox_label flex1" title="Bind to Context
If enabled, Context templates will be automatically selected based on selected Instruct template name or by preference." data-i18n="[title]instruct_bind_to_context"> | |
| 3170 | - <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> | |
| 3253 | + <input id="instruct_bind_to_context" type="checkbox" style="display:none;" /> | |
| 3171 | - <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> | |
| 3254 | + <small><i class="fa-solid fa-link menu_button margin0"></i></small> | |
| 3172 | - <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> | |
| 3173 | - </div> | |
| 3174 | - </h4> | |
| 3175 | - <div class="flex-container"> | |
| 3176 | - <label for="instruct_enabled" class="checkbox_label flex1"> | |
| 3177 | - <input id="instruct_enabled" type="checkbox" /> | |
| 3178 | - <span data-i18n="Enabled">Enabled</span> | |
| 3179 | 3255 | </label> |
| 3180 | 3256 | <label for="instruct_bind_to_contextinstruct_enabled" class="checkbox_label flex1" title="If enabled, Context templates will be automatically selected based on selectedEnable Instruct template name or by preference.Mode" data-i18n="[title]instruct_bind_to_contextinstruct_enabled"> |
| 3181 | 3257 | <input id="instruct_bind_to_contextinstruct_enabled" type="checkbox" style="display:none;" /> |
| 3182 | - <span data-i18n="Bind to Context">Bind to Context</span> | |
| 3258 | + <small><i class="fa-solid fa-power-off menu_button margin0"></i></small> | |
| 3183 | 3259 | </label> |
| 3184 | 3260 | </div> |
| 3185 | - <label for="instruct_presets"> | |
| 3261 | + </h4> | |
| 3186 | - <span data-i18n="Presets">Presets</span> | |
| 3262 | + | |
| 3187 | - </label> | |
| 3263 | + <div class="flex-container" title="Select your current Instruct Template" data-i18n="[title]Select your current Instruct Template"> | |
| 3188 | - <div class="flex-container"> | |
| 3189 | 3264 | <select id="instruct_presets" data-preset-manager-for="instruct" class="flex1 text_pole"></select> |
| 3265 | + <div class="flex-container margin0 justifyCenter"> | |
| 3190 | 3266 | <input type="file" hidden data-preset-manager-file="instruct" accept=".json, .settings"> |
| 3191 | 3267 | <i iddata-preset-manager-update="instruct_set_defaultinstruct" class="menu_button fa-solid fa-heartsave" title="Auto-select this preset onUpdate APIcurrent connection.template" data-i18n="[title]Auto-select this preset onUpdate APIcurrent connectiontemplate"></i> |
| 3192 | 3268 | <i data-newbie-hidden data-preset-manager-updatenew="instruct" class="menu_button fa-solid fa-savefile-circle-plus" title="UpdateSave currenttemplate presetas" data-i18n="[title]UpdateSave currenttemplate presetas"></i> |
| 3193 | 3269 | <i data-newbie-hidden data-preset-manager-newimport="instruct" class="displayNone menu_button fa-solid fa-file-circle-plusimport" title="Save presetImport astemplate" data-i18n="[title]Save presetImport astemplate"></i> |
| 3270 | + <i data-preset-manager-export="instruct" class="displayNone menu_button fa-solid fa-file-export" title="Export template" data-i18n="[title]Export template"></i> | |
| 3271 | + <i data-preset-manager-restore="instruct" class="menu_button fa-solid fa-recycle" title="Restore current template" data-i18n="[title]Restore current template"></i> | |
| 3272 | + <i data-preset-manager-delete="instruct" class="menu_button fa-solid fa-trash-can" title="Delete template" data-i18n="[title]Delete template"></i> | |
| 3194 | 3273 | </div> |
| 3195 | - <label data-newbie-hidden> | |
| 3274 | + </div> | |
| 3196 | - <small data-i18n="Activation Regex"> | |
| 3275 | + <label> | |
| 3197 | - Activation Regex | |
| 3276 | + <small> | |
| 3277 | + <span data-i18n="Activation Regex">Activation Regex</span> | |
| 3278 | + <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> | |
| 3198 | 3279 | </small> |
| 3199 | 3280 | </label> |
| 3200 | 3281 | <div data-newbie-hidden> |
| 3201 | 3282 | <textareainput type="text" id="instruct_activation_regex" class="text_pole textarea_compact autoSetHeight" maxlengthplaceholder="5000"e.g. rows="/llama(-)?[3|3.1"><]/textareai"> |
| 3202 | 3283 | </div> |
| 3203 | 3284 | <div data-newbie-hidden> |
| 3204 | 3285 | <label for="instruct_wrap" class="checkbox_label"> |
| 3205 | 3286 | <input id="instruct_wrap" type="checkbox" /> |
| 3206 | 3287 | <spansmall data-i18n="Wrap Sequences with Newline">Wrap Sequences with Newline</spansmall> |
| 3207 | 3288 | </label> |
| 3208 | 3289 | <label for="instruct_macro" class="checkbox_label"> |
| 3209 | 3290 | <input id="instruct_macro" type="checkbox" /> |
| 3210 | 3291 | <spansmall data-i18n="Replace Macro in Sequences">Replace Macro in Sequences</spansmall> |
| 3211 | 3292 | </label> |
| 3212 | 3293 | <label for="instruct_skip_examples" class="checkbox_label"> |
| 3213 | 3294 | <input id="instruct_skip_examples" type="checkbox" /> |
| 3214 | 3295 | <spansmall data-i18n="Skip Example Dialogues Formatting">Skip Example Dialogues Formatting</spansmall> |
| 3215 | - </label> | |
| 3216 | - <label for="instruct_names" class="checkbox_label"> | |
| 3217 | - <input id="instruct_names" type="checkbox" /> | |
| 3218 | - <span data-i18n="Include Names">Include Names</span> | |
| 3219 | - </label> | |
| 3220 | - <label for="instruct_names_force_groups" class="checkbox_label indent20p"> | |
| 3221 | - <input id="instruct_names_force_groups" type="checkbox" /> | |
| 3222 | - <span data-i18n="Force for Groups and Personas">Force for Groups and Personas</span> | |
| 3223 | - </label> | |
| 3224 | - </div> | |
| 3225 | - <div data-newbie-hidden> | |
| 3226 | - <label> | |
| 3227 | - <small data-i18n="System Prompt">System Prompt</small> | |
| 3228 | - </label> | |
| 3229 | - <textarea id="instruct_system_prompt" class="text_pole textarea_compact autoSetHeight" rows="1"></textarea> | |
| 3230 | - </div> | |
| 3231 | - <div data-newbie-hidden class="inline-drawer wide100p flexFlowColumn"> | |
| 3232 | - <div class="inline-drawer-toggle inline-drawer-header"> | |
| 3233 | - <b><span data-i18n="Instruct Mode Sequences">Instruct Mode Sequences</span></b> | |
| 3234 | - <div class="fa-solid fa-circle-chevron-down inline-drawer-icon down"></div> | |
| 3235 | - </div> | |
| 3236 | - <div class="inline-drawer-content"> | |
| 3237 | - <h5 class="textAlignCenter" data-i18n="System Prompt Wrapping"> | |
| 3238 | - System Prompt Wrapping | |
| 3239 | - </h5> | |
| 3240 | - <div class="flex-container"> | |
| 3241 | - <div class="flex1" title="Inserted before a System prompt." data-i18n="[title]Inserted before a System prompt."> | |
| 3242 | - <label for="instruct_system_sequence_prefix"> | |
| 3243 | - <small data-i18n="System Prompt Prefix">System Prompt Prefix</small> | |
| 3244 | - </label> | |
| 3245 | - <div> | |
| 3246 | - <textarea id="instruct_system_sequence_prefix" class="text_pole textarea_compact autoSetHeight" maxlength="2000" placeholder="—" rows="1"></textarea> | |
| 3247 | - </div> | |
| 3248 | - </div> | |
| 3249 | - <div class="flex1" title="Inserted after a System prompt." data-i18n="[title]Inserted after a System prompt."> | |
| 3250 | - <label for="instruct_system_sequence_suffix"> | |
| 3251 | - <small data-i18n="System Prompt Suffix">System Prompt Suffix</small> | |
| 3252 | 3296 | </label> |
| 3253 | 3297 | <div> |
| 3254 | - <textarea id="instruct_system_sequence_suffix" class="text_pole wide100p textarea_compact autoSetHeight" maxlength="2000" placeholder="—" rows="1"></textarea> | |
| 3298 | + <small data-i18n="Include Names"> | |
| 3299 | + Include Names | |
| 3300 | + </small> | |
| 3301 | + <select id="instruct_names_behavior"> | |
| 3302 | + <option value="none" data-i18n="Never">Never</option> | |
| 3303 | + <option value="force" data-i18n="Groups and Past Personas">Groups and Past Personas</option> | |
| 3304 | + <option value="always" data-i18n="Always">Always</option> | |
| 3305 | + </select> | |
| 3255 | 3306 | </div> |
| 3256 | 3307 | </div> |
| 3257 | 3308 | </div> |
| 3258 | 3309 | <h5div classid="textAlignCenterInstructSequencesColumn" data-i18nclass="Chat Messageswide100p WrappingflexFlowColumn"> |
| 3259 | - Chat Messages Wrapping | |
| 3310 | + <h4 class="standoutHeader title_restorable"> | |
| 3260 | - </h5> | |
| 3311 | + <b> | |
| 3312 | + <span data-i18n="Instruct Sequences"> | |
| 3313 | + Instruct Sequences | |
| 3314 | + </span> | |
| 3315 | + </b> | |
| 3316 | + </h4> | |
| 3317 | + <!-- We keep one auto-open so the user would know what is going on in the picked template --> | |
| 3318 | + <details open> | |
| 3319 | + <summary>User Message Sequences</summary> | |
| 3261 | 3320 | <div class="flex-container"> |
| 3262 | 3321 | <div class="flex1flexAuto" 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."> |
| 3263 | - <label for="instruct_input_sequence"> | |
| 3322 | + <small data-i18n="User Prefix">User Message Prefix</small> | |
| 3264 | - <small data-i18n="User Message Prefix">User Message Prefix</small> | |
| 3323 | + <textarea id="instruct_input_sequence" class="text_pole textarea_compact autoSetHeight"></textarea> | |
| 3265 | - </label> | |
| 3266 | - <div> | |
| 3267 | - <textarea id="instruct_input_sequence" class="text_pole textarea_compact autoSetHeight" maxlength="2000" placeholder="—" rows="1"></textarea> | |
| 3268 | - </div> | |
| 3269 | - </div> | |
| 3270 | - <div class="flex1" title="Inserted after a User message." data-i18n="[title]Inserted after a User message."> | |
| 3271 | - <label for="instruct_input_suffix"> | |
| 3272 | - <small data-i18n="User Message Suffix">User Message Suffix</small> | |
| 3273 | - </label> | |
| 3274 | - <div> | |
| 3275 | - <textarea id="instruct_input_suffix" class="text_pole wide100p textarea_compact autoSetHeight" maxlength="2000" placeholder="—" rows="1"></textarea> | |
| 3276 | 3324 | </div> |
| 3325 | + <div class="flexAuto" title="Inserted after a User message." data-i18n="[title]Inserted after a User message."> | |
| 3326 | + <small data-i18n="User Suffix">User Message Suffix</small> | |
| 3327 | + <textarea id="instruct_input_suffix" class="text_pole wide100p textarea_compact autoSetHeight"></textarea> | |
| 3277 | 3328 | </div> |
| 3278 | 3329 | </div> |
| 3330 | + </details> | |
| 3331 | + <details open> | |
| 3332 | + <summary>Assistant Message Sequences</summary> | |
| 3279 | 3333 | <div class="flex-container"> |
| 3280 | 3334 | <div class="flex1flexAuto" 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."> |
| 3281 | - <label for="instruct_output_sequence"> | |
| 3335 | + <small data-i18n="Assistant Prefix">Assistant Message Prefix</small> | |
| 3282 | - <small data-i18n="Assistant Message Prefix">Assistant Message Prefix</small> | |
| 3336 | + <textarea id="instruct_output_sequence" class="text_pole wide100p textarea_compact autoSetHeight"></textarea> | |
| 3283 | - </label> | |
| 3284 | - <div> | |
| 3285 | - <textarea id="instruct_output_sequence" class="text_pole wide100p textarea_compact autoSetHeight" maxlength="2000" placeholder="—" rows="1"></textarea> | |
| 3286 | - </div> | |
| 3287 | - </div> | |
| 3288 | - <div class="flex1" title="Inserted after an Assistant message." data-i18n="[title]Inserted after an Assistant message."> | |
| 3289 | - <label for="instruct_output_suffix"> | |
| 3290 | - <small data-i18n="Assistant Message Suffix">Assistant Message Suffix</small> | |
| 3291 | - </label> | |
| 3292 | - <div> | |
| 3293 | - <textarea id="instruct_output_suffix" class="text_pole wide100p textarea_compact autoSetHeight" maxlength="2000" placeholder="—" rows="1"></textarea> | |
| 3294 | 3337 | </div> |
| 3338 | + <div class="flexAuto" title="Inserted after an Assistant message." data-i18n="[title]Inserted after an Assistant message."> | |
| 3339 | + <small data-i18n="Assistant Suffix">Assistant Message Suffix</small> | |
| 3340 | + <textarea id="instruct_output_suffix" class="text_pole wide100p textarea_compact autoSetHeight"></textarea> | |
| 3295 | 3341 | </div> |
| 3296 | 3342 | </div> |
| 3343 | + </details> | |
| 3344 | + <details> | |
| 3345 | + <summary>System Message Sequences</summary> | |
| 3297 | 3346 | <div class="flex-container"> |
| 3298 | 3347 | <div class="flex1flexAuto" 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."> |
| 3299 | - <label for="instruct_system_sequence"> | |
| 3348 | + <small data-i18n="System Prefix">System Message Prefix</small> | |
| 3300 | - <small data-i18n="System Message Prefix">System Message Prefix</small> | |
| 3349 | + <textarea id="instruct_system_sequence" class="text_pole textarea_compact autoSetHeight"></textarea> | |
| 3301 | - </label> | |
| 3302 | - <div> | |
| 3303 | - <textarea id="instruct_system_sequence" class="text_pole textarea_compact autoSetHeight" maxlength="2000" placeholder="—" rows="1"></textarea> | |
| 3304 | - </div> | |
| 3305 | 3350 | </div> |
| 3306 | 3351 | <div class="flex1flexAuto" id="instruct_system_suffix_block" title="Inserted after a System message." data-i18n="[title]Inserted after a System message."> |
| 3307 | - <label for="instruct_system_suffix"> | |
| 3352 | + <small data-i18n="System Suffix">System Message Suffix</small> | |
| 3308 | - <small data-i18n="System Message Suffix">System Message Suffix</small> | |
| 3353 | + <textarea id="instruct_system_suffix" class="text_pole wide100p textarea_compact autoSetHeight"></textarea> | |
| 3309 | - </label> | |
| 3310 | - <div> | |
| 3311 | - <textarea id="instruct_system_suffix" class="text_pole wide100p textarea_compact autoSetHeight" maxlength="2000" placeholder="—" rows="1"></textarea> | |
| 3312 | 3354 | </div> |
| 3313 | 3355 | </div> |
| 3314 | 3356 | <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."> |
| @@ -3317,127 +3359,141 @@ | ||
| 3317 | 3359 | <small data-i18n="System same as User">System same as User</small> |
| 3318 | 3360 | </label> |
| 3319 | 3361 | </div> |
| 3320 | 3362 | </divdetails> |
| 3321 | - <h5 class="textAlignCenter" data-i18n="Misc. Sequences"> | |
| 3363 | + <details> | |
| 3322 | - Misc. Sequences | |
| 3364 | + <summary>System Prompt Sequences</summary> | |
| 3323 | - </h5> | |
| 3324 | 3365 | <div class="flex-container"> |
| 3325 | 3366 | <div class="flex1flexAuto" title="Inserted before the firsta Assistant'sSystem messageprompt." data-i18n="[title]Inserted before the firsta Assistant'sSystem messageprompt."> |
| 3326 | 3367 | <label for="instruct_first_output_sequenceinstruct_system_sequence_prefix"> |
| 3327 | 3368 | <small data-i18n="FirstSystem AssistantPrompt Prefix">FirstSystem AssistantPrompt Prefix</small> |
| 3328 | 3369 | </label> |
| 3329 | 3370 | <div> |
| 3330 | 3371 | <textarea id="instruct_first_output_sequenceinstruct_system_sequence_prefix" class="text_pole textarea_compact autoSetHeight" maxlength="2000" placeholder="—" rows="1"></textarea> |
| 3331 | 3372 | </div> |
| 3332 | 3373 | </div> |
| 3333 | 3374 | <div class="flex1flexAuto" title="Inserted before the last Assistant's message or asafter a lastSystem prompt line when generating an AI reply (except a neutral/system role)." data-i18n="[title]instruct_last_output_sequenceInserted after a System prompt."> |
| 3334 | 3375 | <label for="instruct_last_output_sequenceinstruct_system_sequence_suffix"> |
| 3335 | 3376 | <small data-i18n="LastSystem AssistantPrompt PrefixSuffix">LastSystem AssistantPrompt PrefixSuffix</small> |
| 3336 | 3377 | </label> |
| 3337 | 3378 | <div> |
| 3338 | 3379 | <textarea id="instruct_last_output_sequenceinstruct_system_sequence_suffix" class="text_pole wide100p textarea_compact autoSetHeight" maxlength="2000" placeholder="—" rows="1"></textarea> |
| 3339 | 3380 | </div> |
| 3340 | 3381 | </div> |
| 3341 | 3382 | </div> |
| 3383 | + </details> | |
| 3384 | + <details> | |
| 3385 | + <summary data-i18n="Misc. Sequences">Misc. Sequences</summary> | |
| 3342 | 3386 | <div class="flex-container"> |
| 3343 | 3387 | <div class="flex1flexAuto" title="Inserted before the first UserAssistant's message." data-i18n="[title]Inserted before the first UserAssistant's message."> |
| 3344 | - <label for="instruct_first_input_sequence"> | |
| 3388 | + <small data-i18n="First Assistant Prefix">First Assistant Prefix</small> | |
| 3345 | - <small data-i18n="First User Prefix">First User Prefix</small> | |
| 3389 | + <textarea id="instruct_first_output_sequence" class="text_pole textarea_compact autoSetHeight"></textarea> | |
| 3346 | - </label> | |
| 3347 | - <div> | |
| 3348 | - <textarea id="instruct_first_input_sequence" class="text_pole textarea_compact autoSetHeight" maxlength="2000" placeholder="—" rows="1"></textarea> | |
| 3349 | 3390 | </div> |
| 3391 | + <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"> | |
| 3392 | + <small data-i18n="Last Assistant Prefix">Last Assistant Prefix</small> | |
| 3393 | + <textarea id="instruct_last_output_sequence" class="text_pole wide100p textarea_compact autoSetHeight"></textarea> | |
| 3350 | 3394 | </div> |
| 3351 | - <div class="flex1" title="Inserted before the last User's message." data-i18n="[title]instruct_last_input_sequence"> | |
| 3352 | - <label for="instruct_last_input_sequence"> | |
| 3353 | - <small data-i18n="Last User Prefix">Last User Prefix</small> | |
| 3354 | - </label> | |
| 3355 | - <div> | |
| 3356 | - <textarea id="instruct_last_input_sequence" class="text_pole wide100p textarea_compact autoSetHeight" maxlength="2000" placeholder="—" rows="1"></textarea> | |
| 3357 | 3395 | </div> |
| 3396 | + <div class="flex-container"> | |
| 3397 | + <div class="flexAuto" title="Inserted before the first User's message." data-i18n="[title]Inserted before the first User's message."> | |
| 3398 | + <small data-i18n="First User Prefix">First User Prefix</small> | |
| 3399 | + <textarea id="instruct_first_input_sequence" class="text_pole textarea_compact autoSetHeight"></textarea> | |
| 3400 | + </div> | |
| 3401 | + <div class="flexAuto" title="Inserted before the last User's message." data-i18n="[title]instruct_last_input_sequence"> | |
| 3402 | + <small data-i18n="Last User Prefix">Last User Prefix</small> | |
| 3403 | + <textarea id="instruct_last_input_sequence" class="text_pole wide100p textarea_compact autoSetHeight"></textarea> | |
| 3358 | 3404 | </div> |
| 3359 | 3405 | </div> |
| 3360 | 3406 | <div class="flex-container"> |
| 3361 | 3407 | <div class="flex1flexAuto" 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."> |
| 3362 | - <label for="instruct_last_system_sequence"> | |
| 3363 | 3408 | <small data-i18n="System Instruction Prefix">System Instruction Prefix</small> |
| 3364 | - </label> | |
| 3409 | + <textarea id="instruct_last_system_sequence" class="text_pole textarea_compact autoSetHeight"></textarea> | |
| 3365 | - <div> | |
| 3366 | - <textarea id="instruct_last_system_sequence" class="text_pole textarea_compact autoSetHeight" maxlength="2000" placeholder="—" rows="1"></textarea> | |
| 3367 | 3410 | </div> |
| 3368 | - </div> | |
| 3411 | + <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)."> | |
| 3369 | - <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)."> | |
| 3370 | - <label for="instruct_stop_sequence"> | |
| 3371 | 3412 | <small data-i18n="Stop Sequence">Stop Sequence</small> |
| 3372 | - </label> | |
| 3413 | + <textarea id="instruct_stop_sequence" class="text_pole textarea_compact autoSetHeight"></textarea> | |
| 3373 | - <div> | |
| 3374 | - <textarea id="instruct_stop_sequence" class="text_pole textarea_compact autoSetHeight" maxlength="2000" placeholder="—" rows="1"></textarea> | |
| 3375 | - </div> | |
| 3376 | 3414 | </div> |
| 3377 | 3415 | </div> |
| 3378 | 3416 | <div class="flex-container"> |
| 3379 | 3417 | <div class="flex1flexAuto" 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."> |
| 3380 | - <label for="instruct_user_alignment_message"> | |
| 3381 | 3418 | <small data-i18n="User Filler Message">User Filler Message</small> |
| 3382 | - </label> | |
| 3419 | + <textarea id="instruct_user_alignment_message" class="text_pole textarea_compact autoSetHeight"></textarea> | |
| 3383 | 3420 | </div> |
| 3384 | - <textarea id="instruct_user_alignment_message" class="text_pole textarea_compact autoSetHeight" maxlength="2000" placeholder="—" rows="1"></textarea> | |
| 3421 | + </div> | |
| 3422 | + </details> | |
| 3423 | + </div> | |
| 3424 | + </div> | |
| 3425 | + <div id="SystemPromptColumn" class="flex-container flexNoGap flexFlowColumn flex1"> | |
| 3426 | + <div id="SystemPromptBlock"> | |
| 3427 | + <h4 class="standoutHeader title_restorable justifySpaceBetween"> | |
| 3428 | + <div class="flex-container"> | |
| 3429 | + <span data-i18n="System Prompt">System Prompt</span> | |
| 3430 | + <a href="https://docs.sillytavern.app/usage/core-concepts/advancedformatting/#system-prompt" class="notes-link" target="_blank"> | |
| 3431 | + <span class="fa-solid fa-circle-question note-link-span"></span> | |
| 3432 | + </a> | |
| 3385 | 3433 | </div> |
| 3434 | + <div class="flex-container"> | |
| 3435 | + <label for="sysprompt_enabled" class="checkbox_label flex1" title="Enable System Prompt" data-i18n="[title]sysprompt_enabled"> | |
| 3436 | + <input id="sysprompt_enabled" type="checkbox" style="display:none;" /> | |
| 3437 | + <small><i class="fa-solid fa-power-off menu_button margin0"></i></small> | |
| 3438 | + </label> | |
| 3386 | 3439 | </div> |
| 3440 | + </h4> | |
| 3441 | + | |
| 3442 | + <div class="flex-container" title="Select your current System Prompt" data-i18n="[title]Select your current System Prompt"> | |
| 3443 | + <select id="sysprompt_select" data-preset-manager-for="sysprompt" class="flex1 text_pole"></select> | |
| 3444 | + <div class="flex-container margin0 justifyCenter"> | |
| 3445 | + <input type="file" hidden data-preset-manager-file="sysprompt" accept=".json, .settings"> | |
| 3446 | + <i data-preset-manager-update="sysprompt" class="menu_button fa-solid fa-save" title="Update current prompt" data-i18n="[title]Update current prompt"></i> | |
| 3447 | + <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> | |
| 3448 | + <i data-preset-manager-import="sysprompt" class="displayNone menu_button fa-solid fa-file-import" title="Import template" data-i18n="[title]Import template"></i> | |
| 3449 | + <i data-preset-manager-export="sysprompt" class="displayNone menu_button fa-solid fa-file-export" title="Export template" data-i18n="[title]Export template"></i> | |
| 3450 | + <i data-preset-manager-restore="sysprompt" class="menu_button fa-solid fa-recycle" title="Restore current prompt" data-i18n="[title]Restore current prompt"></i> | |
| 3451 | + <i data-preset-manager-delete="sysprompt" class="menu_button fa-solid fa-trash-can" title="Delete prompt" data-i18n="[title]Delete prompt"></i> | |
| 3387 | 3452 | </div> |
| 3388 | 3453 | </div> |
| 3454 | + | |
| 3455 | + <div> | |
| 3456 | + <label for="sysprompt_content" class="flex-container"> | |
| 3457 | + <small data-i18n="Prompt Content">Prompt Content</small> | |
| 3458 | + <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> | |
| 3459 | + </label> | |
| 3460 | + <textarea id="sysprompt_content" class="text_pole textarea_compact autoSetHeight"></textarea> | |
| 3389 | 3461 | </div> |
| 3390 | 3462 | </div> |
| 3463 | + | |
| 3464 | + <div> | |
| 3465 | + | |
| 3391 | 3466 | </div> |
| 3392 | - <div id="ContextFormatting"> | |
| 3467 | + | |
| 3393 | 3468 | <div> |
| 3394 | 3469 | <divh4 class="flexrange-containerblock-title alignItemsBaselinejustifyLeft standoutHeader"> |
| 3395 | 3470 | <h4span data-i18n="ContextCustom FormattingStopping Strings"> |
| 3396 | - Context Formatting | |
| 3471 | + Custom Stopping Strings | |
| 3472 | + </span> | |
| 3473 | + <a href="https://docs.sillytavern.app/usage/core-concepts/advancedformatting/#custom-stopping-strings" class="notes-link" target="_blank"> | |
| 3474 | + <span class="fa-solid fa-circle-question note-link-span"></span> | |
| 3475 | + </a> | |
| 3397 | 3476 | </h4> |
| 3398 | - <small data-i18n="(Saved to Context Template)"> | |
| 3477 | + <div> | |
| 3399 | - (Saved to Context Template) | |
| 3478 | + <small> | |
| 3479 | + <span data-i18n="JSON serialized array of strings">JSON serialized array of strings</span> | |
| 3480 | + <i class="fa-solid fa-question-circle opacity50p" title="e.g: ["Ford", "BMW", "Fiat"]"></i> | |
| 3400 | 3481 | </small> |
| 3401 | 3482 | </div> |
| 3402 | - <label class="checkbox_label" for="always-force-name2-checkbox"> | |
| 3483 | + <div> | |
| 3403 | 3484 | <inputtextarea id="always-force-name2-checkboxcustom_stopping_strings" typeclass="checkbox"text_pole textarea_compact monospace autoSetHeight"></textarea> |
| 3404 | - <span data-i18n="Always add character's name to prompt"> | |
| 3405 | - Always add character's name to prompt | |
| 3406 | - </span> | |
| 3407 | - </label> | |
| 3408 | - <label class="checkbox_label" for="single_line"> | |
| 3409 | - <input id="single_line" type="checkbox" /> | |
| 3410 | - <span data-i18n="Generate only one line per request"> | |
| 3411 | - Generate only one line per request | |
| 3412 | - </span> | |
| 3413 | - </label> | |
| 3414 | - <label class="checkbox_label" for="trim_sentences_checkbox"> | |
| 3415 | - <input id="trim_sentences_checkbox" type="checkbox" /> | |
| 3416 | - <span data-i18n="Trim Incomplete Sentences"> | |
| 3417 | - Trim Incomplete Sentences | |
| 3418 | - </span> | |
| 3419 | - </label> | |
| 3420 | - <!-- Add margin since this is a child of above --> | |
| 3421 | - <label data-newbie-hidden class="checkbox_label indent20p" for="include_newline_checkbox"> | |
| 3422 | - <input id="include_newline_checkbox" type="checkbox" /> | |
| 3423 | - <span data-i18n="Include Newline">Include Newline</span> | |
| 3424 | - </label> | |
| 3425 | 3485 | </div> |
| 3426 | - <h4 data-i18n="Misc. Settings"> | |
| 3486 | + <label class="checkbox_label" for="custom_stopping_strings_macro"> | |
| 3427 | - Misc. Settings | |
| 3487 | + <input id="custom_stopping_strings_macro" type="checkbox" checked> | |
| 3428 | - </h4> | |
| 3488 | + <small data-i18n="Replace Macro in Custom Stopping Strings"> | |
| 3429 | - <label class="checkbox_label" for="collapse-newlines-checkbox"> | |
| 3489 | + Replace Macro in Custom Stopping Strings | |
| 3430 | - <input id="collapse-newlines-checkbox" type="checkbox" /> | |
| 3490 | + </small> | |
| 3431 | - <span data-i18n="Collapse Consecutive Newlines"> | |
| 3432 | - Collapse Consecutive Newlines | |
| 3433 | - </span> | |
| 3434 | - </label> | |
| 3435 | - <label data-newbie-hidden class="checkbox_label" for="trim_spaces"> | |
| 3436 | - <input id="trim_spaces" type="checkbox" /> | |
| 3437 | - <span data-i18n="Trim spaces">Trim spaces</span> | |
| 3438 | 3491 | </label> |
| 3439 | 3492 | </div data-newbie-hidden> |
| 3440 | - <h4><span data-i18n="Tokenizer">Tokenizer</span> | |
| 3493 | + | |
| 3494 | + <div name="tokenizerSettingsBlock"> | |
| 3495 | + <div name="tokenizerSelectorBlock"> | |
| 3496 | + <h4 class="standoutHeader"><span data-i18n="Tokenizer">Tokenizer</span> | |
| 3441 | 3497 | <a href="https://docs.sillytavern.app/usage/core-concepts/advancedformatting/#tokenizer" class="notes-link" target="_blank"> |
| 3442 | 3498 | <span class="fa-solid fa-circle-question note-link-span"></span> |
| 3443 | 3499 | </a> |
| @@ -3450,99 +3506,59 @@ | ||
| 3450 | 3506 | <option value="3">Llama 1/2</option> |
| 3451 | 3507 | <option value="12">Llama 3</option> |
| 3452 | 3508 | <option value="13">Gemma / Gemini</option> |
| 3509 | + <option value="14">Jamba</option> | |
| 3510 | + <option value="15">Qwen2</option> | |
| 3511 | + <option value="16">Command-R</option> | |
| 3453 | 3512 | <option value="4">NerdStash (NovelAI Clio)</option> |
| 3454 | 3513 | <option value="5">NerdStash v2 (NovelAI Kayra)</option> |
| 3455 | 3514 | <option value="7">Mistral V1</option> |
| 3515 | + <option value="17">Mistral Nemo</option> | |
| 3456 | 3516 | <option value="8">Yi</option> |
| 3457 | 3517 | <option value="11">Claude 1/2</option> |
| 3458 | 3518 | <option value="6">API (WebUI / koboldcpp)</option> |
| 3459 | 3519 | </select> |
| 3460 | 3520 | </div> |
| 3461 | 3521 | <div class="range-block" data-newbieflex-hiddencontainer flexnowrap" name="tokenPaddingBlock"> |
| 3462 | 3522 | <div class="range-block-title justifyLeft"> |
| 3463 | 3523 | <spansmall data-i18n="Token Padding" class="flex-container">Token Padding</span> |
| 3464 | 3524 | <a href="https://docs.sillytavern.app/usage/core-concepts/advancedformatting/#token-padding" class="notes-link" target="_blank"> |
| 3465 | 3525 | <span class="fa-solid fa-circle-question note-link-span"></span> |
| 3466 | 3526 | </a> |
| 3467 | 3527 | </divsmall> |
| 3468 | - <input id="token_padding" class="text_pole textarea_compact" type="number" min="-2048" max="2048" /> | |
| 3528 | + </div> | |
| 3469 | - </div> | |
| 3529 | + <input id="token_padding" class="text_pole textarea_compact" type="number" min="-2048" max="2048" /> | |
| 3470 | - <div class="flex-container flexFlowColumn" data-newbie-hidden> | |
| 3471 | - <div> | |
| 3472 | - <h4 class="range-block-title justifyLeft"> | |
| 3473 | - <span data-i18n="Start Reply With"> | |
| 3474 | - Start Reply With | |
| 3475 | - </span> | |
| 3476 | - </h4> | |
| 3477 | - <div> | |
| 3478 | - <textarea id="start_reply_with" rows="2" class="text_pole textarea_compact" data-i18n="[placeholder]AI reply prefix" placeholder="AI reply prefix"></textarea> | |
| 3479 | 3530 | </div> |
| 3480 | - <label class="checkbox_label" for="chat-show-reply-prefix-checkbox"> | |
| 3481 | - <input id="chat-show-reply-prefix-checkbox" type="checkbox" /> | |
| 3482 | - <span data-i18n="Show reply prefix in chat"> | |
| 3483 | - Show reply prefix in chat | |
| 3484 | - </span> | |
| 3485 | - </label> | |
| 3486 | 3531 | </div> |
| 3487 | 3532 | <div> |
| 3488 | - <h4 class="range-block-title justifyLeft"> | |
| 3533 | + <h4 class="standoutHeader" data-i18n="Miscellaneous">Miscellaneous</h4> | |
| 3534 | + <div> | |
| 3535 | + <small> | |
| 3489 | 3536 | <span data-i18n="Non-markdown strings"> |
| 3490 | 3537 | Non-markdown strings |
| 3491 | 3538 | </span> |
| 3492 | 3539 | </h4small> |
| 3493 | 3540 | <div> |
| 3494 | 3541 | <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" /> |
| 3495 | 3542 | </div> |
| 3496 | 3543 | </div> |
| 3497 | - <div> | |
| 3544 | + | |
| 3498 | - <h4 class="range-block-title justifyLeft"> | |
| 3545 | + <div name="startReplyWithBlock"> | |
| 3499 | - <span data-i18n="Custom Stopping Strings"> | |
| 3500 | - Custom Stopping Strings | |
| 3501 | - </span> | |
| 3502 | - <a href="https://docs.sillytavern.app/usage/core-concepts/advancedformatting/#custom-stopping-strings" class="notes-link" target="_blank"> | |
| 3503 | - <span class="fa-solid fa-circle-question note-link-span"></span> | |
| 3504 | - </a> | |
| 3505 | - </h4> | |
| 3506 | 3546 | <div> |
| 3507 | 3547 | <small> |
| 3508 | 3548 | <span data-i18n="JSON serialized arrayStart ofReply stringsWith">JSON serialized array of strings</span> |
| 3549 | + Start Reply With | |
| 3550 | + </span> | |
| 3509 | 3551 | </small> |
| 3510 | - </div> | |
| 3511 | 3552 | <div> |
| 3512 | - <textarea id="custom_stopping_strings" rows="2" class="text_pole textarea_compact monospace" placeholder="["Ford", "BMW", "Fiat"]"></textarea> | |
| 3553 | + <textarea id="start_reply_with" class="text_pole textarea_compact autoSetHeight"></textarea> | |
| 3513 | - </div> | |
| 3514 | - <label class="checkbox_label" for="custom_stopping_strings_macro"> | |
| 3515 | - <input id="custom_stopping_strings_macro" type="checkbox" checked> | |
| 3516 | - <span data-i18n="Replace Macro in Custom Stopping Strings"> | |
| 3517 | - Replace Macro in Custom Stopping Strings | |
| 3518 | - </span> | |
| 3519 | - </label> | |
| 3520 | 3554 | </div> |
| 3521 | - </div> | |
| 3555 | + <label class="checkbox_label" for="chat-show-reply-prefix-checkbox"> | |
| 3522 | - <div data-newbie-hidden> | |
| 3556 | + <input id="chat-show-reply-prefix-checkbox" type="checkbox" /> | |
| 3523 | - <h4> | |
| 3557 | + <small data-i18n="Show reply prefix in chat"> | |
| 3524 | - <span data-i18n="Auto-Continue">Auto-Continue</span> | |
| 3558 | + Show reply prefix in chat | |
| 3525 | 3559 | </h4small> |
| 3526 | - <div class="flex-container"> | |
| 3527 | - <label class="checkbox_label" for="auto_continue_enabled"> | |
| 3528 | - <input id="auto_continue_enabled" type="checkbox" /> | |
| 3529 | - <span data-i18n="Enabled"> | |
| 3530 | - Enabled | |
| 3531 | - </span> | |
| 3532 | - </label> | |
| 3533 | - <label class="checkbox_label" for="auto_continue_allow_chat_completions"> | |
| 3534 | - <input id="auto_continue_allow_chat_completions" type="checkbox" /> | |
| 3535 | - <span data-i18n="Allow for Chat Completion APIs"> | |
| 3536 | - Allow for Chat Completion APIs | |
| 3537 | - </span> | |
| 3538 | 3560 | </label> |
| 3539 | 3561 | </div> |
| 3540 | - | |
| 3541 | - <div class="auto_continue_settings_block"> | |
| 3542 | - <label for="auto_continue_target_length"> | |
| 3543 | - <span data-i18n="Target length (tokens)">Target length (tokens)</span> | |
| 3544 | - <input id="auto_continue_target_length" type="number" class="text_pole textarea_compact" min="0" max="1024" /> | |
| 3545 | - </label> | |
| 3546 | 3562 | </div> |
| 3547 | 3563 | </div> |
| 3548 | 3564 | </div> |
| @@ -3551,16 +3567,18 @@ | ||
| 3551 | 3567 | </div> |
| 3552 | 3568 | <div id="WI-SP-button" class="drawer"> |
| 3553 | 3569 | <div class="drawer-toggle drawer-header"> |
| 3554 | 3570 | <div id="WIDrawerIcon" class="drawer-icon fa-solid fa-book-atlas fa-fw closedIcon " title="World Info" data-i18n="[title]World Info"></div> |
| 3555 | 3571 | </div> |
| 3556 | 3572 | <div id="WorldInfo" class="drawer-content closedDrawer"> |
| 3557 | 3573 | <div id="WorldInfoheader" class="fa-solid fa-grip drag-grabber"></div> |
| 3558 | - <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"> | |
| 3574 | + <div class="flex-container alignitemscenter gap10px"> | |
| 3575 | + <div id="WI_panel_pin_div" title="Locked = World Editor will stay open" data-i18n="[title]Locked = World Editor will stay open"> | |
| 3559 | 3576 | <input type="checkbox" id="WI_panel_pin"> |
| 3560 | 3577 | <label for="WI_panel_pin"> |
| 3561 | 3578 | <div class="unchecked fa-solid fa-unlock "></div> |
| 3562 | 3579 | <div class="checked fa-solid fa-lock "></div> |
| 3563 | 3580 | </label> |
| 3581 | + </div> | |
| 3564 | 3582 | <h3 class="margin0"> |
| 3565 | 3583 | <span data-i18n="Worlds/Lorebooks">Worlds/Lorebooks</span> |
| 3566 | 3584 | <a href="https://docs.sillytavern.app/usage/core-concepts/worldinfo/" class="notes-link" target="_blank"> |
| @@ -3750,7 +3768,7 @@ | ||
| 3750 | 3768 | </div> |
| 3751 | 3769 | <div id="user-settings-button" class="drawer"> |
| 3752 | 3770 | <div class="drawer-toggle"> |
| 3753 | 3771 | <div class="drawer-icon fa-solid fa-user-cog fa-fw closedIcon" title="User Settings" data-i18n="[title]User Settings"></div> |
| 3754 | 3772 | </div> |
| 3755 | 3773 | <div id="user-settings-block" class="drawer-content closedDrawer"> |
| 3756 | 3774 | <div class="flex-container flexFlowColumn"> |
| @@ -3758,10 +3776,6 @@ | ||
| 3758 | 3776 | <div class="flex-container"> |
| 3759 | 3777 | <div class="flex-container flexnowrap alignItemsBaseline"> |
| 3760 | 3778 | <h3 class="margin0"><span data-i18n="User Settings">User Settings</span></h3> |
| 3761 | - <select id="ui_mode_select" class="margin0 widthNatural"> | |
| 3762 | - <option value="0" data-i18n="Simple">Simple</option> | |
| 3763 | - <option value="1" data-i18n="Advanced">Advanced</option> | |
| 3764 | - </select> | |
| 3765 | 3779 | </div> |
| 3766 | 3780 | </div> |
| 3767 | 3781 | <div id="UI-language-block" class="flex-container alignItemsBaseline"> |
| @@ -3792,7 +3806,7 @@ | ||
| 3792 | 3806 | </div> |
| 3793 | 3807 | </div> |
| 3794 | 3808 | <div id="user-settings-block-content" class="flex-container spaceEvenly"> |
| 3795 | 3809 | <div name="UserSettingsFirstColumn" id="UI-Theme-Block" class="flex-container flexFlowColumn wide100p flex1"> |
| 3796 | 3810 | <div id="UI-presets-block" class="flex-container flexFlowColumn"> |
| 3797 | 3811 | <h4 class="title_restorable"> |
| 3798 | 3812 | <span data-i18n="UI Theme">UI Theme</span> |
| @@ -3820,10 +3834,10 @@ | ||
| 3820 | 3834 | </div> |
| 3821 | 3835 | </div> |
| 3822 | 3836 | </div> |
| 3823 | 3837 | <div name="themeElements" data-newbie-hidden class="flex-container flexFlowColumn flexNoGap"> |
| 3824 | 3838 | <!-- <h4><span data-i18n="UI Colors">Theme Settings</span></h4> --> |
| 3825 | 3839 | <div name="AvatarAndChatDisplay" class="flex-container flexFlowColumn"> |
| 3826 | 3840 | <div class="flex-container alignItemsBaseline"> |
| 3827 | 3841 | <span data-i18n="Avatar Style">Avatars:</span> |
| 3828 | 3842 | <select id="avatar_style" class="widthNatural flex1 margin0"> |
| 3829 | 3843 | <option value="0" data-i18n="Circle">Circle</option> |
| @@ -3831,16 +3845,16 @@ | ||
| 3831 | 3845 | <option value="1" data-i18n="Rectangle">Rectangle</option> |
| 3832 | 3846 | </select> |
| 3833 | 3847 | </div> |
| 3834 | 3848 | <div class="flex-container alignItemsBaseline"> |
| 3835 | 3849 | <span data-i18n="Chat Style:">Chat Style:</span><br> |
| 3836 | 3850 | <select id="chat_display" class="widthNatural flex1 margin0"> |
| 3837 | 3851 | <option value="0" data-i18n="Flat">Flat</spanoption> |
| 3838 | 3852 | <option value="1" data-i18n="Bubbles">Bubbles</option> |
| 3839 | 3853 | <option value="2" data-i18n="Document">Document</option> |
| 3840 | 3854 | </select> |
| 3841 | 3855 | </div> |
| 3842 | 3856 | </div> |
| 3843 | 3857 | <div data-newbie-hidden class="inline-drawer wide100p flexFlowColumn"> |
| 3844 | 3858 | <div class="inline-drawer-toggle inline-drawer-header userSettingsInnerExpandable" title="Specify colors for your theme." data-i18n="[title]Specify colors for your theme."> |
| 3845 | 3859 | <b><span data-i18n="Theme Colors">Theme Colors</span></b> |
| 3846 | 3860 | <div class="fa-solid fa-circle-chevron-down inline-drawer-icon down"></div> |
| @@ -3891,7 +3905,7 @@ | ||
| 3891 | 3905 | </div> |
| 3892 | 3906 | </div> |
| 3893 | 3907 | <hr> |
| 3894 | 3908 | <div data-newbie-hidden name="FontBlurChatWidthBlock" class="flex-container"> |
| 3895 | 3909 | |
| 3896 | 3910 | <div class="alignitemscenter flex-container flexFlowColumn flexBasis48p flexGrow flexShrink gap0"> |
| 3897 | 3911 | <small> |
| @@ -3907,8 +3921,8 @@ | ||
| 3907 | 3921 | <span data-i18n="Font Scale">Font Scale</span> |
| 3908 | 3922 | <div class="fa-solid fa-circle-info opacity50p" data-i18n="[title]Font size" title="Font size"></div> |
| 3909 | 3923 | </small> |
| 3910 | 3924 | <input class="neo-range-slider" type="range" id="font_scale" name="font_scale" min="0.85" max="1.25" step="0.01"> |
| 3911 | 3925 | <input class="neo-range-input" type="number" min="0.85" max="1.25" step="0.01" data-for="font_scale" id="font_scale_counter"> |
| 3912 | 3926 | </div> |
| 3913 | 3927 | |
| 3914 | 3928 | <div class="alignitemscenter flex-container flexFlowColumn flexBasis48p flexGrow flexShrink gap0"> |
| @@ -3937,11 +3951,11 @@ | ||
| 3937 | 3951 | <input id="reduced_motion" type="checkbox" /> |
| 3938 | 3952 | <small data-i18n="Reduced Motion">Reduced Motion</small> |
| 3939 | 3953 | </label> |
| 3940 | 3954 | <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"> |
| 3941 | 3955 | <input id="fast_ui_mode" type="checkbox" /> |
| 3942 | 3956 | <small data-i18n="No Blur Effect">No Blur Effect</small> |
| 3943 | 3957 | </label> |
| 3944 | 3958 | <label data-newbie-hidden for="noShadowsmode" class="checkbox_label" title="Remove text shadow effect." data-i18n="[title]Remove text shadow effect"> |
| 3945 | 3959 | <input id="noShadowsmode" type="checkbox" /> |
| 3946 | 3960 | <small data-i18n="No Text Shadows">No Text Shadows</small> |
| 3947 | 3961 | </label> |
| @@ -3949,39 +3963,39 @@ | ||
| 3949 | 3963 | <input id="waifuMode" type="checkbox" /> |
| 3950 | 3964 | <small data-i18n="Waifu Mode">Visual Novel Mode</small> |
| 3951 | 3965 | </label> |
| 3952 | 3966 | <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 '...'"> |
| 3953 | 3967 | <input id="expandMessageActions" type="checkbox" /> |
| 3954 | 3968 | <small data-i18n="Auto-Expand Message Actions">Expand Message Actions</small> |
| 3955 | 3969 | </label> |
| 3956 | 3970 | <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"> |
| 3957 | 3971 | <input id="enableZenSliders" type="checkbox" /> |
| 3958 | 3972 | <small data-i18n="Zen Sliders">Zen Sliders</small> |
| 3959 | 3973 | </label> |
| 3960 | 3974 | <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"> |
| 3961 | 3975 | <input id="enableLabMode" type="checkbox" /> |
| 3962 | 3976 | <small data-i18n="Mad Lab Mode">Mad Lab Mode</small> |
| 3963 | 3977 | </label> |
| 3964 | 3978 | <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"> |
| 3965 | 3979 | <input id="messageTimerEnabled" type="checkbox" /> |
| 3966 | 3980 | <small data-i18n="Message Timer">Message Timer</small> |
| 3967 | 3981 | </label> |
| 3968 | 3982 | <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"> |
| 3969 | 3983 | <input id="messageTimestampsEnabled" type="checkbox" /> |
| 3970 | 3984 | <small data-i18n="Chat Timestamps">Chat Timestamps</small> |
| 3971 | 3985 | </label> |
| 3972 | 3986 | <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"> |
| 3973 | 3987 | <input id="messageModelIconEnabled" type="checkbox" /> |
| 3974 | 3988 | <small data-i18n="Model Icon">Model Icons</small> |
| 3975 | 3989 | </label> |
| 3976 | 3990 | <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"> |
| 3977 | 3991 | <input id="mesIDDisplayEnabled" type="checkbox" /> |
| 3978 | 3992 | <small data-i18n="Message IDs">Message IDs</small> |
| 3979 | 3993 | </label> |
| 3980 | 3994 | <label data-newbie-hidden for="hideChatAvatarsEnabled" class="checkbox_label" title="Hide avatars in chat messages." data-i18n="[title]Hide avatars in chat messages."> |
| 3981 | 3995 | <input id="hideChatAvatarsEnabled" type="checkbox" /> |
| 3982 | 3996 | <small data-i18n="Hide Chat Avatars">Hide Chat Avatars</small> |
| 3983 | 3997 | </label> |
| 3984 | 3998 | <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"> |
| 3985 | 3999 | <input id="messageTokensEnabled" type="checkbox" /> |
| 3986 | 4000 | <small data-i18n="Show Message Token Count">Message Token Count</small> |
| 3987 | 4001 | </label> |
| @@ -3989,7 +4003,7 @@ | ||
| 3989 | 4003 | <input id="compact_input_area" type="checkbox" /> |
| 3990 | 4004 | <small data-i18n="Compact Input Area (Mobile)">Compact Input Area</small><i class="fa-solid fa-mobile-screen-button"></i> |
| 3991 | 4005 | </label> |
| 3992 | 4006 | <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"> |
| 3993 | 4007 | <input id="hotswapEnabled" type="checkbox" /> |
| 3994 | 4008 | <small data-i18n="Characters Hotswap">Characters Hotswap</small> |
| 3995 | 4009 | </label> |
| @@ -4009,8 +4023,8 @@ | ||
| 4009 | 4023 | |
| 4010 | 4024 | </div> |
| 4011 | 4025 | </div> |
| 4012 | 4026 | <div name="UserSettingsSecondColumn" id="UI-Customization" class="flex-container flexFlowColumn wide100p flexNoGap flex1"> |
| 4013 | 4027 | <div data-newbie-hidden name="CharacterHandlingToggles"> |
| 4014 | 4028 | <h4 data-i18n="Character Handling"> |
| 4015 | 4029 | Character Handling |
| 4016 | 4030 | </h4> |
| @@ -4021,7 +4035,7 @@ | ||
| 4021 | 4035 | <option data-i18n="Created by" value="creator">Created by</option> |
| 4022 | 4036 | </select> |
| 4023 | 4037 | </div> |
| 4024 | 4038 | <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."> |
| 4025 | 4039 | <label for="tag_import_setting"><small data-i18n="Import Card Tags">Import Card Tags</small></label> |
| 4026 | 4040 | <select id="tag_import_setting" class="widthNatural flex1 margin0"> |
| 4027 | 4041 | <option data-i18n="Ask" value="1">Ask</option> |
| @@ -4030,27 +4044,27 @@ | ||
| 4030 | 4044 | <option data-i18n="Existing" value="4">Existing</option> |
| 4031 | 4045 | </select> |
| 4032 | 4046 | </div> |
| 4033 | 4047 | <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"> |
| 4034 | 4048 | <input id="fuzzy_search_checkbox" type="checkbox" /> |
| 4035 | 4049 | <small data-i18n="Advanced Character Search">Advanced Character Search</small> |
| 4036 | 4050 | </label> |
| 4037 | 4051 | <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"> |
| 4038 | 4052 | <input id="prefer_character_prompt" type="checkbox" /> |
| 4039 | 4053 | <small data-i18n="Prefer Character Card Prompt">Prefer Char. Prompt</small> |
| 4040 | 4054 | </label> |
| 4041 | 4055 | <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"> |
| 4042 | 4056 | <input id="prefer_character_jailbreak" type="checkbox" /> |
| 4043 | 4057 | <small data-i18n="Prefer Character Card Instructions">Prefer Char. Instructions</small> |
| 4044 | 4058 | </label> |
| 4045 | 4059 | <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"> |
| 4046 | 4060 | <input id="never_resize_avatars" type="checkbox" /> |
| 4047 | 4061 | <small data-i18n="Never resize avatars">Never resize avatars</small> |
| 4048 | 4062 | </label> |
| 4049 | 4063 | <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"> |
| 4050 | 4064 | <input id="show_card_avatar_urls" type="checkbox" /> |
| 4051 | 4065 | <small data-i18n="Show avatar filenames">Show avatar filenames</small> |
| 4052 | 4066 | </label> |
| 4053 | 4067 | <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"> |
| 4054 | 4068 | <input id="spoiler_free_mode" type="checkbox" /> |
| 4055 | 4069 | <small data-i18n="Spoiler Free Mode">Spoiler Free Mode</small> |
| 4056 | 4070 | </label> |
| @@ -4059,7 +4073,7 @@ | ||
| 4059 | 4073 | |
| 4060 | 4074 | <div name="MiscellaneousToggles"> |
| 4061 | 4075 | <h4><span data-i18n="Miscellaneous">Miscellaneous</span></h4> |
| 4062 | 4076 | <div data-newbie-hidden class="flex-container"> |
| 4063 | 4077 | <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."> |
| 4064 | 4078 | <small data-i18n="Reload Chat">Reload Chat</small> |
| 4065 | 4079 | </div> |
| @@ -4099,30 +4113,43 @@ | ||
| 4099 | 4113 | <input id="play_sound_unfocused" type="checkbox" /> |
| 4100 | 4114 | <small data-i18n="Background Sound Only">Background Sound Only</small> |
| 4101 | 4115 | </label> |
| 4102 | 4116 | <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"> |
| 4103 | 4117 | <input id="relaxed_api_urls" type="checkbox" /> |
| 4104 | 4118 | <small data-i18n="Relaxed API URLS">Relaxed API URLs</small> |
| 4105 | 4119 | </label> |
| 4106 | 4120 | <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"> |
| 4107 | 4121 | <input id="world_import_dialog" type="checkbox" /> |
| 4108 | 4122 | <small data-i18n="Lorebook Import Dialog">Lorebook Import Dialog</small> |
| 4109 | 4123 | </label> |
| 4110 | 4124 | <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."> |
| 4111 | 4125 | <input id="enable_auto_select_input" type="checkbox" /> |
| 4112 | 4126 | <small data-i18n="Auto-select Input Text">Auto-select Input Text</small> |
| 4113 | 4127 | </label> |
| 4128 | + <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'."> | |
| 4129 | + <input id="enable_md_hotkeys" type="checkbox" /> | |
| 4130 | + <small> | |
| 4131 | + <span data-i18n="Markdown Hotkeys">Markdown Hotkeys</span> | |
| 4132 | + <i class="fa-brands fa-markdown"></i> | |
| 4133 | + </small> | |
| 4134 | + </label> | |
| 4114 | 4135 | <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"> |
| 4115 | 4136 | <input id="restore_user_input" type="checkbox" /> |
| 4116 | 4137 | <small data-i18n="Restore User Input">Restore User Input</small> |
| 4117 | 4138 | </label> |
| 4118 | 4139 | <div class="flex-container alignItemsCenter"> |
| 4119 | 4140 | <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"> |
| 4120 | 4141 | <input id="movingUImode" type="checkbox" /> |
| 4121 | - <small data-i18n="Movable UI Panels">MovingUI <i class="fa-solid fa-desktop"></i></small> | |
| 4142 | + <small> | |
| 4143 | + <span data-i18n="Movable UI Panels">MovingUI</span> | |
| 4144 | + <i class="fa-solid fa-desktop"></i> | |
| 4145 | + </small> | |
| 4122 | 4146 | </label> |
| 4123 | 4147 | <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> Reset</div> |
| 4148 | + <i class=" fa-solid fa-recycle margin-r5"></i> | |
| 4149 | + <span data-i18n="mui_reset">Reset</span> | |
| 4150 | + </div> | |
| 4124 | 4151 | </div> |
| 4125 | 4152 | <div data-newbie-hidden id="MovingUI-presets-block" class="flex-container alignitemscenter"> |
| 4126 | 4153 | <div class="flex-container alignItemsFlexEnd"> |
| 4127 | 4154 | <label for="movingUIPresets" title="MovingUI preset. Predefined/saved draggable positions." data-i18n="[title]MovingUI preset. Predefined/saved draggable positions"> |
| 4128 | 4155 | <small data-i18n="MUI Preset">MovingUI Preset:</small> |
| @@ -4134,7 +4161,7 @@ | ||
| 4134 | 4161 | <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> |
| 4135 | 4162 | </div> |
| 4136 | 4163 | </div> |
| 4137 | 4164 | <div data-newbie-hidden id="CustomCSS-block" class="flex-container flexFlowColumn"> |
| 4138 | 4165 | <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"> |
| 4139 | 4166 | <span data-i18n="Custom CSS">Custom CSS</span> |
| 4140 | 4167 | <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> |
| @@ -4145,7 +4172,7 @@ | ||
| 4145 | 4172 | </div> |
| 4146 | 4173 | </div> |
| 4147 | 4174 | </div> |
| 4148 | 4175 | <div name="UserSettingsThirdColumn" id="power-user-options-block" class="flex-container wide100p flex1"> |
| 4149 | 4176 | <div id="power-user-option-checkboxes"> |
| 4150 | 4177 | |
| 4151 | 4178 | <div name="ChatMessageHandlingToggles"> |
| @@ -4171,7 +4198,7 @@ | ||
| 4171 | 4198 | <input class="neo-range-input" type="number" min="5" max="100" step="5" data-for="streaming_fps" id="streaming_fps_counter"> |
| 4172 | 4199 | </div> |
| 4173 | 4200 | </div> |
| 4174 | 4201 | <div data-newbie-hidden id="examples-behavior-block"> |
| 4175 | 4202 | <label data-i18n="Example Messages Behavior"> |
| 4176 | 4203 | <small>Example Messages Behavior:</small> |
| 4177 | 4204 | </label> |
| @@ -4181,7 +4208,7 @@ | ||
| 4181 | 4208 | <option value="strip" data-i18n="Never include examples">Never include examples</option> |
| 4182 | 4209 | </select> |
| 4183 | 4210 | </div> |
| 4184 | 4211 | <div data-newbie-hidden class="flex-container alignitemscenter"> |
| 4185 | 4212 | <small data-i18n="Send on Enter"> |
| 4186 | 4213 | Enter to Send: |
| 4187 | 4214 | </small> |
| @@ -4191,7 +4218,7 @@ | ||
| 4191 | 4218 | <option value="1" data-i18n="Enabled">Enabled</option> |
| 4192 | 4219 | </select> |
| 4193 | 4220 | </div> |
| 4194 | 4221 | <label data-newbie-hidden class="checkbox_label" for="continue_on_send"> |
| 4195 | 4222 | <input id="continue_on_send" type="checkbox" /> |
| 4196 | 4223 | <small data-i18n="Press Send to continue"> |
| 4197 | 4224 | "Send" to Continue |
| @@ -4210,11 +4237,11 @@ | ||
| 4210 | 4237 | </small> |
| 4211 | 4238 | </label> |
| 4212 | 4239 | <div class="checkbox-container flex-container"> |
| 4213 | 4240 | <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"> |
| 4214 | 4241 | <input id="swipes-checkbox" type="checkbox" /> |
| 4215 | 4242 | <small data-i18n="Swipes">Swipes</small><i class="fa-solid fa-desktop"></i><i class="fa-solid fa-mobile-screen-button"></i> |
| 4216 | 4243 | </label> |
| 4217 | 4244 | <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"> |
| 4218 | 4245 | <input id="gestures-checkbox" type="checkbox" /> |
| 4219 | 4246 | <small data-i18n="Gestures">Gestures</small> |
| 4220 | 4247 | <i class="fa-solid fa-mobile-screen-button"></i> |
| @@ -4224,15 +4251,15 @@ | ||
| 4224 | 4251 | <input id="auto-load-chat-checkbox" type="checkbox" /> |
| 4225 | 4252 | <small data-i18n="Auto-load Last Chat">Auto-load Last Chat</small> |
| 4226 | 4253 | </label> |
| 4227 | 4254 | <label data-newbie-hidden for="auto_scroll_chat_to_bottom" class="checkbox_label"> |
| 4228 | 4255 | <input id="auto_scroll_chat_to_bottom" type="checkbox" /> |
| 4229 | 4256 | <small data-i18n="Auto-scroll Chat">Auto-scroll Chat</small> |
| 4230 | 4257 | </label> |
| 4231 | 4258 | <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"> |
| 4232 | 4259 | <input id="auto_save_msg_edits" type="checkbox" /> |
| 4233 | 4260 | <small data-i18n="Auto-save Message Edits">Auto-save Message Edits</small> |
| 4234 | 4261 | </label> |
| 4235 | 4262 | <label data-newbie-hidden class="checkbox_label" for="confirm_message_delete"> |
| 4236 | 4263 | <input id="confirm_message_delete" type="checkbox" /> |
| 4237 | 4264 | <small data-i18n="Confirm message deletion">Confirm message deletion</small> |
| 4238 | 4265 | </label> |
| @@ -4240,7 +4267,7 @@ | ||
| 4240 | 4267 | <input id="auto_fix_generated_markdown" type="checkbox" /> |
| 4241 | 4268 | <small data-i18n="Auto-fix Markdown">Auto-fix Markdown</small> |
| 4242 | 4269 | </label> |
| 4243 | 4270 | <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"> |
| 4244 | 4271 | <input id="render_formulas" type="checkbox" /> |
| 4245 | 4272 | <small data-i18n="Render Formulas">Render Formulas</small> |
| 4246 | 4273 | <a href="https://docs.sillytavern.app/usage/core-concepts/uicustomization/#formulas-rendering" class="notes-link" target="_blank"> |
| @@ -4251,11 +4278,11 @@ | ||
| 4251 | 4278 | <input id="forbid_external_media" type="checkbox" /> |
| 4252 | 4279 | <small data-i18n="Forbid External Media">Forbid External Media</small> |
| 4253 | 4280 | </label> |
| 4254 | 4281 | <label data-newbie-hidden class="checkbox_label" for="allow_name2_display"> |
| 4255 | 4282 | <input id="allow_name2_display" type="checkbox" /> |
| 4256 | 4283 | <small data-i18n="Allow {{char}}: in bot messages">Show {{char}}: in responses</small> |
| 4257 | 4284 | </label> |
| 4258 | 4285 | <label data-newbie-hidden class="checkbox_label" for="allow_name1_display"> |
| 4259 | 4286 | <input id="allow_name1_display" type="checkbox" /> |
| 4260 | 4287 | <small data-i18n="Allow {{user}}: in bot messages">Show {{user}}: in responses</small> |
| 4261 | 4288 | </label> |
| @@ -4263,23 +4290,23 @@ | ||
| 4263 | 4290 | <input id="encode_tags" type="checkbox" /> |
| 4264 | 4291 | <small data-i18n="Show tags in responses">Show <tags> in responses</small> |
| 4265 | 4292 | </label> |
| 4266 | 4293 | <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"> |
| 4267 | 4294 | <input id="disable_group_trimming" type="checkbox" /> |
| 4268 | 4295 | <small data-i18n="Relax message trim in Groups">Relax message trim in Groups</small> |
| 4269 | 4296 | </label> |
| 4270 | 4297 | <label data-newbie-hidden class="checkbox_label" for="console_log_prompts"> |
| 4271 | 4298 | <input id="console_log_prompts" type="checkbox" /> |
| 4272 | 4299 | <small data-i18n="Log prompts to console">Log prompts to console</small> |
| 4273 | 4300 | </label> |
| 4274 | 4301 | <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"> |
| 4275 | 4302 | <input id="request_token_probabilities" type="checkbox" /> |
| 4276 | 4303 | <small data-i18n="Request token probabilities">Request token probabilities</small> |
| 4277 | 4304 | </label> |
| 4278 | 4305 | <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."> |
| 4279 | 4306 | <input id="show_group_chat_queue" type="checkbox" /> |
| 4280 | 4307 | <small data-i18n="Show group chat queue">Show group chat queue</small> |
| 4281 | 4308 | </label> |
| 4282 | 4309 | <div data-newbie-hidden class="inline-drawer wide100p flexFlowColumn"> |
| 4283 | 4310 | <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"> |
| 4284 | 4311 | <b><span data-i18n="Auto-swipe">Auto-swipe</span></b> |
| 4285 | 4312 | <div class="fa-solid fa-circle-chevron-down inline-drawer-icon down"></div> |
| @@ -4293,16 +4320,50 @@ | ||
| 4293 | 4320 | <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"> |
| 4294 | 4321 | <small data-i18n="Blacklisted words">Blacklisted words</small> |
| 4295 | 4322 | <div class="auto_swipe"> |
| 4296 | 4323 | <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> |
| 4297 | 4324 | <small data-i18n="Blacklisted word count to swipe">Blacklisted word count to swipe</small> |
| 4298 | 4325 | <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"> |
| 4299 | 4326 | </div> |
| 4300 | 4327 | </div> |
| 4301 | 4328 | </div> |
| 4329 | + <div nane="AutoContiueBlock" class="inline-drawer wide100p flexFlowColumn"> | |
| 4330 | + <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."> | |
| 4331 | + <b><span data-i18n="Auto-swipe">Auto-Continue</span></b> | |
| 4332 | + <div class="fa-solid fa-circle-chevron-down inline-drawer-icon down"></div> | |
| 4333 | + </div> | |
| 4334 | + <div class="inline-drawer-content"> | |
| 4335 | + <div class="flex-container"> | |
| 4336 | + <label class="checkbox_label" for="auto_continue_enabled"> | |
| 4337 | + <input id="auto_continue_enabled" type="checkbox" /> | |
| 4338 | + <small data-i18n="Enabled"> | |
| 4339 | + Enabled | |
| 4340 | + </small> | |
| 4341 | + </label> | |
| 4342 | + <label class="checkbox_label" for="auto_continue_allow_chat_completions"> | |
| 4343 | + <input id="auto_continue_allow_chat_completions" type="checkbox" /> | |
| 4344 | + <small data-i18n="Allow for Chat Completion APIs"> | |
| 4345 | + Allow for Chat Completion APIs | |
| 4346 | + </small> | |
| 4347 | + </label> | |
| 4348 | + </div> | |
| 4349 | + <div class="auto_continue_settings_block"> | |
| 4350 | + <label for="auto_continue_target_length"> | |
| 4351 | + <small data-i18n="Target length (tokens)">Target length (tokens)</small> | |
| 4352 | + <input id="auto_continue_target_length" type="number" class="text_pole textarea_compact" min="0" max="1024" /> | |
| 4353 | + </label> | |
| 4354 | + </div> | |
| 4355 | + </div> | |
| 4356 | + | |
| 4357 | + | |
| 4358 | + </div> | |
| 4359 | + </div> | |
| 4360 | + <div name="AutoCompleteToggle" class="inline-drawer wide100p flexFlowColumn"> | |
| 4361 | + <div class="inline-drawer-toggle inline-drawer-header userSettingsInnerExpandable" title="Options for the various autocompelte input boxes."> | |
| 4362 | + <b><span data-i18n="AutoComplete Settings">AutoComplete Settings</span></b> | |
| 4363 | + <div class="fa-solid fa-circle-chevron-down inline-drawer-icon down"></div> | |
| 4302 | 4364 | </div> |
| 4303 | 4365 | <div nameclass="AutoCompleteToggleinline-drawer-content"> |
| 4304 | - <h4 data-i18n="AutoComplete Settings">AutoComplete Settings</h4> | |
| 4366 | + <label class="checkbox_label" for="stscript_autocomplete_autoHide"> | |
| 4305 | - <label data-newbie-hidden class="checkbox_label" for="stscript_autocomplete_autoHide"> | |
| 4306 | 4367 | <input id="stscript_autocomplete_autoHide" type="checkbox" /> |
| 4307 | 4368 | <small data-i18n="Automatically hide details"> |
| 4308 | 4369 | Automatically hide details |
| @@ -4366,6 +4427,7 @@ | ||
| 4366 | 4427 | </div> |
| 4367 | 4428 | </div> |
| 4368 | 4429 | </div> |
| 4430 | + </div> | |
| 4369 | 4431 | <div name="STscriptToggles"> |
| 4370 | 4432 | <h4 data-i18n="STscript Settings">STscript Settings</h4> |
| 4371 | 4433 | <div title="Sets default flags for the STscript parser." data-i18n="[title]Sets default flags for the STscript parser."> |
| @@ -4393,11 +4455,14 @@ | ||
| 4393 | 4455 | </div> |
| 4394 | 4456 | <div id="logo_block" class="drawer"> |
| 4395 | 4457 | <div id="site_logo" class="drawer-toggle drawer-header" title="Change Background Image" data-i18n="[title]Change Background Image"> |
| 4396 | 4458 | <div class="drawer-icon fa-solid fa-panorama fa-fw closedIcon"></div> |
| 4397 | 4459 | </div> |
| 4398 | 4460 | <div id="Backgrounds" class="drawer-content closedDrawer"> |
| 4399 | 4461 | <div class="flex-container"> |
| 4400 | 4462 | <div class="flex-container alignItemsBaseline wide100p"> |
| 4463 | + <h3 class="margin0 flex2" data-i18n="Background Image"> | |
| 4464 | + Background Image | |
| 4465 | + </h3> | |
| 4401 | 4466 | <input id="bg-filter" data-i18n="[placeholder]Filter" placeholder="Filter" class="text_pole flex1" type="search" /> |
| 4402 | 4467 | <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."> |
| 4403 | 4468 | <i class="fa-solid fa-wand-magic"></i> |
| @@ -4428,7 +4493,7 @@ | ||
| 4428 | 4493 | </div> |
| 4429 | 4494 | <div id="extensions-settings-button" class="drawer"> |
| 4430 | 4495 | <div class="drawer-toggle"> |
| 4431 | 4496 | <div class="drawer-icon fa-solid fa-cubes fa-fw closedIcon" title="Extensions" data-i18n="[title]Extensions"></div> |
| 4432 | 4497 | </div> |
| 4433 | 4498 | <div id="rm_extensions_block" class="drawer-content closedDrawer"> |
| 4434 | 4499 | <div class="extensions_block flex-container"> |
| @@ -4480,11 +4545,7 @@ | ||
| 4480 | 4545 | </div> |
| 4481 | 4546 | <hr class="wide100p margin0"> |
| 4482 | 4547 | <div class="alignitemscenter flex-container justifyCenter wide100p" style="justify-content: space-between;"> |
| 4483 | 4548 | <h4 class="margin0"><span data-i18n="Extras API:">Extras API:</span></h4> |
| 4484 | - <a target="_blank" href="https://github.com/SillyTavern/SillyTavern-Extras"> | |
| 4485 | - SillyTavern-Extras | |
| 4486 | - </a> | |
| 4487 | - </h4> | |
| 4488 | 4549 | <div class="flex-container"> |
| 4489 | 4550 | <div id="extensions_status" data-i18n="Not connected...">Not connected...</div> |
| 4490 | 4551 | <label for="extensions_autoconnect" class="checkbox_label flexNoGap"> |
| @@ -4494,8 +4555,8 @@ | ||
| 4494 | 4555 | </div> |
| 4495 | 4556 | </div> |
| 4496 | 4557 | <div class="alignitemsflexstart flex-container wide100p"> |
| 4497 | 4558 | <input id="extensions_url" type="text" class="flex1 heightFitContent text_pole widthNatural" maxlength="250" data-i18n="[placeholder]Extras API URL" placeholder="Extras API URL"> |
| 4498 | 4559 | <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)"> |
| 4499 | 4560 | <div class="extensions_url_block"> |
| 4500 | 4561 | <div id="extensions_connect" class="menu_button" data-i18n="Connect">Connect</div> |
| 4501 | 4562 | </div> |
| @@ -4505,7 +4566,7 @@ | ||
| 4505 | 4566 | </div> |
| 4506 | 4567 | <div id="persona-management-button" class="drawer"> |
| 4507 | 4568 | <div class="drawer-toggle"> |
| 4508 | 4569 | <div class="drawer-icon fa-solid fa-face-smile fa-fw closedIcon" title="Persona Management" data-i18n="[title]Persona Management"></div> |
| 4509 | 4570 | </div> |
| 4510 | 4571 | <div class="drawer-content closedDrawer"> |
| 4511 | 4572 | <div class="flex-container wide100p alignitemscenter spaceBetween flexNoGap"> |
| @@ -4539,7 +4600,7 @@ | ||
| 4539 | 4600 | <i class="fa-solid fa-person-circle-question fa-fw"></i> |
| 4540 | 4601 | <div data-i18n="Create">Create</div> |
| 4541 | 4602 | </div> |
| 4542 | 4603 | <input id="persona_search_bar" class="text_pole width100p flex1 margin0" type="search" data-i18n="[placeholder]Search..." placeholder="Search..." maxlength="100"> |
| 4543 | 4604 | <select id="persona_sort_order" class="margin0"> |
| 4544 | 4605 | <option value="search" data-i18n="Search" hidden>Search</option> |
| 4545 | 4606 | <option value="asc">A-Z</option> |
| @@ -4559,7 +4620,7 @@ | ||
| 4559 | 4620 | <div class="flex1"> |
| 4560 | 4621 | <h4 data-i18n="Name">Name</h4> |
| 4561 | 4622 | <div class="change_name"> |
| 4562 | 4623 | <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"> |
| 4563 | 4624 | <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"> |
| 4564 | 4625 | </div> |
| 4565 | 4626 | <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."> |
| @@ -4569,13 +4630,14 @@ | ||
| 4569 | 4630 | </div> |
| 4570 | 4631 | <div> |
| 4571 | 4632 | <h4 data-i18n="Persona Description">Persona Description</h4> |
| 4572 | 4633 | <textarea id="persona_description" name="persona_description" data-i18n="[placeholder]Example: [{{user}} is a 28-year-old Romanian cat girl.]" placeholder="Example: [{{user}} is a 28-year-old Romanian cat girl.]" class="text_pole textarea_compact" maxlength="50000" value="" autocomplete="off" rows="8"></textarea> |
| 4573 | 4634 | <div class="extension_token_counter"> |
| 4574 | 4635 | <span data-i18n="Tokens persona description">Tokens</span>: <span id="persona_description_token_count">0</span> |
| 4575 | 4636 | </div> |
| 4576 | 4637 | <div data-newbie-hidden> |
| 4577 | 4638 | <label for="persona_description_position" data-i18n="Position:">Position:</label> |
| 4578 | 4639 | <select id="persona_description_position"> |
| 4640 | + <option value="9" data-i18n="None (disabled)">None (disabled)</option> | |
| 4579 | 4641 | <option value="0" data-i18n="In Story String / Prompt Manager">In Story String / Prompt Manager</option> |
| 4580 | 4642 | <option value="2" data-i18n="Top of Author's Note">Top of Author's Note</option> |
| 4581 | 4643 | <option value="3" data-i18n="Bottom of Author's Note">Bottom of Author's Note</option> |
| @@ -4612,7 +4674,7 @@ | ||
| 4612 | 4674 | </div> |
| 4613 | 4675 | <div id="rightNavHolder" class="drawer"> |
| 4614 | 4676 | <div id="unimportantYes" class="drawer-toggle drawer-header"> |
| 4615 | 4677 | <div id="rightNavDrawerIcon" class="drawer-icon fa-solid fa-address-card fa-fw closedIcon" title="Character Management" data-i18n="[title]Character Management"> |
| 4616 | 4678 | </div> |
| 4617 | 4679 | </div> |
| 4618 | 4680 | <nav id="right-nav-panel" class="drawer-content closedDrawer fillRight"> |
| @@ -4662,7 +4724,7 @@ | ||
| 4662 | 4724 | <form id="form_create" action="javascript:void(null);" method="post" enctype="multipart/form-data"> |
| 4663 | 4725 | <div id="avatar-and-name-block"> |
| 4664 | 4726 | <div id="name_div"> |
| 4665 | 4727 | <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"> |
| 4666 | 4728 | <div class="extension_token_counter"> |
| 4667 | 4729 | <span data-i18n="extension_token_counter">Tokens:</span> <span data-token-counter="character_name_pole" data-token-permanent="true">counting...</span> |
| 4668 | 4730 | </div> |
| @@ -4733,7 +4795,7 @@ | ||
| 4733 | 4795 | </div> |
| 4734 | 4796 | <div id="tags_div"> |
| 4735 | 4797 | <div class="tag_controls"> |
| 4736 | 4798 | <input id="tagInput" class="text_pole textarea_compact tag_input wide100p margin0" data-i18n="[placeholder]Search / Create Tags" placeholder="Search / Create tags" maxlength="50" /> |
| 4737 | 4799 | <div class="tags_view menu_button fa-solid fa-tags" title="View all tags" data-i18n="[title]View all tags"></div> |
| 4738 | 4800 | </div> |
| 4739 | 4801 | <div id="tagList" class="tags"></div> |
| @@ -4753,7 +4815,7 @@ | ||
| 4753 | 4815 | <hr> |
| 4754 | 4816 | <div id="description_div" class="title_restorable"> |
| 4755 | 4817 | <div class="flex-container alignitemscenter"> |
| 4756 | 4818 | <span data-i18n="Character Description" class="mdhotkey_location">Description</span> |
| 4757 | 4819 | <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> |
| 4758 | 4820 | <a href="https://docs.sillytavern.app/usage/core-concepts/characterdesign/#character-description" class="notes-link" target="_blank"> |
| 4759 | 4821 | <span class="fa-solid fa-circle-question note-link-span"></span> |
| @@ -4767,7 +4829,7 @@ | ||
| 4767 | 4829 | </span> |
| 4768 | 4830 | </div> |
| 4769 | 4831 | </div> |
| 4770 | 4832 | <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> |
| 4771 | 4833 | <div class="extension_token_counter"> |
| 4772 | 4834 | <span data-i18n="extension_token_counter">Tokens:</span> <span data-token-counter="description_textarea" data-token-permanent="true">counting...</span> |
| 4773 | 4835 | </div> |
| @@ -4775,7 +4837,7 @@ | ||
| 4775 | 4837 | <div id="firstMessageWrapper" class="flex-container flexFlowColumn flex1"> |
| 4776 | 4838 | <div id="first_message_div" class="title_restorable"> |
| 4777 | 4839 | <div class="flex-container alignitemscenter flex1"> |
| 4778 | 4840 | <span data-i18n="First message" class="mdhotkey_location">First message</span> |
| 4779 | 4841 | <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> |
| 4780 | 4842 | <a href="https://docs.sillytavern.app/usage/core-concepts/characterdesign/#first-message" class="notes-link" target="_blank"> |
| 4781 | 4843 | <span class="fa-solid fa-circle-question note-link-span"></span> |
| @@ -4787,7 +4849,7 @@ | ||
| 4787 | 4849 | </span> |
| 4788 | 4850 | </div> |
| 4789 | 4851 | </div> |
| 4790 | 4852 | <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> |
| 4791 | 4853 | <div class="extension_token_counter"> |
| 4792 | 4854 | <span data-i18n="extension_token_counter">Tokens:</span> <span data-token-counter="firstmessage_textarea">counting...</span> |
| 4793 | 4855 | </div> |
| @@ -4818,12 +4880,12 @@ | ||
| 4818 | 4880 | <div class="inline-drawer-content"> |
| 4819 | 4881 | <div id="group-metadata-controls" class="marginTopBot5"> |
| 4820 | 4882 | <div class="flex-container wide100p"> |
| 4821 | 4883 | <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" /> |
| 4822 | 4884 | <div class="chat_lorebook_button menu_button fa-solid fa-passport" title="Chat Lore" data-i18n="[title]Chat Lore"></div> |
| 4823 | 4885 | </div> |
| 4824 | 4886 | <div id="group_tags_div" class="wide100p"> |
| 4825 | 4887 | <div class="tag_controls"> |
| 4826 | 4888 | <input id="groupTagInput" class="text_pole textarea_compact tag_input flex1 margin0" data-i18n="[placeholder]Search / Create Tags" placeholder="Search / Create tags" maxlength="50" /> |
| 4827 | 4889 | <div class="tags_view menu_button fa-solid fa-tags margin0" title="View all tags" data-i18n="[title]View all tags"></div> |
| 4828 | 4890 | </div> |
| 4829 | 4891 | <div id="groupTagList" class="tags paddingTopBot5"></div> |
| @@ -4865,7 +4927,7 @@ | ||
| 4865 | 4927 | <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 <FIELDNAME> 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. 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 <FIELDNAME> with the name of the part (e.g.: description, personality, scenario, etc.)"> |
| 4866 | 4928 | </div> |
| 4867 | 4929 | </label> |
| 4868 | 4930 | <textarea id="rm_group_generation_mode_join_prefix" class="text_pole wide100p textarea_compact autoSetHeight" maxlength="2000" placeholder="—" rows="1"></textarea> |
| 4869 | 4931 | </div> |
| 4870 | 4932 | <div class="flex1 flexGap5" title="Inserted after each part of the joined fields." data-i18n="[title]Inserted after each part of the joined fields."> |
| 4871 | 4933 | <label for="rm_group_generation_mode_join_suffix" class="flexnowrap width100p whitespacenowrap"> |
| @@ -4873,7 +4935,7 @@ | ||
| 4873 | 4935 | <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 <FIELDNAME> 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. 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 <FIELDNAME> with the name of the part (e.g.: description, personality, scenario, etc.)"> |
| 4874 | 4936 | </div> |
| 4875 | 4937 | </label> |
| 4876 | 4938 | <textarea id="rm_group_generation_mode_join_suffix" class="text_pole wide100p textarea_compact autoSetHeight" maxlength="2000" placeholder="—" rows="1"></textarea> |
| 4877 | 4939 | </div> |
| 4878 | 4940 | </div> |
| 4879 | 4941 | <div id="GroupFavDelOkBack" class="flex-container flexGap5 spaceEvenly flex1"> |
| @@ -4928,7 +4990,7 @@ | ||
| 4928 | 4990 | <div class="inline-drawer-content"> |
| 4929 | 4991 | <div name="Unadded Char List" class="flex-container flexFlowColumn overflowYAuto flex1"> |
| 4930 | 4992 | <div id="rm_group_add_members_header"> |
| 4931 | 4993 | <input id="rm_group_filter" class="text_pole margin0" type="search" data-i18n="[placeholder]Search..." placeholder="Search..." maxlength="200" /> |
| 4932 | 4994 | </div> |
| 4933 | 4995 | <div class="rm_tag_controls"> |
| 4934 | 4996 | <div class="tags rm_tag_filter"></div> |
| @@ -4942,7 +5004,7 @@ | ||
| 4942 | 5004 | <div id="rm_character_import" class="right_menu" style="display: none;"> |
| 4943 | 5005 | <form id="form_import" action="javascript:void(null);" method="post" enctype="multipart/form-data"> |
| 4944 | 5006 | <input multiple type="file" id="character_import_file" accept=".json, image/png, .yaml, .yml, .charx" name="avatar"> |
| 4945 | 5007 | <input id="character_import_file_type" name="file_type" class="text_pole" maxlength="999" size="2" value="" autocomplete="off"> |
| 4946 | 5008 | </form> |
| 4947 | 5009 | <input type="file" id="character_replace_file" accept=".json, image/png, .yaml, .yml, .charx" name="replace_avatar" hidden> |
| 4948 | 5010 | </div> |
| @@ -4953,7 +5015,7 @@ | ||
| 4953 | 5015 | <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> |
| 4954 | 5016 | <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> |
| 4955 | 5017 | <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> |
| 4956 | 5018 | <input id="character_search_bar" class="text_pole width100p" type="search" data-i18n="[placeholder]Search..." placeholder="Search..." maxlength="100" /> |
| 4957 | 5019 | <select id="character_sort_order" title="Characters sorting order" data-i18n="[title]Characters sorting order"> |
| 4958 | 5020 | <option data-field="search" data-order="desc" data-i18n="Search" hidden>Search</option> |
| 4959 | 5021 | <option data-field="name" data-order="asc" data-i18n="A-Z">A-Z</option> |
| @@ -4989,6 +5051,61 @@ | ||
| 4989 | 5051 | </div> |
| 4990 | 5052 | </div> |
| 4991 | 5053 | <!-- various fullscreen popups --> |
| 5054 | + <div name="templatesAndPopupsWrapper"> <!--this div is just for IDE sanity for quick collapsing--> | |
| 5055 | + <div id="export_format_popup" class="list-group"> | |
| 5056 | + <div class="export_format list-group-item" data-format="png">PNG</div> | |
| 5057 | + <div class="export_format list-group-item" data-format="json">JSON</div> | |
| 5058 | + </div> | |
| 5059 | + <div id="zoomed_avatar_template" class="template_element"> | |
| 5060 | + <div class="zoomed_avatar"> | |
| 5061 | + <div class="panelControlBar flex-container"> | |
| 5062 | + <div class="fa-fw fa-solid fa-grip drag-grabber"></div> | |
| 5063 | + <div class="fa-fw fa-solid fa-circle-xmark dragClose" id="closeZoom"></div> | |
| 5064 | + </div> | |
| 5065 | + <div class="zoomed_avatar_container"> | |
| 5066 | + <img class="zoomed_avatar_img" src="" data-izoomify-url="" data-izoomify-magnify="1.8" data-izoomify-duration="300" alt=""> | |
| 5067 | + </div> | |
| 5068 | + </div> | |
| 5069 | + </div> | |
| 5070 | + <template id="generic_draggable_template"> | |
| 5071 | + <div class="draggable"> | |
| 5072 | + <div class="dragTitle"></div> | |
| 5073 | + <div class="panelControlBar flex-container"> | |
| 5074 | + <div class="fa-fw fa-solid fa-grip drag-grabber"></div> | |
| 5075 | + <div class="fa-fw fa-solid fa-circle-xmark dragClose"></div> | |
| 5076 | + </div> | |
| 5077 | + </div> | |
| 5078 | + </template> | |
| 5079 | + <div id="user_avatar_template" class="template_element"> | |
| 5080 | + <div class="avatar-container"> | |
| 5081 | + <div imgfile="" class="avatar"> | |
| 5082 | + <img src="" alt="User Avatar"> | |
| 5083 | + </div> | |
| 5084 | + <div class="flex-container wide100pLess70px character_select_container"> | |
| 5085 | + <div class="wide100p character_name_block"> | |
| 5086 | + <span class="ch_name flex1"></span> | |
| 5087 | + <div class="avatar-buttons"> | |
| 5088 | + <button class="menu_button bind_user_name" title="Bind user name to that avatar" data-i18n="[title]Bind user name to that avatar"> | |
| 5089 | + <i class="fa-fw fa-solid fa-user-edit"></i> | |
| 5090 | + </button> | |
| 5091 | + <button class="menu_button set_persona_image" title="Change persona image" data-i18n="[title]Change persona image"> | |
| 5092 | + <i class="fa-fw fa-solid fa-image"></i> | |
| 5093 | + </button> | |
| 5094 | + <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."> | |
| 5095 | + <i class="fa-fw fa-solid fa-crown"></i> | |
| 5096 | + </button> | |
| 5097 | + <button class="menu_button duplicate_persona" title="Duplicate persona" data-i18n="[title]Duplicate persona"> | |
| 5098 | + <i class="fa-fw fa-solid fa-clone"></i> | |
| 5099 | + </button> | |
| 5100 | + <button class="menu_button delete_avatar" title="Delete persona" data-i18n="[title]Delete persona"> | |
| 5101 | + <i class="fa-fw fa-solid fa-trash-alt"></i> | |
| 5102 | + </button> | |
| 5103 | + </div> | |
| 5104 | + </div> | |
| 5105 | + <div class="ch_description"></div> | |
| 5106 | + </div> | |
| 5107 | + </div> | |
| 5108 | + </div> | |
| 4992 | 5109 | <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 --> |
| 4993 | 5110 | <dialog class="popup"> |
| 4994 | 5111 | <div class="popup-body"> |
| @@ -5041,14 +5158,14 @@ | ||
| 5041 | 5158 | <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> |
| 5042 | 5159 | <div> |
| 5043 | 5160 | <h4 data-i18n="Main Prompt">Main Prompt</h4> |
| 5044 | 5161 | <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. (v2 spec: system_prompt)" form="form_create" class="text_pole" autocomplete="off" rows="3" maxlength="50000"></textarea> |
| 5045 | 5162 | <div class="extension_token_counter"> |
| 5046 | 5163 | <span data-i18n="extension_token_counter">Tokens:</span> <span data-token-counter="system_prompt_textarea">counting...</span> |
| 5047 | 5164 | </div> |
| 5048 | 5165 | </div> |
| 5049 | 5166 | <div> |
| 5050 | 5167 | <h4 data-i18n="Post-History Instructions">Post-History Instructions</h4> |
| 5051 | 5168 | <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. (v2 spec: post_history_instructions)" form="form_create" class="text_pole" autocomplete="off" rows="3" maxlength="50000"></textarea> |
| 5052 | 5169 | <div class="extension_token_counter"> |
| 5053 | 5170 | <span data-i18n="extension_token_counter">Tokens:</span> <span data-token-counter="post_history_instructions_textarea">counting...</span> |
| 5054 | 5171 | </div> |
| @@ -5069,44 +5186,44 @@ | ||
| 5069 | 5186 | <div class="flex-container flexnowrap"> |
| 5070 | 5187 | <div class="flex1"> |
| 5071 | 5188 | <h4 data-i18n="Created by">Created by</h4> |
| 5072 | 5189 | <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> |
| 5073 | 5190 | </div> |
| 5074 | 5191 | <div class="flex1"> |
| 5075 | 5192 | <h4 data-i18n="Character Version">Character Version</h4> |
| 5076 | 5193 | <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" maxlength="500"></textarea> |
| 5077 | 5194 | </div> |
| 5078 | 5195 | </div> |
| 5079 | 5196 | <div class="flex-container flexnowrap"> |
| 5080 | 5197 | <div class="flex1"> |
| 5081 | 5198 | <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> |
| 5082 | 5199 | <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> |
| 5083 | 5200 | </div> |
| 5084 | 5201 | <div class="flex1"> |
| 5085 | 5202 | <h4 data-i18n="Tags to Embed">Tags to Embed</h4> |
| 5086 | 5203 | <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> |
| 5087 | 5204 | </div> |
| 5088 | 5205 | </div> |
| 5089 | 5206 | </div> |
| 5090 | 5207 | </div> |
| 5091 | 5208 | <hr> |
| 5092 | 5209 | <div id="personality_div"> |
| 5093 | - <h4> | |
| 5210 | + <h4 class="flex-container alignItemsBaseline"> | |
| 5094 | 5211 | <span data-i18n="Personality summary">Personality summary</span> |
| 5095 | 5212 | <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> |
| 5096 | 5213 | </h4> |
| 5097 | 5214 | <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> |
| 5098 | 5215 | <div class="extension_token_counter"> |
| 5099 | 5216 | <span data-i18n="extension_token_counter">Tokens:</span> <span data-token-counter="personality_textarea" data-token-permanent="true">counting...</span> |
| 5100 | 5217 | </div> |
| 5101 | 5218 | </div> |
| 5102 | 5219 | <div id="scenario_div"> |
| 5103 | - <h4> | |
| 5220 | + <h4 class="flex-container alignItemsBaseline"> | |
| 5104 | 5221 | <span data-i18n="Scenario">Scenario</span> |
| 5105 | 5222 | <a href="https://docs.sillytavern.app/usage/core-concepts/characterdesign/#scenario" class="notes-link" target="_blank"> |
| 5106 | 5223 | <span class="fa-solid fa-circle-question note-link-span"></span> |
| 5107 | 5224 | </a> |
| 5108 | 5225 | </h4> |
| 5109 | 5226 | <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> |
| 5110 | 5227 | <div class="extension_token_counter"> |
| 5111 | 5228 | <span data-i18n="extension_token_counter">Tokens:</span> <span data-token-counter="scenario_pole" data-token-permanent="true">counting...</span> |
| 5112 | 5229 | </div> |
| @@ -5118,7 +5235,7 @@ | ||
| 5118 | 5235 | Character's Note |
| 5119 | 5236 | </span> |
| 5120 | 5237 | </h4> |
| 5121 | 5238 | <textarea id="depth_prompt_prompt" name="depth_prompt_prompt" class="text_pole" rows="5" maxlength="50000" 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> |
| 5122 | 5239 | </div> |
| 5123 | 5240 | <div> |
| 5124 | 5241 | <h4> |
| @@ -5157,55 +5274,27 @@ | ||
| 5157 | 5274 | <hr> |
| 5158 | 5275 | <div id="mes_example_div" class="flex-container flexFlowColumn"> |
| 5159 | 5276 | <div> |
| 5160 | 5277 | <h4 class="flex-container gap5px alignItemsBaseline"><span data-i18n="Examples of dialogue" class="mdhotkey_location">Examples of dialogue</span></h4> |
| 5161 | 5278 | <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> |
| 5162 | 5279 | </div> |
| 5163 | 5280 | <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 <START> on a new line.)" form="form_create" maxlength="50000" rows="6"></textarea> |
| 5164 | 5281 | <div class="extension_token_counter"> |
| 5165 | 5282 | <span data-i18n="extension_token_counter">Tokens:</span> <span data-token-counter="mes_example_textarea">counting...</span> |
| 5166 | 5283 | </div> |
| 5167 | - <!-- PLACEHOLDER CODE FOR NEW EXAMPLE CHAT HANDLING | |
| 5284 | + <!-- TODO: Example chats handhold-editor concept: https://gist.github.com/Cohee1207/50da02a4001ac1adae9b440f9b8e1079 --> | |
| 5168 | - <div name="exampleChatsBlockTemplate" class="flex-container flexFlowColumn"> | |
| 5169 | - <div class="flex-container alignitemscenter"> | |
| 5170 | - <textarea class="flexShrink flexGrow wideMinContent" rows="1" placeholder="Name for this example chat"></textarea> | |
| 5171 | - <div class="fa-solid fa-plus menu_button" title="Add a new message to this example chat block"></div> | |
| 5172 | - </div> | |
| 5173 | - <div class="flex-container whitespacenowrap"> | |
| 5174 | - <div class="flex-container flexFlowColumn"> | |
| 5175 | - <select> | |
| 5176 | - <option>{{user}}</option> | |
| 5177 | - <option>{{char}}</option> | |
| 5178 | - <option>Custom</option> | |
| 5179 | - </select> | |
| 5180 | - <textarea rows="1" placeholder="Custom Entity"></textarea> | |
| 5181 | - </div> | |
| 5182 | - <textarea class="flexShrink flexGrow wideMinContent" placeholder="Content of the example chat."></textarea> | |
| 5183 | - </div> | |
| 5184 | - <div class="flex-container whitespacenowrap"> | |
| 5185 | - <div class="flex-container flexFlowColumn"> | |
| 5186 | - <select> | |
| 5187 | - <option>{{user}}</option> | |
| 5188 | - <option>{{char}}</option> | |
| 5189 | - <option>Custom</option> | |
| 5190 | - </select> | |
| 5191 | - <textarea rows="1" placeholder="Custom Entity"></textarea> | |
| 5192 | - </div> | |
| 5193 | - <textarea class="flexShrink flexGrow wideMinContent" placeholder="Content of the example chat."></textarea> | |
| 5194 | - </div> | |
| 5195 | - </div> | |
| 5196 | - --> | |
| 5197 | 5285 | </div> |
| 5198 | 5286 | <div id="character_popup_ok" class="menu_button" data-i18n="Save">Save</div> |
| 5199 | 5287 | </div> |
| 5288 | + | |
| 5200 | 5289 | <div id="shadow_select_chat_popup"> |
| 5201 | 5290 | <div id="select_chat_popup"> |
| 5202 | 5291 | <div name="selectChatPopupHeader" class="flex-container alignitemscenter justifySpaceBetween flexGap10"> |
| 5203 | 5292 | <div id="select_chat_import"> <!-- import chat popup header --> |
| 5204 | 5293 | <form id="form_import_chat" action="javascript:void(null);" method="post" enctype="multipart/form-data" style="display: none;"> |
| 5205 | 5294 | <input type="file" id="chat_import_file" accept=".json, .jsonl" name="avatar"> |
| 5206 | 5295 | <input id="chat_import_file_type" name="file_type" class="text_pole" maxlength="999" size="2" value="" autocomplete="off" style="display: none;"> |
| 5207 | 5296 | <input id="chat_import_avatar_url" name="avatar_url" class="text_pole" maxlength="999" size="2" value="" autocomplete="off" style="display: none;"> |
| 5208 | 5297 | <input id="chat_import_character_name" name="character_name" class="text_pole" maxlength="999" size="2" value="" autocomplete="off" style="display: none;"> |
| 5209 | 5298 | </form> |
| 5210 | 5299 | </div> |
| 5211 | 5300 | <div id="selectChatPopupHeaderText" class="TxtLrgBoldCenter"> |
| @@ -5343,12 +5432,11 @@ | ||
| 5343 | 5432 | <div class="inline-drawer-toggle fa-fw fa-solid fa-circle-chevron-down inline-drawer-icon down"></div> |
| 5344 | 5433 | <div class="fa-solid fa-toggle-on killSwitch" name="entryKillSwitch" title="Toggle entry's active state."></div> |
| 5345 | 5434 | <div class="flex-container alignitemscenter wide100p"> |
| 5346 | - | |
| 5347 | 5435 | <div class="WIEntryTitleAndStatus flex-container flex1 alignitemscenter"> |
| 5348 | - | |
| 5349 | 5436 | <div class="flex-container flex1"> |
| 5350 | 5437 | <textarea class="text_pole" rows="1" name="comment" maxlength="5000" data-i18n="[placeholder]Entry Title/Memo" placeholder="Entry Title/Memo"></textarea> |
| 5351 | 5438 | </div> |
| 5439 | + <!-- <span class="world_entry_form_position_value"></span> --> | |
| 5352 | 5440 | <select data-i18n="[title]WI Entry Status:🔵 Constant🟢 Normal🔗 Vectorized❌ Disabled" title="WI Entry Status: 🔵 Constant 🟢 Normal 🔗 Vectorized ❌ Disabled" name="entryStateSelector" class="text_pole widthNatural margin0"> |
| 5353 | 5441 | <option value="constant" title="Constant" data-i18n="[title]WI_Entry_Status_Constant">🔵</option> |
| 5354 | 5442 | <option value="normal" title="Normal" data-i18n="[title]WI_Entry_Status_Normal">🟢</option> |
| @@ -5417,7 +5505,7 @@ | ||
| 5417 | 5505 | </small> |
| 5418 | 5506 | <small class="textAlignCenter" data-i18n="Primary Keywords">Primary Keywords</small> |
| 5419 | 5507 | <select class="keyprimaryselect keyselect select2_multi_sameline" name="key" data-i18n="[placeholder]Keywords or Regexes" placeholder="Keywords or Regexes" multiple="multiple"></select> |
| 5420 | 5508 | <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> |
| 5421 | 5509 | <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"> |
| 5422 | 5510 | ⌨️ |
| 5423 | 5511 | </button> |
| @@ -5439,7 +5527,7 @@ | ||
| 5439 | 5527 | </small> |
| 5440 | 5528 | <small class="textAlignCenter" data-i18n="Optional Filter">Optional Filter</small> |
| 5441 | 5529 | <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> |
| 5442 | 5530 | <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> |
| 5443 | 5531 | <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"> |
| 5444 | 5532 | ⌨️ |
| 5445 | 5533 | </button> |
| @@ -5453,23 +5541,23 @@ | ||
| 5453 | 5541 | <div class="world_entry_form_control flex1"> |
| 5454 | 5542 | <small class="textAlignCenter" data-i18n="Case-Sensitive">Case-Sensitive</small> |
| 5455 | 5543 | <select name="caseSensitive" class="text_pole widthNatural margin0"> |
| 5456 | 5544 | <option value="null" data-i18n="Use global setting">Use global setting</option> |
| 5457 | 5545 | <option value="true" data-i18n="Yes">Yes</option> |
| 5458 | 5546 | <option value="false" data-i18n="No">No</option> |
| 5459 | 5547 | </select> |
| 5460 | 5548 | </div> |
| 5461 | 5549 | <div class="world_entry_form_control flex1"> |
| 5462 | 5550 | <small class="textAlignCenter" data-i18n="Match Whole Words">Match Whole Words</small> |
| 5463 | 5551 | <select name="matchWholeWords" class="text_pole widthNatural margin0"> |
| 5464 | 5552 | <option value="null" data-i18n="Use global setting">Use global setting</option> |
| 5465 | 5553 | <option value="true" data-i18n="Yes">Yes</option> |
| 5466 | 5554 | <option value="false" data-i18n="No">No</option> |
| 5467 | 5555 | </select> |
| 5468 | 5556 | </div> |
| 5469 | 5557 | <div class="world_entry_form_control flex1"> |
| 5470 | 5558 | <small class="textAlignCenter" data-i18n="Use Group Scoring">Use Group Scoring</small> |
| 5471 | 5559 | <select name="useGroupScoring" class="text_pole widthNatural margin0"> |
| 5472 | 5560 | <option value="null" data-i18n="Use global setting">Use global setting</option> |
| 5473 | 5561 | <option value="true" data-i18n="Yes">Yes</option> |
| 5474 | 5562 | <option value="false" data-i18n="No">No</option> |
| 5475 | 5563 | </select> |
| @@ -5478,13 +5566,20 @@ | ||
| 5478 | 5566 | <small class="textAlignCenter" data-i18n="Automation ID">Automation ID</small> |
| 5479 | 5567 | <input class="text_pole margin0" name="automationId" type="text" placeholder="( None )" data-i18n="[placeholder]( None )"> |
| 5480 | 5568 | </div> |
| 5569 | + <div class="world_entry_form_control flex1" title="Defines delay levels for recursive scans. Initially, only the first level (smallest number) will match. Once no matches are found, the next level becomes eligible for matching. This repeats until all levels are checked. Tied to the "Delay until recursion" setting." data-i18n="[title]delay_until_recursion_level"> | |
| 5570 | + <small class="textAlignCenter"> | |
| 5571 | + <span data-i18n="Recursion Level">Recursion Level</span> | |
| 5572 | + <div class="fa-solid fa-circle-info opacity50p"></div> | |
| 5573 | + </small> | |
| 5574 | + <input class="text_pole margin0" name="delayUntilRecursionLevel" type="text" placeholder="1"> | |
| 5575 | + </div> | |
| 5481 | 5576 | </div> |
| 5482 | 5577 | <div name="contentAndCharFilterBlock" class="world_entry_thin_controls flex2"> |
| 5483 | 5578 | <div class="world_entry_form_control flex1"> |
| 5484 | 5579 | <label for="content "> |
| 5485 | 5580 | <small> |
| 5486 | 5581 | <span class="alignitemscenter flex-container flexnowrap wide100p justifySpaceBetween"> |
| 5487 | 5582 | <span data-i18n="Content" class="alignitemscenter flex-container flexNoGap mdhotkey_location"> |
| 5488 | 5583 | Content |
| 5489 | 5584 | </span> |
| 5490 | 5585 | <span> |
| @@ -5494,20 +5589,20 @@ | ||
| 5494 | 5589 | <div> |
| 5495 | 5590 | <label class="checkbox flex-container alignitemscenter flexNoGap"> |
| 5496 | 5591 | <input type="checkbox" name="exclude_recursion" /> |
| 5497 | 5592 | <span data-i18n="ExcludeNon-recursable from(will recursionnot be activated by another)"> |
| 5498 | 5593 | Non-recursable (this entry will not be activated by another) |
| 5499 | 5594 | </span> |
| 5500 | 5595 | </label> |
| 5501 | 5596 | <label class="checkbox flex-container alignitemscenter flexNoGap"> |
| 5502 | 5597 | <input type="checkbox" name="prevent_recursion" /> |
| 5503 | 5598 | <span data-i18n="Prevent further recursion (this entry will not activate others)"> |
| 5504 | 5599 | Prevent further recursion (this entry will not activate others) |
| 5505 | 5600 | </span> |
| 5506 | 5601 | </label> |
| 5507 | 5602 | <label class="checkbox flex-container alignitemscenter flexNoGap"> |
| 5508 | 5603 | <input type="checkbox" name="delay_until_recursion" /> |
| 5509 | 5604 | <span data-i18n="Delay until recursion (this entry can only be activated on recursive checking)"> |
| 5510 | 5605 | Delay until recursion (this entry can only be activated on recursive checking) |
| 5511 | 5606 | </span> |
| 5512 | 5607 | </label> |
| 5513 | 5608 | </div> |
| @@ -5519,7 +5614,7 @@ | ||
| 5519 | 5614 | </span> |
| 5520 | 5615 | </small> |
| 5521 | 5616 | </label> |
| 5522 | 5617 | <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> |
| 5523 | 5618 | </div> |
| 5524 | 5619 | </div> |
| 5525 | 5620 | <div class="world_entry_thin_controls commentContainer"> |
| @@ -5616,8 +5711,8 @@ | ||
| 5616 | 5711 | </div> |
| 5617 | 5712 | <div class="range-block-range"> |
| 5618 | 5713 | <select name="characterFilter" class="select2_multi_sameline" multiple> |
| 5619 | - <option value=""> | |
| 5714 | + <option value="" data-i18n="-- Characters not found --"> | |
| 5620 | - <span data-i18n="-- Characters not found --">-- Characters not found --</span> | |
| 5715 | + -- Characters not found -- | |
| 5621 | 5716 | </option> |
| 5622 | 5717 | </select> |
| 5623 | 5718 | </div> |
| @@ -5674,7 +5769,6 @@ | ||
| 5674 | 5769 | <input class="openai_logit_bias_text text_pole" data-i18n="[placeholder]Text or token ids" placeholder="Text or [token ids]" /> |
| 5675 | 5770 | <input class="openai_logit_bias_value text_pole" type="number" min="-100" value="0" max="100" /> |
| 5676 | 5771 | <i class="menu_button fa-solid fa-xmark openai_logit_bias_remove"></i> |
| 5677 | - </form> | |
| 5678 | 5772 | </div> |
| 5679 | 5773 | </div> |
| 5680 | 5774 | <div id="logit_bias_template" class="template_element"> |
| @@ -5807,7 +5901,7 @@ | ||
| 5807 | 5901 | <div title="Create branch" class="mes_button mes_create_branch fa-regular fa-code-branch" data-i18n="[title]Create Branch"></div> |
| 5808 | 5902 | <div title="Copy" class="mes_button mes_copy fa-solid fa-copy " data-i18n="[title]Copy"></div> |
| 5809 | 5903 | </div> |
| 5810 | 5904 | <div titledata-tooltip="OpenClick to open checkpoint chat Shift+Click to replace the existing checkpoint with a new one" class="mes_button mes_bookmark fa-solid fa-flag" data-i18n="[titledata-tooltip]Open checkpoint chat Shift+Click to replace the existing checkpoint with a new one"></div> |
| 5811 | 5905 | <div title="Edit" class="mes_button mes_edit fa-solid fa-pencil " data-i18n="[title]Edit"></div> |
| 5812 | 5906 | </div> |
| 5813 | 5907 | <div class="mes_edit_buttons"> |
| @@ -5866,11 +5960,6 @@ | ||
| 5866 | 5960 | <div id="onboarding_template" class="template_element"> |
| 5867 | 5961 | <div class="onboarding"> |
| 5868 | 5962 | <h3 data-i18n="Welcome to SillyTavern!">Welcome to SillyTavern!</h3> |
| 5869 | - <ul class="justifyLeft margin-bot-10px"> | |
| 5870 | - <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> | |
| 5871 | - <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> | |
| 5872 | - <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> | |
| 5873 | - </ul> | |
| 5874 | 5963 | <div id="onboarding-UI-language-block" class="flex-container alignItemsBaseline"> |
| 5875 | 5964 | <span data-i18n="UI Language">Language:</span> |
| 5876 | 5965 | <select id="onboarding_ui_language_select" class="flex1 margin0"> |
| @@ -5880,21 +5969,11 @@ | ||
| 5880 | 5969 | <b data-i18n="SillyTavern is aimed at advanced users."> |
| 5881 | 5970 | SillyTavern is aimed at advanced users. |
| 5882 | 5971 | </b> |
| 5883 | - <div> | |
| 5972 | + <ul class="justifyLeft marginTopBot5"> | |
| 5884 | - <span data-i18n="If you're new to this, enable the simplified UI mode below."> | |
| 5973 | + <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> | |
| 5885 | - If you're new to this, enable the simplified UI mode below. | |
| 5974 | + <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> | |
| 5886 | - </span> | |
| 5975 | + <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> | |
| 5887 | 5976 | <br/ul> |
| 5888 | - <span data-i18n="Change it later in the 'User Settings' panel."> | |
| 5889 | - Change it later in the 'User Settings' panel. | |
| 5890 | - </span> | |
| 5891 | - </div> | |
| 5892 | - <label class="checkbox_label"> | |
| 5893 | - <input type="checkbox" name="enable_simple_mode" /> | |
| 5894 | - <span data-i18n="Enable simple UI mode"> | |
| 5895 | - Enable simple UI mode | |
| 5896 | - </span> | |
| 5897 | - </label> | |
| 5898 | 5977 | <div class="expander"></div> |
| 5899 | 5978 | <div class="textAlignCenter"> |
| 5900 | 5979 | <h3 data-i18n="Looking for AI characters?"> |
| @@ -6010,8 +6089,11 @@ | ||
| 6010 | 6089 | <div id="alternate_greetings_template" class="template_element"> |
| 6011 | 6090 | <div class="alternate_grettings flexFlowColumn flex-container"> |
| 6012 | 6091 | <div class="title_restorable"> |
| 6013 | 6092 | <h3><span data-i18n="Alternate Greetings" class="mdhotkey_location">Alternate Greetings</span></h3> |
| 6014 | - <div title="Add" class="menu_button fa-solid fa-plus add_alternate_greeting" data-i18n="[title]Add"></div> | |
| 6093 | + <div class="menu_button menu_button_icon add_alternate_greeting"> | |
| 6094 | + <i class="fa-solid fa-plus"></i> | |
| 6095 | + <span data-i18n="Add">Add</span> | |
| 6096 | + </div> | |
| 6015 | 6097 | </div> |
| 6016 | 6098 | <small class="justifyLeft" data-i18n="Alternate_Greetings_desc"> |
| 6017 | 6099 | These will be displayed as swipes on the first message when starting a new chat. |
| @@ -6027,11 +6109,18 @@ | ||
| 6027 | 6109 | </div> |
| 6028 | 6110 | <div id="alternate_greeting_form_template" class="template_element"> |
| 6029 | 6111 | <div class="alternate_greeting"> |
| 6112 | + <details open> | |
| 6113 | + <summary> | |
| 6030 | 6114 | <div class="title_restorable"> |
| 6031 | 6115 | <strong><span data-i18n="Alternate Greeting #">Alternate Greeting #</span><span class="greeting_index"></span></strong> |
| 6032 | 6116 | <div class="menu_button fa-solid fa-trash-altmenu_button_icon delete_alternate_greeting"></div> |
| 6117 | + <i class="fa-solid fa-trash-alt"></i> | |
| 6118 | + <span data-i18n="Delete">Delete</span> | |
| 6119 | + </div> | |
| 6033 | 6120 | </div> |
| 6034 | - <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> | |
| 6121 | + </summary> | |
| 6122 | + <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> | |
| 6123 | + </details> | |
| 6035 | 6124 | </div> |
| 6036 | 6125 | </div> |
| 6037 | 6126 | |
| @@ -6048,6 +6137,7 @@ | ||
| 6048 | 6137 | <div class="right_menu_button mes_file_delete fa-solid fa-trash-can" title="Remove the file" data-i18n="[title]Remove the file"></div> |
| 6049 | 6138 | </div> |
| 6050 | 6139 | </div> |
| 6140 | + </div> | |
| 6051 | 6141 | <div id="movingDivs"> |
| 6052 | 6142 | <div id="floatingPrompt" class="drawer-content flexGap5"> |
| 6053 | 6143 | <div class="panelControlBar flex-container alignItemsBaseline"> |
| @@ -6068,7 +6158,7 @@ | ||
| 6068 | 6158 | <b data-i18n="Unique to this chat">Unique to this chat</b>.<br> |
| 6069 | 6159 | <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> |
| 6070 | 6160 | </small> |
| 6071 | 6161 | <textarea id="extension_floating_prompt" class="text_pole textarea_compact" rows="8" maxlength="50000"></textarea> |
| 6072 | 6162 | <div class="extension_token_counter"> |
| 6073 | 6163 | <span data-i18n="extension_token_counter">Tokens:</span> <span id="extension_floating_prompt_token_counter">0</span> |
| 6074 | 6164 | </div> |
| @@ -6125,7 +6215,7 @@ | ||
| 6125 | 6215 | <div class="inline-drawer-content"> |
| 6126 | 6216 | <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 |
| 6127 | 6217 | can't be modified when a group chat is open.</small> |
| 6128 | 6218 | <textarea id="extension_floating_chara" class="text_pole textarea_compact" rows="8" maxlength="50000" placeholder="Example: [Scenario: wacky adventures; Genre: romantic comedy; Style: verbose, creative]"></textarea> |
| 6129 | 6219 | <div class="extension_token_counter"> |
| 6130 | 6220 | <span data-i18n="extension_token_counter">Tokens:</span> <span id="extension_floating_chara_token_counter">0</span> |
| 6131 | 6221 | </div> |
| @@ -6157,7 +6247,7 @@ | ||
| 6157 | 6247 | </div> |
| 6158 | 6248 | <div class="inline-drawer-content"> |
| 6159 | 6249 | <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> |
| 6160 | 6250 | <textarea id="extension_floating_default" class="text_pole textarea_compact" rows="8" maxlength="50000" placeholder="Example: [Scenario: wacky adventures; Genre: romantic comedy; Style: verbose, creative]"></textarea> |
| 6161 | 6251 | <div class="extension_token_counter"> |
| 6162 | 6252 | <span data-i18n="extension_token_counter">Tokens:</span> <span id="extension_floating_default_token_counter">0</span> |
| 6163 | 6253 | </div> |
| @@ -6414,7 +6504,7 @@ | ||
| 6414 | 6504 | <div id="leftSendForm" class="alignContentCenter"> |
| 6415 | 6505 | <div id="options_button" class="fa-solid fa-bars interactable"></div> |
| 6416 | 6506 | </div> |
| 6417 | 6507 | <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> |
| 6418 | 6508 | <div id="rightSendForm" class="alignContentCenter"> |
| 6419 | 6509 | <div id="stscript_continue" title="Continue script execution" class="stscript_btn stscript_continue" data-i18n="[title]Continue script execution"> |
| 6420 | 6510 | <i class="fa-solid fa-play"></i> |
| @@ -6451,11 +6541,11 @@ | ||
| 6451 | 6541 | <i class="fa-lg fa-solid fa-note-sticky"></i> |
| 6452 | 6542 | <span data-i18n="Author's Note">Author's Note</span> |
| 6453 | 6543 | </a> |
| 6454 | 6544 | <a data-newbie-hidden id="option_toggle_CFG"> |
| 6455 | 6545 | <i class="fa-lg fa-solid fa-scale-balanced"></i> |
| 6456 | 6546 | <span data-i18n="CFG Scale">CFG Scale</span> |
| 6457 | 6547 | </a> |
| 6458 | 6548 | <a data-newbie-hidden id="option_toggle_logprobs"> |
| 6459 | 6549 | <i class="fa-lg fa-solid fa-pie-chart"></i> |
| 6460 | 6550 | <span data-i18n="Token Probabilities">Token Probabilities</span> |
| 6461 | 6551 | </a> |
| @@ -6503,69 +6593,17 @@ | ||
| 6503 | 6593 | </a> |
| 6504 | 6594 | </div> |
| 6505 | 6595 | </div> |
| 6506 | - <div id="export_format_popup" class="list-group"> | |
| 6596 | + | |
| 6507 | - <div class="export_format list-group-item" data-format="png">PNG</div> | |
| 6508 | - <div class="export_format list-group-item" data-format="json">JSON</div> | |
| 6509 | - </div> | |
| 6510 | - <div id="zoomed_avatar_template" class="template_element"> | |
| 6511 | - <div class="zoomed_avatar"> | |
| 6512 | - <div class="panelControlBar flex-container"> | |
| 6513 | - <div class="fa-fw fa-solid fa-grip drag-grabber"></div> | |
| 6514 | - <div class="fa-fw fa-solid fa-circle-xmark dragClose" id="closeZoom"></div> | |
| 6515 | - </div> | |
| 6516 | - <div class="zoomed_avatar_container"> | |
| 6517 | - <img class="zoomed_avatar_img" src="" data-izoomify-url="" data-izoomify-magnify="1.8" data-izoomify-duration="300" alt=""> | |
| 6518 | - </div> | |
| 6519 | - </div> | |
| 6520 | - </div> | |
| 6521 | - <template id="generic_draggable_template"> | |
| 6522 | - <div class="draggable"> | |
| 6523 | - <div class="dragTitle"></div> | |
| 6524 | - <div class="panelControlBar flex-container"> | |
| 6525 | - <div class="fa-fw fa-solid fa-grip drag-grabber"></div> | |
| 6526 | - <div class="fa-fw fa-solid fa-circle-xmark dragClose"></div> | |
| 6527 | - </div> | |
| 6528 | - </div> | |
| 6529 | - </template> | |
| 6530 | - <div id="user_avatar_template" class="template_element"> | |
| 6531 | - <div class="avatar-container"> | |
| 6532 | - <div imgfile="" class="avatar"> | |
| 6533 | - <img src="" alt="User Avatar"> | |
| 6534 | - </div> | |
| 6535 | - <div class="flex-container wide100pLess70px character_select_container"> | |
| 6536 | - <div class="wide100p character_name_block"> | |
| 6537 | - <span class="ch_name flex1"></span> | |
| 6538 | - <div class="avatar-buttons"> | |
| 6539 | - <button class="menu_button bind_user_name" title="Bind user name to that avatar" data-i18n="[title]Bind user name to that avatar"> | |
| 6540 | - <i class="fa-fw fa-solid fa-user-edit"></i> | |
| 6541 | - </button> | |
| 6542 | - <button class="menu_button set_persona_image" title="Change persona image" data-i18n="[title]Change persona image"> | |
| 6543 | - <i class="fa-fw fa-solid fa-image"></i> | |
| 6544 | - </button> | |
| 6545 | - <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."> | |
| 6546 | - <i class="fa-fw fa-solid fa-crown"></i> | |
| 6547 | - </button> | |
| 6548 | - <button class="menu_button duplicate_persona" title="Duplicate persona" data-i18n="[title]Duplicate persona"> | |
| 6549 | - <i class="fa-fw fa-solid fa-clone"></i> | |
| 6550 | - </button> | |
| 6551 | - <button class="menu_button delete_avatar" title="Delete persona" data-i18n="[title]Delete persona"> | |
| 6552 | - <i class="fa-fw fa-solid fa-trash-alt"></i> | |
| 6553 | - </button> | |
| 6554 | - </div> | |
| 6555 | - </div> | |
| 6556 | - <div class="ch_description"></div> | |
| 6557 | - </div> | |
| 6558 | - </div> | |
| 6559 | - </div> | |
| 6560 | 6597 | <!-- Script includes --> |
| 6598 | + <script src="lib/polyfill.js"></script> | |
| 6561 | 6599 | <script src="lib/diff_match_patch.js"></script> |
| 6562 | - <script src="lib/object-hasown.js"></script> | |
| 6563 | 6600 | <script src="lib/jquery-3.5.1.min.js"></script> |
| 6564 | 6601 | <script src="lib/jquery-ui.min.js"></script> |
| 6565 | 6602 | <script src="lib/jquery.transit.min.js"></script> |
| 6566 | 6603 | <script src="lib/jquery-cookie-1.4.1.min.js"></script> |
| 6567 | 6604 | <script src="lib/jquery.ui.touch-punch.min.js"></script> |
| 6568 | 6605 | <script src="lib/showdown.min.js"></script> |
| 6606 | + <script src="lib/showdown-patch.js"></script> | |
| 6569 | 6607 | <script src="lib/showdown-katex.min.js"></script> |
| 6570 | 6608 | <script src="lib/popper.js"></script> |
| 6571 | 6609 | <script src="lib/purify.min.js"></script> |
| @@ -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 | -} | |
| @@ -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 | +} | |
| @@ -0,0 +1,24 @@ | ||
| 1 | +showdown.subParser('unhashHTMLSpans', function (text, options, globals) { | |
| 2 | + 'use strict'; | |
| 3 | + text = globals.converter._dispatch('unhashHTMLSpans.before', text, options, globals); | |
| 4 | + | |
| 5 | + for (var i = 0; i < globals.gHtmlSpans.length; ++i) { | |
| 6 | + var repText = globals.gHtmlSpans[i], | |
| 7 | + // limiter to prevent infinite loop (assume 10 as limit for recurse) | |
| 8 | + limit = 0; | |
| 9 | + | |
| 10 | + while (/¨C(\d+)C/.test(repText)) { | |
| 11 | + var num = RegExp.$1; | |
| 12 | + repText = repText.replace('¨C' + num + 'C', globals.gHtmlSpans[num]); | |
| 13 | + if (limit === 10000) { | |
| 14 | + console.error('maximum nesting of 10000 spans reached!!!'); | |
| 15 | + break; | |
| 16 | + } | |
| 17 | + ++limit; | |
| 18 | + } | |
| 19 | + text = text.replace('¨C' + i + 'C', repText); | |
| 20 | + } | |
| 21 | + | |
| 22 | + text = globals.converter._dispatch('unhashHTMLSpans.after', text, options, globals); | |
| 23 | + return text; | |
| 24 | +}); | |
| @@ -32,7 +32,7 @@ | ||
| 32 | 32 | "Streaming_desc": "عرض الاستجابة لحظيا كما يتم إنشاؤها.", |
| 33 | 33 | "context size(tokens)": "حجم الاحرف (بعدد الاحرف او الرموز)", |
| 34 | 34 | "unlocked": "مفتوح", |
| 35 | 35 | "Only enable this if your model supports context sizes greater than 40968192 tokens": "قم بتمكين هذا فقط إذا كانت نموذجك يدعم مقاطع السياق بأحجام أكبر من 40968192 رمزًا.", |
| 36 | 36 | "Max prompt cost:": "أقصى تكلفة فورية:", |
| 37 | 37 | "Display the response bit by bit as it is generated.": "عرض الاستجابة بتدريج كما يتم إنشاؤها.", |
| 38 | 38 | "When this is off, responses will be displayed all at once when they are complete.": "عند إيقاف هذا الخيار، سيتم عرض الردود جميعها دفعة واحدة عند اكتمالها.", |
| @@ -381,10 +381,6 @@ | ||
| 381 | 381 | "Group by vendors Description": "ضع نماذج OpenAI في مجموعة واحدة، والنماذج الإنسانية في مجموعة أخرى، وما إلى ذلك. ويمكن دمجها مع الفرز.", |
| 382 | 382 | "Allow fallback routes": "السماح بمسارات الاحتياط", |
| 383 | 383 | "Allow fallback routes Description": "يختار النموذج البديل تلقائيًا إذا كان النموذج المحدد غير قادر على تلبية طلبك.", |
| 384 | - "openrouter_force_instruct": "هذا الخيار قديم وسيتم إزالته في المستقبل. لاستخدام تنسيق التعليمات، يرجى التبديل إلى OpenRouter ضمن Text Completion API بدلاً من ذلك.", | |
| 385 | - "LEGACY": "إرث", | |
| 386 | - "Force Instruct Mode formatting": "فرض تنسيق وضع التعليمات", | |
| 387 | - "Force_Instruct_Mode_formatting_Description": "إذا تم تمكين وضع التعليمات وهذا، فسيتم تنسيق المطالبة بواسطة SillyTavern باستخدام التيار\n إعدادات التنسيق المتقدمة (باستثناء توجيه موجه النظام). إذا تم تعطيله، فسيتم تنسيق المطالبة بواسطة OpenRouter.", | |
| 388 | 384 | "Scale API Key": "مفتاح API لـ Scale", |
| 389 | 385 | "Clear your cookie": "امسح ملف تعريف الارتباط الخاص بك", |
| 390 | 386 | "Alt Method": "طريقة بديلة", |
| @@ -32,7 +32,7 @@ | ||
| 32 | 32 | "Streaming_desc": "Zeige die Antwort Stück für Stück an, während sie generiert wird.", |
| 33 | 33 | "context size(tokens)": "Größe des Zusammenhangs (Tokens)", |
| 34 | 34 | "unlocked": "Freigeschaltet", |
| 35 | 35 | "Only enable this if your model supports context sizes greater than 40968192 tokens": "Aktiviere dies nur, wenn dein Modell Kontextgrößen von mehr als 40968192 Tokens unterstützt.", |
| 36 | 36 | "Max prompt cost:": "Maximale Sofortkosten:", |
| 37 | 37 | "Display the response bit by bit as it is generated.": "Zeige die Antwort Stück für Stück, während sie generiert wird.", |
| 38 | 38 | "When this is off, responses will be displayed all at once when they are complete.": "Wenn dies ausgeschaltet ist, werden Antworten angezeigt, sobald sie vollständig sind.", |
| @@ -381,10 +381,6 @@ | ||
| 381 | 381 | "Group by vendors Description": "Platzieren Sie OpenAI-Modelle in einer Gruppe, anthropogene Modelle in einer anderen Gruppe usw. Kann mit Sortierung kombiniert werden.", |
| 382 | 382 | "Allow fallback routes": "Fallback-Routen zulassen", |
| 383 | 383 | "Allow fallback routes Description": "Das alternative Modell wird automatisch ausgewählt, wenn das ausgewählte Modell Ihre Anfrage nicht erfüllen kann.", |
| 384 | - "openrouter_force_instruct": "Diese Option ist veraltet und wird in Zukunft entfernt. Um die Formatierung mit Anweisungen zu verwenden, wechseln Sie stattdessen zu OpenRouter unter Text Completion API.", | |
| 385 | - "LEGACY": "VERMÄCHTNIS", | |
| 386 | - "Force Instruct Mode formatting": "Formatierung im Force Instruct Mode", | |
| 387 | - "Force_Instruct_Mode_formatting_Description": "Wenn sowohl der Anweisungsmodus als auch dieser aktiviert sind, wird die Eingabeaufforderung von SillyTavern mit den aktuellen erweiterten Formatierungseinstellungen formatiert (außer „Anweisungssystem-Eingabeaufforderung“). Wenn deaktiviert, wird die Eingabeaufforderung von OpenRouter formatiert.", | |
| 388 | 384 | "Scale API Key": "Scale API-Schlüssel", |
| 389 | 385 | "Clear your cookie": "Löschen Sie Ihre Cookies", |
| 390 | 386 | "Alt Method": "Alternative Methode", |
| @@ -32,7 +32,7 @@ | ||
| 32 | 32 | "Streaming_desc": "Mostrar la respuesta poco a poco según se genera", |
| 33 | 33 | "context size(tokens)": "Tamaño de contexto (tokens)", |
| 34 | 34 | "unlocked": "Desbloqueado", |
| 35 | 35 | "Only enable this if your model supports context sizes greater than 40968192 tokens": "Habilita esto solo si tu modelo admite tamaños de contexto mayores de 40968192 tokens", |
| 36 | 36 | "Max prompt cost:": "Costo inmediato máximo:", |
| 37 | 37 | "Display the response bit by bit as it is generated.": "Mostrar la respuesta poco a poco a medida que se genera.", |
| 38 | 38 | "When this is off, responses will be displayed all at once when they are complete.": "Cuando esto está apagado, las respuestas se mostrarán de una vez cuando estén completas.", |
| @@ -381,10 +381,6 @@ | ||
| 381 | 381 | "Group by vendors Description": "Coloque los modelos OpenAI en un grupo, los modelos antrópicos en otro grupo, etc. Se puede combinar con la clasificación.", |
| 382 | 382 | "Allow fallback routes": "Permitir rutas de respaldo", |
| 383 | 383 | "Allow fallback routes Description": "El modelo alternativo se elige automáticamente si el modelo seleccionado no puede cumplir con tu solicitud.", |
| 384 | - "openrouter_force_instruct": "Esta opción está desactualizada y se eliminará en el futuro. Para utilizar el formato de instrucciones, cambie a OpenRouter en API de finalización de texto.", | |
| 385 | - "LEGACY": "LEGADO", | |
| 386 | - "Force Instruct Mode formatting": "Forzar formato en modo de instrucción", | |
| 387 | - "Force_Instruct_Mode_formatting_Description": "Si tanto el modo de instrucción como este están habilitados, SillyTavern formateará el mensaje usando el formato actual.\n configuraciones de formato avanzadas (excepto instrucciones del mensaje del sistema). Si está deshabilitado, OpenRouter formateará el mensaje.", | |
| 388 | 384 | "Scale API Key": "Clave API de Scale", |
| 389 | 385 | "Clear your cookie": "Limpia tu cookie", |
| 390 | 386 | "Alt Method": "Método alternativo", |
| @@ -32,7 +32,7 @@ | ||
| 32 | 32 | "Streaming_desc": "Afficher la réponse bit par bit au fur et à mesure de sa génération", |
| 33 | 33 | "context size(tokens)": "Taille du contexte (en tokens)", |
| 34 | 34 | "unlocked": "Déverrouillé", |
| 35 | 35 | "Only enable this if your model supports context sizes greater than 40968192 tokens": "Activez cela uniquement si votre modèle prend en charge des tailles de contexte supérieures à 40968192 tokens", |
| 36 | 36 | "Max prompt cost:": "Coût rapide maximum :", |
| 37 | 37 | "Display the response bit by bit as it is generated.": "Afficher la réponse morceau par morceau au fur et à mesure de sa génération.", |
| 38 | 38 | "When this is off, responses will be displayed all at once when they are complete.": "Lorsque cette fonction est désactivée, les réponses s'affichent toutes en une fois lorsqu'elles sont complètes.", |
| @@ -381,10 +381,6 @@ | ||
| 381 | 381 | "Group by vendors Description": "Placez les modèles OpenAI dans un groupe, les modèles Anthropic dans un autre groupe, etc. Peut être combiné avec le tri.", |
| 382 | 382 | "Allow fallback routes": "Autoriser les itinéraires de secours", |
| 383 | 383 | "Allow fallback routes Description": "Le modèle alternatif est automatiquement sélectionné si le modèle choisi ne peut pas répondre à votre demande.", |
| 384 | - "openrouter_force_instruct": "Cette option est obsolète et sera supprimée à l'avenir. Pour utiliser le formatage des instructions, veuillez plutôt passer à OpenRouter sous API de saisie semi-automatique de texte.", | |
| 385 | - "LEGACY": "HÉRITAGE", | |
| 386 | - "Force Instruct Mode formatting": "Forcer le formatage du mode instruction", | |
| 387 | - "Force_Instruct_Mode_formatting_Description": "Si le mode Instruct et celui-ci sont activés, l'invite sera formatée par SillyTavern en utilisant le mode actuel.\n paramètres de formatage avancés (à l'exception de l'invite système). Si elle est désactivée, l'invite sera formatée par OpenRouter.", | |
| 388 | 384 | "Scale API Key": "Clé API Scale", |
| 389 | 385 | "Clear your cookie": "Effacer vos cookies", |
| 390 | 386 | "Alt Method": "Méthode alternative", |
| @@ -32,7 +32,7 @@ | ||
| 32 | 32 | "Streaming_desc": "Birta svarið bita fyrir bita þegar það er myndað.", |
| 33 | 33 | "context size(tokens)": "Stærð samhengis (í táknum eða stöfum)", |
| 34 | 34 | "unlocked": "Opinn", |
| 35 | 35 | "Only enable this if your model supports context sizes greater than 40968192 tokens": "Virkjið þetta aðeins ef stærð samhengis styður model meira en 40968192 tákn.", |
| 36 | 36 | "Max prompt cost:": "Hámarks skyndikostnaður:", |
| 37 | 37 | "Display the response bit by bit as it is generated.": "Birta svarid bita fyrir bita þegar það er búið til.", |
| 38 | 38 | "When this is off, responses will be displayed all at once when they are complete.": "Þegar þetta er slökkt verða svör birt allt í einu þegar þau eru búin.", |
| @@ -381,10 +381,6 @@ | ||
| 381 | 381 | "Group by vendors Description": "Setjið OpenAI módel í einn hóp, Anthropic módel í annan hóp osfrv. Hægt að sameina við flokkun.", |
| 382 | 382 | "Allow fallback routes": "Leyfa bakfallssvæði", |
| 383 | 383 | "Allow fallback routes Description": "Veldur hlutleysa vélbúnaðarinn við val þinn ef valið módel getur ekki uppfyllt beiðni þína.", |
| 384 | - "openrouter_force_instruct": "Þessi valkostur er úreltur og verður fjarlægður í framtíðinni. Til að nota leiðbeiningarsnið skaltu skipta yfir í OpenRouter undir Text Completion API í staðinn.", | |
| 385 | - "LEGACY": "ARFIÐ", | |
| 386 | - "Force Instruct Mode formatting": "Force Instruct Mode formatting", | |
| 387 | - "Force_Instruct_Mode_formatting_Description": "Ef bæði leiðbeiningarhamur og þessi eru virkjuð, verður kvaðningurinn sniðinn af SillyTavern með því að nota núverandi\n háþróaðar sniðstillingar (nema leiðbeiningar um System Prompt). Ef slökkt er á henni verður hvetjan sniðin af OpenRouter.", | |
| 388 | 384 | "Scale API Key": "Lykill API fyrir Scale", |
| 389 | 385 | "Clear your cookie": "Hreinsaðu kökuna þína", |
| 390 | 386 | "Alt Method": "Aðferð Bakmenn", |
| @@ -32,7 +32,7 @@ | ||
| 32 | 32 | "Streaming_desc": "Mostra la risposta pezzo per pezzo man mano che viene generata", |
| 33 | 33 | "context size(tokens)": "Dimensione del contesto (token)", |
| 34 | 34 | "unlocked": "Sbloccato", |
| 35 | 35 | "Only enable this if your model supports context sizes greater than 40968192 tokens": "Abilita solo se il tuo modello supporta dimensioni del contesto superiori a 40968192 token", |
| 36 | 36 | "Max prompt cost:": "Costo massimo immediato:", |
| 37 | 37 | "Display the response bit by bit as it is generated.": "Visualizza la risposta pezzo per pezzo mentre viene generata.", |
| 38 | 38 | "When this is off, responses will be displayed all at once when they are complete.": "Quando questo è disattivato, le risposte verranno visualizzate tutte in una volta quando sono complete.", |
| @@ -381,10 +381,6 @@ | ||
| 381 | 381 | "Group by vendors Description": "Metti i modelli OpenAI in un gruppo, i modelli antropici in un altro gruppo, ecc. Può essere combinato con l'ordinamento.", |
| 382 | 382 | "Allow fallback routes": "Consenti percorsi alternativi", |
| 383 | 383 | "Allow fallback routes Description": "Il modello alternativo viene automaticamente scelto se il modello selezionato non può soddisfare la tua richiesta.", |
| 384 | - "openrouter_force_instruct": "Questa opzione è obsoleta e verrà rimossa in futuro. Per usare la formattazione instruct, passa a OpenRouter in Text Completion API.", | |
| 385 | - "LEGACY": "EREDITÀ", | |
| 386 | - "Force Instruct Mode formatting": "Forza la formattazione della modalità istruzione", | |
| 387 | - "Force_Instruct_Mode_formatting_Description": "Se sia la modalità Instruct che questa sono abilitate, il prompt verrà formattato da SillyTavern utilizzando il file current\n impostazioni di formattazione avanzate (ad eccezione del prompt di sistema). Se disabilitato, il prompt verrà formattato da OpenRouter.", | |
| 388 | 384 | "Scale API Key": "Chiave API di Scale", |
| 389 | 385 | "Clear your cookie": "Cancella il tuo cookie", |
| 390 | 386 | "Alt Method": "Metodo alternativo", |
| @@ -32,7 +32,7 @@ | ||
| 32 | 32 | "Streaming_desc": "生成された応答を逐次表示します。", |
| 33 | 33 | "context size(tokens)": "コンテキストのサイズ(トークン数)", |
| 34 | 34 | "unlocked": "ロック解除", |
| 35 | 35 | "Only enable this if your model supports context sizes greater than 40968192 tokens": "モデルが4096トークンを超えるコンテキストサイズをサポートしている場合にのみ有効にしますモデルが8192トークンを超えるコンテキストサイズをサポートしている場合にのみ有効にします", |
| 36 | 36 | "Max prompt cost:": "最大プロンプトコスト:", |
| 37 | 37 | "Display the response bit by bit as it is generated.": "生成されるたびに、応答を逐次表示します。", |
| 38 | 38 | "When this is off, responses will be displayed all at once when they are complete.": "この機能がオフの場合、応答は完全に生成されたときに一度ですべて表示されます。", |
| @@ -381,10 +381,6 @@ | ||
| 381 | 381 | "Group by vendors Description": "OpenAI モデルを 1 つのグループに、Anthropic モデルを別のグループに配置するなどします。ソートと組み合わせることができます。", |
| 382 | 382 | "Allow fallback routes": "フォールバックルートを許可", |
| 383 | 383 | "Allow fallback routes Description": "選択したモデルが要求を満たせない場合、代替モデルが自動的に選択されます。", |
| 384 | - "openrouter_force_instruct": "このオプションは古く、将来削除される予定です。指示されたフォーマットを使用するには、代わりにテキスト補完 API の OpenRouter に切り替えてください。", | |
| 385 | - "LEGACY": "遺産", | |
| 386 | - "Force Instruct Mode formatting": "強制指示モードのフォーマット", | |
| 387 | - "Force_Instruct_Mode_formatting_Description": "Instruct Mode とこれが両方とも有効になっている場合、プロンプトは SillyTavern によって現在の高度なフォーマット設定 (instruct System Prompt を除く) を使用してフォーマットされます。無効になっている場合、プロンプトは OpenRouter によってフォーマットされます。", | |
| 388 | 384 | "Scale API Key": "ScaleのAPIキー", |
| 389 | 385 | "Clear your cookie": "クッキーを消去する", |
| 390 | 386 | "Alt Method": "代替手法", |
| @@ -32,7 +32,7 @@ | ||
| 32 | 32 | "Streaming_desc": "생성되는대로 응답을 조금씩 표시하십시오", |
| 33 | 33 | "context size(tokens)": "컨텍스트 크기 (토큰)", |
| 34 | 34 | "unlocked": "잠금 해제됨", |
| 35 | 35 | "Only enable this if your model supports context sizes greater than 40968192 tokens": "모델이 40968192 토큰보다 큰 컨텍스트 크기를 지원하는 경우에만 활성화하십시오", |
| 36 | 36 | "Max prompt cost:": "최대 프롬프트 비용:", |
| 37 | 37 | "Display the response bit by bit as it is generated.": "생성되는 대답을 조금씩 표시합니다.", |
| 38 | 38 | "When this is off, responses will be displayed all at once when they are complete.": "이 기능이 꺼져 있으면 대답은 완료되면 한 번에 모두 표시됩니다.", |
| @@ -381,10 +381,6 @@ | ||
| 381 | 381 | "Group by vendors Description": "OpenAI 모델을 한 그룹에 넣고, Anthropic 모델을 다른 그룹에 두는 등 정렬을 통해 결합할 수 있습니다.", |
| 382 | 382 | "Allow fallback routes": "대체 경로 허용", |
| 383 | 383 | "Allow fallback routes Description": "선택한 모델이 요청을 처리할 수 없는 경우 대체 모델이 자동으로 선택됩니다.", |
| 384 | - "openrouter_force_instruct": "이 옵션은 오래되었으며 향후 제거될 예정입니다. 지시 형식을 사용하려면 대신 Text Completion API에서 OpenRouter로 전환하세요.", | |
| 385 | - "LEGACY": "유산", | |
| 386 | - "Force Instruct Mode formatting": "강제 지시 모드 포맷", | |
| 387 | - "Force_Instruct_Mode_formatting_Description": "Instruct Mode와 이 모드가 모두 활성화된 경우 프롬프트는 SillyTavern에 의해 현재 형식을 사용하여 형식화됩니다.\n 고급 형식 설정(시스템 프롬프트 지시 제외) 비활성화된 경우 프롬프트는 OpenRouter에 의해 형식화됩니다.", | |
| 388 | 384 | "Scale API Key": "Scale API 키", |
| 389 | 385 | "Clear your cookie": "쿠키 지우기", |
| 390 | 386 | "Alt Method": "대체 방법", |
| @@ -32,7 +32,7 @@ | ||
| 32 | 32 | "Streaming_desc": "Toon de reactie beetje bij beetje zoals deze wordt gegenereerd", |
| 33 | 33 | "context size(tokens)": "Contextgrootte (tokens)", |
| 34 | 34 | "unlocked": "Ontgrendeld", |
| 35 | 35 | "Only enable this if your model supports context sizes greater than 40968192 tokens": "Schakel dit alleen in als uw model contextgroottes ondersteunt groter dan 40968192 tokens", |
| 36 | 36 | "Max prompt cost:": "Maximale promptkosten:", |
| 37 | 37 | "Display the response bit by bit as it is generated.": "Toon het antwoord stuk voor stuk terwijl het wordt gegenereerd.", |
| 38 | 38 | "When this is off, responses will be displayed all at once when they are complete.": "Als dit uit staat, worden reacties in één keer weergegeven wanneer ze compleet zijn.", |
| @@ -381,10 +381,6 @@ | ||
| 381 | 381 | "Group by vendors Description": "Plaats OpenAI-modellen in één groep, antropische modellen in een andere groep, enz. Kan worden gecombineerd met sorteren.", |
| 382 | 382 | "Allow fallback routes": "Fallback-routes toestaan", |
| 383 | 383 | "Allow fallback routes Description": "Het alternatieve model wordt automatisch gekozen als het geselecteerde model niet aan uw verzoek kan voldoen.", |
| 384 | - "openrouter_force_instruct": "Deze optie is verouderd en zal in de toekomst worden verwijderd. Om instructie-opmaak te gebruiken, schakelt u in plaats daarvan over naar OpenRouter onder Text Completion API.", | |
| 385 | - "LEGACY": "NALATENSCHAP", | |
| 386 | - "Force Instruct Mode formatting": "Forceer de opmaak van de instructiemodus", | |
| 387 | - "Force_Instruct_Mode_formatting_Description": "Als zowel de Instruct-modus als deze zijn ingeschakeld, wordt de prompt door SillyTavern geformatteerd met behulp van de current\n geavanceerde opmaakinstellingen (behalve de opdracht Systeemprompt). Indien uitgeschakeld, wordt de prompt geformatteerd door OpenRouter.", | |
| 388 | 384 | "Scale API Key": "Scale API-sleutel", |
| 389 | 385 | "Clear your cookie": "Wis uw cookie", |
| 390 | 386 | "Alt Method": "Alternatieve methode", |
| @@ -32,7 +32,7 @@ | ||
| 32 | 32 | "Streaming_desc": "Exibir a resposta pouco a pouco conforme ela é gerada", |
| 33 | 33 | "context size(tokens)": "Tamanho do contexto (tokens)", |
| 34 | 34 | "unlocked": "Desbloqueado", |
| 35 | 35 | "Only enable this if your model supports context sizes greater than 40968192 tokens": "Ative isso apenas se seu modelo suportar tamanhos de contexto maiores que 40968192 tokens", |
| 36 | 36 | "Max prompt cost:": "Custo imediato máximo:", |
| 37 | 37 | "Display the response bit by bit as it is generated.": "Exibir a resposta bit a bit conforme é gerada.", |
| 38 | 38 | "When this is off, responses will be displayed all at once when they are complete.": "Quando isso estiver desligado, as respostas serão exibidas de uma vez quando estiverem completas.", |
| @@ -381,10 +381,6 @@ | ||
| 381 | 381 | "Group by vendors Description": "Coloque os modelos OpenAI em um grupo, os modelos antrópicos em outro grupo, etc.", |
| 382 | 382 | "Allow fallback routes": "Permitir rotas de fallback", |
| 383 | 383 | "Allow fallback routes Description": "O modelo alternativo será escolhido automaticamente se o modelo selecionado não puder atender à sua solicitação.", |
| 384 | - "openrouter_force_instruct": "Esta opção está desatualizada e será removida no futuro. Para usar a formatação de instruções, mude para OpenRouter em Text Completion API.", | |
| 385 | - "LEGACY": "LEGADO", | |
| 386 | - "Force Instruct Mode formatting": "Forçar formatação do modo de instrução", | |
| 387 | - "Force_Instruct_Mode_formatting_Description": "Se o Modo Instruir e este estiverem habilitados, o prompt será formatado pelo SillyTavern usando o atual\n configurações avançadas de formatação (exceto instruir o prompt do sistema). Se desativado, o prompt será formatado pelo OpenRouter.", | |
| 388 | 384 | "Scale API Key": "Chave da API Scale", |
| 389 | 385 | "Clear your cookie": "Limpe seu cookie", |
| 390 | 386 | "Alt Method": "Método Alternativo", |
| @@ -43,7 +43,7 @@ | ||
| 43 | 43 | "Smoothing Factor": "Коэффициент сглаживания", |
| 44 | 44 | "No Repeat Ngram Size": "Размер no_repeat_ngram", |
| 45 | 45 | "Min Length": "Мин. длина", |
| 46 | 46 | "Alternative server URL (leave empty to use the default value).": "Альтернативный URL альтернативного сервера (оставьте пустым для стандартного значения)", |
| 47 | 47 | "Remove your real OAI API Key from the API panel BEFORE typing anything into this box": "Удалите свой личный OAI API Key из панели API, и ТОЛЬКО ПОСЛЕ ЭТОГО вводите что-то сюда", |
| 48 | 48 | "We cannot provide support for problems encountered while using an unofficial OpenAI proxy": "Мы не сможем предоставить помощь с проблемами, с которыми вы столкнетесь при использовании неофициальных прокси для OpenAI", |
| 49 | 49 | "Context Size (tokens)": "Размер контекста (в токенах)", |
| @@ -89,7 +89,7 @@ | ||
| 89 | 89 | "Text Completion presets": "Пресеты для Text Completion", |
| 90 | 90 | "Documentation on sampling parameters": "Документация по параметрам сэмплеров", |
| 91 | 91 | "Set all samplers to their neutral/disabled state.": "Установить все сэмплеры в нейтральное/отключенное состояние.", |
| 92 | 92 | "Only enable this if your model supports context sizes greater than 40968192 tokens": "Включайте эту опцию, только если ваша модель поддерживает размер контекста более 40968192 токенов.\nУвеличивайте только если вы знаете, что делаете.", |
| 93 | 93 | "Wrap in Quotes": "Заключать в кавычки", |
| 94 | 94 | "Wrap entire user message in quotes before sending.": "Перед отправкой заключать всё сообщение пользователя в кавычки.", |
| 95 | 95 | "Leave off if you use quotes manually for speech.": "Оставьте выключенным, если вручную выставляете кавычки для прямой речи.", |
| @@ -186,7 +186,7 @@ | ||
| 186 | 186 | "Generate only one line per request": "Генерировать одну строку на запрос", |
| 187 | 187 | "Misc. Settings": "Доп. настройки", |
| 188 | 188 | "Auto-Continue": "Авто-продолжение", |
| 189 | 189 | "Collapse Consecutive Newlines": "Сворачивать последовательныенеск. новыеновых строкистрок в одну", |
| 190 | 190 | "Allow for Chat Completion APIs": "Разрешить для Chat Completion API", |
| 191 | 191 | "Target length (tokens)": "Целевая длина (в токенах)", |
| 192 | 192 | "World Info": "Информация о мире", |
| @@ -373,7 +373,7 @@ | ||
| 373 | 373 | "Prefer Character Card Prompt": "Приоритет промпту из карточки персонажа", |
| 374 | 374 | "Prefer Character Card Jailbreak": "Приоритет джейлбрейку из карточки персонажа", |
| 375 | 375 | "Press Send to continue": "Кнопка отправки продолжает сообщение", |
| 376 | 376 | "Quick 'Continue' button": "Кнопка быстрогоБыстрое продолженияпродолжение", |
| 377 | 377 | "Log prompts to console": "Выводить промпты в консоль", |
| 378 | 378 | "Never resize avatars": "Не менять размер аватарок", |
| 379 | 379 | "Show avatar filenames": "Показывать названия файлов аватарок", |
| @@ -495,7 +495,7 @@ | ||
| 495 | 495 | "(Write a comma-separated list of tags)": "(Список тегов через запятую)", |
| 496 | 496 | "(A brief description of the personality)": "(Краткое описание личности)", |
| 497 | 497 | "(Circumstances and context of the interaction)": "(Обстоятельства и контекст этого диалога)", |
| 498 | 498 | "(Examples of chat dialog. Begin each example with START on a new line.)": "(Примеры диалога. Начинайте каждый пример с START или новой линиейстрокой.)", |
| 499 | 499 | "Type here...": "Пишите здесь...", |
| 500 | 500 | "Comma separated (required)": "Через запятую (обязательное поле)", |
| 501 | 501 | "What this keyword should mean to the AI, sent verbatim": "Что это ключевое слово должно означать для ИИ, отправляется дословно", |
| @@ -552,7 +552,7 @@ | ||
| 552 | 552 | "Click to set a new User Name": "Нажмите, чтобы задать новое имя пользователя.", |
| 553 | 553 | "Click to lock your selected persona to the current chat. Click again to remove the lock.": "Нажмите, чтобы закрепить выбранную персону для текущего чата. Нажмите еще раз, чтобы открепить.", |
| 554 | 554 | "Click to set user name for all messages": "Нажмите, чтобы задать имя пользователя для всех сообщений.", |
| 555 | 555 | "Create a dummy persona": "Создать пустую персону-болванку", |
| 556 | 556 | "Character Management": "Управление персонажами", |
| 557 | 557 | "Locked = Character Management panel will stay open": "Закреплено = Панель управление персонажами останется открытой", |
| 558 | 558 | "Select/Create Characters": "Выбрать/Создать персонажа", |
| @@ -625,7 +625,7 @@ | ||
| 625 | 625 | "Automatically select a background based on the chat context": "Автоматический выбор фона в зависимости от контекста чата", |
| 626 | 626 | "Filter": "Фильтр", |
| 627 | 627 | "Exclude message from prompts": "Исключить сообщение из промпта", |
| 628 | 628 | "Include message in prompts": "Включить сообщение в подсказкипромпт", |
| 629 | 629 | "Create checkpoint": "Создать чекпоинт", |
| 630 | 630 | "Create Branch": "Создать ветку", |
| 631 | 631 | "Embed file or image": "Вставить файл или изображение", |
| @@ -732,8 +732,6 @@ | ||
| 732 | 732 | "Context Size": "По размеру контекста", |
| 733 | 733 | "Group by vendors": "Сгруппировать по владельцу", |
| 734 | 734 | "Group by vendors Description": "Модели от OpenAI попадут в одну группу, от Anthropic - в другую, и т.д. Можно комбинировать с сортировкой.", |
| 735 | - "LEGACY": "УСТАР.", | |
| 736 | - "Force Instruct Mode formatting": "Включить форматирование для Instruct-режима", | |
| 737 | 735 | "Allow Jailbreak": "Разрешить джейлбрейк", |
| 738 | 736 | "System Prompt Wrapping": "Обрамление для системного промпта", |
| 739 | 737 | "System Prompt Prefix": "Префикс системного промпта", |
| @@ -1270,8 +1268,6 @@ | ||
| 1270 | 1268 | "vLLM Model": "Модель vLLM", |
| 1271 | 1269 | "Aphrodite Model": "Модель Aphrodite", |
| 1272 | 1270 | "Peek a password": "Посмотреть пароль", |
| 1273 | - "openrouter_force_instruct": "This option is outdated and will be removed in the future. To use instruct formatting, please switch to OpenRouter under Text Completion API instead.", | |
| 1274 | - "Force_Instruct_Mode_formatting_Description": "If both Instruct Mode and this are enabled, the prompt will be formatted by SillyTavern using the current\n advanced formatting settings (except instruct System Prompt). If disabled, the prompt will be formatted by OpenRouter.", | |
| 1275 | 1271 | "Clear your cookie": "Clear your cookie", |
| 1276 | 1272 | "Add Chat Start and Example Separator to a list of stopping strings.": "Использовать Начало чата и Разделитель примеров сообщений в качестве стоп-строк.", |
| 1277 | 1273 | "context_allow_jailbreak": "Если в карточке есть джейлбрейк И ПРИ ЭТОМ включена опция \"Приоритет джейлбрейку из карточки персонажа\", то этот джейлбрейк добавляется в конец промпта.\nНЕ РЕКОМЕНДУЕТСЯ ДЛЯ МОДЕЛЕЙ TEXT COMPLETION, МОЖЕТ ПОРТИТЬ ВЫХОДНОЙ ТЕКСТ.", |
| @@ -1661,5 +1657,52 @@ | ||
| 1661 | 1657 | "ext_regex_ai_output_desc": "Сообщения, полученные от API", |
| 1662 | 1658 | "ext_regex_sts_desc": "Сообщения, отправленные с помощью команд STscript", |
| 1663 | 1659 | "ext_regex_wi_desc": "Содержимое лорбуков и миров. Для работы требует включения флажка \"Только промпт\"!", |
| 1664 | 1660 | "ext_regex_only_format_display_desc": "История чата не изменится, замена будет осуществляться только в отображаемом сообщении (в UI)", |
| 1661 | + "Prefer Character Card Instructions": "Приоритет инструкциям из карточек", | |
| 1662 | + "If checked and the character card contains a Post-History Instructions override, use that instead": "Если в карточке персонажа имеется собственная инструкция после истории, в промпт попадёт именно она", | |
| 1663 | + "Auto-select Input Text": "Автовыделение вводимого текста", | |
| 1664 | + "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.": "Автоматически выделять вводимый текст в некоторых текстовых полях при клике/выборе. Работает для вспл. окон и различных кастомных полей ввода.", | |
| 1665 | + "Reset MovingUI panel sizes/locations.": "Сбросить расположение и размеры панелей MovingUI.", | |
| 1666 | + "mui_reset": "Сброс", | |
| 1667 | + "Quick 'Impersonate' button": "Быстрое перевоплощение", | |
| 1668 | + "Show a button in the input area to ask the AI to impersonate your character for a single message": "Показать в поле ввода кнопку, по нажатии на которую ИИ сгенерирует одно сообщение от лица вашего персонажа.", | |
| 1669 | + "Separators as Stop Strings": "Разделители как стоп-строки", | |
| 1670 | + "Names as Stop Strings": "Имена как стоп-строки", | |
| 1671 | + "Add Character and User names to a list of stopping strings.": "Добавлять имена персонажа и пользователя в список стоп-строк.", | |
| 1672 | + "Allow Post-History Instructions": "Разрешить инструкции после истории", | |
| 1673 | + "context_allow_post_history_instructions": "Добавлять в конец промпта инструкции после истории. Работает только при наличии таких инструкций в карточке И при включенной опции ''Приоритет инструкциям из карточек''.\nНЕ РЕКОМЕНДУЕТСЯ ДЛЯ МОДЕЛЕЙ TEXT COMPLETION, МОЖЕТ ПОРТИТЬ ВЫХОДНОЙ ТЕКСТ.", | |
| 1674 | + "First User Prefix": "Первый префикс пользователя", | |
| 1675 | + "Inserted before the first User's message.": "Вставляется перед первым сообщением пользователя.", | |
| 1676 | + "Last User Prefix": "Последний префикс пользователя", | |
| 1677 | + "instruct_last_input_sequence": "Вставляется перед последним сообщением пользователя.", | |
| 1678 | + "Inserted before a User message and as a last prompt line when impersonating.": "Вставляется перед сообщением пользователя в качестве последней строки промпта при перевоплощении.", | |
| 1679 | + "Inserted before a System (added by slash commands or extensions) message.": "Вставляется перед сообщением системы (может быть добавлено слэш-командой или расширением).", | |
| 1680 | + "Load Asset List": "Загрузить список ресурсов", | |
| 1681 | + "Never add character names.": "Не вставлять имя персонажа.", | |
| 1682 | + "Don't add character names unless necessary.": "Вставлять имя персонажа только когда это необходимо.", | |
| 1683 | + "character_names_none": "Не добавлять имена персонажей в качестве префикса. Может повредить качеству ответов в групповых чатах, используйте с осторожностью.", | |
| 1684 | + "Auxiliary": "Вспомогательный", | |
| 1685 | + "Post-History Instructions": "Инструкции после истории", | |
| 1686 | + "Current persona updated": "Текущая персона изменена", | |
| 1687 | + "Your messages will now be sent as ${0}": "Ваши сообщения будут отправляться от лица ${0}", | |
| 1688 | + "Copied!": "Скопировано!", | |
| 1689 | + "Are you sure you want to delete this message?": "Вы точно хотите удалить это сообщение?", | |
| 1690 | + "Delete Message": "Удалить сообщение", | |
| 1691 | + "Delete Swipe": "Удалить свайп", | |
| 1692 | + "Could not get a reply from API. Check your connection settings / API key and try again.": "Не удалось получить ответ от API. Проверьте настройки соединения и API-ключ и повторите попытку.", | |
| 1693 | + "Connecting To Proxy": "Подключение к прокси", | |
| 1694 | + "Are you sure you want to connect to the following proxy URL?": "Вы точно хотите соединиться с прокси по этому адресу?", | |
| 1695 | + "API connection successful!": "Соединение с API установлено!", | |
| 1696 | + "Proxy Saved": "Прокси сохранена", | |
| 1697 | + "Proxy Deleted": "Прокси удалена", | |
| 1698 | + "Could not find proxy with name '${0}'": "Не удалось найти прокси с названием '${0}'", | |
| 1699 | + "Proxy preset '${0}' not found in proxies array.": "Пресет с названием '${0}' не найден в списке прокси.", | |
| 1700 | + "Please wait for the previous request to complete.": "Пожалуйста, дождитесь окончания обработки предыдущего запроса.", | |
| 1701 | + "Start new chat?": "Начать новый чат?", | |
| 1702 | + "If necessary, you can later restore this chat file from the /backups folder": "При необходимости этот чат можно будет восстановить из папки /backups", | |
| 1703 | + "Also delete the current chat file": "Также удалить текущий чат", | |
| 1704 | + "chat_rename_1": "Введите новое имя чата:", | |
| 1705 | + "chat_rename_2": "!!Не используйте имя уже существующего файла, это приведёт к ошибке!!", | |
| 1706 | + "chat_rename_3": "Будут разрушены связи между чатами-чекпоинтами.", | |
| 1707 | + "chat_rename_4": "Расширение '.jsonl' дописывать не нужно." | |
| 1665 | 1708 | } |
| @@ -32,7 +32,7 @@ | ||
| 32 | 32 | "Streaming_desc": "Поступово відображати відповідь по мірі її створення", |
| 33 | 33 | "context size(tokens)": "Контекст (токени)", |
| 34 | 34 | "unlocked": "Розблоковано", |
| 35 | 35 | "Only enable this if your model supports context sizes greater than 40968192 tokens": "Увімкніть це лише в разі підтримки моделлю розмірів контексту більше 40968192 токенів", |
| 36 | 36 | "Max prompt cost:": "Максимальна оперативна вартість:", |
| 37 | 37 | "Display the response bit by bit as it is generated.": "Показувати відповідь по бітах по мірі її генерації.", |
| 38 | 38 | "When this is off, responses will be displayed all at once when they are complete.": "Коли це вимкнено, відповіді будуть відображатися разом, коли вони будуть завершені.", |
| @@ -381,10 +381,6 @@ | ||
| 381 | 381 | "Group by vendors Description": "Помістіть моделі OpenAI в одну групу, моделі Anthropic в іншу групу тощо. Можна поєднати з сортуванням.", |
| 382 | 382 | "Allow fallback routes": "Дозволити резервні маршрути", |
| 383 | 383 | "Allow fallback routes Description": "Автоматично вибирає альтернативну модель, якщо вибрана модель не може задовольнити ваш запит.", |
| 384 | - "openrouter_force_instruct": "Цей параметр застарів і буде видалено в майбутньому. Щоб використовувати форматування інструкцій, перейдіть натомість до OpenRouter у розділі Text Completion API.", | |
| 385 | - "LEGACY": "СПАДОК", | |
| 386 | - "Force Instruct Mode formatting": "Примусове форматування в режимі вказівок", | |
| 387 | - "Force_Instruct_Mode_formatting_Description": "Якщо ввімкнути обидва режими Instruction і цей режим, підказка буде відформатована SillyTavern за допомогою поточного\n розширені параметри форматування (крім системного запиту). Якщо вимкнено, запит буде відформатовано OpenRouter.", | |
| 388 | 384 | "Scale API Key": "Ключ API для Scale", |
| 389 | 385 | "Clear your cookie": "Очистіть файл cookie", |
| 390 | 386 | "Alt Method": "Альтернативний метод", |
| @@ -1,132 +1,132 @@ | ||
| 1 | 1 | { |
| 2 | 2 | "Favorite": "Yêu thích", |
| 3 | 3 | "Tag": "NhãnTừ khóa", |
| 4 | 4 | "Duplicate": "Nhân bảnđôi", |
| 5 | 5 | "Persona": "nhânNhân cách", |
| 6 | 6 | "Delete": "Xóa", |
| 7 | 7 | "AI Response Configuration": "Cấu hìnhSetting Phản hồi của AI", |
| 8 | 8 | "AI Configuration panel will stay open": "Bảng cấu hìnhSetting AI sẽ luôn được mở", |
| 9 | 9 | "clickslidertips": "Nhấp vào thanh trượt để nhập giá trị bằng tay.", |
| 10 | 10 | "MAD LAB MODE ON": "CHẾ ĐỘ PHÒNG THÍ NGHIỆM ĐIÊN RỒ ĐANG BẬT", |
| 11 | 11 | "Documentation on sampling parameters": "Tài liệu về các tham số lấy mẫu", |
| 12 | 12 | "kobldpresets": "Cài đặt trước Kobold", |
| 13 | 13 | "guikoboldaisettings": "Cài đặt giao diện KoboldAI", |
| 14 | 14 | "Update current preset": "Cập nhật thiết lập hiện tại", |
| 15 | 15 | "Save preset as": "Lưu cài đặt trước dưới dạng", |
| 16 | 16 | "Import preset": "Nhập thiết lậppreset", |
| 17 | 17 | "Export preset": "Xuất thiết lậppreset", |
| 18 | 18 | "Restore current preset": "Khôi phục cài đặt hiện tại", |
| 19 | 19 | "Delete the preset": "Xóa thiết lậppreset", |
| 20 | 20 | "novelaipresets": "Cài đặt trước NovelAI presets", |
| 21 | 21 | "Default": "Mặc định", |
| 22 | 22 | "openaipresets": "Cài đặt trước OpenAI presets", |
| 23 | 23 | "Text Completion presets": "Cài đặt hoànPreset thiệncho vănText bảnCompletion", |
| 24 | 24 | "AI Module": "Mô-đun Trí tuệ Nhân tạoAI", |
| 25 | 25 | "Changes the style of the generated text.": "Thay đổi kiểu của văn bản được tạo ra.", |
| 26 | 26 | "No Module": "Không có mô-đun", |
| 27 | 27 | "Instruct": "DạyInstruct", |
| 28 | 28 | "Prose Augmenter": "Trình tăngGia cườngtố văn xuôi", |
| 29 | 29 | "Text Adventure": "Cuộc phiêuPhiêu lưu văn bản", |
| 30 | 30 | "response legth(tokens)": "Độ dài của văn phản hồi (trong các token)", |
| 31 | 31 | "Streaming": "Phát trực tuyếntiếp", |
| 32 | 32 | "Streaming_desc": "Hiển thị văn phản hồi kí tự từng chút một khi nó được tạo ra.", |
| 33 | 33 | "context size(tokens)": "Kích thước ngữcỡ cảnhContext (trong các token)", |
| 34 | 34 | "unlocked": "Đã mở", |
| 35 | 35 | "Only enable this if your model supports context sizes greater than 4096 tokens": "Chỉ bật tính năng này nếu môAI hìnhmodel của bạn hỗ trợ kích thước ngữContext cảnhsize lớn hơn 4096 token.", |
| 36 | 36 | "Max prompt cost:": "Chi phí nhanhcho chóngprompt tối đa:", |
| 37 | 37 | "Display the response bit by bit as it is generated.": "Hiển thị phản hồi từngtừ phầntừ khi nó được tạo ra.", |
| 38 | 38 | "When this is off, responses will be displayed all at once when they are complete.": "Khi chứctắt tính năng này tắt, các phản hồi sẽ được hiển thị mộtcùng lầnlúc khi chúng hoàn thành.", |
| 39 | 39 | "Temperature": "Nhiệt độĐộ (Temperature)", |
| 40 | 40 | "rep.pen": "Trừ phạt tái phátrep.pen", |
| 41 | 41 | "Rep. Pen. Range.": "Phạm vi PhạtRep. lặpPen. lạiRange.", |
| 42 | 42 | "Rep. Pen. Slope": "Góc Khuếch đạiRep. BútPen. phạtSlope", |
| 43 | 43 | "Rep. Pen. Freq.": "Tần suất PhạtRep. lặpPen. lạiFreq.", |
| 44 | 44 | "Rep. Pen. Presence": "Sự hiện diện PhạtRep. lặpPen. lạiPresence", |
| 45 | 45 | "TFS": "TFS", |
| 46 | 46 | "Phrase Repetition Penalty": "Phạt Lặp LạiPhrase CụmRepetition từPenalty", |
| 47 | 47 | "Off": "Tắt", |
| 48 | 48 | "Very light": "Rất nhẹ", |
| 49 | 49 | "Light": "Nhẹ", |
| 50 | 50 | "Medium": "Trung bình", |
| 51 | 51 | "Aggressive": "Quyết đoán", |
| 52 | 52 | "Very aggressive": "Rất quyết đoán", |
| 53 | 53 | "Unlocked Context Size": "Kích thước ngữ cảnhcontext đã mở khóa", |
| 54 | 54 | "Unrestricted maximum value for the context slider": "Giá trị tối đa không giới hạn cho thanh trượt ngữ cảnhcontext", |
| 55 | 55 | "Context Size (tokens)": "Kích thước Ngữ cảnhcontext (token)", |
| 56 | 56 | "Max Response Length (tokens)": "Độ dài Tối đaphản củahồi Phảntối hồiđa (token)", |
| 57 | 57 | "Multiple swipes per generation": "NhiềuVuốt nhiều lần vuốttrong mỗimột thếlần hệtạo", |
| 58 | 58 | "Enable OpenAI completion streaming": "Bật luồng hoàn thànhstreaming của OpenAI", |
| 59 | 59 | "Enable Cohere web-search connector": "Bật trình kết nốiweb tìm kiếm webcủa Cohere", |
| 60 | 60 | "Web-search": "Tìm kiếm trên web", |
| 61 | 61 | "Allow the model to use the web-search connector.": "Cho phép mô hìnhmodel sử dụng trình kết nối tìm kiếm trên web.", |
| 62 | 62 | "Frequency Penalty": "Phạt TầnFrequency sốPenalty", |
| 63 | 63 | "Presence Penalty": "Phạt SựPresence hiệnPenalty", |
| 64 | 64 | "Count Penalty": "Tính hìnhCount phạtPenalty", |
| 65 | 65 | "Top K": "Top K", |
| 66 | 66 | "Top P": "Top P", |
| 67 | 67 | "Repetition Penalty": "Phạt lặpRepetition lạiPenalty", |
| 68 | 68 | "Min P": "tối thiểuMin P", |
| 69 | 69 | "Top A": "Top A", |
| 70 | 70 | "Quick Prompts Edit": "Chỉnh sửa nhanh lời mờiprompt", |
| 71 | 71 | "Main": "Chính", |
| 72 | 72 | "NSFW": "NSFW", |
| 73 | 73 | "Jailbreak": "Phá vỡBẻ giamkhóa giữ(Jailbreak)", |
| 74 | 74 | "Utility Prompts": "LờiTiện mờiích tiệncho íchprompt", |
| 75 | 75 | "Impersonation prompt": "LờiGiả nhắcdanh Giảvăn mạothoại", |
| 76 | 76 | "Restore default prompt": "Khôi phục lờilại nhắcprompt mặc định", |
| 77 | 77 | "Prompt that is used for Impersonation function": "Lời nhắcPrompt được sử dụng cho chứctính năng Giả mạodanh", |
| 78 | 78 | "World Info Format Template": "Mẫu định dạng Thông tincho thếWorld giớiInfo", |
| 79 | 79 | "Restore default format": "Khôi phục định dạng mặc định", |
| 80 | 80 | "Wraps activated World Info entries before inserting into the prompt.": "Bao bọc các mục Thông tin thếWorld giớiInfo đã kích hoạt trước khi chèn vào lời nhắcPrompt.", |
| 81 | 81 | "scenario_format_template_part_1": "Sử dụng", |
| 82 | 82 | "scenario_format_template_part_2": "để đánh dấu nơi chèn nội dung.", |
| 83 | 83 | "Scenario Format Template": "Mẫu định dạng kịch bản", |
| 84 | 84 | "Personality Format Template": "Mẫu cho định dạng cáNhân tínhcách", |
| 85 | 85 | "Group Nudge Prompt Template": "Mẫu lờicho nhắcPrompt của Nhóm", |
| 86 | 86 | "Sent at the end of the group chat history to force reply from a specific character.": "Được gửichèn vào cuối lịch sử trò chuyện nhóm để buộc một nhân vật cụ thể phải trả lờiđáp.", |
| 87 | 87 | "New Chat": "Cuộc trò truyện mới", |
| 88 | 88 | "Restore new chat prompt": "Khôi phục lờiPrompt nhắccho trò chuyện mới", |
| 89 | 89 | "Set at the beginning of the chat history to indicate that a new chat is about to start.": "ĐặtĐược đặt ở đầu lịch sử trò chuyện để cho biết một cuộc trò chuyện mới sắp bắt đầu.", |
| 90 | 90 | "New Group Chat": "Trò chuyện nhóm mới", |
| 91 | 91 | "Restore new group chat prompt": "Khôi phục lời nhắcPrompt mặc định", |
| 92 | 92 | "Set at the beginning of the chat history to indicate that a new group chat is about to start.": "Đặt ở đầu lịch sử trò chuyện để cho biết cuộc trò chuyện nhóm mới sắp bắt đầu.", |
| 93 | 93 | "New Example Chat": "TròMẫu chuyệntrò mẫuchuyện mới", |
| 94 | 94 | "Set at the beginning of Dialogue examples to indicate that a new example chat is about to start.": "Đặt ở đầu Ví dụ hội thoại để cho biết rằng một cuộc trò chuyện mẫu mới sắp bắt đầu.", |
| 95 | 95 | "Continue nudge": "Tiếp tục dithúc chuyểngiục", |
| 96 | 96 | "Set at the end of the chat history when the continue button is pressed.": "Đặt ở cuối lịch sử trò chuyện khi nhấn nút tiếp tục.", |
| 97 | 97 | "Replace empty message": "Thay thế tinvăn nhắnbản trống", |
| 98 | 98 | "Send this text instead of nothing when the text box is empty.": "Gửi văn bản này thay vì không có gì khi ô văn bản đang bị trống.", |
| 99 | 99 | "Seed": "Hạt giống (Seed)", |
| 100 | 100 | "Set to get deterministic results. Use -1 for random seed.": "Đặt để có được kết quả xác định. Sử dụng -1 cho hạt giống (seed) ngẫu nhiên.", |
| 101 | 101 | "Temperature controls the randomness in token selection": "Nhiệt độ (Temp) điều chỉnh sự ngẫu nhiên trong việc chọn token:\n- Nhiệt độ thấp (<1.0) dẫn đến văn bản dự đoán hơn, với ưu tiên cho các token có xác suất cao.\n- Nhiệt độ cao (>1.0) tăng tính sáng tạo và đa dạng của đầu ra, với nhiều cơ hội cho các token có xác suất thấp hơn.\nThiết lập giá trị 1.0 cho xác suất gốc.", |
| 102 | 102 | "Top_K_desc": "Top K đặt một giá trị tối đa cho số lượng token hàng đầu có thể được chọn từ đó.", |
| 103 | 103 | "Top_P_desc": "Top P (còn được gọi là mẫu hạt nhân) kết hợp tất cả các token hàng đầu cần thiết để đạt được một phần trăm nhất định.\nNói cách khác, nếu các token hàng đầu 2 đại diện cho 25%, và Top-P bằng 0.50, chỉ có hai token hàng đầu này được xem xét.\nThiết lập giá trị 1.0 để vô hiệu hóa.", |
| 104 | 104 | "Typical P": "P điểnTypical hìnhP", |
| 105 | 105 | "Typical_P_desc": "Mẫu P điển hình ưu tiên các token dựa trên sự sai lệch của chúng so với năng lượng cân bằng trung bình của tập hợp.\nCác token có xác suất tích lũy gần với ngưỡng được chỉ định (ví dụ: 0.5) được giữ lại, phân biệt chúng khỏi những token có thông tin trung bình.\nThiết lập giá trị 1.0 để vô hiệu hóa.", |
| 106 | 106 | "Min_P_desc": "Min P đặt một xác suất tối thiểu cơ bản. Nó được tinh chỉnh dựa trên xác suất token hàng đầu.\nNếu xác suất của token hàng đầu là 80%, và Min P là 0.1, chỉ có token với xác suất cao hơn 8% được xem xét.\nThiết lập giá trị 0 để vô hiệu hóa.", |
| 107 | 107 | "Top_A_desc": "Top A đặt một ngưỡng cho việc chọn token dựa trên bình phương của xác suất token cao nhất.\nNếu Top A là 0.2, và xác suất của token hàng đầu là 50%, các token có xác suất dưới 5% sẽ bị loại bỏ (0.2 * 0.5^2).\nThiết lập giá trị 0 để vô hiệu hóa.", |
| 108 | 108 | "Tail_Free_Sampling_desc": "Mẫu không đuôi (TFS) tìm kiếm đuôi của token với xác suất nhỏ trong phân phối,\n thông qua phân tích tốc độ thay đổi xác suất token bằng cách sử dụng đạo hàm. Các token được giữ lại đến ngưỡng (ví dụ: 0.3), dựa trên đạo hàm hai lần thống nhất.\nMỗi khi tiến về 0, số lượng token bị loại bỏ tăng lên. Thiết lập giá trị 1.0 để vô hiệu hóa.", |
| 109 | 109 | "rep.pen range": "Phạm vi trừ phạt tái phát", |
| 110 | 110 | "Mirostat": "Máy điều hòa nhiệt độMirostat", |
| 111 | 111 | "Mode": "Cách thứcMode", |
| 112 | 112 | "Mirostat_Mode_desc": "Giá trị 0 sẽ vô hiệu hóa hoàn toàn Mirostat. 1 dành cho Mirostat 1.0 và 2 dành cho Mirostat 2.0", |
| 113 | 113 | "Tau": "TàuTau", |
| 114 | 114 | "Mirostat_Tau_desc": "Kiểm soát sự thay đổi của đầu ra Mirostat", |
| 115 | 115 | "Eta": "eta", |
| 116 | 116 | "Mirostat_Eta_desc": "Kiểm soát tốc độ học tập của Mirostat", |
| 117 | 117 | "Ban EOS Token": "Cấm EOS Token", |
| 118 | 118 | "Ban_EOS_Token_desc": "Cấm mã thông báo Cuối chuỗi (EOS) với KoboldCpp (và có thể cả các mã thông báo khác có KoboldAI).\rTốt cho việc viết truyện, nhưng không nên dùng cho chế độ trò chuyện và hướng dẫn.", |
| 119 | 119 | "GBNF Grammar": "Ngữ pháp GBNF Grammar", |
| 120 | 120 | "Type in the desired custom grammar": "Nhập vào cú pháp tùy chỉnh mong muốn", |
| 121 | 121 | "Samplers Order": "Thứ tự Bộ lấy mẫu", |
| 122 | 122 | "Samplers will be applied in a top-down order. Use with caution.": "Các bộ lấy mẫu sẽ được áp dụng theo thứ tự từ trên xuống. Sử dụng cẩn thận.", |
| 123 | 123 | "Tail Free Sampling": "Mẫu Không đuôi", |
| 124 | 124 | "Load koboldcpp order": "Tải đơn hàng koboldcpp", |
| 125 | 125 | "Preamble": "Lời giới thiệuPreamble", |
| 126 | 126 | "Use style tags to modify the writing style of the output.": "Sử dụng thẻ kiểutags để sửa đổi kiểu viết của đầu ra.", |
| 127 | 127 | "Banned Tokens": "Các Tokentoken Bị Cấmban", |
| 128 | 128 | "Sequences you don't want to appear in the output. One per line.": "Các chuỗi bạn không muốn xuất hiện trong kết quả. Một dòng mỗi chuỗi.", |
| 129 | 129 | "Logit Bias": "Sự thiên vị Logit Bias", |
| 130 | 130 | "Add": "Thêm", |
| 131 | 131 | "Helps to ban or reenforce the usage of certain words": "Giúp cấm hoặc củng cố việc sử dụng một số từ", |
| 132 | 132 | "CFG Scale": "Tỷ lệ CFG", |
| @@ -134,8 +134,8 @@ | ||
| 134 | 134 | "Add text here that would make the AI generate things you don't want in your outputs.": "Thêm văn bản ở đây sẽ khiến trí tuệ nhân tạo tạo ra những điều bạn không muốn trong đầu ra của mình.", |
| 135 | 135 | "Used if CFG Scale is unset globally, per chat or character": "Sử dụng nếu CFG Scale không được thiết lập toàn cầu, mỗi cuộc trò chuyện hoặc mỗi ký tự.", |
| 136 | 136 | "Mirostat Tau": "Mirostat Tau", |
| 137 | 137 | "Mirostat LR": "Máy điều hòaMirostat LR", |
| 138 | 138 | "Min Length": "Độ dài tốiMin thiểuLength", |
| 139 | 139 | "Top K Sampling": "Mẫu Top K", |
| 140 | 140 | "Nucleus Sampling": "Mẫu hạt nhân", |
| 141 | 141 | "Top A Sampling": "Mẫu Top A", |
| @@ -162,218 +162,218 @@ | ||
| 162 | 162 | "DRY_Multiplier_desc": "Đặt thành giá trị > 0 để bật DRY. Kiểm soát mức độ hình phạt đối với các chuỗi hình phạt ngắn nhất.", |
| 163 | 163 | "Multiplier": "Số nhân", |
| 164 | 164 | "DRY_Base_desc": "Kiểm soát tốc độ tăng của hình phạt khi tăng độ dài chuỗi.", |
| 165 | 165 | "Base": "Căn cứBase", |
| 166 | 166 | "DRY_Allowed_Length_desc": "Trình tự dài nhất có thể được lặp lại mà không bị phạt.", |
| 167 | 167 | "Allowed Length": "Độ dài choAllowed phépLength", |
| 168 | 168 | "Penalty Range": "Phạm vi phạtPenalty đềnRange", |
| 169 | 169 | "DRY_Sequence_Breakers_desc": "Các mã thông báo mà việc khớp trình tự không được tiếp tục. Được chỉ định dưới dạng danh sách các chuỗi được trích dẫn được phân tách bằng dấu phẩy.", |
| 170 | 170 | "Sequence Breakers": "Bộ ngắt trình tự", |
| 171 | 171 | "JSON-serialized array of strings.": "Mảng chuỗi được tuần tự hóa JSON.", |
| 172 | 172 | "Dynamic Temperature": "Nhiệt độDynamic độngTemperature", |
| 173 | 173 | "Scale Temperature dynamically per token, based on the variation of probabilities": "Nhiệt độ tỷ lệ động cho mỗi token, dựa trên sự biến đổi của xác suất.", |
| 174 | 174 | "Minimum Temp": "Nhiệt độ Tối thiểu", |
| 175 | 175 | "Maximum Temp": "Nhiệt độ Tối đa", |
| 176 | 176 | "Exponent": "Số mũExponent", |
| 177 | 177 | "Mirostat (mode=1 is only for llama.cpp)": "Mirostat (chế độ=1 chỉ dành cho llama.cpp)", |
| 178 | 178 | "Mirostat_desc": "Mirostat là một bộ điều chỉnh nhiệt cho sự phức tạp của đầu ra.", |
| 179 | 179 | "Mirostat Mode": "Chế độ Mirostat", |
| 180 | 180 | "Variability parameter for Mirostat outputs": "Tham số biến đổi cho đầu ra của Mirostat.", |
| 181 | 181 | "Mirostat Eta": "Mirostat Eta", |
| 182 | 182 | "Learning rate of Mirostat": "Tốc độLearning họcrate củaof Mirostat.", |
| 183 | 183 | "Beam search": "Tìm kiếm Beam search", |
| 184 | 184 | "Helpful tip coming soon.": "Lời khuyên hữu ích sắp ra mắt.", |
| 185 | 185 | "Number of Beams": "Số Lượng Beam", |
| 186 | 186 | "Length Penalty": "Phạt ĐộLength dàiPenalty", |
| 187 | 187 | "Early Stopping": "Dừng Sớm", |
| 188 | 188 | "Contrastive search": "Tìm kiếm TráiContrastive ngượcsearch", |
| 189 | 189 | "Penalty Alpha": "AlphaPenalty PhạtAlpha", |
| 190 | 190 | "Strength of the Contrastive Search regularization term. Set to 0 to disable CS": "Độ mạnh của thuật ngữ điều chỉnh Tìm kiếm Trái ngược. Đặt thành 0 để vô hiệu hóa CS.", |
| 191 | 191 | "Do Sample": "Lấy mẫuSample", |
| 192 | 192 | "Add BOS Token": "Thêm BOS Token", |
| 193 | 193 | "Add the bos_token to the beginning of prompts. Disabling this can make the replies more creative": "Thêm bos_token vào đầu câu hỏi. Vô hiệu hóa điều này có thể làm cho các câu trả lời sáng tạo hơn", |
| 194 | 194 | "Ban the eos_token. This forces the model to never end the generation prematurely": "Cấm eos_token. Điều này buộc mô hình không bao giờ kết thúc quá trình sinh ra trước khi cần thiết", |
| 195 | 195 | "Ignore EOS Token": "Bỏ qua mã thông báo EOS", |
| 196 | 196 | "Ignore the EOS Token even if it generates.": "Bỏ qua EOS Token ngay cả khi nó được tạo ra.", |
| 197 | 197 | "Skip Special Tokens": "Bỏ qua Các Token Đặc biệt", |
| 198 | 198 | "Temperature Last": "Nhiệt độ CuốiTemperature cùngLast", |
| 199 | 199 | "Temperature_Last_desc": "Sử dụng bộ lấy mẫu nhiệt độTemperature cuối cùng. Thường là hợp lý.\nKhi bật: Một nhóm các token tiềm năng được chọn trước tiên, sau đó nhiệt độ được áp dụng để hiệu chỉnh xác suất tương đối của chúng (kỹ thuật, logits).\nKhi vô hiệu hóa: Nhiệt độ được áp dụng trước tiên để hiệu chỉnh xác suất tương đối của từng token, sau đó một nhóm các token tiềm năng được chọn từ đó.\nVô hiệu hóa nhiệt độ cuối cùng.", |
| 200 | 200 | "Speculative Ngram": "Ngram đầuSpeculative cơNgram", |
| 201 | 201 | "Use a different speculative decoding method without a draft model": "Sử dụng phương pháp giải mã suy đoán khác mà không cần mô hình phác thảo.\rƯu tiên sử dụng mô hình dự thảo. Ngram đầu cơ không hiệu quả bằng.", |
| 202 | 202 | "Spaces Between Special Tokens": "Khoảng cách giữa các mã thông báo đặc biệt", |
| 203 | 203 | "LLaMA / Mistral / Yi models only": "Chỉ áp dụng cho các mô hình LLaMA / Mistral / Yi. Hãy chắc chắn chọn bộ phân tích đúng trước.\nChuỗi phải không xuất hiện trong kết quả.\nMỗi dòng chỉ một chuỗi. Văn bản hoặc [nhận diện của token].\nNhiều token bắt đầu bằng dấu cách. Sử dụng bộ đếm token nếu bạn không chắc chắn.", |
| 204 | 204 | "Example: some text [42, 69, 1337]": "Ví dụ:\nmột số văn bản\n[42, 69, 1337]", |
| 205 | 205 | "Classifier Free Guidance. More helpful tip coming soon": "Hướng dẫn không cần Bộ phân loại. Mẹo hữu ích hơn sẽ được cập nhật sớm.", |
| 206 | 206 | "Scale": "Tỷ lệ", |
| 207 | 207 | "JSON Schema": "Lược đồ JSON Schema", |
| 208 | 208 | "Type in the desired JSON schema": "Nhập lược đồ JSON schema mong muốn", |
| 209 | 209 | "Grammar String": "Chuỗi ngữ pháp", |
| 210 | 210 | "GBNF or EBNF, depends on the backend in use. If you're using this you should know which.": "GBNF hoặc EBNF, tùy thuộc vào backend đang sử dụng. Nếu bạn đang sử dụng cái này, bạn nên biết cái nào.", |
| 211 | 211 | "Top P & Min P": "P &Top P tối thiểu& hàngMin đầuP", |
| 212 | 212 | "Load default order": "Tải thứ tự mặc định", |
| 213 | 213 | "llama.cpp only. Determines the order of samplers. If Mirostat mode is not 0, sampler order is ignored.": "chỉ llama.cpp. Xác định thứ tự lấy mẫu. Nếu chế độ Mirostat khác 0, thứ tự lấy mẫu sẽ bị bỏ qua.", |
| 214 | 214 | "Sampler Priority": "Ưu tiên Mẫusampler", |
| 215 | 215 | "Ooba only. Determines the order of samplers.": "Chỉ Ooba. Xác định thứ tự của các mẫusamplers.", |
| 216 | 216 | "Character Names Behavior": "TênCài nhânđặt vậttên Hànhnhân vivật", |
| 217 | 217 | "Helps the model to associate messages with characters.": "Giúp mô hình liên kết tin nhắn với các ký tự.", |
| 218 | 218 | "None": "Không", |
| 219 | 219 | "character_names_default": "Ngoại trừ các nhóm và cá tính trong quá khứ. Nếu không, hãy đảm bảo bạn cung cấp tên trong lời nhắcPrompt.", |
| 220 | 220 | "Don't add character names.": "Không thêm tên nhân vật.", |
| 221 | 221 | "Completion": "Đối tượng hoànHoàn thành", |
| 222 | 222 | "character_names_completion": "Áp dụng hạn chế: chỉ chữ và số Latinh và dấu gạch dưới. Không hoạt động với tất cả các nguồn, đặc biệt là: Claude, MistralAI, Google.", |
| 223 | 223 | "Add character names to completion objects.": "Thêm tên nhân vật vào các đối tượng hoàncompletion thànhobjects.", |
| 224 | 224 | "Message Content": "Nội dung tin nhắn", |
| 225 | 225 | "Prepend character names to message contents.": "Thêm tên ký tự vào nội dung tin nhắn.", |
| 226 | 226 | "Continue Postfix": "Tiếp tục hậu tốPrefix", |
| 227 | 227 | "The next chunk of the continued message will be appended using this as a separator.": "Đoạn tiếp theo của tin nhắn tiếp theo sẽ được thêm vào bằng cách sử dụng đoạn này làm dấu phân cách.", |
| 228 | 228 | "Space": "Không gian", |
| 229 | 229 | "Newline": "Dòng mới", |
| 230 | 230 | "Double Newline": "Dòng mới đôikép", |
| 231 | 231 | "Wrap user messages in quotes before sending": "Bao góiCho tin nhắn của người dùng trong dấu ngoặc kép trước khi gửi", |
| 232 | 232 | "Wrap in Quotes": "BọcCho vào trong dấu ngoặc", |
| 233 | 233 | "Wrap entire user message in quotes before sending.": "BọcCho toàn bộ tin nhắn của người dùng trong dấu ngoặc kép trước khi gửi.", |
| 234 | 234 | "Leave off if you use quotes manually for speech.": "Bỏ điqua nếu bạn sử dụng dấu ngoặc bằng taykép cho phầnlời nói.", |
| 235 | 235 | "Continue prefill": "Tiếp tục điền trướcPrefill", |
| 236 | 236 | "Continue sends the last message as assistant role instead of system message with instruction.": "Tiếp tục gửi tin nhắn cuối cùng dưới dạng vai trò trợ lýAssistant thay vì tin nhắnPrompt hệ thống với hướng dẫnInstruction.", |
| 237 | 237 | "Squash system messages": "Nén các tin nhắn văn bản hệ thống", |
| 238 | 238 | "Combines consecutive system messages into one (excluding example dialogues). May improve coherence for some models.": "Kết hợp các tin nhắn hệ thống liên tiếp thành một (loại bỏ các đoạn hội thoại mẫu). Có thể cải thiện tính nhất quán cho một số mô hìnhmodel.", |
| 239 | 239 | "Enable function calling": "KíchSử hoạtdụng tính năng gọi hàm (function calling)", |
| 240 | 240 | "Send inline images": "Gửi hình ảnh nội bộ", |
| 241 | 241 | "image_inlining_hint_1": "Gửi hình ảnh theo lời nhắcPrompt nếu kiểu máy hỗ trợ (ví dụ: GPT-4V, Claude 3 hoặc Llava 13B).\n Sử dụng", |
| 242 | 242 | "image_inlining_hint_2": "hành động đối với bất kỳ tin nhắn nào hoặc", |
| 243 | 243 | "image_inlining_hint_3": "menu để đính kèm tệp hình ảnh vào cuộc trò chuyện.", |
| 244 | 244 | "Inline Image Quality": "Chất lượng hình ảnh nội tuyến", |
| 245 | 245 | "openai_inline_image_quality_auto": "Tự động", |
| 246 | 246 | "openai_inline_image_quality_low": "Thấp", |
| 247 | 247 | "openai_inline_image_quality_high": "Cao", |
| 248 | 248 | "Use AI21 Tokenizer": "Sử dụngbộ mãTokenizer thông(bộ báotách từ) của AI21", |
| 249 | 249 | "Use the appropriate tokenizer for Jurassic models, which is more efficient than GPT's.": "Sử dụng mãbộ thôngtách báotừ thích hợp cho các mô hìnhModel kỷcủa JuraJurassic, hiệu quả hơn GPT.", |
| 250 | 250 | "Use Google Tokenizer": "Sử dụng bộ mã hóaTokenizer của Google", |
| 251 | 251 | "Use the appropriate tokenizer for Google models via their API. Slower prompt processing, but offers much more accurate token counting.": "Sử dụng bộ mãtách hóatừ phù hợp cho các mô hìnhmodel của Google thông qua API của họ. Xử lý lời mờiprompt chậm hơn, nhưng cung cấp đếm token chính xác hơn nhiều.", |
| 252 | 252 | "Use system prompt": "Sử dụng lời nhắcPrompt hệ thống", |
| 253 | 253 | "(Gemini 1.5 Pro/Flash only)": "(Chỉ cho Gemini 1.5 Pro/Flash)", |
| 254 | 254 | "Merges_all_system_messages_desc_1": "Hợp nhất tất cả các tin nhắn văn bản hệ thống cho đến tin nhắn đầu tiên có vai trò không thuộc hệ thống và gửi chúng theo cách", |
| 255 | 255 | "Merges_all_system_messages_desc_2": "cánh đồng.", |
| 256 | 256 | "Assistant Prefill": "Điền trước củaPrefill trợ lý", |
| 257 | 257 | "Start Claude's answer with...": "Bắt đầu câuClaude trả lời củabắt Claudeđầu vớibằng...", |
| 258 | 258 | "Assistant Impersonation Prefill": "ĐiềnPrefill trướccho mạo danh trợ lý", |
| 259 | 259 | "Use system prompt (Claude 2.1+ only)": "Sử dụng lời mờiprompt hệ thống (Chỉ áp dụng chotừ Claude 2.1+)", |
| 260 | 260 | "Send the system prompt for supported models. If disabled, the user message is added to the beginning of the prompt.": "Gửi lờiyêu mờicầu hệ thống cho các mô hìnhmodel được hỗ trợ. Nếu tắtbị vô hiệu hóa, tin nhắn của người dùng sẽ được thêm vào đầu lờiyêu mờicầu.", |
| 261 | 261 | "User first message": "Tin nhắn đầu tiên của người dùng", |
| 262 | 262 | "Restore User first message": "Khôi phục tin nhắn đầu tiên của người dùng", |
| 263 | 263 | "Human message": "Thông điệpPrompt, hướng dẫn của con ngườihuman, v.v.\nKhông thêm gì khi trống, tức là yêu cầu lời nhắcPrompt mới với vai trò 'người dùng'.", |
| 264 | 264 | "New preset": "Thiết lậpPreset mới", |
| 265 | 265 | "Delete preset": "Xóa thiết lậppreset", |
| 266 | 266 | "View / Edit bias preset": "Xem / Chỉnh sửa cài đặt thiên vị", |
| 267 | 267 | "Add bias entry": "Thêm mục thiên vị", |
| 268 | 268 | "Most tokens have a leading space.": "Hầu hết các token đều có khoảng trống ở đầu.", |
| 269 | 269 | "API Connections": "Kết nối API", |
| 270 | 270 | "Text Completion": "Hoàn thành vănText bảnCompletion", |
| 271 | 271 | "Chat Completion": "Hoàn thành tròChat chuyệnCompletion", |
| 272 | 272 | "NovelAI": "NovelAI", |
| 273 | 273 | "KoboldAI Horde": "Bầy KoboldAI Horde", |
| 274 | 274 | "KoboldAI": "KoboldAI", |
| 275 | 275 | "Avoid sending sensitive information to the Horde.": "Tránh gửi thông tin nhạy cảm cho Horde.", |
| 276 | 276 | "Review the Privacy statement": "Xem lại Tuyên bốChính Quyềnsách riêngbảo tưmật", |
| 277 | 277 | "Register a Horde account for faster queue times": "Đăng ký một tài khoản Horde để có thời gian chờxếp nhanhhàng ngắn hơn", |
| 278 | 278 | "Learn how to contribute your idle GPU cycles to the Horde": "HọcTìm hiểu cách đóng góp các chucông kỳsức GPU không hoạt động của bạn cho BầyHorde", |
| 279 | 279 | "Adjust context size to worker capabilities": "Điều chỉnh kích thước ngữ cảnhcontext cho phù hợp với khả năng của công nhân", |
| 280 | 280 | "Adjust response length to worker capabilities": "Điều chỉnh độ dài phản hồi cho phù hợp với khả năng của công nhân", |
| 281 | 281 | "Can help with bad responses by queueing only the approved workers. May slowdown the response time.": "Có thể giúp đỡ với các phản hồi không tốt bằng cách xếp hàng chỉ các nhân viên được phê duyệt. Có thể làm chậm lại thời gian phản hồi.", |
| 282 | 282 | "Trusted workers only": "Chỉ các nhân viên được tin cậy", |
| 283 | 283 | "API key": "KhóaKey API", |
| 284 | 284 | "Get it here:": "Nhận nó tại đây:", |
| 285 | 285 | "Register": "Đăng ký", |
| 286 | 286 | "View my Kudos": "Xem các phần Kudos của tôitui", |
| 287 | 287 | "Enter": "Nhập", |
| 288 | 288 | "to use anonymous mode.": "để sử dụng chế độ ẩn danh.", |
| 289 | 289 | "Clear your API key": "Xóa khóakey API của bạntui", |
| 290 | 290 | "For privacy reasons, your API key will be hidden after you reload the page.": "Vì lý do bảo mật, khóa API của bạn sẽ bị ẩn sau khi bạn tải lại trang.", |
| 291 | 291 | "Models": "Mô hìnhModel", |
| 292 | 292 | "Refresh models": "Làm mới các mô hìnhmodel", |
| 293 | 293 | "-- Horde models not loaded --": "-- Các mô hình Horde không được tải --", |
| 294 | 294 | "Not connected...": "Không kết nối...", |
| 295 | 295 | "API url": "URL API", |
| 296 | 296 | "Example: http://127.0.0.1:5000/api ": "Ví dụ: http://127.0.0.1:5000/api", |
| 297 | 297 | "Connect": "Kết nối", |
| 298 | 298 | "Cancel": "Hủy bỏ", |
| 299 | 299 | "Novel API key": "KhóaKey API NovelAI", |
| 300 | 300 | "Get your NovelAI API Key": "Nhận khóa API NovelAI của bạn", |
| 301 | 301 | "Enter it in the box below": "Nhập nó vào ô dưới đây", |
| 302 | 302 | "Novel AI Model": "Mô hìnhModel Novel AI", |
| 303 | 303 | "No connection...": "Không có kết nối...", |
| 304 | 304 | "API Type": "Loại API", |
| 305 | 305 | "Default (completions compatible)": "Mặc định [OpenAI/tương thích hoàn thành: oobabooga, LM Studio, v.v.]", |
| 306 | 306 | "TogetherAI API Key": "KhóaKey API TogetherAI", |
| 307 | 307 | "TogetherAI Model": "Mô hìnhModel TogetherAI", |
| 308 | 308 | "-- Connect to the API --": "-- Kết nối với API --", |
| 309 | 309 | "OpenRouter API Key": "KhóaKey API của OpenRouter", |
| 310 | 310 | "Click Authorize below or get the key from": "Nhấp vào Tác động dưới đây hoặc lấy khóaKey từ", |
| 311 | 311 | "View Remaining Credits": "Xem số dư còn lại", |
| 312 | 312 | "OpenRouter Model": "Mô hìnhModel OpenRouter", |
| 313 | 313 | "Model Providers": "Nhà cung cấp mô hìnhmodel", |
| 314 | 314 | "InfermaticAI API Key": "KhóaKey API InfermaticAI", |
| 315 | 315 | "InfermaticAI Model": "Mô hìnhModel InfermaticAI", |
| 316 | 316 | "DreamGen API key": "KhóaKey API DreamGen", |
| 317 | 317 | "DreamGen Model": "Model DreamGen", |
| 318 | 318 | "Mancer API key": "KhóaKey API của Mancer", |
| 319 | 319 | "Mancer Model": "Mô hìnhModel Mancer", |
| 320 | 320 | "Make sure you run it with": "Đảm bảo bạn chạy nó với nó", |
| 321 | 321 | "flag": "cờ", |
| 322 | 322 | "API key (optional)": "KhóaKey API (tùy chọn)", |
| 323 | 323 | "Server url": "URL máy chủ", |
| 324 | 324 | "Example: 127.0.0.1:5000": "Ví dụ: 127.0.0.1:5000", |
| 325 | 325 | "Custom model (optional)": "Mô hìnhModel tùy chỉnh (tùy chọn)", |
| 326 | 326 | "vllm-project/vllm": "vllm-project/vllm (Chế độ trình bao bọc API OpenAI)", |
| 327 | 327 | "vLLM API key": "KhóaKey API vLLM", |
| 328 | 328 | "Example: 127.0.0.1:8000": "Ví dụ: http://127.0.0.1:8000", |
| 329 | 329 | "vLLM Model": "Mô hìnhModel vLLM", |
| 330 | 330 | "PygmalionAI/aphrodite-engine": "PygmalionAI/aphrodite-engine (Chế độ đóng gói cho Giao diện lập trình ứng dụng OpenAI)", |
| 331 | 331 | "Aphrodite API key": "KhóaKey API Aphrodite", |
| 332 | 332 | "Aphrodite Model": "NgườiModdel Mẫucho Aphrodite", |
| 333 | 333 | "ggerganov/llama.cpp": "ggerganov/llama.cpp", |
| 334 | 334 | "Example: 127.0.0.1:8080": "Ví dụ: 127.0.0.1:8080", |
| 335 | 335 | "Example: 127.0.0.1:11434": "Ví dụ: 127.0.0.1:11434", |
| 336 | 336 | "Ollama Model": "Mô hìnhModel Ollama", |
| 337 | 337 | "Download": "Tải xuống", |
| 338 | 338 | "Tabby API key": "KhóaKey API Tabby", |
| 339 | 339 | "koboldcpp API key (optional)": "KhóaKey API koboldcpp (tùy chọn)", |
| 340 | 340 | "Example: 127.0.0.1:5001": "Ví dụ: 127.0.0.1:5001", |
| 341 | 341 | "AuthorizeCho phép": "Ủy quyền", |
| 342 | 342 | "Get your OpenRouter API token using OAuth flow. You will be redirected to openrouter.ai": "Nhận mã thông báo API OpenRouter của bạn bằng cách sử dụng luồng OAuth. Bạn sẽ được chuyển hướng đến openrouter.ai", |
| 343 | 343 | "Legacy API (pre-OAI, no streaming)": "API cũ (trước OAI, không có streaming)", |
| 344 | 344 | "Bypass status check": "Bỏ qua kiểm tracheck trạng thái", |
| 345 | 345 | "Chat Completion Source": "Nguồn Hoàn thànhcho TròChat chuyệnCompletion", |
| 346 | 346 | "Reverse Proxy": "Proxy ngược", |
| 347 | 347 | "Proxy Presets": "Cài đặt trướcPreset proxy", |
| 348 | 348 | "Saved addresses and passwords.": "Địa chỉLink và mật khẩu đã lưu.", |
| 349 | 349 | "Save Proxy": "Lưu proxy", |
| 350 | 350 | "Delete Proxy": "Xóa proxy", |
| 351 | 351 | "Proxy Name": "Tên của Proxy", |
| 352 | 352 | "This will show up as your saved preset.": "Điều này sẽ hiển thị dưới dạng cài đặt trước đã lưu của bạn.", |
| 353 | 353 | "Proxy Server URL": "URL máyLink chủURL proxy", |
| 354 | 354 | "Alternative server URL (leave empty to use the default value).": "URL máy chủ thay thế (để trống để sử dụng giá trị mặc định).", |
| 355 | 355 | "Remove your real OAI API Key from the API panel BEFORE typing anything into this box": "Xóa khóaKey API OAI thực của bạn khỏi bảng API TRƯỚC khi nhập bất kỳ điều gì vào hộp này", |
| 356 | 356 | "We cannot provide support for problems encountered while using an unofficial OpenAI proxy": "Chúng tôi không thể cung cấp hỗ trợ cho các vấn đề gặp phải khi sử dụng proxy OpenAI không chính thức", |
| 357 | 357 | "Doesn't work? Try adding": "Không hoạt động? Hãy thử thêm", |
| 358 | 358 | "at the end!": " ở cuối cùng!", |
| 359 | 359 | "Proxy Password": "Mật khẩu ủycho quyềnproxy", |
| 360 | 360 | "Will be used as a password for the proxy instead of API key.": "Sẽ được sử dụng làm mật khẩu cho proxy thay vì khóakey API.", |
| 361 | 361 | "Peek a password": "Xem mật khẩu", |
| 362 | 362 | "OpenAI API key": "KhóaOpenAI API OpenAIkey", |
| 363 | 363 | "View API Usage Metrics": "Xem số liệu sửstats dụngxài API", |
| 364 | 364 | "Follow": "Theo dõi", |
| 365 | 365 | "these directions": "những hướng dẫn này", |
| 366 | 366 | "to get your OpenAI API key.": "để lấy khóaKey API của OpenAI.", |
| 367 | 367 | "Use Proxy password field instead. This input will be ignored.": "Thay vào đó, hãy sử dụngDùng trườngô \"Mật khẩu proxy\". Đầuđi. vàoÔ này sẽkhông bịdùng bỏđược quađâu.", |
| 368 | 368 | "OpenAI Model": "Mô hìnhModel OpenAI", |
| 369 | 369 | "Bypass API status check": "Bỏ qua kiểm tra trạng thái API", |
| 370 | 370 | "Show External models (provided by API)": "Hiển thịHiện các mô hình bênmodel ngoài vào (do API cung cấp)", |
| 371 | 371 | "Get your key from": "Lấy khóaKey của bạn từ", |
| 372 | 372 | "Anthropic's developer console": "bảng điều khiển nhà phátdeveloper triểnconsole của Anthropic", |
| 373 | 373 | "Slack and Poe cookies will not work here, do not bother trying.": "Cookie Slack và Poe cookies sẽ không hoạtxài độngđược ở đây, đừng cốcó gắngthử.", |
| 374 | 374 | "Claude Model": "Mô hìnhModel Claude", |
| 375 | 375 | "Window AI Model": "Mô hìnhModel Window AI", |
| 376 | 376 | "Model Order": "Sắp xếp mô hìnhmodel OpenRouter", |
| 377 | 377 | "Alphabetically": "Theo thứ tự bảng chữ cái", |
| 378 | 378 | "Price": "Giá (rẻ nhất)", |
| 379 | 379 | "Context Size": "Kích thước bối cảnh", |
| @@ -381,46 +381,42 @@ | ||
| 381 | 381 | "Group by vendors Description": "Xếp các mô hình OpenAI vào một nhóm, các mô hình Anthropic vào một nhóm khác, v.v. Có thể kết hợp với việc sắp xếp.", |
| 382 | 382 | "Allow fallback routes": "Cho phép các tuyến đường phụ", |
| 383 | 383 | "Allow fallback routes Description": "Bot thay thế tự động nếu mô hình được chọn không thể đáp ứng yêu cầu của bạn.", |
| 384 | - "openrouter_force_instruct": "Tùy chọn này đã lỗi thời và sẽ bị xóa trong tương lai. Để sử dụng định dạng hướng dẫn, vui lòng chuyển sang OpenRouter trong API hoàn thành văn bản.", | |
| 384 | + "Scale API Key": "Scale API Key", | |
| 385 | 385 | "LEGACYClear your cookie": "DIXóa SẢNcookie", |
| 386 | - "Force Instruct Mode formatting": "Buộc định dạng Chế độ hướng dẫn", | |
| 387 | - "Force_Instruct_Mode_formatting_Description": "Nếu cả Chế độ hướng dẫn và chế độ này được bật, lời nhắc sẽ được SillyTavern định dạng bằng cách sử dụng\n cài đặt định dạng nâng cao (ngoại trừ hướng dẫn System Nhắc). Nếu bị tắt, lời nhắc sẽ được OpenRouter định dạng.", | |
| 388 | - "Scale API Key": "Khóa API của Scale", | |
| 389 | - "Clear your cookie": "Xóa cookie của bạn", | |
| 390 | 386 | "Alt Method": "Phương pháp thay thế", |
| 391 | 387 | "AI21 API Key": "KhóaAI21 API của AI21Key", |
| 392 | 388 | "AI21 Model": "MôModel hìnhcủa AI21", |
| 393 | 389 | "Google AI Studio API Key": "Khóa API Google AI Studio API Key", |
| 394 | 390 | "Google Model": "MôModel hìnhcủa Google", |
| 395 | 391 | "MistralAI API Key": "KhóaMistralAI API MistralAIKey", |
| 396 | 392 | "MistralAI Model": "MôModel hìnhcủa MistralAI", |
| 397 | 393 | "Groq API Key": "KhóaGroq API GroqKey", |
| 398 | 394 | "Groq Model": "MôModel hìnhcủa Groq", |
| 399 | 395 | "Perplexity API Key": "KhóaPerplexity API phức tạpKey", |
| 400 | 396 | "Perplexity Model": "Mô hìnhModel bốicủa rốiPerplexity", |
| 401 | 397 | "Cohere API Key": "KhóaCohere API CohereKey", |
| 402 | 398 | "Cohere Model": "Mô hìnhModel mạchcủa lạcCohere", |
| 403 | 399 | "Custom Endpoint (Base URL)": "Điểm cuốiĐường tùylink chỉnhcustom (URL cơBase sởURL)", |
| 404 | 400 | "Custom API Key": "KhóaKey API tùy chỉnh", |
| 405 | 401 | "Available Models": "Các mẫuModel cóhiện sẵncó", |
| 406 | 402 | "Prompt Post-Processing": "Hậu xửXử lý nhanhhậu chóngkỳ Prompt", |
| 407 | 403 | "Applies additional processing to the prompt before sending it to the API.": "Áp dụng xử lý bổ sung cho lời nhắcPrompt trước khi gửi nó tới API.", |
| 408 | 404 | "Verifies your API connection by sending a short test message. Be aware that you'll be credited for it!": "Xác minh kết nối API của bạn bằng cách gửi một tin nhắn kiểm tra ngắn. Hãy nhớ rằng bạn sẽ được ghi nhận về điều đó!", |
| 409 | 405 | "Test Message": "Tin nhắnTest kiểmtin tranhắn", |
| 410 | 406 | "Auto-connect to Last Server": "Tự động kết nối với Máy chủlink Cuốitrước cùngđó", |
| 411 | 407 | "Missing key": "❌ Thiếu chìa khóaKey", |
| 412 | 408 | "Key saved": "✔️ Đã lưu chìa khóaKey", |
| 413 | 409 | "View hidden API keys": "Xem các khóaKey API ẩn", |
| 414 | 410 | "AI Response Formatting": "Định dạng Phản hồi của AI", |
| 415 | 411 | "Advanced Formatting": "Định dạng Nâng cao", |
| 416 | 412 | "Context Template": "Mẫu Ngữ cảnhcontext", |
| 417 | 413 | "Auto-select this preset for Instruct Mode": "Tự động chọn thiết lập này cho Chế độ Hướng dẫn", |
| 418 | 414 | "Story String": "Chuỗi Truyện", |
| 419 | 415 | "Example Separator": "Ngăn cách Mẫu", |
| 420 | 416 | "Chat Start": "Bắt đầu Trò chuyệnChat", |
| 421 | 417 | "Add Chat Start and Example Separator to a list of stopping strings.": "Thêm Bắt đầu trò chuyện và Dấu phân cách ví dụ vào danh sách các chuỗi dừng.", |
| 422 | 418 | "Use as Stop Strings": "Sử dụng như chuỗi dừng", |
| 423 | 419 | "context_allow_jailbreak": "Bao gồm Bẻ khóa ở cuối lời nhắcPrompt, nếu được xác định trong thẻ ký tự VÀ ''Thích Char. Bẻ khóa'' được bật.\nĐIỀU NÀY KHÔNG ĐƯỢC KHUYẾN NGHỊ CHO CÁC MÔ HÌNH HOÀN THÀNH VĂN BẢN, CÓ THỂ DẪN ĐẾN ĐẦU RA XẤU.", |
| 424 | 420 | "Allow Jailbreak": "Cho phép bẻ khóa", |
| 425 | 421 | "Context Order": "Thứ tự bối cảnh", |
| 426 | 422 | "Summary": "Bản tóm tắt", |
| @@ -430,9 +426,9 @@ | ||
| 430 | 426 | "In-Chat Position not affected": "Thứ tự Tóm tắt và Ghi chú của tác giả chỉ bị ảnh hưởng khi chúng không được đặt vị trí Trong trò chuyện.", |
| 431 | 427 | "Instruct Mode": "Chế độ Hướng dẫn", |
| 432 | 428 | "Enabled": "Đã bật", |
| 433 | 429 | "instruct_bind_to_context": "Nếu được bật, các mẫu ngữ cảnhcontext sẽ được tự động chọn dựa trên tên mẫu hướng dẫn đã chọn hoặc theo sở thích.", |
| 434 | 430 | "Bind to Context": "Buộc vào Ngữ cảnhContext", |
| 435 | 431 | "Presets": "Cài đặt trướcPreset", |
| 436 | 432 | "Auto-select this preset on API connection": "Tự động chọn thiết lập này khi kết nối API", |
| 437 | 433 | "Activation Regex": "Kích hoạt Regex", |
| 438 | 434 | "Wrap Sequences with Newline": "Bao gói Các chuỗi với Dòng mới", |
| @@ -440,12 +436,12 @@ | ||
| 440 | 436 | "Skip Example Dialogues Formatting": "Bỏ qua Định dạng Đoạn hội thoại Mẫu", |
| 441 | 437 | "Include Names": "Bao gồm Tên", |
| 442 | 438 | "Force for Groups and Personas": "Ép buộc cho Nhóm và Nhân vật", |
| 443 | 439 | "System Prompt": "LờiPrompt nhắccủa Hệhệ thống", |
| 444 | 440 | "Instruct Mode Sequences": "Các chuỗi chế độ hướng dẫn", |
| 445 | 441 | "System Prompt Wrapping": "Gói lời nhắcPrompt hệ thống", |
| 446 | 442 | "Inserted before a System prompt.": "Được chèn trước lời nhắcPrompt Hệ thống.", |
| 447 | 443 | "System Prompt Prefix": "TiềnTiếp tốđầu nhắcngữ cho Prompt hệ thống", |
| 448 | 444 | "Inserted after a System prompt.": "Được chèn sau lời nhắcPrompt của Hệ thống.", |
| 449 | 445 | "System Prompt Suffix": "Hậu tố nhắc nhở hệ thống", |
| 450 | 446 | "Chat Messages Wrapping": "Gói tin nhắn trò chuyện", |
| 451 | 447 | "Inserted before a User message and as a last prompt line when impersonating.": "Được chèn trước thông báo Người dùng và làm dòng nhắc nhở cuối cùng khi mạo danh.", |
| @@ -473,8 +469,8 @@ | ||
| 473 | 469 | "Stop Sequence": "Chuỗi Dừng", |
| 474 | 470 | "Will be inserted at the start of the chat history if it doesn't start with a User message.": "Sẽ được chèn vào đầu lịch sử trò chuyện nếu nó không bắt đầu bằng tin nhắn Người dùng.", |
| 475 | 471 | "User Filler Message": "Thông báo điền của người dùng", |
| 476 | 472 | "Context Formatting": "Định dạng Ngữ cảnhcontext", |
| 477 | 473 | "(Saved to Context Template)": "(Đã lưu trong Mẫu Ngữ cảnhcontext)", |
| 478 | 474 | "Always add character's name to prompt": "Luôn thêm tên nhân vật vào điều khiển", |
| 479 | 475 | "Generate only one line per request": "Chỉ tạo một dòng cho mỗi yêu cầu", |
| 480 | 476 | "Trim Incomplete Sentences": "Cắt các câu không hoàn chỉnh", |
| @@ -495,12 +491,12 @@ | ||
| 495 | 491 | "Auto-Continue": "Tự động Tiếp tục", |
| 496 | 492 | "Allow for Chat Completion APIs": "Cho phép các API hoàn thành Trò chuyện", |
| 497 | 493 | "Target length (tokens)": "Độ dài mục tiêu (token)", |
| 498 | 494 | "World Info": "Thông tin ThếWorld giớiInfo", |
| 499 | 495 | "Locked = World Editor will stay open": "Được khóa = Trình chỉnh sửa Thế giới sẽ được mở", |
| 500 | 496 | "Worlds/Lorebooks": "Thế giới", |
| 501 | 497 | "Active World(s) for all chats": "Thế giới Hoạt động cho tất cả các cuộc trò chuyện", |
| 502 | 498 | "-- World Info not found --": "-- Không tìm thấy Thông tin ThếWorld giớiInfo --", |
| 503 | 499 | "Global World Info/Lorebook activation settings": "Cài đặt kích hoạt Thông tin thế giới toànWorld cầuInfo/Lorebook", |
| 504 | 500 | "Click to expand": "Bấm để mở rộng", |
| 505 | 501 | "Scan Depth": "Độ sâu quét", |
| 506 | 502 | "Context %": "Bối cảnh %", |
| @@ -516,7 +512,7 @@ | ||
| 516 | 512 | "Global Lore First": "Sử liệu toàn cầu đầu tiên", |
| 517 | 513 | "Entries can activate other entries by mentioning their keywords": "Các mục có thể kích hoạt các mục khác bằng cách đề cập đến từ khóa của họ", |
| 518 | 514 | "Recursive Scan": "Quét đệ quy", |
| 519 | 515 | "Lookup for the entry keys in the context will respect the case": "Tìm kiếm các khóa mục trong ngữ cảnhcontext sẽ tôn trọng trường hợp", |
| 520 | 516 | "Case Sensitive": "Phân biệt chữ hoa chữ thường", |
| 521 | 517 | "If the entry key consists of only one word, it would not be matched as part of other words": "Nếu khóa mục bao gồm chỉ một từ, nó sẽ không được kết hợp như một phần của các từ khác", |
| 522 | 518 | "Match Whole Words": "Khớp toàn bộ từ", |
| @@ -527,15 +523,15 @@ | ||
| 527 | 523 | "New": "Mới", |
| 528 | 524 | "or": "hoặc", |
| 529 | 525 | "--- Pick to Edit ---": "--- Chọn để Chỉnh sửa ---", |
| 530 | 526 | "Rename World Info": "Đổi tên Thông tin ThếWorld giớiInfo", |
| 531 | 527 | "Open all Entries": "Mở tất cả các Mục", |
| 532 | 528 | "Close all Entries": "Đóng tất cả các Mục", |
| 533 | 529 | "New Entry": "Mục mới", |
| 534 | 530 | "Fill empty Memo/Titles with Keywords": "Điền vào Memo/Tiêu đề trống với từ khóa", |
| 535 | 531 | "Import World Info": "Nhập Thông tin ThếWorld giớiInfo", |
| 536 | 532 | "Export World Info": "Xuất Thông tin ThếWorld giớiInfo", |
| 537 | 533 | "Duplicate World Info": "Nhân đôi Thông tin ThếWorld giớiInfo", |
| 538 | 534 | "Delete World Info": "Xóa Thông tin ThếWorld giớiInfo", |
| 539 | 535 | "Search...": "Tìm kiếm...", |
| 540 | 536 | "Search": "Tìm kiếm", |
| 541 | 537 | "Priority": "Ưu tiên", |
| @@ -587,11 +583,11 @@ | ||
| 587 | 583 | "UI Border": "Viền UI", |
| 588 | 584 | "User Message Blur Tint": "Màu sắc làm mờ Tin nhắn của Người dùng", |
| 589 | 585 | "AI Message Blur Tint": "Màu sắc làm mờ Tin nhắn của Trí tuệ Nhân tạo", |
| 590 | 586 | "Chat Width": "Chiều rộng trò chuyệnchat", |
| 591 | 587 | "Width of the main chat window in % of screen width": "Chiều rộng của cửa sổ trò chuyện chính tính bằng % chiều rộng màn hình", |
| 592 | 588 | "Font Scale": "Tỷ lệ Font", |
| 593 | 589 | "Font size": "Cỡ chữ", |
| 594 | 590 | "Blur Strength": "SứcMực độ mạnh mờ", |
| 595 | 591 | "Blur strength on UI panels.": "Độ mờ trên bảng UI.", |
| 596 | 592 | "Text Shadow Width": "Độ rộng bóng văn bản", |
| 597 | 593 | "Strength of the text shadows": "Độ mạnh của bóng văn bản", |
| @@ -603,7 +599,7 @@ | ||
| 603 | 599 | "No Text Shadows": "Không có bóng văn bản", |
| 604 | 600 | "Reduce chat height, and put a static sprite behind the chat window": "Giảm chiều cao của cuộc trò chuyện và đặt một sprite tĩnh phía sau cửa sổ trò chuyện", |
| 605 | 601 | "Waifu Mode": "Chế độ Waifu", |
| 606 | 602 | "Always show the full list of the Message Actions context items for chat messages, instead of hiding them behind '...'": "Luôn hiển thị danh sách đầy đủ các mục ngữ cảnhcontext Hành động Tin nhắn cho các tin nhắn trò chuyện, thay vì ẩn chúng sau '...'", |
| 607 | 603 | "Auto-Expand Message Actions": "Tự động mở rộng Hành động Tin nhắn", |
| 608 | 604 | "Alternative UI for numeric sampling parameters with fewer steps": "Giao diện người dùng thay thế cho các tham số mẫu số học với ít bước hơn", |
| 609 | 605 | "Zen Sliders": "Thanh trượt Zen", |
| @@ -614,7 +610,7 @@ | ||
| 614 | 610 | "Show a timestamp for each message in the chat log": "Hiển thị dấu thời gian cho mỗi tin nhắn trong nhật ký trò chuyện", |
| 615 | 611 | "Chat Timestamps": "Dấu thời gian Chat", |
| 616 | 612 | "Show an icon for the API that generated the message": "Hiển thị biểu tượng cho API đã tạo ra tin nhắn", |
| 617 | 613 | "Model Icon": "Biểu tượng Mô hìnhModel", |
| 618 | 614 | "Show sequential message numbers in the chat log": "Hiển thị số tin nhắn tuần tự trong nhật ký trò chuyện", |
| 619 | 615 | "Message IDs": "ID Tin nhắn", |
| 620 | 616 | "Hide avatars in chat messages.": "Ẩn hình đại diện trong tin nhắn trò chuyện.", |
| @@ -639,9 +635,9 @@ | ||
| 639 | 635 | "Use fuzzy matching, and search characters in the list by all data fields, not just by a name substring": "Sử dụng kết hợp mờ, và tìm kiếm nhân vật trong danh sách bằng tất cả các trường dữ liệu, không chỉ bằng một phần của tên", |
| 640 | 636 | "Advanced Character Search": "Tìm kiếm Nhân vật Nâng cao", |
| 641 | 637 | "If checked and the character card contains a prompt override (System Prompt), use that instead": "Nếu được kiểm tra và thẻ nhân vật chứa một lệnh ghi đè (Lệnh hệ thống), hãy sử dụng thay vào đó", |
| 642 | 638 | "Prefer Character Card Prompt": "Ưu tiên Gợi ý từ Thẻ Nhân vậtCard", |
| 643 | 639 | "If checked and the character card contains a jailbreak override (Post History Instruction), use that instead": "Nếu được kiểm tra và thẻ nhân vật chứa một lệnh phá vỡ giam giữ (Hướng dẫn Lịch sử Bài viết), hãy sử dụng thay vào đó", |
| 644 | 640 | "Prefer Character Card Jailbreak": "Ưu tiên PháJailbreak vỡtừ HỏaCard", |
| 645 | 641 | "Avoid cropping and resizing imported character images. When off, crop/resize to 512x768": "Tránh cắt xén và thay đổi kích thước hình ảnh ký tự đã nhập. Khi tắt, hãy cắt/thay đổi kích thước thành 512x768.", |
| 646 | 642 | "Never resize avatars": "Không bao giờ thay đổi kích thước hình đại diện", |
| 647 | 643 | "Show actual file names on the disk, in the characters list display only": "Hiển thị tên tệp thực tế trên đĩa, chỉ trong danh sách nhân vật", |
| @@ -649,26 +645,26 @@ | ||
| 649 | 645 | "Prompt to import embedded card tags on character import. Otherwise embedded tags are ignored": "Nhắc nhập các thẻ thẻ nhúng trên thẻ nhân vật nhập khẩu. Nếu không, các thẻ nhúng sẽ bị bỏ qua", |
| 650 | 646 | "Import Card Tags": "Nhập Tags Thẻ", |
| 651 | 647 | "Hide character definitions from the editor panel behind a spoiler button": "Ẩn định nghĩa nhân vật từ bảng chỉnh sửa sau một nút spoil", |
| 652 | 648 | "Spoiler Free Mode": "Chế độ Không bịẨn lộspoiler", |
| 653 | 649 | "Miscellaneous": "ĐaLinh dạngtinh", |
| 654 | 650 | "Reload and redraw the currently open chat": "Tải lại và vẽ lại cuộc trò chuyện đang mở hiện tại", |
| 655 | 651 | "Reload Chat": "Tải lại Chat", |
| 656 | 652 | "Debug Menu": "Menu Debug", |
| 657 | 653 | "Smooth Streaming": "Truyền phátStreaming mượt mà", |
| 658 | 654 | "Experimental feature. May not work for all backends.": "Tính năng thực nghiệm. Có thể không hoạt động cho tất cả các chương trình phụ trợBackends.", |
| 659 | 655 | "Slow": "Chậm", |
| 660 | 656 | "Fast": "Nhanh", |
| 661 | 657 | "Play a sound when a message generation finishes": "Phát ra âm thanh khi quáthông trìnhbáo tạokhi tin nhắn từ Char kết thúc", |
| 662 | 658 | "Message Sound": "Âm thanh Tin nhắn", |
| 663 | 659 | "Only play a sound when ST's browser tab is unfocused": "Chỉ phát âm thanh khi tab trình duyệt của ST không được tập trung", |
| 664 | 660 | "Background Sound Only": "Chỉ Âm thanh Nền", |
| 665 | 661 | "Reduce the formatting requirements on API URLs": "Giảm yêu cầu định dạng trên URL của API", |
| 666 | 662 | "Relaxed API URLS": "URL API được thư giãn", |
| 667 | 663 | "Ask to import the World Info/Lorebook for every new character with embedded lorebook. If unchecked, a brief message will be shown instead": "Hỏi để nhập Thông tin ThếWorld giớiInfo/Sách lịch sửLorebook cho mỗi nhân vật mới có sẵn sách lịch sửlorebook nhúng. Nếu không được kiểm tra, thay vào đó sẽ hiển thị một tin nhắn tóm tắt", |
| 668 | 664 | "Lorebook Import Dialog": "Hộp thoại Nhập khẩuví Sáchdụ vềlời truyềnthoại thốngcủa Lorebook", |
| 669 | 665 | "Restore unsaved user input on page refresh": "Khôi phục đầu vào của người dùng chưa được lưu khi làm mớirefresh trang", |
| 670 | 666 | "Restore User Input": "Khôi phục Đầuinput vàocủa Ngườingười dùng", |
| 671 | 667 | "Allow repositioning certain UI elements by dragging them. PC only, no effect on mobile": "Cho phép di chuyển lại một số phầnthành tửphần giao diện người dùng bằng cách kéo chúng. Chỉ dành cho PC, không ảnh hưởngcó đếntác điệndụng thoạitrên diđiền độngthoại", |
| 672 | 668 | "Movable UI Panels": "Bảng Giao diện người dùng Có thể di chuyển", |
| 673 | 669 | "MovingUI preset. Predefined/saved draggable positions": "Cài đặt trước MovingUI. Vị trí có thể kéo trước/saved", |
| 674 | 670 | "MUI Preset": "Cài đặt trước MUI:", |
| @@ -681,15 +677,15 @@ | ||
| 681 | 677 | "# Messages to Load": "# tin nhắn. để tải", |
| 682 | 678 | "The number of chat history messages to load before pagination.": "Số lượng tin nhắn lịch sử trò chuyện cần tải trước khi phân trang.", |
| 683 | 679 | "(0 = All)": "(0 = Tất cả)", |
| 684 | 680 | "Streaming FPS": "FPS Phát trựccủa tiếpStreaming", |
| 685 | 681 | "Update speed of streamed text.": "Cập nhật tốcTốc độđọ của streaming văn bản truyền phát.", |
| 686 | 682 | "Example Messages Behavior": "Hành vi Tin nhắn Mẫu", |
| 687 | 683 | "Gradual push-out": "Đẩy ra dần", |
| 688 | 684 | "Always include examples": "Luôn bao gồm các ví dụ", |
| 689 | 685 | "Never include examples": "Không bao giờ bao gồm các ví dụ", |
| 690 | 686 | "Send on Enter": "Gửi khi nhấn Enter", |
| 691 | 687 | "Disabled": "Vô hiệu", |
| 692 | 688 | "Automatic (PC)": "Tự động (Trên PC)", |
| 693 | 689 | "Press Send to continue": "Nhấn Gửi để tiếp tục", |
| 694 | 690 | "Show a button in the input area to ask the AI to continue (extend) its last message": "Hiển thị một nút trong khu vực nhập để yêu cầu trí tuệ nhân tạo tiếp tục (mở rộng) tin nhắn cuối cùng của nó", |
| 695 | 691 | "Quick 'Continue' button": "Nút 'Tiếp tục' nhanh", |
| @@ -712,10 +708,10 @@ | ||
| 712 | 708 | "Skip encoding and characters in message text, allowing a subset of HTML markup as well as Markdown": "Bỏ qua mã hóa và ký tự trong văn bản tin nhắn, cho phép một tập con của đánh dấu HTML cũng như Markdown", |
| 713 | 709 | "Show tags in responses": "Hiển thị thẻ trong các phản hồi", |
| 714 | 710 | "Allow AI messages in groups to contain lines spoken by other group members": "Cho phép các tin nhắn của trí tuệ nhân tạo trong các nhóm chứa các dòng được nói bởi các thành viên khác trong nhóm", |
| 715 | 711 | "Relax message trim in Groups": "ThưGiảm giãnnhẹ việc cắt tỉađoạn tin nhắn trong Nhóm", |
| 716 | 712 | "Log prompts to console": "Ghi nhận các lời nhắcPrompt vào bảng điều khiển", |
| 717 | 713 | "Requests logprobs from the API for the Token Probabilities feature": "Yêu cầu logprobs từ API cho tính năngbảng Xác suất Token", |
| 718 | 714 | "Request token probabilities": "Yêu cầu bảng xác suất token", |
| 719 | 715 | "Automatically reject and re-generate AI message based on configurable criteria": "Tự động từ chối và tạo lại tin nhắn của trí tuệ nhân tạo dựa trên các tiêu chí có thể cấu hình", |
| 720 | 716 | "Auto-swipe": "Tự động vuốt", |
| 721 | 717 | "Enable the auto-swipe function. Settings in this section only have an effect when auto-swipe is enabled": "Bật chức năng tự động vuốt. Các cài đặt trong phần này chỉ có tác dụng khi tự động vuốt được bật", |
| @@ -731,11 +727,11 @@ | ||
| 731 | 727 | "Autocomplete Matching": "Kết hợp", |
| 732 | 728 | "Starts with": "Bắt đầu với", |
| 733 | 729 | "Includes": "Bao gồm", |
| 734 | 730 | "Fuzzy": "MờFuzzy", |
| 735 | 731 | "Sets the style of the autocomplete.": "Đặt kiểu tự động hoàn thành.", |
| 736 | 732 | "Autocomplete Style": "Phong cách", |
| 737 | 733 | "Follow Theme": "TheoĐồng dõibộ chủgiao đềdiện", |
| 738 | 734 | "Dark": "TốiGiao tămdiện tối", |
| 739 | 735 | "Sets the font size of the autocomplete.": "Đặt kích thước phông chữ của tự động hoàn thành.", |
| 740 | 736 | "Sets the width of the autocomplete.": "Đặt chiều rộng của tự động hoàn thành.", |
| 741 | 737 | "Autocomplete Width": "Chiều rộng", |
| @@ -751,21 +747,21 @@ | ||
| 751 | 747 | "REPLACE_GETVAR": "REPLACE_GETVAR", |
| 752 | 748 | "Change Background Image": "Thay đổi Hình nền", |
| 753 | 749 | "Filter": "Bộ lọc", |
| 754 | 750 | "Automatically select a background based on the chat context": "Tự động chọn một nền dựa trên ngữ cảnhcontext trò chuyện", |
| 755 | 751 | "Auto-select": "Tự động chọn", |
| 756 | 752 | "System Backgrounds": "Nền Hệ thống", |
| 757 | 753 | "Chat Backgrounds": "Hình nền Chat", |
| 758 | 754 | "bg_chat_hint_1": "Hình nền trò chuyện được tạo bằng", |
| 759 | 755 | "bg_chat_hint_2": "tiện ích mở rộng sẽ xuất hiện ở đây.", |
| 760 | 756 | "Extensions": "Tiện ích", |
| 761 | 757 | "Notify on extension updates": "Thông báo về các bản cập nhật của tiện ích mở rộng", |
| 762 | 758 | "Manage extensions": "Quản lý tiện ích mở rộng", |
| 763 | 759 | "Import Extension From Git Repo": "Nhập mởtiện rộngích từ Git Repo", |
| 764 | 760 | "Install extension": "Cài đặt tiện ích mở rộng", |
| 765 | 761 | "Extras API:": "API bổ sung:", |
| 766 | 762 | "Auto-connect": "Tự động kết nối", |
| 767 | 763 | "Extras API URL": "URL API bổ sung", |
| 768 | 764 | "Extras API key (optional)": "KhóaKey API Phụ (tùy chọn)", |
| 769 | 765 | "Persona Management": "Quản lý Nhân cách", |
| 770 | 766 | "How do I use this?": "Tôi sử dụng cái này như thế nào?", |
| 771 | 767 | "Click for stats!": "Nhấp để xem thống kê!", |
| @@ -774,17 +770,17 @@ | ||
| 774 | 770 | "Backup": "Sao lưu", |
| 775 | 771 | "Restore your personas from a file": "Khôi phục nhân cách của bạn từ một tập tin", |
| 776 | 772 | "Restore": "Khôi phục", |
| 777 | 773 | "Create a dummy persona": "Tạo một nhân cách giả mạo", |
| 778 | 774 | "Create": "Tạo", |
| 779 | 775 | "Toggle grid view": "Chuyển đổi chế độ xem lưới", |
| 780 | 776 | "No persona description": "[Không có mô tả]", |
| 781 | 777 | "Name": "Tên", |
| 782 | 778 | "Enter your name": "Nhập tên của bạn", |
| 783 | 779 | "Click to set a new User Name": "NhấpĐúp để đặt một tên Người dùng mới", |
| 784 | 780 | "Click to lock your selected persona to the current chat. Click again to remove the lock.": "NhấpĐúp để khóa nhân cách được chọn của bạn vào cuộc trò chuyện hiện tại. Nhấp một lần nữa để loại bỏ khóa.", |
| 785 | 781 | "Click to set user name for all messages": "Nhấp để đặt tên người dùng cho tất cả các tin nhắn", |
| 786 | 782 | "Persona Description": "Mô tả Nhân cách", |
| 787 | 783 | "Example: [{{user}} is a 28-year-old Romanian cat girl.]": "Ví dụ: [{{user}} là một cô gáibé mèo Rumaningười România 28 tuổi.]", |
| 788 | 784 | "Tokens persona description": "Mô tả Nhân cách", |
| 789 | 785 | "Position:": "Vị trí:", |
| 790 | 786 | "In Story String / Prompt Manager": "Trong Chuỗi Truyện / Quản lý Lời nhắc", |
| @@ -805,12 +801,12 @@ | ||
| 805 | 801 | "Total tokens": "Tổng số token", |
| 806 | 802 | "Calculating...": "Đang tính...", |
| 807 | 803 | "Tokens": "Token", |
| 808 | 804 | "Permanent tokens": "Mã thông báoToken vĩnh viễn", |
| 809 | 805 | "Permanent": "Vĩnh viễn", |
| 810 | 806 | "About Token 'Limits'": "Giới thiệu về 'Giới hạn' mã thông báoToken", |
| 811 | 807 | "Toggle character info panel": "Chuyển đổi bảng thông tin nhân vật", |
| 812 | 808 | "Name this character": "Đặt tên cho nhân vật này", |
| 813 | 809 | "extension_token_counter": "Mã thôngĐếm báoToken:", |
| 814 | 810 | "Click to select a new avatar for this character": "Nhấp để chọn một hình đại diện mới cho nhân vật này", |
| 815 | 811 | "Add to Favorites": "Thêm vào Mục ưa thích", |
| 816 | 812 | "Advanced Definition": "Định nghĩa Nâng cao", |
| @@ -821,26 +817,26 @@ | ||
| 821 | 817 | "Create Character": "Tạo Nhân vật", |
| 822 | 818 | "Delete Character": "Xóa Nhân vật", |
| 823 | 819 | "More...": "Thêm...", |
| 824 | 820 | "Link to World Info": "Liên kết đến Thông tin ThếWorld giớiInfo", |
| 825 | 821 | "Import Card Lore": "Nhập lời nhắcCard ThẻLore", |
| 826 | 822 | "Scenario Override": "Ghi đè Kịch bản", |
| 827 | 823 | "Convert to Persona": "Chuyển đổi sang Persona (Nhân cách)", |
| 828 | 824 | "Rename": "Đổi tên", |
| 829 | 825 | "Link to Source": "Liên kết tới nguồn", |
| 830 | 826 | "Replace / Update": "Thay thế/Cập nhật", |
| 831 | 827 | "Import Tags": "Nhập thẻ", |
| 832 | 828 | "Search / Create Tags": "Tìm kiếm / Tạo TagsThẻ", |
| 833 | 829 | "View all tags": "Xem tất cả các tag", |
| 834 | 830 | "Creator's Notes": "Ghi chú của NgườiTác tạogiả", |
| 835 | 831 | "Show / Hide Description and First Message": "Hiện / Ẩn Mô tả và Tin nhắn Đầu tiên", |
| 836 | 832 | "Character Description": "Mô tả Nhân vật", |
| 837 | 833 | "Click to allow/forbid the use of external media for this character.": "BấmĐúp để cho phép/cấm sử dụng phương tiện bên ngoài cho kýnhân tựvật này.", |
| 838 | 834 | "Ext. Media": "Ex. Phương tiện truyền thôngTệp", |
| 839 | 835 | "Describe your character's physical and mental traits here.": "Mô tả các đặc điểm về thểngoại chấthình và tinh thầntính củacách nhân vật của bạn ở đây.", |
| 840 | 836 | "First message": "Tin nhắn đầu tiên", |
| 841 | 837 | "Click to set additional greeting messages": "NhấpBấm để đặtset thêm tin nhắncâu chào mừng:>", |
| 842 | 838 | "Alt. Greetings": "thay thế. Lời chào hỏi", |
| 843 | 839 | "This will be the first message from the character that starts every chat.": "Điều nàyĐây sẽ là tincâu nhắnchào đầu tiên từcủa nhân vật màmỗi bắtkhi đầumở mỗiđầu cuộc trò chuyện. nè :>", |
| 844 | 840 | "Group Controls": "Điều khiển Nhóm", |
| 845 | 841 | "Chat Name (Optional)": "Tên Trò chuyện (Tùy chọn)", |
| 846 | 842 | "Click to select a new avatar for this group": "Nhấp để chọn một hình đại diện mới cho nhóm này", |
| @@ -857,17 +853,17 @@ | ||
| 857 | 853 | "Inserted after each part of the joined fields.": "Được chèn sau mỗi phần của các trường đã nối.", |
| 858 | 854 | "Join Suffix": "Tham gia hậu tố", |
| 859 | 855 | "Set a group chat scenario": "Đặt một kịch bản trò chuyện nhóm", |
| 860 | 856 | "Click to allow/forbid the use of external media for this group.": "NhấpĐúp để cho phép/cấm sử dụng phương tiện truyền thông bên ngoài cho nhóm này.", |
| 861 | 857 | "Restore collage avatar": "Khôi phục hìnhảnh đại diện hợp thànhghép", |
| 862 | 858 | "Allow self responses": "Cho phép tự phản hồi tự", |
| 863 | 859 | "Auto Mode": "Chế độ Tự động", |
| 864 | 860 | "Auto Mode delay": "Độ trễ chế độ tự động", |
| 865 | 861 | "Hide Muted Member Sprites": "Ẩn các thành viên bị tắt tiếngcâm", |
| 866 | 862 | "Current Members": "Thành viên hiện tại", |
| 867 | 863 | "Add Members": "Thêm thành viên", |
| 868 | 864 | "Create New Character": "Tạo Nhân vật Mới", |
| 869 | 865 | "Import Character from File": "Nhập Nhân vật từ Tệp", |
| 870 | 866 | "Import content from external URL": "Nhập nội dung từ link URL bên ngoài", |
| 871 | 867 | "Create New Chat Group": "Tạo Nhóm Trò chuyện Mới", |
| 872 | 868 | "Characters sorting order": "Thứ tự sắp xếp Nhân vật", |
| 873 | 869 | "A-Z": "A-Z", |
| @@ -878,70 +874,70 @@ | ||
| 878 | 874 | "Recent": "Gần đây", |
| 879 | 875 | "Most chats": "Nhiều cuộc trò chuyện nhất", |
| 880 | 876 | "Least chats": "Ít cuộc trò chuyện nhất", |
| 881 | 877 | "Most tokens": "Nhiều nhất các mã thôngtoken báonhất", |
| 882 | 878 | "Least tokens": "Ít nhất các mã thôngtoken báonhất", |
| 883 | 879 | "Random": "Ngẫu nhiên", |
| 884 | 880 | "Toggle character grid view": "Chuyển đổi chế độ xem lưới nhân vật", |
| 885 | 881 | "Bulk_edit_characters": "Chỉnh sửa nhân vật theo lô", |
| 886 | 882 | "Bulk select all characters": "Chọn hàng loạt tất cả các ký tự", |
| 887 | 883 | "Bulk delete characters": "Xóa nhân vật theo lô", |
| 888 | 884 | "popup-button-save": "CứuLưu", |
| 889 | 885 | "popup-button-yes": "Đúng", |
| 890 | 886 | "popup-button-no": "KHÔNG", |
| 891 | 887 | "popup-button-cancel": "Hủy bỏ", |
| 892 | 888 | "popup-button-import": "Nhập khẩu", |
| 893 | 889 | "Advanced Defininitions": "Các Định nghĩa Nâng cao", |
| 894 | 890 | "Prompt Overrides": "Ghi đè nhắc nhởPrompt", |
| 895 | 891 | "(For Chat Completion and Instruct Mode)": "(Đối với chế độ hoàn thành trò chuyện và hướng dẫn)", |
| 896 | 892 | "Insert {{original}} into either box to include the respective default prompt from system settings.": "Chèn {{original}} vào bất kỳ hộp nào để bao gồm lời nhắcPrompt mặc định tương ứng từ cài đặt hệ thống.", |
| 897 | 893 | "Main Prompt": "Lời nhắcPrompt Chính", |
| 898 | 894 | "Any contents here will replace the default Main Prompt used for this character. (v2 spec: system_prompt)": "Bất kỳ nội dung nào ở đây sẽ thay thế Lời nhắc Chính mặc định được sử dụng cho nhân vật này. (v2 spec: hệ thống_lời_nhắc)", |
| 899 | 895 | "Any contents here will replace the default Jailbreak Prompt used for this character. (v2 spec: post_history_instructions)": "Bất kỳ nội dung nào ở đây sẽ thay thế Lời nhắc Phá vỡ giam giữ mặc định được sử dụng cho nhân vật này. (v2 spec: hệ thống_lời_nhắc_sau_lịch_sử)", |
| 900 | 896 | "Creator's Metadata (Not sent with the AI prompt)": "Dữ liệu siêu dữ liệu của Ngườitác tạogiả (Không được gửi kèm với lời nhắcPrompt AI)", |
| 901 | 897 | "Creator's Metadata": "Siêu dữ liệu của người sángtác tạogiả", |
| 902 | 898 | "(Not sent with the AI Prompt)": "(Không được gửi bằng Lời nhắc AI)", |
| 903 | 899 | "Everything here is optional": "Tất cả mọi thứ ở đây đều là tùy chọn", |
| 904 | 900 | "(Botmaker's name / Contact Info)": "(Tên của Ngườitác tạogiả Bot / Thông tin Liên hệ)", |
| 905 | 901 | "(If you want to track character versions)": "(Nếu bạn muốn theo dõi phiên bản của nhân vật)", |
| 906 | 902 | "(Describe the bot, give use tips, or list the chat models it has been tested on. This will be displayed in the character list.)": "(Mô tả bot, cung cấp mẹo sử dụng hoặc liệt kê các mô hình trò chuyệnmodel mà nó đã được thử nghiệm. ĐiềuCái này sẽ được hiển thị trong danh sách nhân vật.)", |
| 907 | 903 | "Tags to Embed": "Tags để nhúng", |
| 908 | 904 | "(Write a comma-separated list of tags)": "(Viết một danh sách các tags được phân tách bằng dấu phẩy)", |
| 909 | 905 | "Personality summary": "Tóm tắt Tính cách", |
| 910 | 906 | "(A brief description of the personality)": "(Một mô tả ngắn gọn về tính cách)", |
| 911 | 907 | "Scenario": "Tình huống", |
| 912 | 908 | "(Circumstances and context of the interaction)": "(Hoàn cảnh và ngữ cảnhcontext của sự tương tác)", |
| 913 | 909 | "Character's Note": "Ghi chú của nhân vật", |
| 914 | 910 | "(Text to be inserted in-chat @ designated depth and role)": "(Văn bản sẽ được chèn vào cuộc trò chuyện @ độ sâu và vai trò được chỉ định)", |
| 915 | 911 | "@ Depth": "@ Chiều sâu", |
| 916 | 912 | "Role": "Vai trò", |
| 917 | 913 | "Talkativeness": "TínhMức chuyệnnói lắm", |
| 918 | 914 | "How often the character speaks in group chats!": "NhânTần suất nhân vật nóinày chuyệnphát biểu trong các cuộc trò chuyện nhóm như thế nào!", |
| 919 | 915 | "How often the character speaks in": "Tần suất nhân vật nóinày chuyệnphát biểu trong", |
| 920 | 916 | "group chats!": "các cuộc trò chuyện nhóm!", |
| 921 | 917 | "Shy": "Rụt rèNhát", |
| 922 | 918 | "Normal": "Bình thường", |
| 923 | 919 | "Chatty": "NóiLắm nhiềumồm", |
| 924 | 920 | "Examples of dialogue": "Ví dụ về lời đối thoại", |
| 925 | 921 | "Important to set the character's writing style.": "Quan trọng đểlà phải thiết lập phong cách viết của nhân vật.", |
| 926 | 922 | "(Examples of chat dialog. Begin each example with START on a new line.)": "(Các ví dụ về đoạn hội thoại trò chuyện. Bắt đầu mỗi ví dụ với START trên một dòng mới.)", |
| 927 | 923 | "Save": "Lưu", |
| 928 | 924 | "Chat History": "Lịch sử Trò chuyện", |
| 929 | 925 | "Import Chat": "Nhập trò chuyện", |
| 930 | 926 | "Copy to system backgrounds": "Sao chép vào nền hệ thống", |
| 931 | 927 | "Rename background": "Đổi tên nền background", |
| 932 | 928 | "Lock": "Khóa", |
| 933 | 929 | "Unlock": "Mở khóa", |
| 934 | 930 | "Delete background": "Xóa nền background", |
| 935 | 931 | "Chat Scenario Override": "Ghi đè kịch bản trò chuyện", |
| 936 | 932 | "Remove": "Xóa", |
| 937 | 933 | "Type here...": "Nhập vào đây...", |
| 938 | 934 | "Chat Lorebook": "Sách truyền thuyết trò chuyện cho", |
| 939 | 935 | "Chat Lorebook for": "Sách truyền thuyết trò chuyện cho", |
| 940 | 936 | "chat_world_template_txt": "Thông tin thế giới được chọn sẽ bị ràng buộc với cuộc trò chuyện này. Khi tạo phản hồi AI,\n nó sẽ được kết hợp với các mục từ sách truyền thuyết toàn cầu và nhân vật.", |
| 941 | 937 | "Select a World Info file for": "Chọn một tệp Thông tin ThếWorld giớiInfo cho", |
| 942 | 938 | "Primary Lorebook": "Sách Truyền thuyết Chính", |
| 943 | 939 | "A selected World Info will be bound to this character as its own Lorebook.": "Một Thông tin ThếWorld giớiInfo được chọn sẽ được gắn với nhân vật này như một cuốn sách Truyền thuyếtLorebook riêng của nó.", |
| 944 | 940 | "When generating an AI reply, it will be combined with the entries from a global World Info selector.": "Khi tạo phản hồi của AI, nó sẽ được kết hợp với các mục từ một bộ chọn Thông tin Thế giới toànWorld cầuInfo.", |
| 945 | 941 | "Exporting a character would also export the selected Lorebook file embedded in the JSON data.": "Việc xuất khẩu một nhân vật cũng sẽ xuất khẩu tệp Sách Truyền thuyết được chọn được nhúng trong dữ liệu JSON.", |
| 946 | 942 | "Additional Lorebooks": "Sách Truyền thuyết Bổ sung", |
| 947 | 943 | "Associate one or more auxillary Lorebooks with this character.": "Liên kết một hoặc nhiều Sách Truyền thuyết phụ trợ với nhân vật này.", |
| @@ -989,12 +985,12 @@ | ||
| 989 | 985 | "Optional Filter": "Bộ lọc Tùy chọn", |
| 990 | 986 | "Keywords or Regexes (ignored if empty)": "Từ khóa hoặc Regexes (bỏ qua nếu trống)", |
| 991 | 987 | "Comma separated list (ignored if empty)": "Danh sách được phân tách bằng dấu phẩy (bỏ qua nếu trống)", |
| 992 | 988 | "Use global setting": "Sử dụng cài đặt toàn cầuchung", |
| 993 | 989 | "Case-Sensitive": "Phân biệt chữ hoa chữ thường", |
| 994 | 990 | "Yes": "Có", |
| 995 | 991 | "No": "Không", |
| 996 | 992 | "Can be used to automatically activate Quick Replies": "Có thể được sử dụng để tự động kích hoạt Trả lời nhanh", |
| 997 | 993 | "Automation ID": "ID tự động hóa", |
| 998 | 994 | "( None )": "( Không có )", |
| 999 | 995 | "Content": "Nội dung", |
| 1000 | 996 | "Exclude from recursion": "Loại trừ khỏi đệ quy", |
| @@ -1017,27 +1013,27 @@ | ||
| 1017 | 1013 | "close": "đóng", |
| 1018 | 1014 | "prompt_manager_edit": "Biên tập", |
| 1019 | 1015 | "prompt_manager_name": "Tên", |
| 1020 | 1016 | "A name for this prompt.": "Tên cho lời nhắcPrompt này.", |
| 1021 | 1017 | "To whom this message will be attributed.": "Tin nhắn này sẽ được quy cho ai.", |
| 1022 | 1018 | "AI Assistant": "Trợ lý AI", |
| 1023 | 1019 | "prompt_manager_position": "Chức vụ", |
| 1024 | 1020 | "Injection position. Next to other prompts (relative) or in-chat (absolute).": "Vị trí tiêm. Bên cạnh các lời nhắcPrompt khác (tương đối) hoặc trong trò chuyện (tuyệt đối).", |
| 1025 | 1021 | "prompt_manager_relative": "Liên quan đến", |
| 1026 | 1022 | "prompt_manager_depth": "Chiều sâu", |
| 1027 | 1023 | "Injection depth. 0 = after the last message, 1 = before the last message, etc.": "Độ sâu phun. 0 = sau tin nhắn cuối cùng, 1 = trước tin nhắn cuối cùng, v.v.", |
| 1028 | 1024 | "Prompt": "Đề xuấtPrompt", |
| 1029 | 1025 | "The prompt to be sent.": "Lời nhắc được gửi đi.", |
| 1030 | 1026 | "This prompt cannot be overridden by character cards, even if overrides are preferred.": "Lời nhắc này không thể bị ghi đè bằng thẻ ký tự, ngay cả khi ưu tiên ghi đè.", |
| 1031 | 1027 | "prompt_manager_forbid_overrides": "Cấm ghi đè", |
| 1032 | 1028 | "reset": "càiđặt lại", |
| 1033 | 1029 | "save": "cứulưu", |
| 1034 | 1030 | "This message is invisible for the AI": "Tin nhắn này không thểAI nhìnkhông thấy chođược AIđâu", |
| 1035 | 1031 | "Message Actions": "Hành động tin nhắn", |
| 1036 | 1032 | "Translate message": "Dịch tin nhắn", |
| 1037 | 1033 | "Generate Image": "Tạo Hình ảnh", |
| 1038 | 1034 | "Narrate": "KểDẫn chuyện", |
| 1039 | 1035 | "Exclude message from prompts": "Loại trừ tin nhắn khỏi các lời nhắcPrompt", |
| 1040 | 1036 | "Include message in prompts": "Bao gồm tin nhắn trong các lời nhắcPrompt", |
| 1041 | 1037 | "Embed file or image": "Nhúng tệp hoặc hình ảnh", |
| 1042 | 1038 | "Create checkpoint": "Tạo điểm kiểm tra", |
| 1043 | 1039 | "Create Branch": "Tạo Chi nhánh", |
| @@ -1050,25 +1046,25 @@ | ||
| 1050 | 1046 | "Move message up": "Di chuyển tin nhắn lên", |
| 1051 | 1047 | "Move message down": "Di chuyển tin nhắn xuống", |
| 1052 | 1048 | "Enlarge": "Phóng to", |
| 1053 | 1049 | "Welcome to SillyTavern!": "Chào mừng đếnSillyTavern vớixin SillyTavernchào!", |
| 1054 | 1050 | "welcome_message_part_1": "ĐọcXem", |
| 1055 | 1051 | "welcome_message_part_2": "Tài liệu chính thức", |
| 1056 | 1052 | "welcome_message_part_3": null, |
| 1057 | 1053 | "welcome_message_part_4": "Kiểu", |
| 1058 | 1054 | "welcome_message_part_5": "trong trò chuyện để nhận lệnh và macro.", |
| 1059 | 1055 | "welcome_message_part_6": "Tham gia", |
| 1060 | 1056 | "Discord server": "Máy chủ bấtServer hòaDiscord", |
| 1061 | 1057 | "welcome_message_part_7": "để biết thêm thông tin và nhận thông báo chính thức.", |
| 1062 | 1058 | "SillyTavern is aimed at advanced users.": "SillyTavern nhắmdành đếncho ngườidân dùngpro, caodân cấpchơi thứ thiệt.", |
| 1063 | 1059 | "If you're new to this, enable the simplified UI mode below.": "Nếu bạn chưa quen với điềudùng nàylắm, hãy bật chế độ giao diện người dùngUI đơn giản hóa bên dưới nha.", |
| 1064 | 1060 | "Change it later in the 'User Settings' panel.": "Thay đổi nó sau trong bảng 'Cài đặt người dùng'.", |
| 1065 | 1061 | "Enable simple UI mode": "Bật chế độ giao diện người dùng đơn giản", |
| 1066 | 1062 | "Looking for AI characters?": "Bạn đang tìm kiếm các nhân vật AI à?", |
| 1067 | 1063 | "onboarding_import": "Nhập khẩu", |
| 1068 | 1064 | "from supported sources or view": "từ các nguồn hoặc chế độ xem được hỗ trợ", |
| 1069 | 1065 | "Sample characters": "Ký tự mẫu", |
| 1070 | 1066 | "Your Persona": "Nhân cách của bạn", |
| 1071 | 1067 | "Before you get started, you must select a persona name.": "Trước khi bắt đầu, bạn phải chọn một têncái cátên nhân vật đã.", |
| 1072 | 1068 | "welcome_message_part_8": "Điều này có thể được thay đổi bất cứ lúc nào thông qua", |
| 1073 | 1069 | "welcome_message_part_9": "biểu tượng.", |
| 1074 | 1070 | "Persona Name:": "Tên nhân vật:", |
| @@ -1086,15 +1082,15 @@ | ||
| 1086 | 1082 | "(This will be the first message from the character that starts every chat)": "(Điều này sẽ là tin nhắn đầu tiên từ nhân vật mà bắt đầu mỗi cuộc trò chuyện)", |
| 1087 | 1083 | "Forbid Media Override explanation": "Khả năng sử dụng phương tiện truyền thông bên ngoài trong trò chuyện của nhân vật/nhóm hiện tại.", |
| 1088 | 1084 | "Forbid Media Override subtitle": "Phương tiện: hình ảnh, video, âm thanh. Bên ngoài: không được lưu trữ trên máy chủ cục bộ.", |
| 1089 | 1085 | "Always forbidden": "Luôn bị cấm", |
| 1090 | 1086 | "Always allowed": "Luôn luôn cho phép", |
| 1091 | 1087 | "View contents": "Xem nội dung", |
| 1092 | 1088 | "Remove the file": "Xóa tập tin", |
| 1093 | 1089 | "Unique to this chat": "Duy nhất cho cuộc trò chuyện này", |
| 1094 | 1090 | "Checkpoints inherit the Note from their parent, and can be changed individually after that.": "Điểm kiểm tra kế thừa Ghi chú từ cha mẹ của chúng và có thể được thay đổi riêng lẻ sau đó.", |
| 1095 | 1091 | "Include in World Info Scanning": "Bao gồm trong Quét thông tinWorld thếInfo giớiscanning", |
| 1096 | 1092 | "Before Main Prompt / Story String": "Trước Lời nhắc chính/Chuỗi câu chuyện", |
| 1097 | 1093 | "After Main Prompt / Story String": "Sau lời nhắcPrompt chính/chuỗi câu chuyện", |
| 1098 | 1094 | "as": "BẰNG", |
| 1099 | 1095 | "Insertion Frequency": "Tần số chèn", |
| 1100 | 1096 | "(0 = Disable, 1 = Always)": "(0 = Tắt, 1 = Luôn luôn)", |
| @@ -1116,8 +1112,8 @@ | ||
| 1116 | 1112 | "Global CFG": "CFG toàn cầu", |
| 1117 | 1113 | "Will be used as the default CFG options for every chat unless overridden.": "Sẽ được sử dụng làm tùy chọn CFG mặc định cho mọi cuộc trò chuyện trừ khi bị ghi đè.", |
| 1118 | 1114 | "CFG Prompt Cascading": "Xếp tầng nhắc nhở CFG", |
| 1119 | 1115 | "Combine positive/negative prompts from other boxes.": "Kết hợp những lời nhắcPrompt tích cực/tiêu cực từ các ô khác.", |
| 1120 | 1116 | "For example, ticking the chat, global, and character boxes combine all negative prompts into a comma-separated string.": "Ví dụ: việc đánh dấu vào các hộp trò chuyện, chung và ký tự sẽ kết hợp tất cả các lời nhắcPrompt phủ định thành một chuỗi được phân tách bằng dấu phẩy.", |
| 1121 | 1117 | "Always Include": "Luôn bao gồm", |
| 1122 | 1118 | "Chat Negatives": "Trò chuyện phủ định", |
| 1123 | 1119 | "Character Negatives": "Nhân vật tiêu cực", |
| @@ -1127,35 +1123,35 @@ | ||
| 1127 | 1123 | "Token Probabilities": "Xác suất Mã thông báo", |
| 1128 | 1124 | "Select a token to see alternatives considered by the AI.": "Chọn một mã thông báo để xem các phương án thay thế được AI xem xét.", |
| 1129 | 1125 | "Not connected to API!": "Không kết nối với API!", |
| 1130 | 1126 | "Type a message, or /? for help": "Nhập tingì nhắnđó đi bồ ơi, hoặc gõ /? để đượctui giúpbày đỡcho", |
| 1131 | 1127 | "Continue script execution": "Tiếp tục thực thi tập lệnh", |
| 1132 | 1128 | "Pause script execution": "Tạm dừng thực thi tập lệnh", |
| 1133 | 1129 | "Abort script execution": "Hủy bỏ việc thực thi tập lệnh", |
| 1134 | 1130 | "Abort request": "Hủy yêu cầu", |
| 1135 | 1131 | "Continue the last message": "Tiếp tục từ tin nhắn cuối cùng", |
| 1136 | 1132 | "Send a message": "Gửi một tin nhắn", |
| 1137 | 1133 | "Close chat": "Đóng trò chuyện", |
| 1138 | 1134 | "Toggle Panels": "Chuyển đổiBật bảng lên", |
| 1139 | 1135 | "Back to parent chat": "Quay lại cuộc trò chuyện chachính", |
| 1140 | 1136 | "Save checkpoint": "Lưu điểm kiểmdiểm tracheckpoint", |
| 1141 | 1137 | "Convert to group": "Chuyển đổi thành nhóm", |
| 1142 | 1138 | "Start new chat": "Bắt đầu trò chuyện mới", |
| 1143 | 1139 | "Manage chat files": "Quản lý tệp trò chuyện", |
| 1144 | 1140 | "Delete messages": "Xóa tin nhắn", |
| 1145 | 1141 | "Regenerate": "Tạo lại", |
| 1146 | 1142 | "Ask AI to write your message for you": "Yêu cầuKêu AI viết tin nhắn của bạn chohộ bạn", |
| 1147 | 1143 | "Impersonate": "MôGiả phỏngthoại danh", |
| 1148 | 1144 | "Continue": "Tiếp tục", |
| 1149 | 1145 | "Bind user name to that avatar": "RàngLiên buộckết tên người dùng với hình đại diệnavatar đó", |
| 1150 | 1146 | "Change persona image": "Thay đổi hình ảnh đại diện nhân cách", |
| 1151 | 1147 | "Select this as default persona for the new chats.": "Chọn đâycái này làm nhân cách mặc định cho các cuộc trò chuyện mới.", |
| 1152 | 1148 | "Delete persona": "Xóa nhân cách", |
| 1153 | 1149 | "These characters are the winners of character design contests and have outstandable quality.": "Những nhân vật này là người chiến thắng trong các cuộc thi thiết kế nhân vật và có chất lượng vượt trội.", |
| 1154 | 1150 | "Contest Winners": "Người chiến thắng cuộc thi", |
| 1155 | 1151 | "These characters are the finalists of character design contests and have remarkable quality.": "Những nhân vật này lọt vào vòng chung kết của các cuộc thi thiết kế nhân vật và có chất lượng vượt trội.", |
| 1156 | 1152 | "Featured Characters": "Nhân vật nổi bật", |
| 1157 | 1153 | "Attach a File": "Đính kèm một tập tin", |
| 1158 | 1154 | "Open Data Bank": "Mở Ngân hàng dữ liệu mở", |
| 1159 | 1155 | "Enter a URL or the ID of a Fandom wiki page to scrape:": "Nhập URL hoặc ID của trang wiki Fandom để thu thập:", |
| 1160 | 1156 | "Examples:": "Ví dụ:", |
| 1161 | 1157 | "Example:": "Ví dụ:", |
| @@ -1197,19 +1193,19 @@ | ||
| 1197 | 1193 | "ext_sum_force_text": "Tóm tắt ngay bây giờ", |
| 1198 | 1194 | "Disable automatic summary updates. While paused, the summary remains as-is. You can still force an update by pressing the Summarize now button (which is only available with the Main API).": "Tắt cập nhật tóm tắt tự động. Trong khi tạm dừng, tóm tắt vẫn giữ nguyên. Bạn vẫn có thể buộc cập nhật bằng cách nhấn nút Tóm tắt ngay (chỉ khả dụng với API chính).", |
| 1199 | 1195 | "ext_sum_pause": "Tạm ngừng", |
| 1200 | 1196 | "Omit World Info and Author's Note from text to be summarized. Only has an effect when using the Main API. The Extras API always omits WI/AN.": "Bỏ qua Thông tin thếWorld giớiInfo và Ghi chú của tác giả khỏi văn bản cần tóm tắt. Chỉ có tác dụng khi sử dụng API chính. API bổ sung luôn bỏ qua WI/AN.", |
| 1201 | 1197 | "ext_sum_no_wi_an": "Không có WI/AN", |
| 1202 | 1198 | "ext_sum_settings_tip": "Chỉnh sửa lời nhắcPrompt tóm tắt, vị trí chèn, v.v.", |
| 1203 | 1199 | "ext_sum_settings": "Cài đặt tóm tắt", |
| 1204 | 1200 | "ext_sum_prompt_builder": "Trình tạo nhắc nhở", |
| 1205 | 1201 | "ext_sum_prompt_builder_1_desc": "Tiện ích mở rộng sẽ xây dựng lời nhắcPrompt riêng bằng cách sử dụng các thông báo chưa được tóm tắt. Chặn cuộc trò chuyện cho đến khi bản tóm tắt được tạo.", |
| 1206 | 1202 | "ext_sum_prompt_builder_1": "Nguyên, chặn", |
| 1207 | 1203 | "ext_sum_prompt_builder_2_desc": "Tiện ích mở rộng sẽ xây dựng lời nhắcPrompt riêng bằng cách sử dụng các thông báo chưa được tóm tắt. Không chặn cuộc trò chuyện trong khi bản tóm tắt đang được tạo. Không phải tất cả các chương trình phụ trợ đều hỗ trợ chế độ này.", |
| 1208 | 1204 | "ext_sum_prompt_builder_2": "Nguyên, không chặn", |
| 1209 | 1205 | "ext_sum_prompt_builder_3_desc": "Tiện ích mở rộng sẽ sử dụng trình tạo lời nhắcPrompt chính thông thường và thêm yêu cầu tóm tắt vào đó làm thông báo hệ thống cuối cùng.", |
| 1210 | 1206 | "ext_sum_prompt_builder_3": "Cổ điển, chặn", |
| 1211 | 1207 | "Summary Prompt": "Lời nhắc tóm tắt", |
| 1212 | 1208 | "ext_sum_restore_default_prompt_tip": "Khôi phục lời nhắcPrompt mặc định", |
| 1213 | 1209 | "ext_sum_prompt_placeholder": "Lời nhắc này sẽ được gửi tới AI để yêu cầu tạo bản tóm tắt. {{words}} sẽ phân giải thành tham số 'Số từ'.", |
| 1214 | 1210 | "ext_sum_target_length_1": "Độ dài tóm tắt mục tiêu", |
| 1215 | 1211 | "ext_sum_target_length_2": null, |
| @@ -1257,13 +1253,13 @@ | ||
| 1257 | 1253 | "ext_regex_user_input": "Đầu vào của người dùng", |
| 1258 | 1254 | "ext_regex_ai_output": "Đầu ra AI", |
| 1259 | 1255 | "Slash Commands": "Lệnh gạch chéo", |
| 1260 | 1256 | "ext_regex_min_depth_desc": "Khi áp dụng cho lời nhắcPrompt hoặc hiển thị, chỉ ảnh hưởng đến các tin nhắn có độ sâu ít nhất N cấp độ. 0 = tin nhắn cuối cùng, 1 = tin nhắn áp chót, v.v. Chỉ tính các mục WI @Depth và các tin nhắn có thể sử dụng được, tức là không bị ẩn hoặc hệ thống.", |
| 1261 | 1257 | "Min Depth": "Độ sâu tối thiểu", |
| 1262 | 1258 | "ext_regex_min_depth_placeholder": "Vô hạn", |
| 1263 | 1259 | "ext_regex_max_depth_desc": "Khi áp dụng cho lời nhắcPrompt hoặc màn hình, chỉ ảnh hưởng đến tin nhắn không quá N cấp độ. 0 = tin nhắn cuối cùng, 1 = tin nhắn áp chót, v.v. Chỉ tính các mục WI @Depth và các tin nhắn có thể sử dụng được, tức là không bị ẩn hoặc hệ thống.", |
| 1264 | 1260 | "ext_regex_other_options": "Sự lựa chọn khác", |
| 1265 | 1261 | "Only Format Display": "Chỉ hiển thị định dạng", |
| 1266 | 1262 | "ext_regex_only_format_prompt_desc": "Lịch sử trò chuyện sẽ không thay đổi, chỉ có lời nhắcPrompt khi yêu cầu được gửi (khi tạo).", |
| 1267 | 1263 | "Only Format Prompt (?)": "Chỉ định dạng nhắc nhở", |
| 1268 | 1264 | "Run On Edit": "Chạy trên Chỉnh sửa", |
| 1269 | 1265 | "ext_regex_substitute_regex_desc": "Thay thế {{macros}} trong Tìm Regex trước khi chạy nó", |
| @@ -1285,13 +1281,13 @@ | ||
| 1285 | 1281 | "sd_Raw_Last_Message": "Tin nhắn cuối cùng thô", |
| 1286 | 1282 | "sd_Background": "Lý lịch", |
| 1287 | 1283 | "Image Generation": "Tạo hình ảnh", |
| 1288 | 1284 | "sd_refine_mode": "Cho phép chỉnh sửa lời nhắcPrompt theo cách thủ công trước khi gửi chúng đến API thế hệ", |
| 1289 | 1285 | "sd_refine_mode_txt": "Chỉnh sửa lời nhắcPrompt trước khi tạo", |
| 1290 | 1286 | "sd_interactive_mode": "Tự động tạo hình ảnh khi gửi tin nhắn như “gửi cho tôi ảnh con mèo”.", |
| 1291 | 1287 | "sd_interactive_mode_txt": "Chế độ tương tác", |
| 1292 | 1288 | "sd_multimodal_captioning": "Sử dụng chú thích đa phương thức để tạo lời nhắcPrompt về chân dung người dùng và nhân vật dựa trên hình đại diện của họ.", |
| 1293 | 1289 | "sd_multimodal_captioning_txt": "Sử dụng chú thích đa phương thức cho ảnh chân dung", |
| 1294 | 1290 | "sd_expand": "Tự động mở rộng lời nhắcPrompt bằng mô hình tạo văn bản", |
| 1295 | 1291 | "sd_expand_txt": "Lời nhắc tự động nâng cao", |
| 1296 | 1292 | "sd_snap": "Điều chỉnh nhanh các yêu cầu tạo có tỷ lệ khung hình bắt buộc (chân dung, hình nền) về độ phân giải đã biết gần nhất, đồng thời cố gắng duy trì số lượng pixel tuyệt đối (được khuyến nghị cho SDXL).", |
| 1297 | 1293 | "sd_snap_txt": "Chụp độ phân giải được điều chỉnh tự động", |
| @@ -1341,14 +1337,14 @@ | ||
| 1341 | 1337 | "Hires. Fix": "Thuê. Sửa chữa", |
| 1342 | 1338 | "Upscaler": "nâng cấp", |
| 1343 | 1339 | "Upscale by": "Cao cấp bởi", |
| 1344 | 1340 | "Denoising strength": "SứcMức mạnhđộ khử nhiễunoise", |
| 1345 | 1341 | "Hires steps (2nd pass)": "Thuê bước (đạt thứ 2)", |
| 1346 | 1342 | "Preset for prompt prefix and negative prompt": "Đặt trước cho tiền tố lời nhắcPrompt và lời nhắcPrompt phủ định", |
| 1347 | 1343 | "Style": "Phong cách", |
| 1348 | 1344 | "Save style": "Lưu kiểu", |
| 1349 | 1345 | "Delete style": "Xóa kiểu", |
| 1350 | 1346 | "Common prompt prefix": "Tiền tố nhắc chung", |
| 1351 | 1347 | "sd_prompt_prefix_placeholder": "Sử dụng {prompt} để chỉ định vị trí chèn lời nhắcPrompt được tạo", |
| 1352 | 1348 | "Negative common prompt prefix": "Tiền tố dấu nhắc chung phủ định", |
| 1353 | 1349 | "Character-specific prompt prefix": "Tiền tố nhắc nhở dành riêng cho ký tự", |
| 1354 | 1350 | "Won't be used in groups.": "Sẽ không được sử dụng trong nhóm.", |
| @@ -1371,60 +1367,60 @@ | ||
| 1371 | 1367 | "Current Password:": "Mật khẩu hiện tại:", |
| 1372 | 1368 | "New Password:": "Mật khẩu mới:", |
| 1373 | 1369 | "Confirm New Password:": "Xác nhận mật khẩu mới:", |
| 1374 | 1370 | "Debug Warning": "Các chức năng trong danh mục này chỉ dành cho người dùng nâng caopro. Đừng nhấp vào bất cứ thứ gì nếu bạn không chắc chắn về hậu quả.", |
| 1375 | 1371 | "Execute": "HànhThực hìnhhiện", |
| 1376 | 1372 | "Are you sure you want to delete this user?": "Bạn có chắc chắn muốn xóa người dùng này?", |
| 1377 | 1373 | "Deleting:": "Đang xóa:", |
| 1378 | 1374 | "Also wipe user data.": "Đồng thời xóa dữ liệu người dùng.", |
| 1379 | 1375 | "Warning:": "Cảnh báo:", |
| 1380 | 1376 | "This action is irreversible.": "Hành động này là không thể đảohoàn ngượctác.", |
| 1381 | 1377 | "Type the user's handle below to confirm:": "Nhập tên người dùng bên dưới để xác nhận:", |
| 1382 | 1378 | "Import Characters": "Nhập ký tự", |
| 1383 | 1379 | "Enter the URL of the content to import": "Nhập URL của nội dung cần nhập", |
| 1384 | 1380 | "Supported sources:": "Các nguồn được hỗ trợ:", |
| 1385 | 1381 | "char_import_1": "Nhân vật Chub (Liên kết trực tiếp hoặc ID)", |
| 1386 | 1382 | "char_import_example": "Ví dụ:", |
| 1387 | 1383 | "char_import_2": "Sách về Chub (LiênNhập kếtURL trực tiếp hoặc ID)", |
| 1388 | 1384 | "char_import_3": "Nhân vật JanitorAI (LiênNhập kếtURL trực tiếp hoặc UUID)", |
| 1389 | 1385 | "char_import_4": "Nhân vật Pygmalion.chat (LiênNhập kếtURL trực tiếp hoặc UUID)", |
| 1390 | 1386 | "char_import_5": "Ký tự AICharacterCard.com (LiênNhập kếtURL trực tiếp hoặc ID)", |
| 1391 | 1387 | "char_import_6": "Liên kếtNhập PNG trực tiếp (tham khảo", |
| 1392 | 1388 | "char_import_7": "đối với các máy chủ được phép)", |
| 1393 | 1389 | "char_import_8": "Nhân vật RisuRealm (Liên kếtURL trực tiếp)", |
| 1394 | 1390 | "Supports importing multiple characters.": "Hỗ trợ nhập nhiều ký tự.", |
| 1395 | 1391 | "Write each URL or ID into a new line.": "Viết mỗi URL hoặc ID vào một dòng mới.", |
| 1396 | 1392 | "Export for character": "Xuất cho nhân vật", |
| 1397 | 1393 | "Export prompts for this character, including their order.": "Xuất lời nhắcPrompt cho ký tự này, bao gồm cả thứ tự của chúng.", |
| 1398 | 1394 | "Export all": "Xuất tất cả", |
| 1399 | 1395 | "Export all your prompts to a file": "Xuất tất cả lời nhắcPrompt của bạn sang một tệp", |
| 1400 | 1396 | "Insert prompt": "Chèn lời mờiPrompt", |
| 1401 | 1397 | "Delete prompt": "Xóa lời mờiPrompt", |
| 1402 | 1398 | "Import a prompt list": "Nhập danh sách lời mờiPrompt", |
| 1403 | 1399 | "Export this prompt list": "Xuất danh sách lời mờiPrompt này", |
| 1404 | 1400 | "Reset current character": "Đặt lại nhân vật hiện tại", |
| 1405 | 1401 | "New prompt": "Lời mờiPrompt mới", |
| 1406 | 1402 | "Prompts": "Lời mờiPrompts", |
| 1407 | 1403 | "Total Tokens:": "Tổng sốcộng token:", |
| 1408 | 1404 | "prompt_manager_tokens": "MãBộ thôngTách báotừ", |
| 1409 | 1405 | "Are you sure you want to reset your settings to factory defaults?": "Bạn có chắc chắn muốn đặt lại cài đặt của mình về mặc định ban đầu không?", |
| 1410 | 1406 | "Don't forget to save a snapshot of your settings before proceeding.": "Đừng quên lưusao ảnhlưu chụpsnapshot nhanhcủa cài đặt của bạn trước khi tiếp tục nha.", |
| 1411 | 1407 | "Settings Snapshots": "Cài đặt Ảnh chụp nhanhSnapshot", |
| 1412 | 1408 | "Record a snapshot of your current settings.": "Ghi lại ảnh chụp nhanhSnapshot cáccủa cài đặt hiện tại của bạn.", |
| 1413 | 1409 | "Make a Snapshot": "Tạo một ảnh chụp nhanhSnapshot", |
| 1414 | 1410 | "Restore this snapshot": "Khôi phục ảnh chụp nhanhSnapshot này", |
| 1415 | 1411 | "Hi,": "CHÀO,", |
| 1416 | 1412 | "To enable multi-account features, restart the SillyTavern server with": "Để bật tính năng nhiềuđa tài khoản, hãy khởi động lại máy chủ SillyTavern bằng", |
| 1417 | 1413 | "set to true in the config.yaml file.": "cách đặt enableUserAccounts thành true trong tệp config.yaml.", |
| 1418 | 1414 | "Account Info": "Thông tin tài khoản", |
| 1419 | 1415 | "To change your user avatar, use the buttons below or select a default persona in the Persona Management menu.": "Để thay đổi hình đại diện người dùng của bạn, hãy sử dụng các nút bên dưới hoặc chọn nhân vật mặc định trong menu Quản lý Persona.", |
| 1420 | 1416 | "Set your custom avatar.": "Thiết lập hình đạiĐặt diệnavatar tùy chỉnh của bạn.", |
| 1421 | 1417 | "Remove your custom avatar.": "Xóa hình đại diện tùy chỉnhavatar của bạn.", |
| 1422 | 1418 | "Handle:": "Xử lý:", |
| 1423 | 1419 | "This account is password protected.": "Tài khoản này được bảo vệ bằng mật khẩu.", |
| 1424 | 1420 | "This account is not password protected.": "Tài khoản này không được bảo vệ bằng mật khẩu.", |
| 1425 | 1421 | "Account Actions": "HànhCác độngthao tác tài khoản", |
| 1426 | 1422 | "Change Password": "Đổi mật khẩu", |
| 1427 | 1423 | "Manage your settings snapshots.": "Quản lý ảnh chụp nhanhsnapshots cài đặt của bạn.", |
| 1428 | 1424 | "Download a complete backup of your user data.": "Tải xuống bản sao lưu đầy đủ dữ liệu người dùng của bạn.", |
| 1429 | 1425 | "Download Backup": "Tải xuống bản sao lưu", |
| 1430 | 1426 | "Danger Zone": "Khu vực nguy hiểm", |
| @@ -1434,21 +1430,21 @@ | ||
| 1434 | 1430 | "Reset Everything": "Đặt lại mọi thứ", |
| 1435 | 1431 | "Reset Code:": "Đặt lại mã:", |
| 1436 | 1432 | "Want to update?": "Muốn cập nhật?", |
| 1437 | 1433 | "How to start chatting?": "Làm thếBắt nàođầu đểchat bắtchit đầukiểu trògì chuyệnzậy?", |
| 1438 | 1434 | "Click _space": "NhấpĐúp chuộtvào", |
| 1439 | 1435 | "and select a": "và chọn một", |
| 1440 | 1436 | "Chat API": "API TròChat chuyệnAPI", |
| 1441 | 1437 | "and pick a character.": "và chọn một nhân vật.", |
| 1442 | 1438 | "You can browse a list of bundled characters in the": "Bạn có thể duyệtxem qua danh sách các ký tựnhân đượcvật nhómcó trongsẵn", |
| 1443 | 1439 | "Download Extensions & Assets": "Tải xuống tiện ích mở rộng và nội dungAsests", |
| 1444 | 1440 | "menu within": "thực đơnmenu bên trong", |
| 1445 | 1441 | "Confused or lost?": "LạcĐơ lõngđầu hoặchay bốilạc rốitrôi?", |
| 1446 | 1442 | "click these icons!": "nhấp vào các biểu tượng này!", |
| 1447 | 1443 | "in the chat bar": "trong thanh trò chuyện", |
| 1448 | 1444 | "SillyTavern Documentation Site": "Trang tàiTài liệu về SillyTavern", |
| 1449 | 1445 | "Extras Installation Guide": "Hướng dẫn cài đặt bổ sung", |
| 1450 | 1446 | "Still have questions?": "Bạn vẫn còn câuthắc hỏimắc?", |
| 1451 | 1447 | "Join the SillyTavern Discord": "Tham gia Kênh Discord của SillyTavern", |
| 1452 | 1448 | "Post a GitHub issue": "Đăng một vấn đề trên GitHub", |
| 1453 | 1449 | "Contact the developers": "Liên hệ với các nhà phát triểnDevs" |
| 1454 | 1450 | } |
| @@ -32,7 +32,7 @@ | ||
| 32 | 32 | "Streaming_desc": "逐位显示生成的回复", |
| 33 | 33 | "context size(tokens)": "上下文长度(以词符数计)", |
| 34 | 34 | "unlocked": "解锁", |
| 35 | 35 | "Only enable this if your model supports context sizes greater than 40968192 tokens": "仅在您的模型支持大于4096个词符的上下文大小时启用此选项仅在您的模型支持大于8192个词符的上下文大小时启用此选项", |
| 36 | 36 | "Max prompt cost:": "最大提示词费用:", |
| 37 | 37 | "Display the response bit by bit as it is generated.": "随着回复的生成,逐位显示结果。", |
| 38 | 38 | "When this is off, responses will be displayed all at once when they are complete.": "当此选项关闭时,回复将在完成后一次性显示。", |
| @@ -397,10 +397,6 @@ | ||
| 397 | 397 | "Context Size": "上下文大小", |
| 398 | 398 | "Group by vendors": "按供应商分组", |
| 399 | 399 | "Group by vendors Description": "将 OpenAI 模型放在一组,将 Anthropic 模型放在另一组,等等。可以与排序结合。", |
| 400 | - "openrouter_force_instruct": "此选项已过时,将来会被删除。要使用指令格式,请改用文本完成 API 下的 OpenRouter。", | |
| 401 | - "LEGACY": "旧版", | |
| 402 | - "Force Instruct Mode formatting": "强制指令模式格式化", | |
| 403 | - "Force_Instruct_Mode_formatting_Description": "如果同时启用了“指示模式”和“系统提示词”,则 SillyTavern 将使用当前\n高级格式设置(指示系统提示词除外)对提示词进行格式化。如果禁用,则 OpenRouter 将对提示词进行格式化。", | |
| 404 | 400 | "Scale API Key": "Scale API密钥", |
| 405 | 401 | "Clear your cookie": "清除你的 Cookie", |
| 406 | 402 | "Alt Method": "备用方法", |
| @@ -1305,6 +1301,7 @@ | ||
| 1305 | 1301 | "ext_sum_current_summary": "当前摘要:", |
| 1306 | 1302 | "ext_sum_restore_previous": "恢复上一个", |
| 1307 | 1303 | "ext_sum_memory_placeholder": "摘要将在这里生成...", |
| 1304 | + "ext_sum_restore_tip": "恢复先前的摘要;重复使用以清除此聊天的摘要状态", | |
| 1308 | 1305 | "ext_sum_force_tip": "立即触发摘要更新。", |
| 1309 | 1306 | "ext_sum_force_text": "现在总结", |
| 1310 | 1307 | "Disable automatic summary updates. While paused, the summary remains as-is. You can still force an update by pressing the Summarize now button (which is only available with the Main API).": "禁用自动摘要更新。暂停时,摘要保持原样。您仍然可以通过按“立即汇总”按钮(仅适用于主 API)强制更新。", |
| @@ -32,7 +32,7 @@ | ||
| 32 | 32 | "Streaming_desc": "生成時逐位顯示回應。當此功能關閉時,回應將在完成後一次顯示。", |
| 33 | 33 | "context size(tokens)": "上下文大小(符記數)", |
| 34 | 34 | "unlocked": "解鎖", |
| 35 | 35 | "Only enable this if your model supports context sizes greater than 40968192 tokens": "僅在您的模型支援超過4096個符記的上下文大小時啟用此功能僅在您的模型支援超過8192個符記的上下文大小時啟用此功能", |
| 36 | 36 | "Max prompt cost:": "最多提示詞費用", |
| 37 | 37 | "Display the response bit by bit as it is generated.": "生成時逐位顯示回應。", |
| 38 | 38 | "When this is off, responses will be displayed all at once when they are complete.": "關閉時,回應將在完成後一次性顯示。", |
| @@ -382,10 +382,6 @@ | ||
| 382 | 382 | "Group by vendors Description": "將 OpenAI 、 Anthropic 等等的模型放各自供應商的群組中。可以與排序功能結合使用。", |
| 383 | 383 | "Allow fallback routes": "允許備援路徑", |
| 384 | 384 | "Allow fallback routes Description": "如果選擇的模型無法滿足要求,會自動選擇替代模型。", |
| 385 | - "openrouter_force_instruct": "這個選項已經過時,將來會被移除。如果要使用指令格式,請改在 Text Completion API 中選擇 OpenRouter。", | |
| 386 | - "LEGACY": "遺留", | |
| 387 | - "Force Instruct Mode formatting": "強制指示模式格式化", | |
| 388 | - "Force_Instruct_Mode_formatting_Description": "如果同時啟用「指令模式」和這個選項,\nSillyTavern 會根據目前的進階格式化設定(不包括指令系統提示)來格式化提示詞。\n如果停用這個選項,提示詞將由 OpenRouter 來進行格式化。", | |
| 389 | 385 | "Scale API Key": "Scale API 金鑰", |
| 390 | 386 | "Clear your cookie": "清除您的 Cookie", |
| 391 | 387 | "Alt Method": "替代方法", |
| @@ -1,4 +1,4 @@ | ||
| 1 | 1 | import { humanizedDateTime, favsToHotswap, getMessageTimeStamp, dragElement, isMobile, initRossMods, shouldSendOnEnter, addSafariPatch } from './scripts/RossAscends-mods.js'; |
| 2 | 2 | import { userStatsHandler, statMesProcess, initStats } from './scripts/stats.js'; |
| 3 | 3 | import { |
| 4 | 4 | generateKoboldWithStreaming, |
| @@ -78,12 +78,11 @@ import { | ||
| 78 | 78 | renderStoryString, |
| 79 | 79 | sortEntitiesList, |
| 80 | 80 | registerDebugFunction, |
| 81 | - ui_mode, | |
| 82 | - switchSimpleMode, | |
| 83 | 81 | flushEphemeralStoppingStrings, |
| 84 | 82 | context_presets, |
| 85 | 83 | resetMovableStyles, |
| 86 | 84 | forceCharacterEditorTokenize, |
| 85 | + applyPowerUserSettings, | |
| 87 | 86 | } from './scripts/power-user.js'; |
| 88 | 87 | |
| 89 | 88 | import { |
| @@ -97,11 +96,10 @@ import { | ||
| 97 | 96 | openai_messages_count, |
| 98 | 97 | chat_completion_sources, |
| 99 | 98 | getChatCompletionModel, |
| 100 | - isOpenRouterWithInstruct, | |
| 101 | 99 | proxies, |
| 102 | 100 | loadProxyPresets, |
| 103 | 101 | selected_proxy, |
| 104 | 102 | initOpenaiinitOpenAI, |
| 105 | 103 | } from './scripts/openai.js'; |
| 106 | 104 | |
| 107 | 105 | import { |
| @@ -118,9 +116,9 @@ import { | ||
| 118 | 116 | } from './scripts/nai-settings.js'; |
| 119 | 117 | |
| 120 | 118 | import { |
| 121 | 119 | createNewBookmarkinitBookmarks, |
| 122 | 120 | showBookmarksButtons, |
| 123 | 121 | createBranchupdateBookmarkDisplay, |
| 124 | 122 | } from './scripts/bookmarks.js'; |
| 125 | 123 | |
| 126 | 124 | import { |
| @@ -160,7 +158,7 @@ import { | ||
| 160 | 158 | } from './scripts/utils.js'; |
| 161 | 159 | import { debounce_timeout } from './scripts/constants.js'; |
| 162 | 160 | |
| 163 | 161 | import { ModuleWorkerWrapper, doDailyExtensionUpdatesCheck, extension_settings, getContext, initExtensions, loadExtensionSettings, renderExtensionTemplate, renderExtensionTemplateAsync, runGenerationInterceptors, saveMetadataDebounced, writeExtensionField } from './scripts/extensions.js'; |
| 164 | 162 | import { COMMENT_NAME_DEFAULT, executeSlashCommands, executeSlashCommandsOnChatInput, executeSlashCommandsWithOptions, getSlashCommandsHelp, initDefaultSlashCommands, isExecutingCommandsFromChatInput, pauseScriptExecution, processChatSlashCommands, registerSlashCommand, stopScriptExecution } from './scripts/slash-commands.js'; |
| 165 | 163 | import { |
| 166 | 164 | tag_map, |
| @@ -212,7 +210,7 @@ import { | ||
| 212 | 210 | selectContextPreset, |
| 213 | 211 | } from './scripts/instruct-mode.js'; |
| 214 | 212 | import { initLocales, t, translate } from './scripts/i18n.js'; |
| 215 | 213 | import { getFriendlyTokenizerName, getTokenCount, getTokenCountAsync, getTokenizerModel, initTokenizers, saveTokenCache, TOKENIZER_SUPPORTED_KEY } from './scripts/tokenizers.js'; |
| 216 | 214 | import { |
| 217 | 215 | user_avatar, |
| 218 | 216 | getUserAvatars, |
| @@ -225,8 +223,8 @@ import { | ||
| 225 | 223 | import { getBackgrounds, initBackgrounds, loadBackgroundSettings, background_settings } from './scripts/backgrounds.js'; |
| 226 | 224 | import { hideLoader, showLoader } from './scripts/loader.js'; |
| 227 | 225 | import { BulkEditOverlay, CharacterContextMenu } from './scripts/BulkEditOverlay.js'; |
| 228 | 226 | import { loadFeatherlessModels, loadMancerModels, loadOllamaModels, loadTogetherAIModels, loadInfermaticAIModels, loadOpenRouterModels, loadVllmModels, loadAphroditeModels, loadDreamGenModels, initTextGenModels, loadTabbyModels } from './scripts/textgen-models.js'; |
| 229 | 227 | import { appendFileContent, hasPendingFileAttachment, populateFileAttachment, decodeStyleTags, encodeStyleTags, isExternalMediaAllowed, getCurrentEntityId, preserveNeutralChat, restoreNeutralChat } from './scripts/chats.js'; |
| 230 | 228 | import { initPresetManager } from './scripts/preset-manager.js'; |
| 231 | 229 | import { MacrosParser, evaluateMacros, getLastMessageId } from './scripts/macros.js'; |
| 232 | 230 | import { currentUser, setUserControls } from './scripts/user.js'; |
| @@ -243,6 +241,10 @@ import { INTERACTABLE_CONTROL_CLASS, initKeyboard } from './scripts/keyboard.js' | ||
| 243 | 241 | import { initDynamicStyles } from './scripts/dynamic-styles.js'; |
| 244 | 242 | import { SlashCommandEnumValue, enumTypes } from './scripts/slash-commands/SlashCommandEnumValue.js'; |
| 245 | 243 | import { commonEnumProviders, enumIcons } from './scripts/slash-commands/SlashCommandCommonEnumsProvider.js'; |
| 244 | +import { initInputMarkdown } from './scripts/input-md-formatting.js'; | |
| 245 | +import { AbortReason } from './scripts/util/AbortReason.js'; | |
| 246 | +import { initSystemPrompts } from './scripts/sysprompt.js'; | |
| 247 | +import { registerExtensionSlashCommands as initExtensionSlashCommands } from './scripts/extensions-slashcommands.js'; | |
| 246 | 248 | |
| 247 | 249 | //exporting functions and vars for mods |
| 248 | 250 | export { |
| @@ -411,10 +413,12 @@ export const event_types = { | ||
| 411 | 413 | MESSAGE_FILE_EMBEDDED: 'message_file_embedded', |
| 412 | 414 | IMPERSONATE_READY: 'impersonate_ready', |
| 413 | 415 | CHAT_CHANGED: 'chat_id_changed', |
| 416 | + GENERATION_AFTER_COMMANDS: 'GENERATION_AFTER_COMMANDS', | |
| 414 | 417 | GENERATION_STARTED: 'generation_started', |
| 415 | 418 | GENERATION_STOPPED: 'generation_stopped', |
| 416 | 419 | GENERATION_ENDED: 'generation_ended', |
| 417 | 420 | EXTENSIONS_FIRST_LOAD: 'extensions_first_load', |
| 421 | + EXTENSION_SETTINGS_LOADED: 'extension_settings_loaded', | |
| 418 | 422 | SETTINGS_LOADED: 'settings_loaded', |
| 419 | 423 | SETTINGS_UPDATED: 'settings_updated', |
| 420 | 424 | GROUP_UPDATED: 'group_updated', |
| @@ -452,7 +456,9 @@ export const event_types = { | ||
| 452 | 456 | // TODO: Naming convention is inconsistent with other events |
| 453 | 457 | CHARACTER_DELETED: 'characterDeleted', |
| 454 | 458 | CHARACTER_DUPLICATED: 'character_duplicated', |
| 455 | - SMOOTH_STREAM_TOKEN_RECEIVED: 'smooth_stream_token_received', | |
| 459 | + /** @deprecated The event is aliased to STREAM_TOKEN_RECEIVED. */ | |
| 460 | + SMOOTH_STREAM_TOKEN_RECEIVED: 'stream_token_received', | |
| 461 | + STREAM_TOKEN_RECEIVED: 'stream_token_received', | |
| 456 | 462 | FILE_ATTACHMENT_DELETED: 'file_attachment_deleted', |
| 457 | 463 | WORLDINFO_FORCE_ACTIVATE: 'worldinfo_force_activate', |
| 458 | 464 | OPEN_CHARACTER_LIBRARY: 'open_character_library', |
| @@ -460,6 +466,7 @@ export const event_types = { | ||
| 460 | 466 | LLM_FUNCTION_TOOL_CALL: 'llm_function_tool_call', |
| 461 | 467 | ONLINE_STATUS_CHANGED: 'online_status_changed', |
| 462 | 468 | IMAGE_SWIPED: 'image_swiped', |
| 469 | + CONNECTION_PROFILE_LOADED: 'connection_profile_loaded', | |
| 463 | 470 | }; |
| 464 | 471 | |
| 465 | 472 | export const eventSource = new EventEmitter(); |
| @@ -482,18 +489,11 @@ const promptStorage = new localforage.createInstance({ name: 'SillyTavern_Prompt | ||
| 482 | 489 | export let itemizedPrompts = []; |
| 483 | 490 | |
| 484 | 491 | export const systemUserName = 'SillyTavern System'; |
| 492 | +export const neutralCharacterName = 'Assistant'; | |
| 485 | 493 | let default_user_name = 'User'; |
| 486 | 494 | export let name1 = default_user_name; |
| 487 | 495 | export let name2 = 'SillyTavern System'systemUserName; |
| 488 | 496 | export let chat = []; |
| 489 | -let safetychat = [ | |
| 490 | - { | |
| 491 | - name: systemUserName, | |
| 492 | - is_user: false, | |
| 493 | - create_date: 0, | |
| 494 | - mes: 'You deleted a character/chat and arrived back here for safety reasons! Pick another character!', | |
| 495 | - }, | |
| 496 | -]; | |
| 497 | 497 | let chatSaveTimeout; |
| 498 | 498 | let importFlashTimeout; |
| 499 | 499 | export let isChatSaving = false; |
| @@ -512,6 +512,7 @@ let saveCharactersPage = 0; | ||
| 512 | 512 | export const default_avatar = 'img/ai4.png'; |
| 513 | 513 | export const system_avatar = 'img/five.png'; |
| 514 | 514 | export const comment_avatar = 'img/quill.png'; |
| 515 | +export const default_user_avatar = 'img/user-default.png'; | |
| 515 | 516 | export let CLIENT_VERSION = 'SillyTavern:UNKNOWN:Cohee#1207'; // For Horde header |
| 516 | 517 | let optionsPopper = Popper.createPopper(document.getElementById('options_button'), document.getElementById('options'), { |
| 517 | 518 | placement: 'top-start', |
| @@ -561,14 +562,14 @@ export const system_message_types = { | ||
| 561 | 562 | GROUP: 'group', |
| 562 | 563 | EMPTY: 'empty', |
| 563 | 564 | GENERIC: 'generic', |
| 564 | - BOOKMARK_CREATED: 'bookmark_created', | |
| 565 | - BOOKMARK_BACK: 'bookmark_back', | |
| 566 | 565 | NARRATOR: 'narrator', |
| 567 | 566 | COMMENT: 'comment', |
| 568 | 567 | SLASH_COMMANDS: 'slash_commands', |
| 569 | 568 | FORMATTING: 'formatting', |
| 570 | 569 | HOTKEYS: 'hotkeys', |
| 571 | 570 | MACROS: 'macros', |
| 571 | + WELCOME_PROMPT: 'welcome_prompt', | |
| 572 | + ASSISTANT_NOTE: 'assistant_note', | |
| 572 | 573 | }; |
| 573 | 574 | |
| 574 | 575 | /** |
| @@ -592,6 +593,17 @@ export const extension_prompt_roles = { | ||
| 592 | 593 | |
| 593 | 594 | export const MAX_INJECTION_DEPTH = 1000; |
| 594 | 595 | |
| 596 | +const SAFETY_CHAT = [ | |
| 597 | + { | |
| 598 | + name: systemUserName, | |
| 599 | + force_avatar: system_avatar, | |
| 600 | + is_system: true, | |
| 601 | + is_user: false, | |
| 602 | + create_date: 0, | |
| 603 | + mes: 'You deleted a character/chat and arrived back here for safety reasons! Pick another character!', | |
| 604 | + }, | |
| 605 | +]; | |
| 606 | + | |
| 595 | 607 | export let system_messages = {}; |
| 596 | 608 | |
| 597 | 609 | async function getSystemMessages() { |
| @@ -661,19 +673,25 @@ async function getSystemMessages() { | ||
| 661 | 673 | is_system: true, |
| 662 | 674 | mes: 'Generic system message. User `text` parameter to override the contents', |
| 663 | 675 | }, |
| 664 | 676 | bookmark_createdwelcome_prompt: { |
| 665 | 677 | name: systemUserName, |
| 666 | 678 | force_avatar: system_avatar, |
| 667 | 679 | is_user: false, |
| 668 | 680 | is_system: true, |
| 669 | - mes: 'Checkpoint created! Click here to open the checkpoint chat: <a class="bookmark_link" file_name="{0}" href="javascript:void(null);">{1}</a>', | |
| 681 | + mes: await renderTemplateAsync('welcomePrompt'), | |
| 682 | + extra: { | |
| 683 | + isSmallSys: true, | |
| 670 | 684 | }, |
| 671 | - bookmark_back: { | |
| 685 | + }, | |
| 686 | + assistant_note: { | |
| 672 | 687 | name: systemUserName, |
| 673 | 688 | force_avatar: system_avatar, |
| 674 | 689 | is_user: false, |
| 675 | 690 | is_system: true, |
| 676 | - mes: 'Click here to return to the previous chat: <a class="bookmark_link" file_name="{0}" href="javascript:void(null);">Return</a>', | |
| 691 | + mes: await renderTemplateAsync('assistantNote'), | |
| 692 | + extra: { | |
| 693 | + isSmallSys: true, | |
| 694 | + }, | |
| 677 | 695 | }, |
| 678 | 696 | }; |
| 679 | 697 | } |
| @@ -851,7 +869,6 @@ let abortController; | ||
| 851 | 869 | |
| 852 | 870 | //css |
| 853 | 871 | var css_send_form_display = $('<div id=send_form></div>').css('display'); |
| 854 | -const MAX_GENERATION_LOOPS = 5; | |
| 855 | 872 | |
| 856 | 873 | var kobold_horde_model = ''; |
| 857 | 874 | |
| @@ -911,23 +928,29 @@ async function firstLoadInit() { | ||
| 911 | 928 | throw new Error('Initialization failed'); |
| 912 | 929 | } |
| 913 | 930 | |
| 931 | + addSafariPatch(); | |
| 914 | 932 | await getClientVersion(); |
| 915 | 933 | await readSecretState(); |
| 916 | 934 | await initLocales(); |
| 917 | 935 | initDefaultSlashCommands(); |
| 918 | 936 | initTextGenModels(); |
| 937 | + initOpenAI(); | |
| 938 | + initSystemPrompts(); | |
| 939 | + initExtensions(); | |
| 940 | + initExtensionSlashCommands(); | |
| 941 | + await initPresetManager(); | |
| 919 | 942 | await getSystemMessages(); |
| 920 | 943 | sendSystemMessage(system_message_types.WELCOME); |
| 944 | + sendSystemMessage(system_message_types.WELCOME_PROMPT); | |
| 921 | 945 | await getSettings(); |
| 922 | 946 | initKeyboard(); |
| 923 | 947 | initDynamicStyles(); |
| 924 | 948 | initTags(); |
| 925 | 949 | initOpenaiinitBookmarks(); |
| 926 | 950 | await getUserAvatars(true, user_avatar); |
| 927 | 951 | await getCharacters(); |
| 928 | 952 | await getBackgrounds(); |
| 929 | 953 | await initTokenizers(); |
| 930 | - await initPresetManager(); | |
| 931 | 954 | initBackgrounds(); |
| 932 | 955 | initAuthorsNote(); |
| 933 | 956 | initPersonas(); |
| @@ -935,6 +958,7 @@ async function firstLoadInit() { | ||
| 935 | 958 | initStats(); |
| 936 | 959 | initCfg(); |
| 937 | 960 | initLogprobs(); |
| 961 | + initInputMarkdown(); | |
| 938 | 962 | doDailyExtensionUpdatesCheck(); |
| 939 | 963 | await hideLoader(); |
| 940 | 964 | await fixViewport(); |
| @@ -947,8 +971,8 @@ async function fixViewport() { | ||
| 947 | 971 | document.body.style.position = ''; |
| 948 | 972 | } |
| 949 | 973 | |
| 950 | 974 | function cancelStatusCheck(reason = 'Manually cancelled status check') { |
| 951 | 975 | abortStatusCheck?.abort(new AbortReason(reason)); |
| 952 | 976 | abortStatusCheck = new AbortController(); |
| 953 | 977 | setOnlineStatus('no_connection'); |
| 954 | 978 | } |
| @@ -1148,7 +1172,7 @@ async function getStatusTextgen() { | ||
| 1148 | 1172 | body: JSON.stringify({ |
| 1149 | 1173 | api_server: endpoint, |
| 1150 | 1174 | api_type: textgen_settings.type, |
| 1151 | 1175 | legacy_api: textgen_settings.legacy_api && (textgen_settings.type === OOBA || textgen_settings.type === APHRODITE), |
| 1152 | 1176 | }), |
| 1153 | 1177 | signal: abortStatusCheck.signal, |
| 1154 | 1178 | }); |
| @@ -1182,6 +1206,9 @@ async function getStatusTextgen() { | ||
| 1182 | 1206 | } else if (textgen_settings.type === FEATHERLESS) { |
| 1183 | 1207 | loadFeatherlessModels(data?.data); |
| 1184 | 1208 | setOnlineStatus(textgen_settings.featherless_model); |
| 1209 | + } else if (textgen_settings.type === TABBY) { | |
| 1210 | + loadTabbyModels(data?.data); | |
| 1211 | + setOnlineStatus(textgen_settings.tabby_model || data?.result); | |
| 1185 | 1212 | } else { |
| 1186 | 1213 | setOnlineStatus(data?.result); |
| 1187 | 1214 | } |
| @@ -1193,12 +1220,20 @@ async function getStatusTextgen() { | ||
| 1193 | 1220 | // Determine instruct mode preset |
| 1194 | 1221 | autoSelectInstructPreset(online_status); |
| 1195 | 1222 | |
| 1223 | + const supportsTokenization = response.headers.get('x-supports-tokenization') === 'true'; | |
| 1224 | + supportsTokenization ? sessionStorage.setItem(TOKENIZER_SUPPORTED_KEY, 'true') : sessionStorage.removeItem(TOKENIZER_SUPPORTED_KEY); | |
| 1225 | + | |
| 1196 | 1226 | // We didn't get a 200 status code, but the endpoint has an explanation. Which means it DID connect, but I digress. |
| 1197 | 1227 | if (online_status === 'no_connection' && data.response) { |
| 1198 | 1228 | toastr.error(data.response, 'API Error', { timeOut: 5000, preventDuplicates: true }); |
| 1199 | 1229 | } |
| 1200 | 1230 | } catch (err) { |
| 1231 | + if (err instanceof AbortReason) { | |
| 1232 | + console.info('Status check aborted.', err.reason); | |
| 1233 | + } else { | |
| 1201 | 1234 | console.error('Error getting status', err); |
| 1235 | + | |
| 1236 | + } | |
| 1202 | 1237 | setOnlineStatus('no_connection'); |
| 1203 | 1238 | } |
| 1204 | 1239 | |
| @@ -1820,6 +1855,7 @@ export async function deleteLastMessage() { | ||
| 1820 | 1855 | } |
| 1821 | 1856 | |
| 1822 | 1857 | export async function reloadCurrentChat() { |
| 1858 | + preserveNeutralChat(); | |
| 1823 | 1859 | await clearChat(); |
| 1824 | 1860 | chat.length = 0; |
| 1825 | 1861 | |
| @@ -1831,6 +1867,7 @@ export async function reloadCurrentChat() { | ||
| 1831 | 1867 | } |
| 1832 | 1868 | else { |
| 1833 | 1869 | resetChatState(); |
| 1870 | + restoreNeutralChat(); | |
| 1834 | 1871 | await getCharacters(); |
| 1835 | 1872 | await printMessages(); |
| 1836 | 1873 | await eventSource.emit(event_types.CHAT_CHANGED, getCurrentChatId()); |
| @@ -1843,7 +1880,7 @@ export async function reloadCurrentChat() { | ||
| 1843 | 1880 | /** |
| 1844 | 1881 | * Send the message currently typed into the chat box. |
| 1845 | 1882 | */ |
| 1846 | 1883 | export async function sendTextareaMessage() { |
| 1847 | 1884 | if (is_send_press) return; |
| 1848 | 1885 | if (isExecutingCommandsFromChatInput) return; |
| 1849 | 1886 | |
| @@ -1852,6 +1889,7 @@ export function sendTextareaMessage() { | ||
| 1852 | 1889 | // message was sent from a character (not the user or the system). |
| 1853 | 1890 | const textareaText = String($('#send_textarea').val()); |
| 1854 | 1891 | if (power_user.continue_on_send && |
| 1892 | + !hasPendingFileAttachment() && | |
| 1855 | 1893 | !textareaText && |
| 1856 | 1894 | !selected_group && |
| 1857 | 1895 | chat.length && |
| @@ -1861,6 +1899,10 @@ export function sendTextareaMessage() { | ||
| 1861 | 1899 | generateType = 'continue'; |
| 1862 | 1900 | } |
| 1863 | 1901 | |
| 1902 | + if (textareaText && !selected_group && this_chid === undefined && name2 !== neutralCharacterName) { | |
| 1903 | + await newAssistantChat(); | |
| 1904 | + } | |
| 1905 | + | |
| 1864 | 1906 | Generate(generateType); |
| 1865 | 1907 | } |
| 1866 | 1908 | |
| @@ -1940,9 +1982,7 @@ export function messageFormatting(mes, ch_name, isSystem, isUser, messageId) { | ||
| 1940 | 1982 | mes = mes.replaceAll('<', '<').replaceAll('>', '>'); |
| 1941 | 1983 | } |
| 1942 | 1984 | |
| 1943 | 1985 | if (this_chid === undefined && !selected_groupisSystem) { |
| 1944 | - mes = mes.replace(/\*\*(.+?)\*\*/g, '<b>$1</b>'); | |
| 1945 | - } else if (!isSystem) { | |
| 1946 | 1986 | // Save double quotes in tags as a special character to prevent them from being encoded |
| 1947 | 1987 | if (!power_user.encode_tags) { |
| 1948 | 1988 | mes = mes.replace(/<([^>]+)>/g, function (_, contents) { |
| @@ -1981,13 +2021,6 @@ export function messageFormatting(mes, ch_name, isSystem, isUser, messageId) { | ||
| 1981 | 2021 | }); |
| 1982 | 2022 | } |
| 1983 | 2023 | |
| 1984 | - /* | |
| 1985 | - // Hides bias from empty messages send with slash commands | |
| 1986 | - if (isSystem) { | |
| 1987 | - mes = mes.replace(/\{\{[\s\S]*?\}\}/gm, ""); | |
| 1988 | - } | |
| 1989 | - */ | |
| 1990 | - | |
| 1991 | 2024 | if (!power_user.allow_name2_display && ch_name && !isUser && !isSystem) { |
| 1992 | 2025 | mes = mes.replace(new RegExp(`(^|\n)${escapeRegex(ch_name)}:`, 'g'), '$1'); |
| 1993 | 2026 | } |
| @@ -2093,6 +2126,7 @@ function getMessageFromTemplate({ | ||
| 2093 | 2126 | tokenCount && mes.find('.tokenCounterDisplay').text(`${tokenCount}t`); |
| 2094 | 2127 | title && mes.attr('title', title); |
| 2095 | 2128 | timerValue && mes.find('.mes_timer').attr('title', timerTitle).text(timerValue); |
| 2129 | + bookmarkLink && updateBookmarkDisplay(mes); | |
| 2096 | 2130 | |
| 2097 | 2131 | if (power_user.timestamp_model_icon && extra?.api) { |
| 2098 | 2132 | insertSVGIcon(mes, extra); |
| @@ -2190,7 +2224,7 @@ export function addCopyToCodeBlocks(messageElement) { | ||
| 2190 | 2224 | codeBlocks.get(i).appendChild(copyButton); |
| 2191 | 2225 | copyButton.addEventListener('pointerup', function (event) { |
| 2192 | 2226 | navigator.clipboard.writeText(codeBlocks.get(i).innerText); |
| 2193 | 2227 | toastr.info('t`Copied!'`, '', { timeOut: 2000 }); |
| 2194 | 2228 | }); |
| 2195 | 2229 | } |
| 2196 | 2230 | } |
| @@ -2703,7 +2737,7 @@ function addPersonaDescriptionExtensionPrompt() { | ||
| 2703 | 2737 | const INJECT_TAG = 'PERSONA_DESCRIPTION'; |
| 2704 | 2738 | setExtensionPrompt(INJECT_TAG, '', extension_prompt_types.IN_PROMPT, 0); |
| 2705 | 2739 | |
| 2706 | 2740 | if (!power_user.persona_description || power_user.persona_description_position === persona_description_positions.NONE) { |
| 2707 | 2741 | return; |
| 2708 | 2742 | } |
| 2709 | 2743 | |
| @@ -2793,21 +2827,22 @@ export function baseChatReplace(value, name1, name2) { | ||
| 2793 | 2827 | */ |
| 2794 | 2828 | export function getCharacterCardFields() { |
| 2795 | 2829 | const result = { system: '', mesExamples: '', description: '', personality: '', persona: '', scenario: '', jailbreak: '', version: '' }; |
| 2830 | + result.persona = baseChatReplace(power_user.persona_description?.trim(), name1, name2); | |
| 2831 | + | |
| 2796 | 2832 | const character = characters[this_chid]; |
| 2797 | 2833 | |
| 2798 | 2834 | if (!character) { |
| 2799 | 2835 | return result; |
| 2800 | 2836 | } |
| 2801 | 2837 | |
| 2802 | 2838 | const scenarioText = chat_metadata['scenario'] || characters[this_chid]?character.scenario || ''; |
| 2803 | 2839 | result.description = baseChatReplace(characters[this_chid]character.description?.trim(), name1, name2); |
| 2804 | 2840 | result.personality = baseChatReplace(characters[this_chid]character.personality?.trim(), name1, name2); |
| 2805 | 2841 | result.scenario = baseChatReplace(scenarioText.trim(), name1, name2); |
| 2806 | 2842 | result.mesExamples = baseChatReplace(characters[this_chid]character.mes_example?.trim(), name1, name2); |
| 2807 | 2843 | result.personasystem = power_user.prefer_character_prompt ? baseChatReplace(power_usercharacter.persona_descriptiondata?.system_prompt?.trim(), name1, name2) : ''; |
| 2808 | 2844 | result.systemjailbreak = power_user.prefer_character_promptprefer_character_jailbreak ? baseChatReplace(characters[this_chid]character.data?.system_promptpost_history_instructions?.trim(), name1, name2) : ''; |
| 2809 | - result.jailbreak = power_user.prefer_character_jailbreak ? baseChatReplace(characters[this_chid].data?.post_history_instructions?.trim(), name1, name2) : ''; | |
| 2845 | + result.version = character.data?.character_version ?? ''; | |
| 2810 | - result.version = characters[this_chid].data?.character_version ?? ''; | |
| 2811 | 2846 | |
| 2812 | 2847 | if (selected_group) { |
| 2813 | 2848 | const groupCards = getGroupCharacterCards(selected_group, Number(this_chid)); |
| @@ -2824,8 +2859,13 @@ export function getCharacterCardFields() { | ||
| 2824 | 2859 | } |
| 2825 | 2860 | |
| 2826 | 2861 | export function isStreamingEnabled() { |
| 2827 | 2862 | const noStreamSources = [chat_completion_sources.SCALE, chat_completion_sources.AI21]; |
| 2828 | - return ((main_api == 'openai' && oai_settings.stream_openai && !noStreamSources.includes(oai_settings.chat_completion_source) && !(oai_settings.chat_completion_source == chat_completion_sources.MAKERSUITE && oai_settings.google_model.includes('bison'))) | |
| 2863 | + return ( | |
| 2864 | + (main_api == 'openai' && | |
| 2865 | + oai_settings.stream_openai && | |
| 2866 | + !noStreamSources.includes(oai_settings.chat_completion_source) && | |
| 2867 | + !(oai_settings.chat_completion_source == chat_completion_sources.OPENAI && oai_settings.openai_model.startsWith('o1-')) && | |
| 2868 | + !(oai_settings.chat_completion_source == chat_completion_sources.MAKERSUITE && oai_settings.google_model.includes('bison'))) | |
| 2829 | 2869 | || (main_api == 'kobold' && kai_settings.streaming_kobold && kai_flags.can_use_streaming) |
| 2830 | 2870 | || (main_api == 'novel' && nai_settings.streaming_novel) |
| 2831 | 2871 | || (main_api == 'textgenerationwebui' && textgen_settings.streaming)); |
| @@ -3068,6 +3108,12 @@ class StreamingProcessor { | ||
| 3068 | 3108 | this.hideMessageButtons(this.messageId); |
| 3069 | 3109 | generatedPromptCache = ''; |
| 3070 | 3110 | unblockGeneration(); |
| 3111 | + | |
| 3112 | + const noEmitTypes = ['swipe', 'impersonate', 'continue']; | |
| 3113 | + if (!noEmitTypes.includes(this.type)) { | |
| 3114 | + eventSource.emit(event_types.MESSAGE_RECEIVED, this.messageId); | |
| 3115 | + eventSource.emit(event_types.CHARACTER_MESSAGE_RENDERED, this.messageId); | |
| 3116 | + } | |
| 3071 | 3117 | } |
| 3072 | 3118 | |
| 3073 | 3119 | setFirstSwipe(messageId) { |
| @@ -3117,6 +3163,7 @@ class StreamingProcessor { | ||
| 3117 | 3163 | if (logprobs) { |
| 3118 | 3164 | this.messageLogprobs.push(...(Array.isArray(logprobs) ? logprobs : [logprobs])); |
| 3119 | 3165 | } |
| 3166 | + await eventSource.emit(event_types.STREAM_TOKEN_RECEIVED, text); | |
| 3120 | 3167 | await sw.tick(() => this.onProgressStreaming(this.messageId, this.continueMessage + text)); |
| 3121 | 3168 | } |
| 3122 | 3169 | const seconds = (timestamps[timestamps.length - 1] - timestamps[0]) / 1000; |
| @@ -3221,7 +3268,7 @@ export async function generateRaw(prompt, api, instructOverride, quietToLoud, sy | ||
| 3221 | 3268 | } |
| 3222 | 3269 | |
| 3223 | 3270 | if (data.error) { |
| 3224 | 3271 | throw new Error(data.errorresponse); |
| 3225 | 3272 | } |
| 3226 | 3273 | |
| 3227 | 3274 | const message = cleanUpMessage(extractMessageFromData(data), false, false, true); |
| @@ -3293,14 +3340,16 @@ function removeLastMessage() { | ||
| 3293 | 3340 | * @param {GenerateOptions} options Generation options |
| 3294 | 3341 | * @param {boolean} dryRun Whether to actually generate a message or just assemble the prompt |
| 3295 | 3342 | * @returns {Promise<any>} Returns a promise that resolves when the text is done generating. |
| 3296 | 3343 | * @typedef {{automatic_trigger?: boolean, force_name2?: boolean, quiet_prompt?: string, quietToLoud?: boolean, skipWIAN?: boolean, force_chid?: number, signal?: AbortSignal, quietImage?: string, maxLoops?: number, quietName?: string }} GenerateOptions |
| 3297 | 3344 | */ |
| 3298 | 3345 | export async function Generate(type, { automatic_trigger, force_name2, quiet_prompt, quietToLoud, skipWIAN, force_chid, signal, quietImage, maxLoops, quietName } = {}, dryRun = false) { |
| 3299 | 3346 | console.log('Generate entered'); |
| 3300 | - eventSource.emit(event_types.GENERATION_STARTED, type, { automatic_trigger, force_name2, quiet_prompt, quietToLoud, skipWIAN, force_chid, signal, quietImage, maxLoops }, dryRun); | |
| 3301 | 3347 | setGenerationProgress(0); |
| 3302 | 3348 | generation_started = new Date(); |
| 3303 | 3349 | |
| 3350 | + // Occurs every time, even if the generation is aborted due to slash commands execution | |
| 3351 | + await eventSource.emit(event_types.GENERATION_STARTED, type, { automatic_trigger, force_name2, quiet_prompt, quietToLoud, skipWIAN, force_chid, signal, quietImage }, dryRun); | |
| 3352 | + | |
| 3304 | 3353 | // Don't recreate abort controller if signal is passed |
| 3305 | 3354 | if (!(abortController && signal)) { |
| 3306 | 3355 | abortController = new AbortController(); |
| @@ -3320,6 +3369,9 @@ export async function Generate(type, { automatic_trigger, force_name2, quiet_pro | ||
| 3320 | 3369 | } |
| 3321 | 3370 | } |
| 3322 | 3371 | |
| 3372 | + // Occurs only if the generation is not aborted due to slash commands execution | |
| 3373 | + await eventSource.emit(event_types.GENERATION_AFTER_COMMANDS, type, { automatic_trigger, force_name2, quiet_prompt, quietToLoud, skipWIAN, force_chid, signal, quietImage }, dryRun); | |
| 3374 | + | |
| 3323 | 3375 | if (main_api == 'kobold' && kai_settings.streaming_kobold && !kai_flags.can_use_streaming) { |
| 3324 | 3376 | toastr.error('Streaming is enabled, but the version of Kobold used does not support token streaming.', undefined, { timeOut: 10000, preventDuplicates: true }); |
| 3325 | 3377 | unblockGeneration(type); |
| @@ -3329,7 +3381,7 @@ export async function Generate(type, { automatic_trigger, force_name2, quiet_pro | ||
| 3329 | 3381 | if (main_api === 'textgenerationwebui' && |
| 3330 | 3382 | textgen_settings.streaming && |
| 3331 | 3383 | textgen_settings.legacy_api && |
| 3332 | 3384 | (textgen_settings.type === OOBA || textgen_settings.type === APHRODITE)) { |
| 3333 | 3385 | toastr.error('Streaming is not supported for the Legacy API. Update Ooba and use new API to enable streaming.', undefined, { timeOut: 10000, preventDuplicates: true }); |
| 3334 | 3386 | unblockGeneration(type); |
| 3335 | 3387 | return Promise.resolve(); |
| @@ -3359,7 +3411,7 @@ export async function Generate(type, { automatic_trigger, force_name2, quiet_pro | ||
| 3359 | 3411 | if (selected_group && !is_group_generating) { |
| 3360 | 3412 | if (!dryRun) { |
| 3361 | 3413 | // Returns the promise that generateGroupWrapper returns; resolves when generation is done |
| 3362 | 3414 | return generateGroupWrapper(false, type, { quiet_prompt, force_chid, signal: abortController.signal, quietImage, maxLoops }); |
| 3363 | 3415 | } |
| 3364 | 3416 | |
| 3365 | 3417 | const characterIndexMap = new Map(characters.map((char, index) => [char.avatar, index])); |
| @@ -3377,7 +3429,7 @@ export async function Generate(type, { automatic_trigger, force_name2, quiet_pro | ||
| 3377 | 3429 | .filter((index) => index !== undefined && index !== null); |
| 3378 | 3430 | |
| 3379 | 3431 | if (memberIds.length > 0) { |
| 3380 | 3432 | if (menu_type != 'character_edit') setCharacterId(memberIds[0]); |
| 3381 | 3433 | setCharacterName(''); |
| 3382 | 3434 | } else { |
| 3383 | 3435 | console.log('No enabled members found'); |
| @@ -3393,14 +3445,11 @@ export async function Generate(type, { automatic_trigger, force_name2, quiet_pro | ||
| 3393 | 3445 | quiet_prompt = main_api == 'novel' && !quietToLoud ? adjustNovelInstructionPrompt(quiet_prompt) : quiet_prompt; |
| 3394 | 3446 | } |
| 3395 | 3447 | |
| 3396 | 3448 | const isChatValidhasBackendConnection = online_status !== 'no_connection' && this_chid !== undefined; |
| 3397 | 3449 | |
| 3398 | 3450 | // We can't do anything because we're not in a chat right now. (Unless it's a dry run, in which case we need to |
| 3399 | 3451 | // assemble the prompt so we can count its tokens regardless of whether a chat is active.) |
| 3400 | 3452 | if (!dryRun && !isChatValidhasBackendConnection) { |
| 3401 | - if (this_chid === undefined) { | |
| 3402 | - toastr.warning('Сharacter is not selected'); | |
| 3403 | - } | |
| 3404 | 3453 | is_send_press = false; |
| 3405 | 3454 | return Promise.resolve(); |
| 3406 | 3455 | } |
| @@ -3446,8 +3495,17 @@ export async function Generate(type, { automatic_trigger, force_name2, quiet_pro | ||
| 3446 | 3495 | //PRE FORMATING STRING |
| 3447 | 3496 | //********************************* |
| 3448 | 3497 | |
| 3498 | + // These generation types should not attach pending files to the chat | |
| 3499 | + const noAttachTypes = [ | |
| 3500 | + 'regenerate', | |
| 3501 | + 'swipe', | |
| 3502 | + 'impersonate', | |
| 3503 | + 'quiet', | |
| 3504 | + 'continue', | |
| 3505 | + 'ask_command', | |
| 3506 | + ]; | |
| 3449 | 3507 | //for normal messages sent from user.. |
| 3450 | 3508 | if ((textareaText != '' || (hasPendingFileAttachment() && !noAttachTypes.includes(type))) && !automatic_trigger && type !== 'quiet' && !dryRun) { |
| 3451 | 3509 | // If user message contains no text other than bias - send as a system message |
| 3452 | 3510 | if (messageBias && !removeMacros(textareaText)) { |
| 3453 | 3511 | sendSystemMessage(system_message_types.GENERIC, ' ', { bias: messageBias }); |
| @@ -3471,9 +3529,14 @@ export async function Generate(type, { automatic_trigger, force_name2, quiet_pro | ||
| 3471 | 3529 | jailbreak, |
| 3472 | 3530 | } = getCharacterCardFields(); |
| 3473 | 3531 | |
| 3474 | 3532 | if (isInstructmain_api !== 'openai') { |
| 3475 | - system = power_user.prefer_character_prompt && system ? system : baseChatReplace(power_user.instruct.system_prompt, name1, name2); | |
| 3533 | + if (power_user.sysprompt.enabled) { | |
| 3476 | - system = formatInstructModeSystemPrompt(substituteParams(system, name1, name2, power_user.instruct.system_prompt)); | |
| 3534 | + system = power_user.prefer_character_prompt && system ? system : baseChatReplace(power_user.sysprompt.content, name1, name2); | |
| 3535 | + system = isInstruct ? formatInstructModeSystemPrompt(substituteParams(system, name1, name2, power_user.sysprompt.content)) : system; | |
| 3536 | + } else { | |
| 3537 | + // Nullify if it's not enabled | |
| 3538 | + system = ''; | |
| 3539 | + } | |
| 3477 | 3540 | } |
| 3478 | 3541 | |
| 3479 | 3542 | // Depth prompt (character-specific A/N) |
| @@ -3486,9 +3549,9 @@ export async function Generate(type, { automatic_trigger, force_name2, quiet_pro | ||
| 3486 | 3549 | setExtensionPrompt('DEPTH_PROMPT_' + index, value.text, extension_prompt_types.IN_CHAT, value.depth, extension_settings.note.allowWIScan, role); |
| 3487 | 3550 | }); |
| 3488 | 3551 | } else { |
| 3489 | 3552 | const depthPromptText = baseChatReplace(characters[this_chid]?.data?.extensions?.depth_prompt?.prompt?.trim(), name1, name2) || ''; |
| 3490 | 3553 | const depthPromptDepth = characters[this_chid]?.data?.extensions?.depth_prompt?.depth ?? depth_prompt_depth_default; |
| 3491 | 3554 | const depthPromptRole = getExtensionPromptRoleByName(characters[this_chid]?.data?.extensions?.depth_prompt?.role ?? depth_prompt_role_default); |
| 3492 | 3555 | setExtensionPrompt('DEPTH_PROMPT', depthPromptText, extension_prompt_types.IN_CHAT, depthPromptDepth, extension_settings.note.allowWIScan, depthPromptRole); |
| 3493 | 3556 | } |
| 3494 | 3557 | |
| @@ -3724,9 +3787,9 @@ export async function Generate(type, { automatic_trigger, force_name2, quiet_pro | ||
| 3724 | 3787 | const storyStringParams = { |
| 3725 | 3788 | description: description, |
| 3726 | 3789 | personality: personality, |
| 3727 | - persona: persona, | |
| 3790 | + persona: power_user.persona_description_position == persona_description_positions.IN_PROMPT ? persona : '', | |
| 3728 | 3791 | scenario: scenario, |
| 3729 | 3792 | system: isInstruct ? system : '', |
| 3730 | 3793 | char: name2, |
| 3731 | 3794 | user: name1, |
| 3732 | 3795 | wiBefore: worldInfoBefore, |
| @@ -3758,7 +3821,7 @@ export async function Generate(type, { automatic_trigger, force_name2, quiet_pro | ||
| 3758 | 3821 | } |
| 3759 | 3822 | |
| 3760 | 3823 | let examplesString = ''; |
| 3761 | 3824 | let chatString = addChatsPreamble(addChatsSeparator('')); |
| 3762 | 3825 | let cyclePrompt = ''; |
| 3763 | 3826 | |
| 3764 | 3827 | async function getMessagesTokenCount() { |
| @@ -3767,10 +3830,10 @@ export async function Generate(type, { automatic_trigger, force_name2, quiet_pro | ||
| 3767 | 3830 | storyString, |
| 3768 | 3831 | afterScenarioAnchor, |
| 3769 | 3832 | examplesString, |
| 3833 | + userAlignmentMessage, | |
| 3770 | 3834 | chatString, |
| 3771 | - quiet_prompt, | |
| 3835 | + modifyLastPromptLine(''), | |
| 3772 | 3836 | cyclePrompt, |
| 3773 | - userAlignmentMessage, | |
| 3774 | 3837 | ].join('').replace(/\r/gm, ''); |
| 3775 | 3838 | return getTokenCountAsync(encodeString, power_user.token_padding); |
| 3776 | 3839 | } |
| @@ -3801,8 +3864,8 @@ export async function Generate(type, { automatic_trigger, force_name2, quiet_pro | ||
| 3801 | 3864 | } |
| 3802 | 3865 | |
| 3803 | 3866 | tokenCount += await getTokenCountAsync(item.replace(/\r/gm, '')); |
| 3804 | - chatString = item + chatString; | |
| 3805 | 3867 | if (tokenCount < this_max_context) { |
| 3868 | + chatString = chatString + item; | |
| 3806 | 3869 | arrMes[index] = item; |
| 3807 | 3870 | lastAddedIndex = Math.max(lastAddedIndex, index); |
| 3808 | 3871 | } else { |
| @@ -3828,8 +3891,8 @@ export async function Generate(type, { automatic_trigger, force_name2, quiet_pro | ||
| 3828 | 3891 | } |
| 3829 | 3892 | |
| 3830 | 3893 | tokenCount += await getTokenCountAsync(item.replace(/\r/gm, '')); |
| 3831 | - chatString = item + chatString; | |
| 3832 | 3894 | if (tokenCount < this_max_context) { |
| 3895 | + chatString = chatString + item; | |
| 3833 | 3896 | arrMes[i] = item; |
| 3834 | 3897 | lastAddedIndex = Math.max(lastAddedIndex, i); |
| 3835 | 3898 | } else { |
| @@ -3885,8 +3948,7 @@ export async function Generate(type, { automatic_trigger, force_name2, quiet_pro | ||
| 3885 | 3948 | |
| 3886 | 3949 | if (isContinue) { |
| 3887 | 3950 | // Coping mechanism for OAI spacing |
| 3888 | - const isForceInstruct = isOpenRouterWithInstruct(); | |
| 3951 | + if (main_api === 'openai' && !cyclePrompt.endsWith(' ')) { | |
| 3889 | - if (main_api === 'openai' && !isForceInstruct && !cyclePrompt.endsWith(' ')) { | |
| 3890 | 3952 | cyclePrompt += oai_settings.continue_postfix; |
| 3891 | 3953 | continue_mag += oai_settings.continue_postfix; |
| 3892 | 3954 | } |
| @@ -4026,15 +4088,16 @@ export async function Generate(type, { automatic_trigger, force_name2, quiet_pro | ||
| 4026 | 4088 | async function checkPromptSize() { |
| 4027 | 4089 | console.debug('---checking Prompt size'); |
| 4028 | 4090 | setPromptString(); |
| 4091 | + const jointMessages = mesSend.map((e) => `${e.extensionPrompts.join('')}${e.message}`).join(''); | |
| 4029 | 4092 | const prompt = [ |
| 4030 | 4093 | beforeScenarioAnchor, |
| 4031 | 4094 | storyString, |
| 4032 | 4095 | afterScenarioAnchor, |
| 4033 | 4096 | mesExmString, |
| 4034 | - mesSend.map((e) => `${e.extensionPrompts.join('')}${e.message}`).join(''), | |
| 4097 | + addChatsPreamble(addChatsSeparator(jointMessages)), | |
| 4035 | 4098 | '\n', |
| 4099 | + modifyLastPromptLine(''), | |
| 4036 | 4100 | generatedPromptCache, |
| 4037 | - quiet_prompt, | |
| 4038 | 4101 | ].join('').replace(/\r/gm, ''); |
| 4039 | 4102 | let thisPromptContextSize = await getTokenCountAsync(prompt, power_user.token_padding); |
| 4040 | 4103 | |
| @@ -4299,8 +4362,9 @@ export async function Generate(type, { automatic_trigger, force_name2, quiet_pro | ||
| 4299 | 4362 | this_max_context: this_max_context, |
| 4300 | 4363 | padding: power_user.token_padding, |
| 4301 | 4364 | main_api: main_api, |
| 4302 | 4365 | instruction: isInstructmain_api !== 'openai' && power_user.sysprompt.enabled ? substituteParams(power_user.prefer_character_prompt && system ? system : power_user.instructsysprompt.system_promptcontent) : '', |
| 4303 | 4366 | userPersona: (power_user.persona_descriptionpersona_description_position == persona_description_positions.IN_PROMPT ? (persona || '') : ''), |
| 4367 | + tokenizer: getFriendlyTokenizerName(main_api).tokenizerName || '', | |
| 4304 | 4368 | }; |
| 4305 | 4369 | |
| 4306 | 4370 | //console.log(additionalPromptStuff); |
| @@ -4362,9 +4426,9 @@ export async function Generate(type, { automatic_trigger, force_name2, quiet_pro | ||
| 4362 | 4426 | generatedPromptCache = ''; |
| 4363 | 4427 | |
| 4364 | 4428 | if (data?.response) { |
| 4365 | 4429 | toastr.error(data.response, 'API Error', { preventDuplicates: true }); |
| 4366 | 4430 | } |
| 4367 | 4431 | throw new Error(data?.response); |
| 4368 | 4432 | } |
| 4369 | 4433 | |
| 4370 | 4434 | //const getData = await response.json(); |
| @@ -4384,7 +4448,6 @@ export async function Generate(type, { automatic_trigger, force_name2, quiet_pro | ||
| 4384 | 4448 | const displayIncomplete = type === 'quiet' && !quietToLoud; |
| 4385 | 4449 | getMessage = cleanUpMessage(getMessage, isImpersonate, isContinue, displayIncomplete); |
| 4386 | 4450 | |
| 4387 | - if (getMessage.length > 0 || data.allowEmptyResponse) { | |
| 4388 | 4451 | if (isImpersonate) { |
| 4389 | 4452 | $('#send_textarea').val(getMessage)[0].dispatchEvent(new Event('input', { bubbles: true })); |
| 4390 | 4453 | generatedPromptCache = ''; |
| @@ -4410,28 +4473,6 @@ export async function Generate(type, { automatic_trigger, force_name2, quiet_pro | ||
| 4410 | 4473 | if (type !== 'quiet') { |
| 4411 | 4474 | playMessageSound(); |
| 4412 | 4475 | } |
| 4413 | - } else { | |
| 4414 | - // If maxLoops is not passed in (e.g. first time generating), set it to MAX_GENERATION_LOOPS | |
| 4415 | - maxLoops ??= MAX_GENERATION_LOOPS; | |
| 4416 | - | |
| 4417 | - if (maxLoops === 0) { | |
| 4418 | - if (type !== 'quiet') { | |
| 4419 | - throwCircuitBreakerError(); | |
| 4420 | - } | |
| 4421 | - throw new Error('Generate circuit breaker interruption'); | |
| 4422 | - } | |
| 4423 | - | |
| 4424 | - // regenerate with character speech reenforced | |
| 4425 | - // to make sure we leave on swipe type while also adding the name2 appendage | |
| 4426 | - await delay(1000); | |
| 4427 | - // A message was already deleted on regeneration, so instead treat is as a normal gen | |
| 4428 | - if (type === 'regenerate') { | |
| 4429 | - type = 'normal'; | |
| 4430 | - } | |
| 4431 | - // The first await is for waiting for the generate to start. The second one is waiting for it to finish | |
| 4432 | - const result = await await Generate(type, { automatic_trigger, force_name2: true, quiet_prompt, quietToLoud, skipWIAN, force_chid, signal, quietImage, quietName, maxLoops: maxLoops - 1 }); | |
| 4433 | - return result; | |
| 4434 | - } | |
| 4435 | 4476 | |
| 4436 | 4477 | if (power_user.auto_swipe) { |
| 4437 | 4478 | console.debug('checking for autoswipeblacklist on non-streaming message'); |
| @@ -4820,6 +4861,13 @@ export function getMaxContextSize(overrideResponseLength = null) { | ||
| 4820 | 4861 | console.log(`NovelAI subscription limit reached. Max context size is now ${this_max_context}`); |
| 4821 | 4862 | } |
| 4822 | 4863 | } |
| 4864 | + if (nai_settings.model_novel.includes('erato')) { | |
| 4865 | + // subscriber limits coming soon | |
| 4866 | + this_max_context = Math.min(max_context, 8192); | |
| 4867 | + | |
| 4868 | + // Added special tokens and whatnot | |
| 4869 | + this_max_context -= 10; | |
| 4870 | + } | |
| 4823 | 4871 | |
| 4824 | 4872 | this_max_context = this_max_context - (overrideResponseLength || amount_gen); |
| 4825 | 4873 | } |
| @@ -4899,7 +4947,7 @@ async function duplicateCharacter() { | ||
| 4899 | 4947 | return ''; |
| 4900 | 4948 | } |
| 4901 | 4949 | |
| 4902 | 4950 | export async function itemizedParams(itemizedPrompts, thisPromptSet, incomingMesId) { |
| 4903 | 4951 | const params = { |
| 4904 | 4952 | charDescriptionTokens: await getTokenCountAsync(itemizedPrompts[thisPromptSet].charDescription), |
| 4905 | 4953 | charPersonalityTokens: await getTokenCountAsync(itemizedPrompts[thisPromptSet].charPersonality), |
| @@ -4918,8 +4966,20 @@ export async function itemizedParams(itemizedPrompts, thisPromptSet) { | ||
| 4918 | 4966 | chatInjects: await getTokenCountAsync(itemizedPrompts[thisPromptSet].chatInjects), |
| 4919 | 4967 | chatVectorsStringTokens: await getTokenCountAsync(itemizedPrompts[thisPromptSet].chatVectorsString), |
| 4920 | 4968 | dataBankVectorsStringTokens: await getTokenCountAsync(itemizedPrompts[thisPromptSet].dataBankVectorsString), |
| 4969 | + modelUsed: chat[incomingMesId]?.extra?.model, | |
| 4970 | + apiUsed: chat[incomingMesId]?.extra?.api, | |
| 4921 | 4971 | }; |
| 4922 | 4972 | |
| 4973 | + const getFriendlyName = (value) => $(`#rm_api_block select option[value="${value}"]`).first().text() || value; | |
| 4974 | + | |
| 4975 | + if (params.apiUsed) { | |
| 4976 | + params.apiUsed = getFriendlyName(params.apiUsed); | |
| 4977 | + } | |
| 4978 | + | |
| 4979 | + if (params.this_main_api) { | |
| 4980 | + params.mainApiFriendlyName = getFriendlyName(params.this_main_api); | |
| 4981 | + } | |
| 4982 | + | |
| 4923 | 4983 | if (params.chatInjects) { |
| 4924 | 4984 | params.ActualChatHistoryTokens = params.ActualChatHistoryTokens - params.chatInjects; |
| 4925 | 4985 | } |
| @@ -4998,7 +5058,7 @@ export async function itemizedParams(itemizedPrompts, thisPromptSet) { | ||
| 4998 | 5058 | params.promptBiasTokensPercentage = ((params.promptBiasTokens / (params.totalTokensInPrompt)) * 100).toFixed(2); |
| 4999 | 5059 | params.worldInfoStringTokensPercentage = ((params.worldInfoStringTokens / (params.totalTokensInPrompt)) * 100).toFixed(2); |
| 5000 | 5060 | params.allAnchorsTokensPercentage = ((params.allAnchorsTokens / (params.totalTokensInPrompt)) * 100).toFixed(2); |
| 5001 | 5061 | params.selectedTokenizer = itemizedPrompts[thisPromptSet]?.tokenizer || getFriendlyTokenizerName(params.this_main_api).tokenizerName; |
| 5002 | 5062 | } |
| 5003 | 5063 | return params; |
| 5004 | 5064 | } |
| @@ -5034,7 +5094,7 @@ async function promptItemize(itemizedPrompts, requestedMesId) { | ||
| 5034 | 5094 | return null; |
| 5035 | 5095 | } |
| 5036 | 5096 | |
| 5037 | - const params = await itemizedParams(itemizedPrompts, thisPromptSet); | |
Binary file
Diff truncated