Commit Graph

7389 Commits

Author SHA1 Message Date
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
Cohee 0bc6a572c6 Add slash commands and connection profiles support 2024-09-17 12:14:13 +00:00
Cohee 912bebeb01 Remove deprecated control property 2024-09-17 11:41:23 +00:00
Cohee 2f7d694f54 Migrate sysprompts from instruct 2024-09-17 11:33:24 +00:00
Cohee 73ee869749 Load sysprompts from content manager 2024-09-17 10:38:14 +00:00
Cohee b377a2b7d3 Decouple system prompts from instruct mode 2024-09-17 10:37:36 +00:00
ceruleandeep 146e82e44a Add model metadata to Horde models endpoint
Display model metadata in Horde model picker
2024-09-17 15:30:06 +10:00
Cohee 0b0bd27321
Merge pull request #2857 from SillyTavern/wi-delay-recursion-levels
WI "Delay until recursion" levels to delay delayed entries until other delayed entries are fully matched
2024-09-17 01:00:03 +03:00
Cohee 8ec509c777 Unify default user avatars
Closes #2862
2024-09-16 22:08:40 +03:00
Cohee 4b2c074399 Apply sanitation to chat names with extension 2024-09-16 16:49:32 +00:00
Cohee 05df2be047 Trim renamed chat name 2024-09-16 16:19:54 +00:00
Cohee a670ec1879
Merge pull request #2859 from AAbushady/Aphrodite-Seed-Fix
Fixed Aphrodite Seed
2024-09-16 15:32:23 +03:00
Alexander Abushady eb6097b1e8 Fixed Aphrodite Seed
Aphrodite's seed value needs to be undefined to be random.
2024-09-16 08:21:56 -04:00
Cohee 3e2b892aae Sanitize file names on chat renaming 2024-09-16 11:02:09 +00:00
Cohee dcaa8d5e9c Initialize talkinghead on extras connection
Closes #2850
2024-09-16 09:17:23 +00:00
Cohee 9ef3385255
Implement collection scopes for vector models (#2846)
* Implement collection scopes for vector models

* Update makersuite-vectors.js to use Gemini API text-embedding-004 model

* Add model scope for Google vectors

* Fix purge log

* Refactor header setting

* Fix typo

* Only display UI warning if scopes disabled

* Remove i18n attribute

---------

Co-authored-by: ceruleandeep <83318388+ceruleandeep@users.noreply.github.com>
2024-09-16 09:29:39 +03:00
Wolfsblvt c45e42ce7d Fix WI joiner/mather not being at the start 2024-09-16 05:18:37 +02:00
Cohee 7eb7204dc7 Remove link to Extras from welcome 2024-09-16 00:46:43 +03:00
Cohee ca4d3c5ffe
Refactor instruct names behavior controls (#2837)
* Refactor instruct names behavior controls
Closes #2819

* Remove current persona from force names

* Don't add current user name in groups

* Revert to old text

* Add titles to names behavior

* Proper default for names_behavior
2024-09-16 00:46:03 +03:00
Cohee 08f2b73ab8
Preserve neutral chat on reloading with commands (#2848)
* Preserve neutral chat on reloading

* Restore neutral on deleting character with bulk
2024-09-16 00:38:41 +03:00
Cohee 11ff19a161 Cut UI texts 2024-09-16 00:10:00 +03:00
Wolfsblvt 984790f53c Fix eslint + reset level on toggle 2024-09-15 22:31:29 +02:00
Wolfsblvt eeed072ebb Add UI element for delay recursion level
- Tied and only visible to the "delay until recursion" toggle
- Will set it to a numerical value if used, otherwise keeps true/false state of the toggle
2024-09-15 22:15:24 +02:00
Wolfsblvt 413f6a0379 Expand logging for WI and scan states 2024-09-15 20:28:03 +02:00
Cohee 5bbc3ea758 Mention scripts in the readme 2024-09-15 21:25:15 +03:00
Cohee 7ebe9ae5cb [chore] fix typos 2024-09-15 20:09:51 +03:00
RossAscends b7453d5c59
Update readme.md 2024-09-16 01:43:02 +09:00
Cohee 92e55c93d4
Add docs about cards (#2856)
* Add docs about cards

* Remove explicit links to "competitors"

* More diverse wording

* Mention common abbreviation
2024-09-15 19:21:07 +03:00
Cohee cc2e82ce8f Fix execute on new chat not saving 2024-09-15 18:52:56 +03:00