sillytavern 1.13.5 → 1.16.0
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 +55 -11
- package/.eslintrc.cjs +1 -1
- package/CONTRIBUTING.md +52 -19
- package/Dockerfile +16 -12
- package/Start.bat +1 -1
- package/UpdateAndStart.bat +1 -1
- package/UpdateForkAndStart.bat +1 -1
- package/config.yaml +35 -2
- package/default/config.yaml +35 -2
- package/default/content/index.json +2 -218
- package/default/content/presets/instruct/Mistral V7-Tekken.json +1 -1
- package/default/content/presets/kobold/Deterministic.json +5 -3
- package/default/content/presets/kobold/{TFS-with-Top-A.json → Neutral.json} +8 -6
- package/default/content/presets/kobold/RecoveredRuins.json +3 -1
- package/default/content/presets/kobold/Universal-Creative.json +1 -1
- package/default/content/presets/kobold/Universal-Light.json +1 -1
- package/default/content/presets/kobold/Universal-Super-Creative.json +1 -1
- package/default/content/presets/openai/Default.json +4 -3
- package/default/content/presets/textgen/Default.json +41 -7
- package/default/content/presets/textgen/Deterministic.json +37 -3
- package/default/content/presets/textgen/{NovelAI (Pleasing Results).json → Neutral.json} +38 -4
- package/default/content/presets/textgen/Universal-Creative.json +36 -2
- package/default/content/presets/textgen/Universal-Light.json +36 -2
- package/default/content/presets/textgen/Universal-Super-Creative.json +36 -2
- package/default/content/settings.json +8 -4
- package/docker/docker-compose.yml +7 -0
- package/docker/docker-entrypoint.sh +95 -8
- package/package.json +8 -7
- package/public/css/animations.css +20 -0
- package/public/css/backgrounds.css +84 -8
- package/public/css/chat-backups.css +54 -0
- package/public/css/extensions-panel.css +6 -2
- package/public/css/file-form.css +104 -0
- package/public/css/macros.css +603 -0
- package/public/css/mobile-styles.css +9 -0
- package/public/css/rm-groups.css +8 -0
- package/public/css/select2-overrides.css +5 -0
- package/public/css/tags.css +4 -0
- package/public/css/toggle-dependent.css +29 -5
- package/public/css/welcome.css +9 -0
- package/public/css/world-info.css +8 -0
- package/public/global.d.ts +162 -0
- package/public/img/chutes.svg +4 -0
- package/public/img/siliconflow.svg +4 -0
- package/public/img/zai.svg +3 -0
- package/public/index.html +607 -295
- package/public/jsconfig.json +7 -1
- package/public/lib.js +3 -0
- package/public/locales/ar-sa.json +6 -6
- package/public/locales/de-de.json +6 -6
- package/public/locales/es-es.json +6 -6
- package/public/locales/fr-fr.json +8 -6
- package/public/locales/is-is.json +6 -6
- package/public/locales/it-it.json +6 -6
- package/public/locales/ja-jp.json +6 -6
- package/public/locales/ko-kr.json +6 -8
- package/public/locales/nl-nl.json +6 -8
- package/public/locales/pt-pt.json +6 -8
- package/public/locales/ru-ru.json +5 -11
- package/public/locales/th-th.json +7 -9
- package/public/locales/uk-ua.json +6 -8
- package/public/locales/vi-vn.json +6 -8
- package/public/locales/zh-cn.json +165 -185
- package/public/locales/zh-tw.json +9 -11
- package/public/script.js +2602 -1414
- package/public/scripts/PromptManager.js +5 -13
- package/public/scripts/RossAscends-mods.js +47 -47
- package/public/scripts/a11y.js +14 -0
- package/public/scripts/audio-player.js +605 -0
- package/public/scripts/authors-note.js +37 -3
- package/public/scripts/autocomplete/AutoComplete.js +60 -8
- package/public/scripts/autocomplete/AutoCompleteNameResultBase.js +2 -2
- package/public/scripts/autocomplete/AutoCompleteOption.js +16 -0
- package/public/scripts/autocomplete/EnhancedMacroAutoCompleteOption.js +1872 -0
- package/public/scripts/autocomplete/MacroAutoComplete.js +307 -0
- package/public/scripts/autocomplete/MacroAutoCompleteHelper.js +1217 -0
- package/public/scripts/backgrounds.js +281 -29
- package/public/scripts/bookmarks.js +76 -50
- package/public/scripts/cfg-scale.js +14 -14
- package/public/scripts/chat-backups.js +335 -0
- package/public/scripts/chat-templates.js +6 -6
- package/public/scripts/chats.js +518 -190
- package/public/scripts/constants.js +120 -0
- package/public/scripts/custom-request.js +166 -150
- package/public/scripts/data-maid.js +1 -1
- package/public/scripts/events.js +6 -1
- package/public/scripts/extensions/assets/index.js +17 -17
- package/public/scripts/extensions/attachments/index.js +1 -1
- package/public/scripts/extensions/caption/index.js +154 -49
- package/public/scripts/extensions/caption/settings.html +32 -5
- package/public/scripts/extensions/connection-manager/index.js +1 -2
- package/public/scripts/extensions/expressions/index.js +24 -3
- package/public/scripts/extensions/gallery/index.js +48 -31
- package/public/scripts/extensions/gallery/style.css +4 -0
- package/public/scripts/extensions/memory/index.js +35 -9
- package/public/scripts/extensions/quick-reply/index.js +3 -2
- package/public/scripts/extensions/quick-reply/src/SlashCommandHandler.js +1 -1
- package/public/scripts/extensions/regex/dropdown.html +23 -23
- package/public/scripts/extensions/regex/engine.js +65 -9
- package/public/scripts/extensions/regex/importTarget.html +6 -6
- package/public/scripts/extensions/regex/index.js +20 -9
- package/public/scripts/extensions/regex/scriptTemplate.html +3 -3
- package/public/scripts/extensions/shared.js +81 -7
- package/public/scripts/extensions/stable-diffusion/index.js +1206 -257
- package/public/scripts/extensions/stable-diffusion/settings.html +120 -20
- package/public/scripts/extensions/translate/index.js +2 -2
- package/public/scripts/extensions/tts/chutes.js +233 -0
- package/public/scripts/extensions/tts/coqui.js +20 -20
- package/public/scripts/extensions/tts/cosyvoice.js +3 -3
- package/public/scripts/extensions/tts/edge.js +1 -1
- package/public/scripts/extensions/tts/electronhub.js +1 -1
- package/public/scripts/extensions/tts/elevenlabs.js +133 -108
- package/public/scripts/extensions/tts/gpt-sovits-adapter.js +233 -0
- package/public/scripts/extensions/tts/index.js +64 -12
- package/public/scripts/extensions/tts/settings.html +11 -0
- package/public/scripts/extensions/tts/volcengine.js +316 -0
- package/public/scripts/extensions/vectors/index.js +414 -27
- package/public/scripts/extensions/vectors/settings.html +40 -0
- package/public/scripts/extensions-slashcommands.js +22 -37
- package/public/scripts/extensions.js +154 -28
- package/public/scripts/group-chats.js +463 -189
- package/public/scripts/horde.js +10 -9
- package/public/scripts/i18n.js +3 -2
- package/public/scripts/instruct-mode.js +9 -9
- package/public/scripts/itemized-prompts.js +43 -1
- package/public/scripts/keyboard.js +1 -0
- package/public/scripts/logprobs.js +1 -0
- package/public/scripts/macros/definitions/chat-macros.js +136 -0
- package/public/scripts/macros/definitions/core-macros.js +460 -0
- package/public/scripts/macros/definitions/env-macros.js +181 -0
- package/public/scripts/macros/definitions/instruct-macros.js +76 -0
- package/public/scripts/macros/definitions/state-macros.js +57 -0
- package/public/scripts/macros/definitions/time-macros.js +151 -0
- package/public/scripts/macros/definitions/variable-macros.js +305 -0
- package/public/scripts/macros/engine/MacroBrowser.js +686 -0
- package/public/scripts/macros/engine/MacroCstWalker.js +1365 -0
- package/public/scripts/macros/engine/MacroDiagnostics.js +242 -0
- package/public/scripts/macros/engine/MacroEngine.js +416 -0
- package/public/scripts/macros/engine/MacroEnv.types.js +66 -0
- package/public/scripts/macros/engine/MacroEnvBuilder.js +202 -0
- package/public/scripts/macros/engine/MacroFlags.js +228 -0
- package/public/scripts/macros/engine/MacroLexer.js +393 -0
- package/public/scripts/macros/engine/MacroParser.js +227 -0
- package/public/scripts/macros/engine/MacroRegistry.js +829 -0
- package/public/scripts/macros/macro-system.js +84 -0
- package/public/scripts/macros.js +141 -18
- package/public/scripts/openai.js +1264 -1050
- package/public/scripts/personas.js +21 -21
- package/public/scripts/popup.js +8 -1
- package/public/scripts/power-user.js +140 -17
- package/public/scripts/preset-manager.js +42 -16
- package/public/scripts/reasoning.js +94 -13
- package/public/scripts/samplerSelect.js +299 -298
- package/public/scripts/scrapers.js +3 -3
- package/public/scripts/secrets.js +25 -4
- package/public/scripts/slash-commands/SlashCommandClosure.js +102 -0
- package/public/scripts/slash-commands/SlashCommandCommonEnumsProvider.js +23 -0
- package/public/scripts/slash-commands/SlashCommandParser.js +131 -43
- package/public/scripts/slash-commands.js +350 -38
- package/public/scripts/sse-stream.js +62 -4
- package/public/scripts/st-context.js +53 -5
- package/public/scripts/system-messages.js +72 -71
- package/public/scripts/tags.js +546 -111
- package/public/scripts/templates/samplerSelector.html +11 -5
- package/public/scripts/templates/scenarioOverride.html +40 -12
- package/public/scripts/templates/tagManagement.html +8 -9
- package/public/scripts/templates/welcomePanel.html +8 -0
- package/public/scripts/textgen-models.js +70 -23
- package/public/scripts/textgen-settings.js +280 -141
- package/public/scripts/tokenizers.js +28 -1
- package/public/scripts/tool-calling.js +74 -56
- package/public/scripts/user.js +6 -6
- package/public/scripts/util/AccountStorage.js +6 -0
- package/public/scripts/util/SimpleMutex.js +44 -0
- package/public/scripts/utils.js +299 -48
- package/public/scripts/variables.js +12 -12
- package/public/scripts/welcome-screen.js +193 -21
- package/public/scripts/world-info.js +159 -10
- package/public/style.css +175 -26
- package/src/byaf.js +227 -70
- package/src/charx.js +399 -0
- package/src/command-line.js +8 -0
- package/src/config-init.js +1 -1
- package/src/constants.js +64 -0
- package/src/electron/Start.bat +1 -1
- package/src/electron/start.sh +1 -1
- package/src/endpoints/assets.js +35 -23
- package/src/endpoints/backends/chat-completions.js +944 -528
- package/src/endpoints/backends/kobold.js +1 -1
- package/src/endpoints/backends/text-completions.js +28 -12
- package/src/endpoints/backgrounds.js +27 -4
- package/src/endpoints/backups.js +75 -0
- package/src/endpoints/characters.js +173 -63
- package/src/endpoints/chats.js +321 -231
- package/src/endpoints/content-manager.js +2 -2
- package/src/endpoints/data-maid.js +51 -6
- package/src/endpoints/extensions.js +11 -5
- package/src/endpoints/google.js +178 -21
- package/src/endpoints/groups.js +108 -7
- package/src/endpoints/horde.js +9 -2
- package/src/endpoints/image-metadata.js +494 -0
- package/src/endpoints/images.js +3 -2
- package/src/endpoints/openai.js +398 -57
- package/src/endpoints/openrouter.js +125 -8
- package/src/endpoints/search.js +47 -1
- package/src/endpoints/secrets.js +8 -0
- package/src/endpoints/speech.js +300 -8
- package/src/endpoints/sprites.js +34 -14
- package/src/endpoints/stable-diffusion.js +488 -19
- package/src/endpoints/stats.js +67 -65
- package/src/endpoints/thumbnails.js +183 -116
- package/src/endpoints/tokenizers.js +2 -2
- package/src/endpoints/translate.js +9 -41
- package/src/endpoints/users-admin.js +16 -2
- package/src/endpoints/vectors.js +40 -0
- package/src/endpoints/volcengine.js +136 -0
- package/src/endpoints/worldinfo.js +34 -0
- package/src/express-common.js +10 -0
- package/src/healthcheck.js +40 -0
- package/src/middleware/basicAuth.js +2 -1
- package/src/middleware/whitelist.js +35 -2
- package/src/prompt-converters.js +291 -27
- package/src/server-main.js +68 -18
- package/src/server-startup.js +6 -0
- package/src/types/byaf.d.ts +14 -0
- package/src/users.js +5 -2
- package/src/util.js +348 -56
- package/src/vectors/ollama-vectors.js +1 -0
- package/src/vectors/openai-vectors.js +55 -10
- package/start.sh +2 -18
- package/tests/{.eslintrc.js → .eslintrc.cjs} +19 -1
- package/tests/frontend/MacroEngine.e2e.js +3411 -0
- package/tests/frontend/MacroEnvBuilder.e2e.js +497 -0
- package/tests/frontend/MacroLexer.e2e.js +1348 -0
- package/tests/frontend/MacroParser.e2e.js +975 -0
- package/tests/frontend/MacroRegistry.e2e.js +719 -0
- package/tests/frontend/MacroSlashCommands.e2e.js +177 -0
- package/tests/frontend/MacroStoryString.e2e.js +82 -0
- package/tests/frontend/MacrosParser.e2e.js +50 -0
- package/tests/frontend/frontent-test-utils.js +22 -0
- package/tests/jest.config.json +1 -5
- package/tests/jsconfig.json +5 -0
- package/tests/mock-server.test.js +34 -0
- package/tests/package-lock.json +80 -1675
- package/tests/package.json +7 -4
- package/tests/playwright.config.js +12 -0
- package/tests/sample.e2e.js +12 -0
- package/tests/util/mock-server.js +101 -0
- package/tests/util.test.js +107 -0
- package/default/content/presets/context/DreamGen Role-Play V1 ChatML.json +0 -14
- package/default/content/presets/context/DreamGen Role-Play V1 Llama3.json +0 -14
- package/default/content/presets/instruct/DreamGen Role-Play V1 ChatML.json +0 -25
- package/default/content/presets/instruct/DreamGen Role-Play V1 Llama3.json +0 -25
- package/default/content/presets/kobold/Ace of Spades.json +0 -24
- package/default/content/presets/kobold/Basic Coherence.json +0 -24
- package/default/content/presets/kobold/Best Guess.json +0 -24
- package/default/content/presets/kobold/Coherent Creativity.json +0 -24
- package/default/content/presets/kobold/Genesis.json +0 -24
- package/default/content/presets/kobold/Godlike.json +0 -24
- package/default/content/presets/kobold/Good Winds.json +0 -24
- package/default/content/presets/kobold/Liminal Drift.json +0 -24
- package/default/content/presets/kobold/Low Rider.json +0 -24
- package/default/content/presets/kobold/Luna Moth.json +0 -24
- package/default/content/presets/kobold/Mayday.json +0 -24
- package/default/content/presets/kobold/Miro Bronze.json +0 -24
- package/default/content/presets/kobold/Miro Gold.json +0 -24
- package/default/content/presets/kobold/Miro Silver.json +0 -24
- package/default/content/presets/kobold/Ouroboros.json +0 -24
- package/default/content/presets/kobold/Pleasing Results.json +0 -24
- package/default/content/presets/kobold/Pro Writer.json +0 -24
- package/default/content/presets/kobold/Space Alien.json +0 -24
- package/default/content/presets/kobold/Storywriter.json +0 -24
- package/default/content/presets/kobold/Titanic.json +0 -24
- package/default/content/presets/kobold/simple-proxy-for-tavern.json +0 -24
- package/default/content/presets/textgen/Asterism.json +0 -85
- package/default/content/presets/textgen/Beam Search.json +0 -85
- package/default/content/presets/textgen/Big O.json +0 -85
- package/default/content/presets/textgen/Contrastive Search.json +0 -85
- package/default/content/presets/textgen/Divine Intellect.json +0 -85
- package/default/content/presets/textgen/Kobold (Godlike).json +0 -85
- package/default/content/presets/textgen/Kobold (Liminal Drift).json +0 -85
- package/default/content/presets/textgen/LLaMa-Precise.json +0 -85
- package/default/content/presets/textgen/Midnight Enigma.json +0 -85
- package/default/content/presets/textgen/Miro Bronze.json +0 -85
- package/default/content/presets/textgen/Miro Gold.json +0 -85
- package/default/content/presets/textgen/Miro Silver.json +0 -85
- package/default/content/presets/textgen/Mirostat.json +0 -85
- package/default/content/presets/textgen/Naive.json +0 -85
- package/default/content/presets/textgen/NovelAI (Best Guess).json +0 -85
- package/default/content/presets/textgen/NovelAI (Decadence).json +0 -85
- package/default/content/presets/textgen/NovelAI (Genesis).json +0 -85
- package/default/content/presets/textgen/NovelAI (Lycaenidae).json +0 -85
- package/default/content/presets/textgen/NovelAI (Ouroboros).json +0 -85
- package/default/content/presets/textgen/NovelAI (Sphinx Moth).json +0 -85
- package/default/content/presets/textgen/NovelAI (Storywriter).json +0 -85
- package/default/content/presets/textgen/Shortwave.json +0 -85
- package/default/content/presets/textgen/Simple-1.json +0 -85
- package/default/content/presets/textgen/Space Alien.json +0 -85
- package/default/content/presets/textgen/StarChat.json +0 -85
- package/default/content/presets/textgen/TFS-with-Top-A.json +0 -85
- package/default/content/presets/textgen/Titanic.json +0 -85
- package/default/content/presets/textgen/Yara.json +0 -85
- package/default/content/presets/textgen/simple-proxy-for-tavern.json +0 -85
- package/public/scripts/templates/macros.html +0 -104
- package/tests/jest.setup.js +0 -2
- package/tests/sample.test.js +0 -10
package/.dockerignore
CHANGED
|
@@ -1,17 +1,61 @@
|
|
|
1
|
+
# --- Git & CI ---
|
|
1
2
|
.git
|
|
2
3
|
.github
|
|
3
|
-
.
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
/
|
|
4
|
+
.gitignore
|
|
5
|
+
|
|
6
|
+
# --- Docker ---
|
|
7
|
+
/Dockerfile
|
|
8
|
+
/.dockerignore
|
|
9
|
+
/docker/docker-compose.yml
|
|
10
|
+
/docker/config
|
|
11
|
+
/docker/extensions
|
|
12
|
+
/docker/data
|
|
13
|
+
/docker/plugins
|
|
14
|
+
/public/scripts/extensions/third-party
|
|
15
|
+
|
|
16
|
+
# --- Plugins (keep only package files) ---
|
|
17
|
+
/plugins/*
|
|
18
|
+
!/plugins/package.json
|
|
19
|
+
!/plugins/package-lock.json
|
|
20
|
+
|
|
21
|
+
# --- The Folders ---
|
|
9
22
|
/backups
|
|
10
|
-
cloudflared.exe
|
|
11
|
-
access.log
|
|
12
|
-
/data
|
|
13
23
|
/cache
|
|
14
|
-
.DS_Store
|
|
15
|
-
/public/scripts/extensions/third-party
|
|
16
24
|
/colab
|
|
25
|
+
/data
|
|
26
|
+
/dist
|
|
27
|
+
/node_modules
|
|
28
|
+
/tests
|
|
29
|
+
|
|
30
|
+
# --- Sensitive Info ---
|
|
31
|
+
**/.env*
|
|
32
|
+
**/*.pem
|
|
33
|
+
**/certs
|
|
34
|
+
|
|
35
|
+
# --- Documentation ---
|
|
36
|
+
readme*
|
|
37
|
+
*.md
|
|
38
|
+
Update-Instructions.txt
|
|
39
|
+
|
|
40
|
+
# --- OS & System Junk ---
|
|
41
|
+
**/.DS_Store
|
|
42
|
+
*.bat
|
|
43
|
+
*.cmd
|
|
44
|
+
*.exe
|
|
45
|
+
start.sh
|
|
46
|
+
|
|
47
|
+
# --- Dev Config ---
|
|
48
|
+
.editorconfig
|
|
49
|
+
.eslintrc.cjs
|
|
50
|
+
.eslintrc*
|
|
51
|
+
.vscode
|
|
52
|
+
**/jsconfig.json
|
|
53
|
+
.npmignore
|
|
17
54
|
.gemini
|
|
55
|
+
replit.nix
|
|
56
|
+
.replit
|
|
57
|
+
.nomedia
|
|
58
|
+
|
|
59
|
+
# -- Logs & Temp ---
|
|
60
|
+
*.log
|
|
61
|
+
**/tmp
|
package/.eslintrc.cjs
CHANGED
|
@@ -98,7 +98,7 @@ module.exports = {
|
|
|
98
98
|
'no-cond-assign': 'error',
|
|
99
99
|
'no-unneeded-ternary': 'error',
|
|
100
100
|
'no-irregular-whitespace': ['error', { skipStrings: true, skipTemplates: true }],
|
|
101
|
-
|
|
101
|
+
'dot-notation': ['error', { 'allowPattern': '[A-Z]\\w*$' }],
|
|
102
102
|
// These rules should eventually be enabled.
|
|
103
103
|
'no-async-promise-executor': 'off',
|
|
104
104
|
'no-inner-declarations': 'off',
|
package/CONTRIBUTING.md
CHANGED
|
@@ -12,30 +12,63 @@
|
|
|
12
12
|
2. Fork this repository under your account.
|
|
13
13
|
3. Clone the fork onto your machine.
|
|
14
14
|
4. Open the cloned repository in the code editor.
|
|
15
|
-
5. Create a git branch (recommended).
|
|
15
|
+
5. Create a git branch (recommended), review the [git book](https://git-scm.com/book/en/v2/Getting-Started-About-Version-Control) if you haven't.
|
|
16
16
|
6. Make your changes and test them locally.
|
|
17
17
|
7. Commit the changes and push the branch to the remote repo.
|
|
18
|
-
8. Go to GitHub, and open a pull request, targeting the upstream branch.
|
|
18
|
+
8. Go to GitHub, and open a pull request, targeting the appropriate upstream branch.
|
|
19
19
|
|
|
20
20
|
## Contribution guidelines
|
|
21
21
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
22
|
+
### Maintain code quality
|
|
23
|
+
|
|
24
|
+
Our standards are pretty low, but make sure the code is not too ugly:
|
|
25
|
+
|
|
26
|
+
- Run VS Code's autoformat when you're done.
|
|
27
|
+
- Check with ESLint by running `npm run lint`, then fix the errors.
|
|
28
|
+
- Use common sense and follow existing naming conventions.
|
|
29
|
+
|
|
30
|
+
### Use the correct target branch
|
|
31
|
+
|
|
32
|
+
Create pull requests for the `staging` branch, 99% of contributions should go there. That way people could test your code before the next stable release.
|
|
33
|
+
|
|
34
|
+
You can still send a pull request for `release` in the following scenarios:
|
|
35
|
+
|
|
36
|
+
- Updating README.
|
|
37
|
+
- Updating GitHub Actions.
|
|
38
|
+
- Hotfixing a critical bug.
|
|
39
|
+
|
|
40
|
+
Project maintainers will test and can change your code before merging. To keep our workflow smooth, please ensure the following:
|
|
41
|
+
|
|
42
|
+
- The "Allow edits from maintainers" option is checked.
|
|
43
|
+
- Avoid force-pushing your branch once the PR is out of draft state.
|
|
44
|
+
|
|
45
|
+
### Make contributions small and testable
|
|
46
|
+
|
|
47
|
+
To make sure that your contribution remains testable and reviewable, try not to exceed a soft limit of **200 lines of code** (both additions and deletions) per pull request. If you have more to contribute, split it into multiple pull requests.
|
|
48
|
+
|
|
49
|
+
We can also consider creating a separate feature branch for more substantial changes, but please discuss it with the maintainers first. For example:
|
|
50
|
+
|
|
51
|
+
- Leave the main larger PR as a draft so it can be used to discuss the implementation.
|
|
52
|
+
- Split each group of functions or features into a ~200 line PR so it can be properly reviewed and merged to staging or a feature branch.
|
|
53
|
+
- If there are large codependent changes that cannot be split, start with the most utilized dependencies and stub dependent functions.
|
|
54
|
+
- Each will be reviewed and tested one by one, merging into the feature branch as they're ready.
|
|
55
|
+
- Do not create all branches in advance, as subsequent changes made in previous commits as a result of test/review may create a lot of merge conflicts.
|
|
56
|
+
|
|
57
|
+
### Provide clear descriptions of your changes
|
|
58
|
+
|
|
59
|
+
Write at least somewhat meaningful PR descriptions and commit messages. There's no "right" way to do it, but the following may help with outlining a general structure:
|
|
60
|
+
|
|
61
|
+
- What is the reason for a change?
|
|
62
|
+
- What did you do to achieve this?
|
|
63
|
+
- How would a reviewer test the change?
|
|
64
|
+
|
|
65
|
+
### We (likely) don't speak your language
|
|
66
|
+
|
|
67
|
+
English is the primary language of communication in this project. Please use only English when writing commit messages, PR descriptions, comments and other text. This does not apply to contributions to localization files.
|
|
68
|
+
|
|
69
|
+
### Legal stuff
|
|
70
|
+
|
|
71
|
+
Mind the license. Your contributions will be licensed under the GNU Affero General Public License. If you don't know what that implies, consult your lawyer.
|
|
39
72
|
|
|
40
73
|
## Use of AI coding assistance tools ("Vibe Coding")
|
|
41
74
|
|
package/Dockerfile
CHANGED
|
@@ -1,44 +1,48 @@
|
|
|
1
|
-
FROM node:lts-alpine3.
|
|
1
|
+
FROM node:lts-alpine3.23
|
|
2
2
|
|
|
3
3
|
# Arguments
|
|
4
4
|
ARG APP_HOME=/home/node/app
|
|
5
5
|
|
|
6
6
|
# Install system dependencies
|
|
7
|
-
|
|
7
|
+
# "Don't rely on the base image for tools; if you call it, you install it." ;)
|
|
8
|
+
RUN apk add --no-cache gcompat tini git git-lfs su-exec shadow dos2unix
|
|
8
9
|
|
|
9
|
-
# Create app directory
|
|
10
|
+
# Create app directory and set ownership
|
|
10
11
|
WORKDIR ${APP_HOME}
|
|
12
|
+
RUN chown node:node ${APP_HOME}
|
|
11
13
|
|
|
12
14
|
# Set NODE_ENV to production
|
|
13
15
|
ENV NODE_ENV=production
|
|
14
16
|
|
|
15
|
-
# Bundle app source
|
|
16
|
-
COPY . ./
|
|
17
|
+
# Bundle app source and set ownership
|
|
18
|
+
COPY --chown=node:node . ./
|
|
17
19
|
|
|
18
20
|
RUN \
|
|
19
21
|
echo "*** Install npm packages ***" && \
|
|
20
|
-
npm
|
|
22
|
+
npm ci --no-audit --no-fund --loglevel=error --no-progress --omit=dev && npm cache clean --force
|
|
21
23
|
|
|
22
|
-
# Create config directory and link config.yaml
|
|
24
|
+
# Create config directory and link config.yaml. Added hardcoded dirs(constants.js?)
|
|
25
|
+
# that must be present for Non-Root Mode and volumeless docker runs.
|
|
23
26
|
RUN \
|
|
24
27
|
rm -f "config.yaml" || true && \
|
|
25
|
-
|
|
26
|
-
|
|
28
|
+
mkdir -p config data plugins public/scripts/extensions/third-party backups && \
|
|
29
|
+
chown -R node:node config data plugins public/scripts/extensions/third-party backups && \
|
|
30
|
+
ln -s "./config/config.yaml" "config.yaml"
|
|
27
31
|
|
|
28
32
|
# Pre-compile public libraries
|
|
29
33
|
RUN \
|
|
30
34
|
echo "*** Run Webpack ***" && \
|
|
31
35
|
node "./docker/build-lib.js"
|
|
32
36
|
|
|
33
|
-
# Set the entrypoint script
|
|
37
|
+
# Set the entrypoint script and cleanup
|
|
34
38
|
RUN \
|
|
35
39
|
echo "*** Cleanup ***" && \
|
|
36
40
|
mv "./docker/docker-entrypoint.sh" "./" && \
|
|
37
|
-
rm -rf "./docker" && \
|
|
38
41
|
echo "*** Make docker-entrypoint.sh executable ***" && \
|
|
39
42
|
chmod +x "./docker-entrypoint.sh" && \
|
|
40
43
|
echo "*** Convert line endings to Unix format ***" && \
|
|
41
|
-
dos2unix "./docker-entrypoint.sh"
|
|
44
|
+
dos2unix "./docker-entrypoint.sh" && \
|
|
45
|
+
rm -rf "./docker"
|
|
42
46
|
|
|
43
47
|
# Fix extension repos permissions
|
|
44
48
|
RUN git config --global --add safe.directory "*"
|
package/Start.bat
CHANGED
package/UpdateAndStart.bat
CHANGED
|
@@ -20,7 +20,7 @@ if %errorlevel% neq 0 (
|
|
|
20
20
|
)
|
|
21
21
|
)
|
|
22
22
|
set NODE_ENV=production
|
|
23
|
-
call npm install --no-audit --no-fund --loglevel=error --no-progress --omit=dev
|
|
23
|
+
call npm install --no-save --no-audit --no-fund --loglevel=error --no-progress --omit=dev
|
|
24
24
|
node server.js %*
|
|
25
25
|
:end
|
|
26
26
|
pause
|
package/UpdateForkAndStart.bat
CHANGED
|
@@ -102,7 +102,7 @@ if %errorlevel% neq 0 (
|
|
|
102
102
|
|
|
103
103
|
echo Installing npm packages and starting server
|
|
104
104
|
set NODE_ENV=production
|
|
105
|
-
call npm install --no-audit --no-fund --loglevel=error --no-progress --omit=dev
|
|
105
|
+
call npm install --no-save --no-audit --no-fund --loglevel=error --no-progress --omit=dev
|
|
106
106
|
node server.js %*
|
|
107
107
|
|
|
108
108
|
:end
|
package/config.yaml
CHANGED
|
@@ -38,6 +38,9 @@ browserLaunch:
|
|
|
38
38
|
avoidLocalhost: false
|
|
39
39
|
# Server port
|
|
40
40
|
port: 8000
|
|
41
|
+
# Interval in seconds to write a heartbeat file. Set to 0 to disable.
|
|
42
|
+
# This is used primarily for Docker healthchecks.
|
|
43
|
+
heartbeatInterval: 0
|
|
41
44
|
# -- SSL options --
|
|
42
45
|
ssl:
|
|
43
46
|
# Enable SSL/TLS encryption
|
|
@@ -68,6 +71,25 @@ basicAuthUser:
|
|
|
68
71
|
password: "password"
|
|
69
72
|
# Enables CORS proxy middleware
|
|
70
73
|
enableCorsProxy: false
|
|
74
|
+
# CORS settings (applied to all routes)
|
|
75
|
+
cors:
|
|
76
|
+
# Enable or disable CORS middleware
|
|
77
|
+
enabled: true
|
|
78
|
+
# Allowed origins. Use "null" to match the default browser file origin.
|
|
79
|
+
# You can set "*" to allow any origin, or a list of allowed origins.
|
|
80
|
+
origin:
|
|
81
|
+
- "null"
|
|
82
|
+
# Allowed methods
|
|
83
|
+
methods:
|
|
84
|
+
- "OPTIONS"
|
|
85
|
+
# Allowed request headers (optional)
|
|
86
|
+
allowedHeaders: []
|
|
87
|
+
# Exposed response headers (optional)
|
|
88
|
+
exposedHeaders: []
|
|
89
|
+
# Allow credentials (cookies, authorization headers)
|
|
90
|
+
credentials: false
|
|
91
|
+
# Preflight cache max age in seconds (optional)
|
|
92
|
+
maxAge: null
|
|
71
93
|
# -- REQUEST PROXY CONFIGURATION --
|
|
72
94
|
requestProxy:
|
|
73
95
|
# If a proxy is enabled, all outgoing HTTP/HTTPS requests will be routed through it.
|
|
@@ -200,7 +222,6 @@ whitelistImportDomains:
|
|
|
200
222
|
- cdn.discordapp.com
|
|
201
223
|
- files.catbox.moe
|
|
202
224
|
- raw.githubusercontent.com
|
|
203
|
-
- char-archive.evulid.cc
|
|
204
225
|
# API request overrides (for KoboldAI and Text Completion APIs)
|
|
205
226
|
## Note: host includes the port number if it's not the default (80 or 443)
|
|
206
227
|
## Format is an array of objects:
|
|
@@ -265,7 +286,7 @@ ollama:
|
|
|
265
286
|
# -- ANTHROPIC CLAUDE API CONFIGURATION --
|
|
266
287
|
claude:
|
|
267
288
|
# Enables caching of the system prompt (if supported).
|
|
268
|
-
# https://
|
|
289
|
+
# https://platform.claude.com/docs/en/build-with-claude/prompt-caching
|
|
269
290
|
# -- IMPORTANT! --
|
|
270
291
|
# Use only when the prompt before the chat history is static and doesn't change between requests
|
|
271
292
|
# (e.g {{random}} macro or lorebooks not as in-chat injections).
|
|
@@ -287,6 +308,18 @@ claude:
|
|
|
287
308
|
gemini:
|
|
288
309
|
# API endpoint version ("v1beta" or "v1alpha")
|
|
289
310
|
apiVersion: 'v1beta'
|
|
311
|
+
# Adds thought signatures to requests (if available). Only for Gemini 3 and above.
|
|
312
|
+
thoughtSignatures: true
|
|
313
|
+
# Enables caching of the system prompt (if supported). Only for OpenRouter.
|
|
314
|
+
# -- IMPORTANT! --
|
|
315
|
+
# Use only when the prompt before the chat history is static and doesn't change between requests
|
|
316
|
+
# (e.g {{random}} macro or lorebooks not as in-chat injections).
|
|
317
|
+
# Otherwise, you'll just waste money on cache misses.
|
|
318
|
+
enableSystemPromptCache: false
|
|
319
|
+
# https://ai.google.dev/gemini-api/docs/imagen#imagen-configuration
|
|
320
|
+
image:
|
|
321
|
+
# Leave empty to use the API-default value.
|
|
322
|
+
personGeneration: 'allow_adult'
|
|
290
323
|
# -- SERVER PLUGIN CONFIGURATION --
|
|
291
324
|
enableServerPlugins: false
|
|
292
325
|
# Attempt to automatically update server plugins on startup
|
package/default/config.yaml
CHANGED
|
@@ -38,6 +38,9 @@ browserLaunch:
|
|
|
38
38
|
avoidLocalhost: false
|
|
39
39
|
# Server port
|
|
40
40
|
port: 8000
|
|
41
|
+
# Interval in seconds to write a heartbeat file. Set to 0 to disable.
|
|
42
|
+
# This is used primarily for Docker healthchecks.
|
|
43
|
+
heartbeatInterval: 0
|
|
41
44
|
# -- SSL options --
|
|
42
45
|
ssl:
|
|
43
46
|
# Enable SSL/TLS encryption
|
|
@@ -68,6 +71,25 @@ basicAuthUser:
|
|
|
68
71
|
password: "password"
|
|
69
72
|
# Enables CORS proxy middleware
|
|
70
73
|
enableCorsProxy: false
|
|
74
|
+
# CORS settings (applied to all routes)
|
|
75
|
+
cors:
|
|
76
|
+
# Enable or disable CORS middleware
|
|
77
|
+
enabled: true
|
|
78
|
+
# Allowed origins. Use "null" to match the default browser file origin.
|
|
79
|
+
# You can set "*" to allow any origin, or a list of allowed origins.
|
|
80
|
+
origin:
|
|
81
|
+
- "null"
|
|
82
|
+
# Allowed methods
|
|
83
|
+
methods:
|
|
84
|
+
- "OPTIONS"
|
|
85
|
+
# Allowed request headers (optional)
|
|
86
|
+
allowedHeaders: []
|
|
87
|
+
# Exposed response headers (optional)
|
|
88
|
+
exposedHeaders: []
|
|
89
|
+
# Allow credentials (cookies, authorization headers)
|
|
90
|
+
credentials: false
|
|
91
|
+
# Preflight cache max age in seconds (optional)
|
|
92
|
+
maxAge: null
|
|
71
93
|
# -- REQUEST PROXY CONFIGURATION --
|
|
72
94
|
requestProxy:
|
|
73
95
|
# If a proxy is enabled, all outgoing HTTP/HTTPS requests will be routed through it.
|
|
@@ -200,7 +222,6 @@ whitelistImportDomains:
|
|
|
200
222
|
- cdn.discordapp.com
|
|
201
223
|
- files.catbox.moe
|
|
202
224
|
- raw.githubusercontent.com
|
|
203
|
-
- char-archive.evulid.cc
|
|
204
225
|
# API request overrides (for KoboldAI and Text Completion APIs)
|
|
205
226
|
## Note: host includes the port number if it's not the default (80 or 443)
|
|
206
227
|
## Format is an array of objects:
|
|
@@ -265,7 +286,7 @@ ollama:
|
|
|
265
286
|
# -- ANTHROPIC CLAUDE API CONFIGURATION --
|
|
266
287
|
claude:
|
|
267
288
|
# Enables caching of the system prompt (if supported).
|
|
268
|
-
# https://
|
|
289
|
+
# https://platform.claude.com/docs/en/build-with-claude/prompt-caching
|
|
269
290
|
# -- IMPORTANT! --
|
|
270
291
|
# Use only when the prompt before the chat history is static and doesn't change between requests
|
|
271
292
|
# (e.g {{random}} macro or lorebooks not as in-chat injections).
|
|
@@ -287,6 +308,18 @@ claude:
|
|
|
287
308
|
gemini:
|
|
288
309
|
# API endpoint version ("v1beta" or "v1alpha")
|
|
289
310
|
apiVersion: 'v1beta'
|
|
311
|
+
# Adds thought signatures to requests (if available). Only for Gemini 3 and above.
|
|
312
|
+
thoughtSignatures: true
|
|
313
|
+
# Enables caching of the system prompt (if supported). Only for OpenRouter.
|
|
314
|
+
# -- IMPORTANT! --
|
|
315
|
+
# Use only when the prompt before the chat history is static and doesn't change between requests
|
|
316
|
+
# (e.g {{random}} macro or lorebooks not as in-chat injections).
|
|
317
|
+
# Otherwise, you'll just waste money on cache misses.
|
|
318
|
+
enableSystemPromptCache: false
|
|
319
|
+
# https://ai.google.dev/gemini-api/docs/imagen#imagen-configuration
|
|
320
|
+
image:
|
|
321
|
+
# Leave empty to use the API-default value.
|
|
322
|
+
personGeneration: 'allow_adult'
|
|
290
323
|
# -- SERVER PLUGIN CONFIGURATION --
|
|
291
324
|
enableServerPlugins: false
|
|
292
325
|
# Attempt to automatically update server plugins on startup
|
|
@@ -139,98 +139,18 @@
|
|
|
139
139
|
"filename": "Char_Avatar_Comfy_Workflow.json",
|
|
140
140
|
"type": "workflow"
|
|
141
141
|
},
|
|
142
|
-
{
|
|
143
|
-
"filename": "presets/kobold/Ace of Spades.json",
|
|
144
|
-
"type": "kobold_preset"
|
|
145
|
-
},
|
|
146
|
-
{
|
|
147
|
-
"filename": "presets/kobold/Basic Coherence.json",
|
|
148
|
-
"type": "kobold_preset"
|
|
149
|
-
},
|
|
150
|
-
{
|
|
151
|
-
"filename": "presets/kobold/Best Guess.json",
|
|
152
|
-
"type": "kobold_preset"
|
|
153
|
-
},
|
|
154
|
-
{
|
|
155
|
-
"filename": "presets/kobold/Coherent Creativity.json",
|
|
156
|
-
"type": "kobold_preset"
|
|
157
|
-
},
|
|
158
142
|
{
|
|
159
143
|
"filename": "presets/kobold/Deterministic.json",
|
|
160
144
|
"type": "kobold_preset"
|
|
161
145
|
},
|
|
162
146
|
{
|
|
163
|
-
"filename": "presets/kobold/
|
|
164
|
-
"type": "kobold_preset"
|
|
165
|
-
},
|
|
166
|
-
{
|
|
167
|
-
"filename": "presets/kobold/Godlike.json",
|
|
168
|
-
"type": "kobold_preset"
|
|
169
|
-
},
|
|
170
|
-
{
|
|
171
|
-
"filename": "presets/kobold/Good Winds.json",
|
|
172
|
-
"type": "kobold_preset"
|
|
173
|
-
},
|
|
174
|
-
{
|
|
175
|
-
"filename": "presets/kobold/Liminal Drift.json",
|
|
176
|
-
"type": "kobold_preset"
|
|
177
|
-
},
|
|
178
|
-
{
|
|
179
|
-
"filename": "presets/kobold/Low Rider.json",
|
|
180
|
-
"type": "kobold_preset"
|
|
181
|
-
},
|
|
182
|
-
{
|
|
183
|
-
"filename": "presets/kobold/Luna Moth.json",
|
|
184
|
-
"type": "kobold_preset"
|
|
185
|
-
},
|
|
186
|
-
{
|
|
187
|
-
"filename": "presets/kobold/Mayday.json",
|
|
188
|
-
"type": "kobold_preset"
|
|
189
|
-
},
|
|
190
|
-
{
|
|
191
|
-
"filename": "presets/kobold/Miro Bronze.json",
|
|
192
|
-
"type": "kobold_preset"
|
|
193
|
-
},
|
|
194
|
-
{
|
|
195
|
-
"filename": "presets/kobold/Miro Gold.json",
|
|
196
|
-
"type": "kobold_preset"
|
|
197
|
-
},
|
|
198
|
-
{
|
|
199
|
-
"filename": "presets/kobold/Miro Silver.json",
|
|
200
|
-
"type": "kobold_preset"
|
|
201
|
-
},
|
|
202
|
-
{
|
|
203
|
-
"filename": "presets/kobold/Ouroboros.json",
|
|
204
|
-
"type": "kobold_preset"
|
|
205
|
-
},
|
|
206
|
-
{
|
|
207
|
-
"filename": "presets/kobold/Pleasing Results.json",
|
|
208
|
-
"type": "kobold_preset"
|
|
209
|
-
},
|
|
210
|
-
{
|
|
211
|
-
"filename": "presets/kobold/Pro Writer.json",
|
|
147
|
+
"filename": "presets/kobold/Neutral.json",
|
|
212
148
|
"type": "kobold_preset"
|
|
213
149
|
},
|
|
214
150
|
{
|
|
215
151
|
"filename": "presets/kobold/RecoveredRuins.json",
|
|
216
152
|
"type": "kobold_preset"
|
|
217
153
|
},
|
|
218
|
-
{
|
|
219
|
-
"filename": "presets/kobold/Space Alien.json",
|
|
220
|
-
"type": "kobold_preset"
|
|
221
|
-
},
|
|
222
|
-
{
|
|
223
|
-
"filename": "presets/kobold/Storywriter.json",
|
|
224
|
-
"type": "kobold_preset"
|
|
225
|
-
},
|
|
226
|
-
{
|
|
227
|
-
"filename": "presets/kobold/TFS-with-Top-A.json",
|
|
228
|
-
"type": "kobold_preset"
|
|
229
|
-
},
|
|
230
|
-
{
|
|
231
|
-
"filename": "presets/kobold/Titanic.json",
|
|
232
|
-
"type": "kobold_preset"
|
|
233
|
-
},
|
|
234
154
|
{
|
|
235
155
|
"filename": "presets/kobold/Universal-Creative.json",
|
|
236
156
|
"type": "kobold_preset"
|
|
@@ -243,10 +163,6 @@
|
|
|
243
163
|
"filename": "presets/kobold/Universal-Super-Creative.json",
|
|
244
164
|
"type": "kobold_preset"
|
|
245
165
|
},
|
|
246
|
-
{
|
|
247
|
-
"filename": "presets/kobold/simple-proxy-for-tavern.json",
|
|
248
|
-
"type": "kobold_preset"
|
|
249
|
-
},
|
|
250
166
|
{
|
|
251
167
|
"filename": "presets/novel/Asper-Kayra.json",
|
|
252
168
|
"type": "novel_preset"
|
|
@@ -343,22 +259,6 @@
|
|
|
343
259
|
"filename": "presets/novel/Erato-Zany Scribe.json",
|
|
344
260
|
"type": "novel_preset"
|
|
345
261
|
},
|
|
346
|
-
{
|
|
347
|
-
"filename": "presets/textgen/Asterism.json",
|
|
348
|
-
"type": "textgen_preset"
|
|
349
|
-
},
|
|
350
|
-
{
|
|
351
|
-
"filename": "presets/textgen/Beam Search.json",
|
|
352
|
-
"type": "textgen_preset"
|
|
353
|
-
},
|
|
354
|
-
{
|
|
355
|
-
"filename": "presets/textgen/Big O.json",
|
|
356
|
-
"type": "textgen_preset"
|
|
357
|
-
},
|
|
358
|
-
{
|
|
359
|
-
"filename": "presets/textgen/Contrastive Search.json",
|
|
360
|
-
"type": "textgen_preset"
|
|
361
|
-
},
|
|
362
262
|
{
|
|
363
263
|
"filename": "presets/textgen/Default.json",
|
|
364
264
|
"type": "textgen_preset"
|
|
@@ -368,99 +268,7 @@
|
|
|
368
268
|
"type": "textgen_preset"
|
|
369
269
|
},
|
|
370
270
|
{
|
|
371
|
-
"filename": "presets/textgen/
|
|
372
|
-
"type": "textgen_preset"
|
|
373
|
-
},
|
|
374
|
-
{
|
|
375
|
-
"filename": "presets/textgen/Kobold (Godlike).json",
|
|
376
|
-
"type": "textgen_preset"
|
|
377
|
-
},
|
|
378
|
-
{
|
|
379
|
-
"filename": "presets/textgen/Kobold (Liminal Drift).json",
|
|
380
|
-
"type": "textgen_preset"
|
|
381
|
-
},
|
|
382
|
-
{
|
|
383
|
-
"filename": "presets/textgen/LLaMa-Precise.json",
|
|
384
|
-
"type": "textgen_preset"
|
|
385
|
-
},
|
|
386
|
-
{
|
|
387
|
-
"filename": "presets/textgen/Midnight Enigma.json",
|
|
388
|
-
"type": "textgen_preset"
|
|
389
|
-
},
|
|
390
|
-
{
|
|
391
|
-
"filename": "presets/textgen/Miro Bronze.json",
|
|
392
|
-
"type": "textgen_preset"
|
|
393
|
-
},
|
|
394
|
-
{
|
|
395
|
-
"filename": "presets/textgen/Miro Gold.json",
|
|
396
|
-
"type": "textgen_preset"
|
|
397
|
-
},
|
|
398
|
-
{
|
|
399
|
-
"filename": "presets/textgen/Miro Silver.json",
|
|
400
|
-
"type": "textgen_preset"
|
|
401
|
-
},
|
|
402
|
-
{
|
|
403
|
-
"filename": "presets/textgen/Mirostat.json",
|
|
404
|
-
"type": "textgen_preset"
|
|
405
|
-
},
|
|
406
|
-
{
|
|
407
|
-
"filename": "presets/textgen/Naive.json",
|
|
408
|
-
"type": "textgen_preset"
|
|
409
|
-
},
|
|
410
|
-
{
|
|
411
|
-
"filename": "presets/textgen/NovelAI (Best Guess).json",
|
|
412
|
-
"type": "textgen_preset"
|
|
413
|
-
},
|
|
414
|
-
{
|
|
415
|
-
"filename": "presets/textgen/NovelAI (Decadence).json",
|
|
416
|
-
"type": "textgen_preset"
|
|
417
|
-
},
|
|
418
|
-
{
|
|
419
|
-
"filename": "presets/textgen/NovelAI (Genesis).json",
|
|
420
|
-
"type": "textgen_preset"
|
|
421
|
-
},
|
|
422
|
-
{
|
|
423
|
-
"filename": "presets/textgen/NovelAI (Lycaenidae).json",
|
|
424
|
-
"type": "textgen_preset"
|
|
425
|
-
},
|
|
426
|
-
{
|
|
427
|
-
"filename": "presets/textgen/NovelAI (Ouroboros).json",
|
|
428
|
-
"type": "textgen_preset"
|
|
429
|
-
},
|
|
430
|
-
{
|
|
431
|
-
"filename": "presets/textgen/NovelAI (Pleasing Results).json",
|
|
432
|
-
"type": "textgen_preset"
|
|
433
|
-
},
|
|
434
|
-
{
|
|
435
|
-
"filename": "presets/textgen/NovelAI (Sphinx Moth).json",
|
|
436
|
-
"type": "textgen_preset"
|
|
437
|
-
},
|
|
438
|
-
{
|
|
439
|
-
"filename": "presets/textgen/NovelAI (Storywriter).json",
|
|
440
|
-
"type": "textgen_preset"
|
|
441
|
-
},
|
|
442
|
-
{
|
|
443
|
-
"filename": "presets/textgen/Shortwave.json",
|
|
444
|
-
"type": "textgen_preset"
|
|
445
|
-
},
|
|
446
|
-
{
|
|
447
|
-
"filename": "presets/textgen/Simple-1.json",
|
|
448
|
-
"type": "textgen_preset"
|
|
449
|
-
},
|
|
450
|
-
{
|
|
451
|
-
"filename": "presets/textgen/Space Alien.json",
|
|
452
|
-
"type": "textgen_preset"
|
|
453
|
-
},
|
|
454
|
-
{
|
|
455
|
-
"filename": "presets/textgen/StarChat.json",
|
|
456
|
-
"type": "textgen_preset"
|
|
457
|
-
},
|
|
458
|
-
{
|
|
459
|
-
"filename": "presets/textgen/TFS-with-Top-A.json",
|
|
460
|
-
"type": "textgen_preset"
|
|
461
|
-
},
|
|
462
|
-
{
|
|
463
|
-
"filename": "presets/textgen/Titanic.json",
|
|
271
|
+
"filename": "presets/textgen/Neutral.json",
|
|
464
272
|
"type": "textgen_preset"
|
|
465
273
|
},
|
|
466
274
|
{
|
|
@@ -475,14 +283,6 @@
|
|
|
475
283
|
"filename": "presets/textgen/Universal-Super-Creative.json",
|
|
476
284
|
"type": "textgen_preset"
|
|
477
285
|
},
|
|
478
|
-
{
|
|
479
|
-
"filename": "presets/textgen/Yara.json",
|
|
480
|
-
"type": "textgen_preset"
|
|
481
|
-
},
|
|
482
|
-
{
|
|
483
|
-
"filename": "presets/textgen/simple-proxy-for-tavern.json",
|
|
484
|
-
"type": "textgen_preset"
|
|
485
|
-
},
|
|
486
286
|
{
|
|
487
287
|
"filename": "presets/openai/Default.json",
|
|
488
288
|
"type": "openai_preset"
|
|
@@ -507,14 +307,6 @@
|
|
|
507
307
|
"filename": "presets/context/Default.json",
|
|
508
308
|
"type": "context"
|
|
509
309
|
},
|
|
510
|
-
{
|
|
511
|
-
"filename": "presets/context/DreamGen Role-Play V1 ChatML.json",
|
|
512
|
-
"type": "context"
|
|
513
|
-
},
|
|
514
|
-
{
|
|
515
|
-
"filename": "presets/context/DreamGen Role-Play V1 Llama3.json",
|
|
516
|
-
"type": "context"
|
|
517
|
-
},
|
|
518
310
|
{
|
|
519
311
|
"filename": "presets/context/Libra-32B.json",
|
|
520
312
|
"type": "context"
|
|
@@ -587,14 +379,6 @@
|
|
|
587
379
|
"filename": "presets/instruct/ChatML.json",
|
|
588
380
|
"type": "instruct"
|
|
589
381
|
},
|
|
590
|
-
{
|
|
591
|
-
"filename": "presets/instruct/DreamGen Role-Play V1 ChatML.json",
|
|
592
|
-
"type": "instruct"
|
|
593
|
-
},
|
|
594
|
-
{
|
|
595
|
-
"filename": "presets/instruct/DreamGen Role-Play V1 Llama3.json",
|
|
596
|
-
"type": "instruct"
|
|
597
|
-
},
|
|
598
382
|
{
|
|
599
383
|
"filename": "presets/instruct/Koala.json",
|
|
600
384
|
"type": "instruct"
|