Merge branch 'staging' into sysprompt-divorce
| @@ -1,9 +1,20 @@ | ||
| 1 | 1 | > [!IMPORTANT] |
| 2 | 2 | > ここに掲載されている情報は、古かったり不完全であったりする可能性があります。最新の情報は英語版をご利用ください。 |
| 3 | 3 | |
| 4 | +![][cover] | |
| 5 | + | |
| 6 | +<div align="center"> | |
| 7 | + | |
| 4 | 8 | [English](readme.md) | [中文](readme-zh_cn.md) | 日本語 | [Русский](readme-ru_ru.md) |
| 5 | 9 | |
| 6 | - | |
| 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 | +--- | |
| 7 | 18 | |
| 8 | 19 | モバイルデバイスにも適したレイアウト・マルチAPI(KoboldAI/CPP、Horde、NovelAI、Ooba、OpenAI、OpenRouter、Claude、Scale)、VN ライクな Waifu モード、Stable Diffusion、TTS、WorldInfo(伝承本)、カスタマイズ可能なUI、自動翻訳、大量のプロンプトオプション+サードパーティの拡張機能をインストールする機能 |
| 9 | 20 | |
| @@ -284,8 +295,8 @@ ST サーバを再起動すると、ユーザ名とパスワードさえ知っ | ||
| 284 | 295 | |
| 285 | 296 | ## スクリーンショット |
| 286 | 297 | |
| 287 | 298 | <img width="400500" alt="image" src="https://user-images.githubusercontentgithub.com/18619528/228649245user-8061c60fattachments/assets/9b5f32f0-63dcc3b3-488e4102-9325b3f5-f151b7a3ec2d.png0e9213c0f50f"> |
| 288 | 299 | <img width="400500" alt="image" src="https://user-images.githubusercontentgithub.com/18619528/228649856user-fbdeef05attachments/assets/913fdbaa-d7277d33-4d5a42f1-be80ae2c-266cbbc6b811.png89dca41c53d1"> |
| 289 | 300 | |
| 290 | 301 | ## ライセンスとクレジット |
| 291 | 302 | |
| @@ -314,3 +325,6 @@ ST サーバを再起動すると、ユーザ名とパスワードさえ知っ | ||
| 314 | 325 | * @doloroushyeonse による韓国語翻訳 |
| 315 | 326 | * k_euler_a による Horde のサポート <https://github.com/Teashrock> |
| 316 | 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 | |
| @@ -3,9 +3,20 @@ | ||
| 3 | 3 | |
| 4 | 4 | <a name="readme-top"></a> |
| 5 | 5 | |
| 6 | +![][cover] | |
| 7 | + | |
| 8 | +<div align="center"> | |
| 9 | + | |
| 6 | 10 | [English](readme.md) | [中文](readme-zh_cn.md) | [日本語](readme-ja_jp.md) | Русский |
| 7 | 11 | |
| 8 | -![][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 | +--- | |
| 9 | 20 | |
| 10 | 21 | Мобайл-френдли интерфейс, поддержка множества API (KoboldAI/CPP, Horde, NovelAI, Ooba, OpenAI, OpenRouter, Claude, Scale), ВН-образный режим Вайфу, Stable Diffusion, TTS, поддержка миров (лорбуков), кастомизируемый UI, автоперевод, тончайшая настройка промптов + возможность устанавливать расширения. |
| 11 | 22 | |
| @@ -29,8 +40,8 @@ SillyTavern — это форк версии TavernAI 1.2.8, который ра | ||
| 29 | 40 | |
| 30 | 41 | ## Скриншоты |
| 31 | 42 | |
| 32 | 43 | <img width="400500" alt="image" src="https://github.com/SillyTavern/SillyTavernuser-attachments/assets/61471128/e902c7a29b5f32f0-45a6c3b3-44154102-97aab3f5-c59c597669c10e9213c0f50f"> |
| 33 | 44 | <img width="400500" alt="image" src="https://github.com/SillyTavern/SillyTavernuser-attachments/assets/61471128/f8a79c47913fdbaa-4fe97d33-456442f1-9e4aae2c-bf247ed1c96189dca41c53d1"> |
| 34 | 45 | |
| 35 | 46 | ### Ветки |
| 36 | 47 | |
| @@ -355,7 +366,7 @@ SillyTavern сохраняет ключи от ваших API в файле `sec | ||
| 355 | 366 | |
| 356 | 367 | <!-- LINK GROUP --> |
| 357 | 368 | [back-to-top]: https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square |
| 358 | 369 | [cover]: https://github.com/SillyTavern/SillyTavernuser-attachments/assets/18619528/c2be4c3f01a6ae9a-aada16aa-4f6445f2-87a38bff-ae35a68b61a432b5dc587e44 |
| 359 | 370 | [discord-link]: https://discord.gg/sillytavern |
| 360 | 371 | [discord-shield]: https://img.shields.io/discord/1100685673633153084?color=5865F2&label=discord&labelColor=black&logo=discord&logoColor=white&style=flat-square |
| 361 | 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,9 +1,20 @@ | ||
| 1 | 1 | > [!IMPORTANT] |
| 2 | 2 | > 这里的信息可能已经过时或不完整,仅供您参考。请使用英文版本获取最新信息。 |
| 3 | 3 | |
| 4 | +![][cover] | |
| 5 | + | |
| 6 | +<div align="center"> | |
| 7 | + | |
| 4 | 8 | [English](readme.md) | 中文 | [日本語](readme-ja_jp.md) | [Русский](readme-ru_ru.md) |
| 5 | 9 | |
| 6 | - | |
| 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 | +--- | |
| 7 | 18 | |
| 8 | 19 | 移动设备界面友好,多种人工智能服务或模型支持(KoboldAI/CPP, Horde, NovelAI, Ooba, OpenAI, OpenRouter, Claude, Scale),类似 Galgame 的 老 婆 模 式,Horde SD,文本系统语音生成,世界信息(Lorebooks),可定制的界面,自动翻译,和比你所需要的更多的 Prompt。附带扩展服务,支持文本绘画生成与语音生成和基于向量数据库 的聊天信息总结。 |
| 9 | 20 | |
| @@ -278,8 +289,8 @@ SillyTavern 会将 API 密钥保存在目录中的 `secrets.json` 文件内。 | ||
| 278 | 289 | |
| 279 | 290 | ## 屏幕截图 |
| 280 | 291 | |
| 281 | 292 | <img width="400500" alt="image" src="https://user-images.githubusercontentgithub.com/18619528/228649245user-8061c60fattachments/assets/9b5f32f0-63dcc3b3-488e4102-9325b3f5-f151b7a3ec2d.png0e9213c0f50f"> |
| 282 | 293 | <img width="400500" alt="image" src="https://user-images.githubusercontentgithub.com/18619528/228649856user-fbdeef05attachments/assets/913fdbaa-d7277d33-4d5a42f1-be80ae2c-266cbbc6b811.png89dca41c53d1"> |
| 283 | 294 | |
| 284 | 295 | ## 许可证和贡献 |
| 285 | 296 | |
| @@ -306,3 +317,6 @@ SillyTavern 会将 API 密钥保存在目录中的 `secrets.json` 文件内。 | ||
| 306 | 317 | * Default content (characters and lore books) provided by @OtisAlejandro, @RossAscends and @kallmeflocc |
| 307 | 318 | * Korean translation by @doloroushyeonse |
| 308 | 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,8 +1,19 @@ | ||
| 1 | 1 | <a name="readme-top"></a> |
| 2 | 2 | |
| 3 | +![][cover] | |
| 4 | + | |
| 5 | +<div align="center"> | |
| 6 | + | |
| 3 | 7 | English | [中文](readme-zh_cn.md) | [日本語](readme-ja_jp.md) | [Русский](readme-ru_ru.md) |
| 4 | 8 | |
| 5 | -![][cover] | |
| 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) | |
| 13 | + | |
| 14 | +</div> | |
| 15 | + | |
| 16 | +--- | |
| 6 | 17 | |
| 7 | 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. |
| 8 | 19 | |
| @@ -65,8 +76,8 @@ Or get in touch with the developers directly: | ||
| 65 | 76 | |
| 66 | 77 | ## Screenshots |
| 67 | 78 | |
| 68 | 79 | <img width="400500" alt="image" src="https://github.com/SillyTavern/SillyTavernuser-attachments/assets/61471128/e902c7a29b5f32f0-45a6c3b3-44154102-97aab3f5-c59c597669c10e9213c0f50f"> |
| 69 | 80 | <img width="400500" alt="image" src="https://github.com/SillyTavern/SillyTavernuser-attachments/assets/61471128/f8a79c47913fdbaa-4fe97d33-456442f1-9e4aae2c-bf247ed1c96189dca41c53d1"> |
| 70 | 81 | |
| 71 | 82 | ## Character Cards |
| 72 | 83 | |
| @@ -363,6 +374,6 @@ GNU Affero General Public License for more details.** | ||
| 363 | 374 | [](https://github.com/SillyTavern/SillyTavern/graphs/contributors) |
| 364 | 375 | |
| 365 | 376 | <!-- LINK GROUP --> |
| 366 | 377 | [cover]: https://github.com/SillyTavern/SillyTavernuser-attachments/assets/18619528/c2be4c3f01a6ae9a-aada16aa-4f6445f2-87a38bff-ae35a68b61a432b5dc587e44 |
| 367 | 378 | [discord-link]: https://discord.gg/sillytavern |
| 368 | 379 | [discord-shield-badge]: https://img.shields.io/discord/1100685673633153084?color=5865F2&label=discord&labelColor=black&logo=discord&logoColor=white&style=for-the-badge |
| @@ -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.2021.0", |
| 26 | 26 | "form-data": "^4.0.0", |
| 27 | 27 | "google-translate-api-browser": "^3.0.1", |
| 28 | 28 | "he": "^1.2.0", |
| @@ -1568,21 +1568,6 @@ | ||
| 1568 | 1568 | "node": ">=0.10.0" |
| 1569 | 1569 | } |
| 1570 | 1570 | }, |
| 1571 | - "node_modules/body-parser/node_modules/qs": { | |
| 1572 | - "version": "6.13.0", | |
| 1573 | - "resolved": "https://registry.npmjs.org/qs/-/qs-6.13.0.tgz", | |
| 1574 | - "integrity": "sha512-+38qI9SOr8tfZ4QmJNplMUxqjbe7LKvvZgWdExBOmd+egZTtjLB67Gu0HRX3u/XOq7UU2Nx6nsjvS16Z9uwfpg==", | |
| 1575 | - "license": "BSD-3-Clause", | |
| 1576 | - "dependencies": { | |
| 1577 | - "side-channel": "^1.0.6" | |
| 1578 | - }, | |
| 1579 | - "engines": { | |
| 1580 | - "node": ">=0.6" | |
| 1581 | - }, | |
| 1582 | - "funding": { | |
| 1583 | - "url": "https://github.com/sponsors/ljharb" | |
| 1584 | - } | |
| 1585 | - }, | |
| 1586 | 1571 | "node_modules/boolbase": { |
| 1587 | 1572 | "version": "1.0.0", |
| 1588 | 1573 | "resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz", |
| @@ -1728,6 +1713,7 @@ | ||
| 1728 | 1713 | "version": "2.7.0", |
| 1729 | 1714 | "resolved": "https://registry.npmjs.org/centra/-/centra-2.7.0.tgz", |
| 1730 | 1715 | "integrity": "sha512-PbFMgMSrmgx6uxCdm57RUos9Tc3fclMvhLSATYN39XsDV29B89zZ3KA89jmY0vwSGazyU+uerqwa6t+KaodPcg==", |
| 1716 | + "license": "MIT", | |
| 1731 | 1717 | "dependencies": { |
| 1732 | 1718 | "follow-redirects": "^1.15.6" |
| 1733 | 1719 | } |
| @@ -2540,9 +2526,9 @@ | ||
| 2540 | 2526 | "license": "MIT" |
| 2541 | 2527 | }, |
| 2542 | 2528 | "node_modules/encodeurl": { |
| 2543 | 2529 | "version": "12.0.20", |
| 2544 | 2530 | "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-12.0.20.tgz", |
| 2545 | 2531 | "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0wQ0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==", |
| 2546 | 2532 | "license": "MIT", |
| 2547 | 2533 | "engines": { |
| 2548 | 2534 | "node": ">= 0.8" |
| @@ -2879,9 +2865,9 @@ | ||
| 2879 | 2865 | "integrity": "sha512-c2bQfLNbMzLPmzQuOr8fy0csy84WmwnER81W88DzTp9CYNPJ6yzOj2EZAh9pywYpqHnshVLHQJ8WzldAyfY+Iw==" |
| 2880 | 2866 | }, |
| 2881 | 2867 | "node_modules/express": { |
| 2882 | 2868 | "version": "4.2021.0", |
| 2883 | 2869 | "resolved": "https://registry.npmjs.org/express/-/express-4.2021.0.tgz", |
| 2884 | 2870 | "integrity": "sha512-pLdae7I6QqShF5PnNTCVn4hI91Dx0Grkn2VqcNGcj/Id5ZT1LZ/cfihi3ttTn+IAsMTgMIKuQVte2dN9PeGSSAME2FR8anOhVA62QDIUaWVfEXVLwNJmkli2eZADigjq29qTlWi/hAQ43t/VLPq8+UX06FCEx3ByOYet6ZFblng==", |
| 2885 | 2871 | "license": "MIT", |
| 2886 | 2872 | "dependencies": { |
| 2887 | 2873 | "accepts": "~1.3.8", |
| @@ -2896,7 +2882,7 @@ | ||
| 2896 | 2882 | "encodeurl": "~2.0.0", |
| 2897 | 2883 | "escape-html": "~1.0.3", |
| 2898 | 2884 | "etag": "~1.8.1", |
| 2899 | 2885 | "finalhandler": "1.23.01", |
| 2900 | 2886 | "fresh": "0.5.2", |
| 2901 | 2887 | "http-errors": "2.0.0", |
| 2902 | 2888 | "merge-descriptors": "1.0.3", |
| @@ -2905,11 +2891,11 @@ | ||
| 2905 | 2891 | "parseurl": "~1.3.3", |
| 2906 | 2892 | "path-to-regexp": "0.1.10", |
| 2907 | 2893 | "proxy-addr": "~2.0.7", |
| 2908 | 2894 | "qs": "6.1113.0", |
| 2909 | 2895 | "range-parser": "~1.2.1", |
| 2910 | 2896 | "safe-buffer": "5.2.1", |
| 2911 | 2897 | "send": "0.19.0", |
| 2912 | 2898 | "serve-static": "1.16.02", |
| 2913 | 2899 | "setprototypeof": "1.2.0", |
| 2914 | 2900 | "statuses": "2.0.1", |
| 2915 | 2901 | "type-is": "~1.6.18", |
| @@ -2928,15 +2914,6 @@ | ||
| 2928 | 2914 | "node": ">= 0.6" |
| 2929 | 2915 | } |
| 2930 | 2916 | }, |
| 2931 | - "node_modules/express/node_modules/encodeurl": { | |
| 2932 | - "version": "2.0.0", | |
| 2933 | - "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-2.0.0.tgz", | |
| 2934 | - "integrity": "sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==", | |
| 2935 | - "license": "MIT", | |
| 2936 | - "engines": { | |
| 2937 | - "node": ">= 0.8" | |
| 2938 | - } | |
| 2939 | - }, | |
| 2940 | 2917 | "node_modules/express/node_modules/safe-buffer": { |
| 2941 | 2918 | "version": "5.2.1", |
| 2942 | 2919 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", |
| @@ -3033,13 +3010,13 @@ | ||
| 3033 | 3010 | } |
| 3034 | 3011 | }, |
| 3035 | 3012 | "node_modules/finalhandler": { |
| 3036 | 3013 | "version": "1.23.01", |
| 3037 | 3014 | "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.23.01.tgz", |
| 3038 | 3015 | "integrity": "sha512-5uXcUVftlQMFnWC9qu/svkWv3GTd2PfUhK6BN9trH7bp3qvnrRyzsBz+g3lZxTNZTbVO2EV1CS0WIcDbawYVdYvGflME/3PLkYNAe7FbqJMt3515HaxE6eRL74GdsriiwujiawdaB1BpEISg9QP0h0pYlCDBCTjYa9nZzMDpyxQ==", |
| 3039 | 3016 | "license": "MIT", |
| 3040 | 3017 | "dependencies": { |
| 3041 | 3018 | "debug": "2.6.9", |
| 3042 | 3019 | "encodeurl": "~12.0.20", |
| 3043 | 3020 | "escape-html": "~1.0.3", |
| 3044 | 3021 | "on-finished": "2.4.1", |
| 3045 | 3022 | "parseurl": "~1.3.3", |
| @@ -4080,9 +4057,9 @@ | ||
| 4080 | 4057 | } |
| 4081 | 4058 | }, |
| 4082 | 4059 | "node_modules/load-bmfont": { |
| 4083 | 4060 | "version": "1.4.12", |
| 4084 | 4061 | "resolved": "https://registry.npmjs.org/load-bmfont/-/load-bmfont-1.4.12.tgz", |
| 4085 | 4062 | "integrity": "sha512-8UyQoYmdRDy81Brz6aLAUhfZLwr5zV0L3taTQ4hju7m6biuwiWiJXjPhBJxbUQJA8PrkvJqElWkmjW9Oq1F9EI5Gt7aD9zcdHb9spJCW1L/7Enqmwk2sM14soAdmPf7KzCCEJxq8nhHz5eCgI9aMf7vrG/wyaCqdsI+Iy9ZTlog==", |
| 4086 | 4063 | "license": "MIT", |
| 4087 | 4064 | "dependencies": { |
| 4088 | 4065 | "buffer-equal": "0.0.1", |
| @@ -4090,7 +4067,7 @@ | ||
| 4090 | 4067 | "parse-bmfont-ascii": "^1.0.3", |
| 4091 | 4068 | "parse-bmfont-binary": "^1.0.5", |
| 4092 | 4069 | "parse-bmfont-xml": "^1.1.4", |
| 4093 | 4070 | "phin": "^23.97.1", |
| 4094 | 4071 | "xhr": "^2.0.1", |
| 4095 | 4072 | "xtend": "^4.0.0" |
| 4096 | 4073 | } |
| @@ -4692,13 +4669,13 @@ | ||
| 4692 | 4669 | "license": "MIT" |
| 4693 | 4670 | }, |
| 4694 | 4671 | "node_modules/parse-bmfont-xml": { |
| 4695 | 4672 | "version": "1.1.46", |
| 4696 | 4673 | "resolved": "https://registry.npmjs.org/parse-bmfont-xml/-/parse-bmfont-xml-1.1.46.tgz", |
| 4697 | 4674 | "integrity": "sha512-bjnliEOmGv3y1aMEfREMBJ9tfL3WR0i0CKPj61DnSLaoxWR3nLrsQrEbCId/8rF4NyRF0cCqisSVXyQYWM0cEliVMZEhrFDwMh4SxIyVJpqYoOWDJ9P895tFuS+mCQXuNzI5UBmBk5U5O4KuJdTnZpSBI4LFA2+ZiJaiwfSwlMA==", |
| 4698 | 4675 | "license": "MIT", |
| 4699 | 4676 | "dependencies": { |
| 4700 | 4677 | "xml-parse-from-string": "^1.0.0", |
| 4701 | 4678 | "xml2js": "^0.4.5.0" |
| 4702 | 4679 | } |
| 4703 | 4680 | }, |
| 4704 | 4681 | "node_modules/parse-headers": { |
| @@ -4814,6 +4791,7 @@ | ||
| 4814 | 4791 | "version": "3.7.1", |
| 4815 | 4792 | "resolved": "https://registry.npmjs.org/phin/-/phin-3.7.1.tgz", |
| 4816 | 4793 | "integrity": "sha512-GEazpTWwTZaEQ9RhL7Nyz0WwqilbqgLahDM3D0hxWwmVDI52nXEybHqiN6/elwpkJBhcuj+WbBu+QfT0uhPGfQ==", |
| 4794 | + "license": "MIT", | |
| 4817 | 4795 | "dependencies": { |
| 4818 | 4796 | "centra": "^2.7.0" |
| 4819 | 4797 | }, |
| @@ -5032,12 +5010,12 @@ | ||
| 5032 | 5010 | } |
| 5033 | 5011 | }, |
| 5034 | 5012 | "node_modules/qs": { |
| 5035 | 5013 | "version": "6.1113.0", |
| 5036 | 5014 | "resolved": "https://registry.npmjs.org/qs/-/qs-6.1113.0.tgz", |
| 5037 | 5015 | "integrity": "sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu38qI9SOr8tfZ4QmJNplMUxqjbe7LKvvZgWdExBOmd+egZTtjLB67Gu0HRX3u/MaJzRkIk4QXOq7UU2Nx6nsjvS16Z9uwfpg==", |
| 5038 | 5016 | "license": "BSD-3-Clause", |
| 5039 | 5017 | "dependencies": { |
| 5040 | 5018 | "side-channel": "^1.0.46" |
| 5041 | 5019 | }, |
| 5042 | 5020 | "engines": { |
| 5043 | 5021 | "node": ">=0.6" |
| @@ -5344,9 +5322,9 @@ | ||
| 5344 | 5322 | } |
| 5345 | 5323 | }, |
| 5346 | 5324 | "node_modules/sax": { |
| 5347 | 5325 | "version": "1.2.4.1", |
| 5348 | 5326 | "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.1.tgz", |
| 5349 | 5327 | "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9+aWOz7yVScEGoKNd4PA10LZ8sk0A/atZwz5+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWwnXQG5giUO5rprX9jgYsTdov9qCchZiPIZezbZH+jRut8nPodFAX4Jg==", |
| 5350 | 5328 | "license": "ISC" |
| 5351 | 5329 | }, |
| 5352 | 5330 | "node_modules/send": { |
| @@ -5373,6 +5351,15 @@ | ||
| 5373 | 5351 | "node": ">= 0.8.0" |
| 5374 | 5352 | } |
| 5375 | 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 | + }, | |
| 5376 | 5363 | "node_modules/send/node_modules/ms": { |
| 5377 | 5364 | "version": "2.1.3", |
| 5378 | 5365 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", |
| @@ -5380,15 +5367,15 @@ | ||
| 5380 | 5367 | "license": "MIT" |
| 5381 | 5368 | }, |
| 5382 | 5369 | "node_modules/serve-static": { |
| 5383 | 5370 | "version": "1.16.02", |
| 5384 | 5371 | "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.16.02.tgz", |
| 5385 | 5372 | "integrity": "sha512-pDLK8zwl2eKaYrs8mrPZBJua4hMplRWJ1tIFksVC3FtBEBnl8dxgeHtsaMS8DhS9i4fLObaon6ABoc4VqpjJZKadQB/hQGdPAPEbEwvFdO43Ax5dFBZ2UECszz8bQ7pi7wt//PWe1P6MN7eCnjsatYtBT6EuiClbjSWP2WrIoTw==", |
| 5386 | 5373 | "license": "MIT", |
| 5387 | 5374 | "dependencies": { |
| 5388 | 5375 | "encodeurl": "~12.0.20", |
| 5389 | 5376 | "escape-html": "~1.0.3", |
| 5390 | 5377 | "parseurl": "~1.3.3", |
| 5391 | 5378 | "send": "0.1819.0" |
| 5392 | 5379 | }, |
| 5393 | 5380 | "engines": { |
| 5394 | 5381 | "node": ">= 0.8.0" |
| @@ -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.2021.0", |
| 16 | 16 | "form-data": "^4.0.0", |
| 17 | 17 | "google-translate-api-browser": "^3.0.1", |
| 18 | 18 | "he": "^1.2.0", |
| @@ -49,23 +49,14 @@ | ||
| 49 | 49 | "node": ">= 18" |
| 50 | 50 | }, |
| 51 | 51 | "overrides": { |
| 52 | - "parse-bmfont-xml": { | |
| 53 | - "xml2js": "^0.5.0" | |
| 54 | - }, | |
| 55 | 52 | "vectra": { |
| 56 | 53 | "openai": "^4.17.0" |
| 57 | 54 | }, |
| 58 | - "load-bmfont": { | |
| 59 | - "phin": "^3.7.1" | |
| 60 | - }, | |
| 61 | 55 | "axios": { |
| 62 | 56 | "follow-redirects": "^1.15.4" |
| 63 | 57 | }, |
| 64 | 58 | "node-fetch": { |
| 65 | 59 | "whatwg-url": "^14.0.0" |
| 66 | - }, | |
| 67 | - "express": { | |
| 68 | - "send": "^0.19.0" | |
| 69 | 60 | } |
| 70 | 61 | }, |
| 71 | 62 | "name": "sillytavern", |
| @@ -103,7 +103,6 @@ | ||
| 103 | 103 | touch-action: none; |
| 104 | 104 | overflow: hidden; |
| 105 | 105 | position: fixed; |
| 106 | - | |
| 107 | 106 | } |
| 108 | 107 | |
| 109 | 108 | .world_entry_form_control { |
| @@ -112,7 +111,7 @@ | ||
| 112 | 111 | |
| 113 | 112 | .drawer-content { |
| 114 | 113 | min-width: unset; |
| 115 | 114 | width: 100%100dvw; |
| 116 | 115 | max-height: calc(100vh - 45px); |
| 117 | 116 | max-height: calc(100dvh - 45px); |
| 118 | 117 | position: fixed; |
| @@ -159,9 +158,9 @@ | ||
| 159 | 158 | #sheld, |
| 160 | 159 | #character_popup, |
| 161 | 160 | .drawer-content { |
| 162 | 161 | width: 100%100dvw !important; |
| 163 | 162 | margin: 0 auto; |
| 164 | 163 | max-width: 100%100dvw; |
| 165 | 164 | left: 0 !important; |
| 166 | 165 | resize: none !important; |
| 167 | 166 | top: var(--topBarBlockSize); |
| @@ -233,9 +232,9 @@ | ||
| 233 | 232 | /* 100vh are fallback units for browsers that don't support dvh */ |
| 234 | 233 | height: calc(100vh - 45px); |
| 235 | 234 | height: calc(100dvh - 45px); |
| 236 | 235 | min-width: 100%100dvw !important; |
| 237 | 236 | width: 100%100dvw !important; |
| 238 | 237 | max-width: 100%100dvw !important; |
| 239 | 238 | overflow-y: hidden; |
| 240 | 239 | border-left: 1px solid var(--SmartThemeBorderColor); |
| 241 | 240 | border-right: 1px solid var(--SmartThemeBorderColor); |
| @@ -481,10 +480,10 @@ | ||
| 481 | 480 | margin: 0 auto; |
| 482 | 481 | height: calc(100vh - 70px); |
| 483 | 482 | height: calc(100dvh - 70px); |
| 484 | 483 | width: calc(100%100dvw - 5px); |
| 485 | 484 | max-height: calc(100vh - 70px); |
| 486 | 485 | max-height: calc(100dvh - 70px); |
| 487 | 486 | max-width: calc(100%100dvw - 5px); |
| 488 | 487 | |
| 489 | 488 | } |
| 490 | 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; |
| @@ -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> | |
| @@ -1341,7 +1341,7 @@ | ||
| 1341 | 1341 | </div> |
| 1342 | 1342 | </div> |
| 1343 | 1343 | |
| 1344 | 1344 | <div data-tg-type="koboldcpp, aphrodite" id="xtc_block" class="wide100p"> |
| 1345 | 1345 | <h4 class="wide100p textAlignCenter"> |
| 1346 | 1346 | <label data-i18n="Exclude Top Choices (XTC)">Exclude Top Choices (XTC)</label> |
| 1347 | 1347 | <a href="https://github.com/oobabooga/text-generation-webui/pull/6335" target="_blank"> |
| @@ -1401,7 +1401,7 @@ | ||
| 1401 | 1401 | </div> |
| 1402 | 1402 | </div> |
| 1403 | 1403 | </div> |
| 1404 | 1404 | <div data-tg-type="ooba, mancer, koboldcpp, tabby, llamacpp, aphrodite" id="dynatemp_block_ooba" class="wide100p"> |
| 1405 | 1405 | <h4 class="wide100p textAlignCenter"> |
| 1406 | 1406 | <div class="flex-container alignitemscenter justifyCenter"> |
| 1407 | 1407 | <div class="checkbox_label" for="dynatemp_textgenerationwebui"> |
| @@ -737,6 +737,16 @@ export function initRossMods() { | ||
| 737 | 737 | RA_autoconnect(); |
| 738 | 738 | } |
| 739 | 739 | |
| 740 | + if (isMobile()) { | |
| 741 | + const fixFunkyPositioning = () => { | |
| 742 | + console.debug('[Mobile] Device viewport change detected.'); | |
| 743 | + document.documentElement.style.position = 'fixed'; | |
| 744 | + requestAnimationFrame(() => document.documentElement.style.position = ''); | |
| 745 | + }; | |
| 746 | + window.addEventListener('resize', fixFunkyPositioning); | |
| 747 | + window.addEventListener('orientationchange', fixFunkyPositioning); | |
| 748 | + } | |
| 749 | + | |
| 740 | 750 | $('#main_api').change(function () { |
| 741 | 751 | var PrevAPI = main_api; |
| 742 | 752 | setTimeout(() => RA_autoconnect(PrevAPI), 100); |
| @@ -349,7 +349,7 @@ | ||
| 349 | 349 | </div> |
| 350 | 350 | </div> |
| 351 | 351 | |
| 352 | 352 | <div class="flex-container marginTopBot5" data-sd-source="auto,vlad,extras,horde,drawthings,comfy"> |
| 353 | 353 | <label class="flex1 checkbox_label"> |
| 354 | 354 | <input id="sd_restore_faces" type="checkbox" /> |
| 355 | 355 | <small data-i18n="Restore Faces">Restore Faces</small> |
| @@ -2885,7 +2885,7 @@ export class ChatCompletion { | ||
| 2885 | 2885 | const message = { role: item.role, content: item.content, ...(item.name ? { name: item.name } : {}) }; |
| 2886 | 2886 | chat.push(message); |
| 2887 | 2887 | } else { |
| 2888 | 2888 | consolethis.warnlog('Invalid`Skipping invalid or empty message in collection',: ${JSON.stringify(item)}`); |
| 2889 | 2889 | } |
| 2890 | 2890 | } |
| 2891 | 2891 | return chat; |
| @@ -1203,7 +1203,7 @@ export function getTextGenGenerationData(finalPrompt, maxTokens, isImpersonate, | ||
| 1203 | 1203 | 'repetition_penalty': settings.rep_pen, |
| 1204 | 1204 | 'seed': settings.seed >= 0 ? settings.seed : undefined, |
| 1205 | 1205 | 'stop': getStoppingStrings(isImpersonate, isContinue), |
| 1206 | - 'temperature': settings.temp, | |
| 1206 | + 'temperature': dynatemp ? (settings.min_temp + settings.max_temp) / 2 : settings.temp, | |
| 1207 | 1207 | 'temperature_last': settings.temperature_last, |
| 1208 | 1208 | 'top_p': settings.top_p, |
| 1209 | 1209 | 'top_k': settings.top_k, |
| @@ -1223,6 +1223,12 @@ export function getTextGenGenerationData(finalPrompt, maxTokens, isImpersonate, | ||
| 1223 | 1223 | 'guided_json': settings.json_schema, |
| 1224 | 1224 | 'early_stopping': false, // hacks |
| 1225 | 1225 | 'include_stop_str_in_output': false, |
| 1226 | + 'dynatemp_min': dynatemp ? settings.min_temp : undefined, | |
| 1227 | + 'dynatemp_max': dynatemp ? settings.max_temp : undefined, | |
| 1228 | + 'dynatemp_exponent': dynatemp ? settings.dynatemp_exponent : undefined, | |
| 1229 | + 'xtc_threshold': settings.xtc_threshold, | |
| 1230 | + 'xtc_probability': settings.xtc_probability, | |
| 1231 | + 'custom_token_bans': toIntArray(banned_tokens), | |
| 1226 | 1232 | }; |
| 1227 | 1233 | |
| 1228 | 1234 | if (settings.type === OPENROUTER) { |
| @@ -2570,20 +2570,25 @@ input[type="file"] { | ||
| 2570 | 2570 | /*#################################################################*/ |
| 2571 | 2571 | |
| 2572 | 2572 | select { |
| 2573 | - | |
| 2573 | + -moz-appearance: none; | |
| 2574 | + -webkit-appearance: none; | |
| 2575 | + appearance: none; | |
| 2574 | 2576 | padding: 3px 2px; |
| 2575 | 2577 | background-color: var(--black30a); |
| 2576 | 2578 | border: 1px solid var(--SmartThemeBorderColor); |
| 2577 | 2579 | border-radius: 5px; |
| 2578 | 2580 | margin-bottom: 5px; |
| 2579 | 2581 | height: min-content; |
| 2582 | + background-image: url('/img/down-arrow.svg'); | |
| 2583 | + background-repeat: no-repeat; | |
| 2584 | + background-position: right 6px center; | |
| 2585 | + background-size: 8px 5px; | |
| 2580 | 2586 | } |
| 2581 | 2587 | |
| 2582 | 2588 | select option { |
| 2583 | 2589 | /* works to highlight selected/active option */ |
| 2584 | 2590 | background-color: var(--white50a); |
| 2585 | 2591 | color: var(--black70a); |
| 2586 | - | |
| 2587 | 2592 | } |
| 2588 | 2593 | |
| 2589 | 2594 | select option:not(:checked) { |