1043 Commits

Author SHA1 Message Date
Cohee
685e9b7e79 Stabilize extension injections order for prompt manager 2023-08-25 17:15:55 +03:00
Cohee
94d2b737e2 Fix OpenAI prompt injections + add type casts and typings on setting the extension prompt. 2023-08-25 17:05:51 +03:00
Cohee
d68151f7e2 Init author's note via function call instead of onready 2023-08-25 16:46:54 +03:00
Cohee
e34e51226f Add monkey patch for structured Clone 2023-08-25 16:40:43 +03:00
Cohee
91d13efcef #1018 Round Typical P to 3rd decimal for Novel 2023-08-25 15:38:07 +03:00
Stefan Daniel Schwarz
be3ebcda0d improved instruct mode sequences (WIP) 2023-08-25 14:01:25 +02:00
Cohee
b01268ee8c
Merge pull request #992 from Tony-sama/staging
Audio extension and RVC/Coqui UI updates/bugfixes
2023-08-25 14:18:42 +03:00
Cohee
c566af7695 #1014 Adjust group clean-up routine 2023-08-25 13:46:30 +03:00
kingbri
990bf63d59 Tags: Fix exclusion on load
The new filter system wasn't applying when tags are loaded. Fix this
by adding an extra step in the for loop.

Signed-off-by: kingbri <bdashore3@proton.me>
2023-08-25 00:33:03 -04:00
Tony Ribeiro
011834b8fc
Merge branch 'SillyTavern:staging' into staging 2023-08-25 02:55:05 +02:00
Cohee
aceb32cfe9 Fix freq pen overwrite by pres pen 2023-08-25 02:52:38 +03:00
Cohee
acdd6dad1b Fix sprite animation 2023-08-25 02:07:59 +03:00
Tony Ribeiro
a622810c38
Merge branch 'SillyTavern:staging' into staging 2023-08-25 00:45:34 +02:00
Tony Ribeiro
74a6e79df6 Added delete asset api route, factorise asset filename sanitizer to use in both asset download/delete. Added delete function to asset UI download button. 2023-08-25 00:45:15 +02:00
Cohee
3c0d7d8feb Return old minmax values for font scale 2023-08-25 01:30:56 +03:00
Cohee
2cce6e83fa Don't lose continued swipes 2023-08-25 01:27:27 +03:00
Cohee
3bf7747ee5
Merge pull request #1013 from bdashore3/staging
CFG: Whitespace fix
2023-08-25 01:08:04 +03:00
RossAscends
1a1878f095 Merge branch 'staging' of https://github.com/Cohee1207/SillyTavern into staging 2023-08-25 07:06:54 +09:00
RossAscends
ce5e706fac topbar resize, font scaling fix, mobile slider fix 2023-08-25 07:06:52 +09:00
kingbri
1dd1607b94 Generate: Migrate to array-based message concatenation
String addition is very limited in how flexible it can be. Using
an array will instead allow for various ways to shift around extension
prompts and insertion depths.

To preserve message order, each mesSend object contains both a message
and an array of extension prompts which are later added on top of
the message itself.

Signed-off-by: kingbri <bdashore3@proton.me>
2023-08-24 18:02:17 -04:00
kingbri
0bc2ef2a33 CFG: Don't trim when getting prompt
Let the user figure it out. Whitespace in CFG is important.

Signed-off-by: kingbri <bdashore3@proton.me>
2023-08-24 17:59:25 -04:00
Cohee
1900ab9726 #1005 Replace mobile detection method in get sortable delay. Make deviceInfo loading sync. Init Ross mods via function call. 2023-08-24 23:52:03 +03:00
Tony Ribeiro
1014d592f7 Added a refresh assets button to audio UI to detect audio asset again. Usefull after download an asset or putting a file manually. 2023-08-24 22:17:54 +02:00
Cohee
ce67101651
Merge pull request #1012 from StefanDanielSchwarz/llama-2-chat-instruct-preset-fixes
Llama 2 chat instruct preset fixes
2023-08-24 22:51:55 +03:00
Tony Ribeiro
7e5bdb11a3 Updated audio/assets extension user feedback for muted/disconnected from assets repo. 2023-08-24 21:42:32 +02:00
Tony Ribeiro
3b6978010f
Merge branch 'SillyTavern:staging' into staging 2023-08-24 21:05:12 +02:00
Cohee
cd24de3c2e Reformat code. 2023-08-24 21:59:26 +03:00
Stefan Daniel Schwarz
4b389eba61 no eol separator after replaced sys prompt 2023-08-24 20:30:24 +02:00
Cohee
c91ab3b5e0 Add Kobold tokenization to best match logic. Fix not being able to stop group chat regeneration 2023-08-24 21:23:35 +03:00
Stefan Daniel Schwarz
56a6398189 system prompt in system sequence 2023-08-24 19:33:04 +02:00
Cohee
14d94d9108 Merge branch 'staging' of https://github.com/SillyTavern/SillyTavern into staging 2023-08-24 20:20:03 +03:00
Cohee
ab52af4fb5 Add support for Koboldcpp tokenization endpoint 2023-08-24 20:19:57 +03:00
Stefan Daniel Schwarz
582464a2e7 fix name 2023-08-24 18:47:15 +02:00
Cohee
d4bd91f6ec Merge branch 'staging' of http://github.com/cohee1207/SillyTavern into staging 2023-08-24 18:32:46 +03:00
Cohee
7010e05f8e Sync bottom form height with the font size 2023-08-24 18:32:42 +03:00
Cohee
cd2faea2b2 Fix group chats with streaming 2023-08-24 17:46:44 +03:00
Tony Ribeiro
43e70c9df1
Merge branch 'SillyTavern:staging' into staging 2023-08-24 15:18:02 +02:00
Cohee
8fea486e57 #1009 Update Vicuna 1.1 template 2023-08-24 15:50:14 +03:00
Cohee
f5fd15ffd2 #976 Return "Continue on send". Allow continuing the first chat message. Add debug function for i18n. 2023-08-24 15:13:04 +03:00
Cohee
3e25c3f51c
Merge pull request #1008 from mweldon/novel-generate-until-sentence
Novel generate until sentence
2023-08-24 11:25:56 +03:00
Cohee
d147bc40dc Fix alternate greetings 2023-08-24 11:04:46 +03:00
Mike Weldon
8202fab376 Remove commented lines I added by mistake 2023-08-23 18:08:55 -07:00
Mike Weldon
1d1109e43b Set generate_until_sentence for NovelAI
* Set generate_until_sentence true for NovelAI
* Add a Story String file for NovelAI with persona before character
  which works better
* Remove hardcoded dinkus for chat_start since it is in the Story String
2023-08-23 18:04:56 -07:00
Tony Ribeiro
07f625c688 Merge branch 'staging' of https://github.com/Tony-sama/SillyTavern into staging 2023-08-24 02:34:14 +02:00
Tony Ribeiro
46964b1b99 Add temp folder into assets, file are download into this temp file and moved only when complete. Allow to handle fail download. 2023-08-24 02:34:06 +02:00
Cohee
4aa31fcba9 Add fallback option for OpenRouter 2023-08-24 03:21:17 +03:00
Tony Ribeiro
7437b23fa2
Merge branch 'SillyTavern:staging' into staging 2023-08-24 01:43:10 +02:00
Tony Ribeiro
017df860e5 Sanitized character bgm request. 2023-08-24 01:42:52 +02:00
Cohee
ffc8150eef Add missing space on continue 2023-08-24 02:38:02 +03:00
Cohee
4038e7f9e3 #999 Instruct mode fixes 2023-08-24 02:22:37 +03:00