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