4780 Commits

Author SHA1 Message Date
valadaptive
2a0497ca9e Only generate negative prompt for textgen API
The original comment mentions that we need to get the negative prompt
first since it "has the unmodified mesSend array", but we've cloned the
mesSend array since forever, so I don't think mutation is an issue
anymore.
2024-04-25 09:09:30 -04:00
valadaptive
2d0767306e Remove unnecessary cfgPrompt null-chains
We already check if cfgPrompt exists.
2024-04-25 09:09:30 -04:00
valadaptive
8ca83bb255 Extract CFG check 2024-04-25 09:09:30 -04:00
valadaptive
80a6406062 Don't reassign thisPromptBits
Instead, just use additionalPromptStuff where thisPromptBits was used
after the assignment.
2024-04-25 09:09:30 -04:00
valadaptive
ff9345a843 Make generate_data preparation a switch-case
We switch based on main_api. In the future, I'd like to move the
openai-specific token count stuff outside the switch case and extract
the generate_data preparation into its own function that we can pass
main_api into.
2024-04-25 09:09:30 -04:00
valadaptive
fe663c4f04 Move auto_adjust_response_length logic
This if-block only applies to Kobold Horde, so move it inside the Kobold
and Horde-specific case in the else-if chain.
2024-04-25 09:09:30 -04:00
Cohee
9fbb012697 Merge branch 'release' into staging 2024-04-25 12:56:17 +03:00
Cohee
0070950911 Revert grid view spacing 2024-04-25 12:26:21 +03:00
Cohee
62cf611fdc
Merge pull request #2138 from Wolfsblvt/fix-expression-list-resolve
Fix expression list resolve
2024-04-25 11:00:34 +03:00
RossAscends
75814433a6 dont default to hiding avatars on new installs 2024-04-25 14:42:48 +09:00
RossAscends
e59a5b4449 toggle to hide chat avatars 2024-04-25 12:51:56 +09:00
Wolfsblvt
161e512805 Fix expression list resolve
- New expression api "LLM" still queried local classify model for expressions, fixed by returning default list
- Fixed failed API calls crashing Expressions extension
2024-04-25 04:29:20 +02:00
Cohee
f90f370fed
Merge pull request #2134 from StefanDanielSchwarz/Phi-Instruct-presets
Phi Instruct context+instruct presets
2024-04-25 01:44:12 +03:00
Stefan Daniel Schwarz
d34a0ee20e Phi Instruct context+instruct presets 2024-04-24 23:47:04 +02:00
Cohee
01e3964232 Auto-backup settings every 10 minutes. Increase backups limit to 50. 2024-04-24 23:45:49 +03:00
Cohee
153638c2cd Add error handling to auto login 2024-04-24 23:14:26 +03:00
Cohee
51014e7a8d Fix VRM assets console spam 2024-04-24 10:54:55 +03:00
Cohee
530bf81940 #2127 Encode export PNG name 2024-04-24 10:48:08 +03:00
Cohee
2bba186c9e Add slash command and d&d hint for data bank 2024-04-24 02:37:57 +03:00
Cohee
61241df0d4 Add download and move for DB attachments 2024-04-24 02:33:16 +03:00
Cohee
b6b9b542d7 Add drag&drop to data bank 2024-04-24 01:51:54 +03:00
Cohee
71f41d5233 Fix server crash in auto login 2024-04-23 21:11:47 +03:00
Cohee
a421af9ea9 Increase max attachment size 2024-04-23 21:06:59 +03:00
Cohee
75372ad0cc Use Map for caches instead of objects 2024-04-23 16:15:54 +03:00
Cohee
d1f292f462
Merge pull request #2122 from joenunezb/fix-informaticai-missing-choices-message
Fix: Handle InformaticAI Endpoint response without message in response payload
2024-04-23 14:07:27 +03:00
joenunezb
890cf81627 Fix: InformaticAI response without message in choices 2024-04-23 03:56:50 -07:00
Cohee
d97f0a4c4d Add new NAI Diffusion model 2024-04-23 03:18:45 +03:00
Cohee
4370db6bdc Implement World Info activation using Vector Storage 2024-04-23 03:09:52 +03:00
Cohee
6d1933c8f3 Escape name regex in message formatting function 2024-04-22 17:35:42 +03:00
Cohee
776260c85a Add Data Bank to attachments extension display name 2024-04-22 16:25:46 +03:00
Cohee
5a5463bd5d #2095 Suppress auto-execution on streamed swiped generations. 2024-04-22 16:02:50 +03:00
Cohee
2f45f50d37 Add config value for forwarded IPs whitelisting 2024-04-22 15:52:59 +03:00
Cohee
41ad7c5d26 Verify data bank attachments 2024-04-22 02:34:50 +03:00
Cohee
df93d43c36 Remove obnoxious mobile padding on right panel 2024-04-22 00:02:48 +03:00
Cohee
bc9c70556e Clean-up mentions of /public/ 2024-04-21 23:53:46 +03:00
Cohee
f75daba6c0 Image inlining hint always visible 2024-04-21 23:38:18 +03:00
Cohee
80ff8383fe
Merge pull request #2113 from SillyTavern/neo-server
Neo server
1.12.0-preview
2024-04-21 22:36:28 +03:00
Cohee
5fd6202e60 Merge branch 'staging' into neo-server 2024-04-21 21:56:36 +03:00
Cohee
47b6562605
Merge pull request #2112 from SillyTavern/staging
Staging
1.11.8
2024-04-21 21:24:12 +03:00
Cohee
d5c0aed973 Replace Comfy avatar placeholders with empty pixel if message fails to load 2024-04-21 21:13:50 +03:00
Cohee
e832af9854 Insert group chat history with splice 2024-04-21 21:12:41 +03:00
Cohee
ef5d505de3 Merge branch 'staging' into neo-server 2024-04-21 18:28:56 +03:00
Cohee
842b463e60 System same as user for Llama 3 2024-04-21 18:28:44 +03:00
Cohee
5992c34fb5 Add DB attachment editor 2024-04-21 18:23:41 +03:00
Cohee
bae74fbbd7 Add notepad data bank file creator 2024-04-21 18:11:03 +03:00
Cohee
4264d170e2 Add support for Office plugin 2024-04-21 16:27:44 +03:00
Cohee
274359d1ec Move prompt manager actions row to the top 2024-04-21 14:48:21 +03:00
Cohee
dac89a87b7 Fix new characters highlight 2024-04-21 14:20:24 +03:00
Cohee
fb5d998cd0 Allow all macro in story strings 2024-04-21 14:06:33 +03:00
Cohee
ca89be8930 Add experimental setting for file translation 2024-04-21 03:24:01 +03:00