Commit Graph

7266 Commits

Author SHA1 Message Date
Cohee
462b2ea7b2 Fix sysprompt dependency on instruct 2024-09-20 21:27:04 +03:00
Cohee
392edfaca1 Merge branch 'staging' into sysprompt-divorce 2024-09-20 20:57:07 +03:00
Cohee
e60d818a88 Fix placeholder doc link 2024-09-20 20:53:05 +03:00
Cohee
6d32cd6bf0
Merge pull request #2878 from ceruleandeep/feature/fixHangOnEmptyChatFile
Save uploaded data unchanged if Chub conversion fails for any reason
2024-09-20 11:47:27 +03:00
Cohee
d7a37298ab Ignore errors in getContentOfType 2024-09-20 08:31:25 +00:00
Cohee
5001187b3c Revert default prompt 2024-09-20 08:15:23 +00:00
Cohee
589dc8a858 Revert "Remove square brackets from default prompts"
This reverts commit 48cd881972.
2024-09-20 08:15:23 +00:00
ceruleandeep
457475baf1 Save uploaded data unchanged if Chub conversion fails for any reason
Avoid non-resolving promise in /characters/chats readline if chat file is empty
2024-09-20 08:58:17 +10:00
Cohee
4b235f0b31 Migrate only unique and non-default instruct prompts 2024-09-20 01:02:13 +03:00
Cohee
4e5a997e63 Set default sysprompt to neutral chat 2024-09-20 00:35:47 +03:00
Cohee
1819604f31 Remove brackets from default SD prompts 2024-09-20 00:29:33 +03:00
Cohee
986d33fcdd
Commit suggestion
Co-authored-by: Wolfsblvt <wolfsblvt@gmail.com>
2024-09-20 00:26:29 +03:00
Cohee
6fb6400168 Add hints to migration dialog 2024-09-20 00:21:31 +03:00
Cohee
a506cf8c90 Fix command description 2024-09-20 00:10:27 +03:00
Cohee
1d124ba770 Use one callback for setting sysprompt state 2024-09-20 00:05:57 +03:00
Cohee
1f45774cf6 Document fuzzy matches 2024-09-20 00:03:47 +03:00
Cohee
75f44e24e9 Use Fuse only as fallback 2024-09-20 00:02:14 +03:00
Cohee
1dd3be9479 Use init function 2024-09-19 23:59:58 +03:00
Cohee
1e5149f209 Coalesce no name 2024-09-19 23:58:31 +03:00
Cohee
48cd881972 Remove square brackets from default prompts 2024-09-19 23:54:16 +03:00
Cohee
22f1b110e9 One extra check wouldn't hurt 2024-09-19 23:49:23 +03:00
Cohee
88c47fccdf Fix being unable to save instruct templates 2024-09-19 23:42:41 +03:00
Cohee
d0657161a1 Merge branch 'staging' into sysprompt-divorce 2024-09-19 23:14:40 +03:00
Cohee
9197ed7fce Fix connection profile for CC setting incorrect source by preset 2024-09-19 23:12:33 +03:00
Cohee
0d294c5371 Merge branch 'staging' into sysprompt-divorce 2024-09-19 22:59:53 +03:00
Cohee
5269725f1c
Merge pull request #2872 from SillyTavern/super-saiyan-prompt-manager
Allow setting role, position and depth for marker prompts
2024-09-19 22:58:52 +03:00
Cohee
bfc0837936 Merge branch 'release' into staging 2024-09-19 22:44:55 +03:00
Cohee
ed47d51c93
Merge pull request #2875 from ceruleandeep/feature/handleChubChatData
Fix crasher in script.js:displayChats, add minimal support for importing chat histories in Chub format
2024-09-19 22:40:41 +03:00
Cohee
15363a8d69 Silence deprecation warnings in default startup scripts
Closes #2876
2024-09-19 15:42:07 +00:00
Cohee
9016985827 Undo second substitution #2874 2024-09-19 15:17:11 +00:00
Cohee
e2a3a060dd
Merge pull request #2874 from steve02081504/patch-1
Second macro evaluation of WI for all positions
2024-09-19 14:20:10 +03:00
ceruleandeep
a2d9526cdf Minimal support for importing chat histories in Chub format
Fix crasher in script.js:displayChats if user has directly put a Chub chat file into their user data

Let eslint tidy a few things
2024-09-19 14:20:05 +10:00
steve green
8edc999854
Second macro evaluation of WI for all positions
- The first macro evaluation occurs when the entry is activated.
- The second macro evaluation occurs after the regex replacement 
  * and only when the entry is before or after the char definition
this may cause confusion for users.
I'm not sure if this is the right thing to do, but it's one way I can think of to make all this make more sense.
2024-09-19 10:16:42 +08:00
Cohee
83c3f6d1bf
Merge pull request #2873 from SillyTavern/nemo-tokenizer
Add Mistral Nemo downloadable tokenizer
2024-09-19 02:07:52 +03:00
Cohee
a782dcec33 Add Mistral Nemo downloadable tokenizer 2024-09-19 00:10:22 +03:00
Cohee
0f2daede51 Merge branch 'staging' into sysprompt-divorce 2024-09-18 23:40:46 +03:00
Cohee
6d731bbefe
Merge pull request #2871 from steve02081504/patch-4
fix `\x01` display in modern WI editor
2024-09-18 22:09:27 +03:00
Cohee
a4e673fd0a Exclude examples from allowed to be edited 2024-09-18 21:55:23 +03:00
Cohee
82b0733d88 Allow setting role, position and depth for marker prompts 2024-09-18 21:51:10 +03:00
steve green
157461ef7f
fix \x01 display in modern WI editor 2024-09-19 00:20:31 +08:00
Cohee
5a3fc9b8db Fix typo 2024-09-18 01:07:12 +03:00
Cohee
b0c537d014 Migrate system prompts from imported instruct template 2024-09-18 00:38:15 +03:00
Cohee
38d24f4b59
Merge pull request #2866 from ceruleandeep/feature/hordeModelInfo
Display model metadata in Horde model picker
2024-09-17 22:11:46 +03:00
Cohee
a73b8077f6 Display more of the description. Remove debug log 2024-09-17 22:06:54 +03:00
Cohee
dcbaa0787d
Merge pull request #2863 from SillyTavern/unify-user-avatar
Unify default user avatars
2024-09-17 21:47:37 +03:00
Cohee
60df924bec MistralAI: Add Pixtral to models and captioning 2024-09-17 21:44:25 +03:00
Cohee
1366c2741d
Throttle chat backups (#2865)
* Throttle chat backups

* Throttle chat backups and apply backup interval throttling

- Added a new configuration option `chatBackupThrottleInterval` to the `config.yaml` file to specify the interval in milliseconds to throttle chat backups per user.
- Updated the `getBackupFunction` function in `chats.js` to use the `chatBackupThrottleInterval` value from the configuration file when creating a throttled backup function.
2024-09-17 18:18:35 +03:00
Cohee
15f7d9407a Remove console.debug statement in saveMetadataDebounced function 2024-09-17 14:03:28 +00:00
Cohee
8546f498bf Emit GENERATION_STARTED after processing commands 2024-09-17 13:55:10 +00:00
Cohee
0207794a2b Fix Qwen and Command tokenizers not used for logit bias 2024-09-17 13:01:19 +00:00