sillytavern 1.9.4 → 1.9.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.dockerignore +1 -0
- package/.github/ISSUE_TEMPLATE/bug_report.md +2 -2
- package/.github/readme-zh_cn.md +12 -8
- package/.github/readme.md +6 -2
- package/Remote-Link.cmd +18 -0
- package/default/settings.json +88 -35
- package/package.json +2 -2
- package/public/KoboldAI Settings/Ace of Spades.settings +0 -2
- package/public/KoboldAI Settings/Adventurer-NeoX-20B-Erebus.settings +0 -2
- package/public/KoboldAI Settings/Basic Coherence.settings +0 -2
- package/public/KoboldAI Settings/Best Guess.settings +0 -2
- package/public/KoboldAI Settings/Calibrated-Pygmalion-6b.settings +0 -2
- package/public/KoboldAI Settings/Classic-Pygmalion-2.7b.settings +0 -2
- package/public/KoboldAI Settings/Classic-Pygmalion-6b.settings +0 -2
- package/public/KoboldAI Settings/Coherent Creativity.settings +0 -2
- package/public/KoboldAI Settings/Default-TavernAI.settings +0 -2
- package/public/KoboldAI Settings/Deterministic.settings +22 -0
- package/public/KoboldAI Settings/DragonSlayer-Pygmalion-6b.settings +0 -2
- package/public/KoboldAI Settings/GPU-Pygmalion-6b.settings +0 -2
- package/public/KoboldAI Settings/Genesis.settings +0 -2
- package/public/KoboldAI Settings/Godlike.settings +0 -2
- package/public/KoboldAI Settings/Good Winds.settings +0 -2
- package/public/KoboldAI Settings/Lancer-OPT-2.7B-Erebus.settings +0 -2
- package/public/KoboldAI Settings/Liminal Drift.settings +0 -2
- package/public/KoboldAI Settings/Low Rider.settings +0 -2
- package/public/KoboldAI Settings/Luna Moth.settings +0 -2
- package/public/KoboldAI Settings/Mayday.settings +0 -2
- package/public/KoboldAI Settings/Ouroboros.settings +0 -2
- package/public/KoboldAI Settings/Pleasing Results.settings +0 -2
- package/public/KoboldAI Settings/Pro Writer.settings +0 -2
- package/public/KoboldAI Settings/RA - Pygmalion-1.3b.settings +0 -2
- package/public/KoboldAI Settings/RecoveredRuins.settings +0 -2
- package/public/KoboldAI Settings/Storywriter-Llama2.settings +22 -0
- package/public/KoboldAI Settings/Storywriter.settings +0 -2
- package/public/KoboldAI Settings/simple-proxy-for-tavern.settings +22 -0
- package/public/NovelAI Settings/Asper-Kayra.settings +1 -1
- package/public/NovelAI Settings/Blended-Coffee-Kayra.settings +1 -1
- package/public/NovelAI Settings/Blook-Kayra.settings +1 -1
- package/public/NovelAI Settings/Carefree-Kayra.settings +1 -1
- package/public/NovelAI Settings/Edgewise-Clio.settings +1 -1
- package/public/NovelAI Settings/Fresh-Coffee-Clio.settings +1 -1
- package/public/NovelAI Settings/Fresh-Coffee-Kayra.settings +1 -1
- package/public/NovelAI Settings/Green-Active-Writer-Kayra.settings +1 -1
- package/public/NovelAI Settings/Keelback-Clio.settings +1 -1
- package/public/NovelAI Settings/Long-Press-Clio.settings +1 -1
- package/public/NovelAI Settings/Pilotfish-Kayra.settings +1 -1
- package/public/NovelAI Settings/Pro_Writer-Kayra.settings +19 -0
- package/public/NovelAI Settings/Stelenes-Kayra.settings +1 -1
- package/public/NovelAI Settings/Talker-Chat-Clio.settings +1 -1
- package/public/NovelAI Settings/Tea_Time-Kayra.settings +19 -0
- package/public/NovelAI Settings/Tesseract-Kayra.settings +1 -1
- package/public/NovelAI Settings/Vingt-Un-Clio.settings +1 -1
- package/public/NovelAI Settings/Writers-Daemon-Kayra.settings +1 -1
- package/public/TextGen Settings/Simple-1.settings +1 -1
- package/public/TextGen Settings/simple-proxy-for-tavern.settings +23 -0
- package/public/i18n.json +1 -1
- package/public/index.html +114 -57
- package/public/instruct/OpenOrca-OpenChat.json +12 -0
- package/public/instruct/Roleplay.json +12 -0
- package/public/script.js +232 -81
- package/public/scripts/RossAscends-mods.js +21 -7
- package/public/scripts/extensions/bulk-edit/index.js +117 -0
- package/public/scripts/extensions/bulk-edit/manifest.json +11 -0
- package/public/scripts/extensions/bulk-edit/style.css +7 -0
- package/public/scripts/extensions/expressions/index.js +302 -97
- package/public/scripts/extensions/infinity-context/index.js +28 -0
- package/public/scripts/extensions/memory/index.js +6 -1
- package/public/scripts/extensions/objective/index.js +38 -15
- package/public/scripts/extensions/quick-reply/index.js +28 -3
- package/public/scripts/extensions/speech-recognition/index.js +95 -7
- package/public/scripts/extensions/speech-recognition/streaming.js +102 -0
- package/public/scripts/extensions/tts/index.js +19 -3
- package/public/scripts/kai-settings.js +9 -5
- package/public/scripts/nai-settings.js +39 -3
- package/public/scripts/power-user.js +39 -5
- package/public/scripts/secrets.js +2 -0
- package/public/scripts/slash-commands.js +5 -1
- package/public/scripts/tags.js +1 -1
- package/public/scripts/textgen-settings.js +16 -0
- package/public/scripts/utils.js +4 -0
- package/public/scripts/world-info.js +1 -1
- package/public/style.css +30 -20
- package/server.js +164 -70
- package/src/character-card-parser.js +5 -0
- package/public/scripts/user-agent/user-agent.js +0 -154
- package/public/scripts/user-agent/user-agents.json +0 -3949
package/.dockerignore
CHANGED
|
@@ -7,7 +7,7 @@ assignees: ''
|
|
|
7
7
|
|
|
8
8
|
---
|
|
9
9
|
|
|
10
|
-
> **Warning**. Complete **all** the fields below. Otherwise your bug report will be **ignored**!
|
|
10
|
+
> **Warning**. Complete **all** the fields below. Otherwise, your bug report will be **ignored**!
|
|
11
11
|
|
|
12
12
|
**Have you searched for similar [bugs](https://github.com/SillyTavern/SillyTavern/issues?q=)?**
|
|
13
13
|
Yes/No
|
|
@@ -38,7 +38,7 @@ Providing the logs from the browser DevTools console (opened by pressing the F12
|
|
|
38
38
|
- Node.js version (if applicable): [run `node --version` in cmd]
|
|
39
39
|
- Browser [e.g. chrome, safari]
|
|
40
40
|
- Generation API [e.g. KoboldAI, OpenAI]
|
|
41
|
-
- Branch [
|
|
41
|
+
- Branch [staging, release]
|
|
42
42
|
- Model [e.g. Pygmalion 6b, LLaMa 13b]
|
|
43
43
|
|
|
44
44
|
**Additional context**
|
package/.github/readme-zh_cn.md
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
[English](readme.md) | 中文
|
|
2
|
+
|
|
1
3
|

|
|
2
4
|
|
|
3
|
-
移动设备界面友好,多种人工智能服务或模型支持(KoboldAI/CPP, Horde, NovelAI, Ooba, OpenAI
|
|
5
|
+
移动设备界面友好,多种人工智能服务或模型支持(KoboldAI/CPP, Horde, NovelAI, Ooba, OpenAI, OpenRouter, Claude, Scale),类似 Galgame 的 老 婆 模 式,Horde SD,文本系统语音生成,世界信息(Lorebooks),可定制的界面,自动翻译,和比你所需要的更多的 Prompt。附带扩展服务,支持文本绘画生成与语音生成和基于向量数据库 ChromaDB 的聊天信息总结。
|
|
4
6
|
|
|
5
7
|
基于 TavernAI 1.2.8 的分叉版本
|
|
6
8
|
|
|
@@ -282,24 +284,26 @@ SillyTavern 会将 API 密钥保存在目录中的 `secrets.json` 文件内。
|
|
|
282
284
|
|
|
283
285
|
## 许可证和贡献
|
|
284
286
|
|
|
285
|
-
|
|
287
|
+
**发布本程序是希望它能有所帮助,但不做任何保证;甚至没有明示的性能、稳定性和其他任何特定用途的可用性保证。更多详情,请参阅 GNU Affero 通用公共许可证。**
|
|
286
288
|
|
|
287
|
-
**
|
|
289
|
+
**This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.**
|
|
288
290
|
|
|
289
291
|
* TAI Base by Humi: Unknown license
|
|
290
292
|
* Cohee's modifications and derived code: AGPL v3
|
|
291
293
|
* RossAscends' additions: AGPL v3
|
|
292
294
|
* Portions of CncAnon's TavernAITurbo mod: Unknown license
|
|
293
|
-
* kingbri's various commits and suggestions (https://github.com/bdashore3)
|
|
294
|
-
*
|
|
295
|
+
* kingbri's various commits and suggestions (<https://github.com/bdashore3>)
|
|
296
|
+
* StefanDanielSchwarz's various commits and bug reports (<https://github.com/StefanDanielSchwarz>)
|
|
297
|
+
* Waifu mode inspired by the work of PepperTaco (<https://github.com/peppertaco/Tavern/>)
|
|
295
298
|
* Thanks Pygmalion University for being awesome testers and suggesting cool features!
|
|
296
299
|
* Thanks oobabooga for compiling presets for TextGen
|
|
297
|
-
* KoboldAI Presets from KAI Lite: https://lite.koboldai.net
|
|
300
|
+
* KoboldAI Presets from KAI Lite: <https://lite.koboldai.net/>
|
|
298
301
|
* Noto Sans font by Google (OFL license)
|
|
299
|
-
* Icon theme by Font Awesome https://fontawesome.com (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
300
|
-
* AI Horde client library by ZeldaFan0225: https://github.com/ZeldaFan0225/ai_horde
|
|
302
|
+
* Icon theme by Font Awesome <https://fontawesome.com> (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
303
|
+
* AI Horde client library by ZeldaFan0225: <https://github.com/ZeldaFan0225/ai_horde>
|
|
301
304
|
* Linux startup script by AlpinDale
|
|
302
305
|
* Thanks paniphons for providing a FAQ document
|
|
303
306
|
* 10K Discord Users Celebratory Background by @kallmeflocc
|
|
304
307
|
* Default content (characters and lore books) provided by @OtisAlejandro, @RossAscends and @kallmeflocc
|
|
305
308
|
* Korean translation by @doloroushyeonse
|
|
309
|
+
* 中文翻译由 [@XXpE3](https://github.com/XXpE3) 完成,中文 ISSUES 可以联系 @XXpE3
|
package/.github/readme.md
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
English | [中文](readme-zh_cn.md)
|
|
2
|
+
|
|
1
3
|

|
|
2
4
|
|
|
3
|
-
Mobile-friendly, Multi-API (KoboldAI/CPP, Horde, NovelAI, Ooba, OpenAI
|
|
5
|
+
Mobile-friendly, Multi-API (KoboldAI/CPP, Horde, NovelAI, Ooba, OpenAI, OpenRouter, Claude, Scale), VN-like Waifu Mode, Horde SD, System TTS, WorldInfo (lorebooks), customizable UI, auto-translate, and more prompt options than you'd ever want or need. Optional Extras server for more SD/TTS options + ChromaDB/Summarize.
|
|
4
6
|
|
|
5
7
|
Based on a fork of TavernAI 1.2.8
|
|
6
8
|
|
|
@@ -65,7 +67,7 @@ Get in touch with the developers directly:
|
|
|
65
67
|
* Chat bookmarks / branching (duplicates the dialogue in its current state)
|
|
66
68
|
* Advanced KoboldAI / TextGen generation settings with a lot of community-made presets
|
|
67
69
|
* World Info support: create rich lore or save tokens on your character card
|
|
68
|
-
*
|
|
70
|
+
* [OpenRouter](https://openrouter.ai) connection for various APIs (Claude, GPT-4/3.5 and more)
|
|
69
71
|
* [Oobabooga's TextGen WebUI](https://github.com/oobabooga/text-generation-webui) API connection
|
|
70
72
|
* [AI Horde](https://horde.koboldai.net/) connection
|
|
71
73
|
* Prompt generation formatting tweaking
|
|
@@ -293,6 +295,7 @@ GNU Affero General Public License for more details.**
|
|
|
293
295
|
* RossAscends' additions: AGPL v3
|
|
294
296
|
* Portions of CncAnon's TavernAITurbo mod: Unknown license
|
|
295
297
|
* kingbri's various commits and suggestions (<https://github.com/bdashore3>)
|
|
298
|
+
* StefanDanielSchwarz's various commits and bug reports (<https://github.com/StefanDanielSchwarz>)
|
|
296
299
|
* Waifu mode inspired by the work of PepperTaco (<https://github.com/peppertaco/Tavern/>)
|
|
297
300
|
* Thanks Pygmalion University for being awesome testers and suggesting cool features!
|
|
298
301
|
* Thanks oobabooga for compiling presets for TextGen
|
|
@@ -306,3 +309,4 @@ GNU Affero General Public License for more details.**
|
|
|
306
309
|
* Default content (characters and lore books) provided by @OtisAlejandro, @RossAscends and @kallmeflocc
|
|
307
310
|
* Korean translation by @doloroushyeonse
|
|
308
311
|
* k_euler_a support for Horde by <https://github.com/Teashrock>
|
|
312
|
+
* Chinese translation by [@XXpE3](https://github.com/XXpE3), 中文 ISSUES 可以联系 @XXpE3
|
package/Remote-Link.cmd
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
@echo off
|
|
2
|
+
echo ========================================================================================================================
|
|
3
|
+
echo WARNING: Cloudflare Tunnel!
|
|
4
|
+
echo ========================================================================================================================
|
|
5
|
+
echo This script downloads and runs the latest cloudflared.exe from Cloudflare to set up an HTTPS tunnel to your SillyTavern!
|
|
6
|
+
echo Using the randomly generated temporary tunnel URL, anyone can access your SillyTavern over the Internet while the tunnel
|
|
7
|
+
echo is active. Keep the URL safe and secure your SillyTavern installation by setting a username and password in config.conf!
|
|
8
|
+
echo.
|
|
9
|
+
echo See https://docs.sillytavern.app/usage/remoteconnections/ for more details about how to secure your SillyTavern install.
|
|
10
|
+
echo.
|
|
11
|
+
echo By continuing you confirm that you're aware of the potential dangers of having a tunnel open and take all responsibility
|
|
12
|
+
echo to properly use and secure it!
|
|
13
|
+
echo.
|
|
14
|
+
echo To abort, press Ctrl+C or close this window now!
|
|
15
|
+
echo.
|
|
16
|
+
pause
|
|
17
|
+
if not exist cloudflared.exe curl -Lo cloudflared.exe https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-windows-amd64.exe
|
|
18
|
+
cloudflared.exe tunnel --url localhost:8000
|
package/default/settings.json
CHANGED
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
"world_info_depth": 2,
|
|
15
15
|
"world_info_budget": 25,
|
|
16
16
|
"world_info_recursive": true,
|
|
17
|
+
"world_info_overflow_alert": false,
|
|
17
18
|
"world_info_case_sensitive": false,
|
|
18
19
|
"world_info_match_whole_words": false,
|
|
19
20
|
"world_info_character_strategy": 1,
|
|
@@ -27,6 +28,7 @@
|
|
|
27
28
|
"eta_cutoff": 0,
|
|
28
29
|
"typical_p": 1,
|
|
29
30
|
"rep_pen": 1.1,
|
|
31
|
+
"rep_pen_range": 0,
|
|
30
32
|
"no_repeat_ngram_size": 0,
|
|
31
33
|
"penalty_alpha": 0,
|
|
32
34
|
"num_beams": 1,
|
|
@@ -57,7 +59,7 @@
|
|
|
57
59
|
"trusted_workers_only": false
|
|
58
60
|
},
|
|
59
61
|
"power_user": {
|
|
60
|
-
"tokenizer":
|
|
62
|
+
"tokenizer": 99,
|
|
61
63
|
"token_padding": 64,
|
|
62
64
|
"collapse_newlines": false,
|
|
63
65
|
"pygmalion_formatting": 0,
|
|
@@ -91,7 +93,7 @@
|
|
|
91
93
|
"sort_order": "asc",
|
|
92
94
|
"sort_rule": null,
|
|
93
95
|
"font_scale": 1,
|
|
94
|
-
"blur_strength":
|
|
96
|
+
"blur_strength": 10,
|
|
95
97
|
"shadow_width": 2,
|
|
96
98
|
"main_text_color": "rgba(220, 220, 210, 1)",
|
|
97
99
|
"italics_text_color": "rgba(145, 145, 145, 1)",
|
|
@@ -144,7 +146,9 @@
|
|
|
144
146
|
"persona_descriptions": {},
|
|
145
147
|
"persona_description": "",
|
|
146
148
|
"persona_description_position": 0,
|
|
147
|
-
"custom_stopping_strings": ""
|
|
149
|
+
"custom_stopping_strings": "",
|
|
150
|
+
"custom_stopping_strings_macro": true,
|
|
151
|
+
"fuzzy_search": false
|
|
148
152
|
},
|
|
149
153
|
"extension_settings": {
|
|
150
154
|
"apiUrl": "http://localhost:5100",
|
|
@@ -183,7 +187,14 @@
|
|
|
183
187
|
"promptInterval": 10,
|
|
184
188
|
"promptMinInterval": 1,
|
|
185
189
|
"promptMaxInterval": 100,
|
|
186
|
-
"promptIntervalStep": 1
|
|
190
|
+
"promptIntervalStep": 1,
|
|
191
|
+
"template": "[Summary: {{summary}}]",
|
|
192
|
+
"position": 0,
|
|
193
|
+
"depth": 2,
|
|
194
|
+
"promptForceWords": 0,
|
|
195
|
+
"promptForceWordsStep": 100,
|
|
196
|
+
"promptMinForceWords": 0,
|
|
197
|
+
"promptMaxForceWords": 10000
|
|
187
198
|
},
|
|
188
199
|
"note": {
|
|
189
200
|
"default": "",
|
|
@@ -203,7 +214,8 @@
|
|
|
203
214
|
"ttsEnabled": false,
|
|
204
215
|
"currentProvider": "System",
|
|
205
216
|
"auto_generation": true,
|
|
206
|
-
"ElevenLabs": {}
|
|
217
|
+
"ElevenLabs": {},
|
|
218
|
+
"System": {}
|
|
207
219
|
},
|
|
208
220
|
"sd": {
|
|
209
221
|
"scale_min": 1,
|
|
@@ -228,7 +240,16 @@
|
|
|
228
240
|
"horde": true,
|
|
229
241
|
"horde_nsfw": false,
|
|
230
242
|
"horde_karras": true,
|
|
231
|
-
"refine_mode": false
|
|
243
|
+
"refine_mode": false,
|
|
244
|
+
"prompts": {
|
|
245
|
+
"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,']",
|
|
246
|
+
"1": "[Pause your roleplay 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 roleplay as {{char}} when writing this description, and do not attempt to continue the story.]",
|
|
247
|
+
"2": "[Pause your roleplay 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 roleplay while writing this description.]",
|
|
248
|
+
"3": "[Pause your roleplay and provide ONLY the last chat message string back to me verbatim. Do not write anything after the string. Do not roleplay at all in your response. Do not continue the roleplay story.]",
|
|
249
|
+
"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)']",
|
|
250
|
+
"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,']"
|
|
251
|
+
},
|
|
252
|
+
"character_prompts": {}
|
|
232
253
|
},
|
|
233
254
|
"chromadb": {},
|
|
234
255
|
"translate": {
|
|
@@ -237,7 +258,15 @@
|
|
|
237
258
|
"provider": "google",
|
|
238
259
|
"auto_mode": "none"
|
|
239
260
|
},
|
|
240
|
-
"objective": {
|
|
261
|
+
"objective": {
|
|
262
|
+
"customPrompts": {
|
|
263
|
+
"default": {
|
|
264
|
+
"createTask": "Pause your roleplay 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 ",
|
|
265
|
+
"checkTaskCompleted": "Pause your roleplay. 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 ",
|
|
266
|
+
"currentTask": "Your current task is [{{task}}]. Balance existing roleplay with completing this task."
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
},
|
|
241
270
|
"quickReply": {
|
|
242
271
|
"quickReplyEnabled": false,
|
|
243
272
|
"numberOfSlots": 5,
|
|
@@ -273,6 +302,14 @@
|
|
|
273
302
|
"controls": [],
|
|
274
303
|
"fluctuation": 0.1,
|
|
275
304
|
"enabled": false
|
|
305
|
+
},
|
|
306
|
+
"speech_recognition": {
|
|
307
|
+
"currentProvider": "None",
|
|
308
|
+
"messageMode": "append",
|
|
309
|
+
"messageMappingText": "",
|
|
310
|
+
"messageMapping": [],
|
|
311
|
+
"messageMappingEnabled": false,
|
|
312
|
+
"None": {}
|
|
276
313
|
}
|
|
277
314
|
},
|
|
278
315
|
"context_settings": {
|
|
@@ -296,33 +333,46 @@
|
|
|
296
333
|
"1345561466591"
|
|
297
334
|
]
|
|
298
335
|
},
|
|
299
|
-
"
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
"
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
336
|
+
"nai_settings": {
|
|
337
|
+
"temperature": 0.63,
|
|
338
|
+
"repetition_penalty": 1.148125,
|
|
339
|
+
"repetition_penalty_range": 2048,
|
|
340
|
+
"repetition_penalty_slope": 0.09,
|
|
341
|
+
"repetition_penalty_frequency": 0,
|
|
342
|
+
"repetition_penalty_presence": 0,
|
|
343
|
+
"tail_free_sampling": 0.975,
|
|
344
|
+
"top_k": 0,
|
|
345
|
+
"top_p": 0.975,
|
|
346
|
+
"top_a": 1,
|
|
347
|
+
"typical_p": 1,
|
|
348
|
+
"min_length": 1,
|
|
349
|
+
"model_novel": "euterpe-v2",
|
|
350
|
+
"preset_settings_novel": "Classic-Euterpe",
|
|
351
|
+
"streaming_novel": false
|
|
352
|
+
},
|
|
353
|
+
"kai_settings": {
|
|
354
|
+
"temp": 1,
|
|
355
|
+
"rep_pen": 1.1,
|
|
356
|
+
"rep_pen_range": 600,
|
|
357
|
+
"top_p": 0.95,
|
|
358
|
+
"top_a": 0,
|
|
359
|
+
"top_k": 0,
|
|
360
|
+
"typical": 1,
|
|
361
|
+
"tfs": 1,
|
|
362
|
+
"rep_pen_slope": 0,
|
|
363
|
+
"single_line": false,
|
|
364
|
+
"use_stop_sequence": false,
|
|
365
|
+
"streaming_kobold": false,
|
|
366
|
+
"sampler_order": [
|
|
367
|
+
6,
|
|
368
|
+
0,
|
|
369
|
+
1,
|
|
370
|
+
2,
|
|
371
|
+
3,
|
|
372
|
+
4,
|
|
373
|
+
5
|
|
374
|
+
]
|
|
375
|
+
},
|
|
326
376
|
"preset_settings_openai": "Default",
|
|
327
377
|
"temp_openai": "0.9",
|
|
328
378
|
"freq_pen_openai": 0.7,
|
|
@@ -374,5 +424,8 @@
|
|
|
374
424
|
"legacy_streaming": false,
|
|
375
425
|
"chat_completion_source": "openai",
|
|
376
426
|
"max_context_unlocked": false,
|
|
377
|
-
"api_url_scale": ""
|
|
427
|
+
"api_url_scale": "",
|
|
428
|
+
"show_external_models": false,
|
|
429
|
+
"proxy_password": "",
|
|
430
|
+
"assistant_prefill": ""
|
|
378
431
|
}
|
package/package.json
CHANGED
|
@@ -33,7 +33,6 @@
|
|
|
33
33
|
"sentencepiece-js": "^1.1.0",
|
|
34
34
|
"simple-git": "^3.19.1",
|
|
35
35
|
"uniqolor": "^1.1.0",
|
|
36
|
-
"user-agents": "^1.0.1444",
|
|
37
36
|
"webp-converter": "2.3.2",
|
|
38
37
|
"ws": "^8.13.0",
|
|
39
38
|
"yargs": "^17.7.1",
|
|
@@ -51,9 +50,10 @@
|
|
|
51
50
|
"type": "git",
|
|
52
51
|
"url": "https://github.com/SillyTavern/SillyTavern.git"
|
|
53
52
|
},
|
|
54
|
-
"version": "1.9.
|
|
53
|
+
"version": "1.9.5",
|
|
55
54
|
"scripts": {
|
|
56
55
|
"start": "node server.js",
|
|
56
|
+
"start-multi": "node server.js --disableCsrf",
|
|
57
57
|
"pkg": "pkg --compress Gzip --no-bytecode --public ."
|
|
58
58
|
},
|
|
59
59
|
"bin": {
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"temp": 0,
|
|
3
|
+
"rep_pen": 1.1,
|
|
4
|
+
"rep_pen_range": 2048,
|
|
5
|
+
"streaming_kobold": true,
|
|
6
|
+
"top_p": 0,
|
|
7
|
+
"top_a": 0,
|
|
8
|
+
"top_k": 1,
|
|
9
|
+
"typical": 1,
|
|
10
|
+
"tfs": 1,
|
|
11
|
+
"rep_pen_slope": 0.2,
|
|
12
|
+
"single_line": false,
|
|
13
|
+
"sampler_order": [
|
|
14
|
+
6,
|
|
15
|
+
0,
|
|
16
|
+
1,
|
|
17
|
+
3,
|
|
18
|
+
4,
|
|
19
|
+
2,
|
|
20
|
+
5
|
|
21
|
+
]
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"temp": 0.72,
|
|
3
|
+
"rep_pen": 1.1,
|
|
4
|
+
"rep_pen_range": 4096,
|
|
5
|
+
"streaming_kobold": true,
|
|
6
|
+
"top_p": 0.73,
|
|
7
|
+
"top_a": 0,
|
|
8
|
+
"top_k": 0,
|
|
9
|
+
"typical": 1,
|
|
10
|
+
"tfs": 1,
|
|
11
|
+
"rep_pen_slope": 0.2,
|
|
12
|
+
"single_line": false,
|
|
13
|
+
"sampler_order": [
|
|
14
|
+
6,
|
|
15
|
+
0,
|
|
16
|
+
1,
|
|
17
|
+
3,
|
|
18
|
+
4,
|
|
19
|
+
2,
|
|
20
|
+
5
|
|
21
|
+
]
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"temp": 0.65,
|
|
3
|
+
"rep_pen": 1.18,
|
|
4
|
+
"rep_pen_range": 2048,
|
|
5
|
+
"streaming_kobold": true,
|
|
6
|
+
"top_p": 0.47,
|
|
7
|
+
"top_a": 0,
|
|
8
|
+
"top_k": 42,
|
|
9
|
+
"typical": 1,
|
|
10
|
+
"tfs": 1,
|
|
11
|
+
"rep_pen_slope": 0,
|
|
12
|
+
"single_line": false,
|
|
13
|
+
"sampler_order": [
|
|
14
|
+
6,
|
|
15
|
+
0,
|
|
16
|
+
1,
|
|
17
|
+
3,
|
|
18
|
+
4,
|
|
19
|
+
2,
|
|
20
|
+
5
|
|
21
|
+
]
|
|
22
|
+
}
|