Commit Graph

5005 Commits

Author SHA1 Message Date
f4ba1f68ef Merge pull request #2136 from BlueprintCoding/release
Added import function for AICharacterCards.com cards
2024-04-26 22:42:04 +03:00
12497e8fb1 Merge pull request #2141 from valadaptive/generate-cleanups-4
Clean up Generate(), part 4
2024-04-26 22:40:04 +03:00
8153e747ef Merge pull request #2135 from johnflux/staging
Fix SillyTavern being launched from a different working directory
2024-04-26 22:06:40 +03:00
63b597beb8 Fix node serve startup 2024-04-26 22:02:46 +03:00
cdbb0b21da Merge pull request #2145 from sirius422/fix-regex-filename-non-eng-characters
Change the naming rule of regex exporting
2024-04-26 21:59:05 +03:00
b2f40e490b Fix mobile-styles.css for waifuMode
Mobile bros want a waifu too
2024-04-26 21:51:28 +03:00
a96e1903a3 Change the naming rule of regex exporting 2024-04-27 00:05:10 +08:00
be7eb8b2b5 Merge pull request #2143 from aisu-wata0/style_mes_block_overflow_y
style: `.mes_block { overflow-y: clip; }`
2024-04-26 18:36:17 +03:00
3b6372431a Merge pull request #2144 from sirius422/fix-json-export-extension
Add json extension to exported oai and LogitBias presets
2024-04-26 18:30:55 +03:00
389ee7917f Add json extension to exported oai and LogitBias presets 2024-04-26 23:07:25 +08:00
212e61d2a1 Lazy initialization of Claude tokenizer. Add JSDoc for tokenizer handlers 2024-04-26 15:17:02 +03:00
1b60e4a013 Init user storage module before server listening 2024-04-26 14:09:40 +03:00
93cd93ada3 style: .mes_block { overflow-y: clip; } 2024-04-25 21:49:12 -03:00
babb4cb57b Fix tag key for 0-index 2024-04-25 18:15:38 +03:00
dbcc75471f Refactor CFG prompt gen in getCombinedPrompt
We don't need to create the cfgPrompt variable unless useCfgPrompt is
true, so move it inside the if-block.
2024-04-25 09:09:30 -04:00
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
2d0767306e Remove unnecessary cfgPrompt null-chains
We already check if cfgPrompt exists.
2024-04-25 09:09:30 -04:00
8ca83bb255 Extract CFG check 2024-04-25 09:09:30 -04:00
80a6406062 Don't reassign thisPromptBits
Instead, just use additionalPromptStuff where thisPromptBits was used
after the assignment.
2024-04-25 09:09:30 -04:00
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
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
9fbb012697 Merge branch 'release' into staging 2024-04-25 12:56:17 +03:00
0070950911 Revert grid view spacing 2024-04-25 12:26:21 +03:00
62cf611fdc Merge pull request #2138 from Wolfsblvt/fix-expression-list-resolve
Fix expression list resolve
2024-04-25 11:00:34 +03:00
75814433a6 dont default to hiding avatars on new installs 2024-04-25 14:42:48 +09:00
e59a5b4449 toggle to hide chat avatars 2024-04-25 12:51:56 +09:00
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
305afb3713 Added import function for AICharacterCards.com cards
Added ability to import cards directly from aicharactercards.com via it's api like Chub and Janny.
Video of it in action: https://streamable.com/gbfdtw

Just pass the last two slash vars from the url (the author and card title) from a page. EX: aicharcards/the-game-master to:
https://aicharactercards.com/wp-json/pngapi/v1/image/

In this example: https://aicharactercards.com/wp-json/pngapi/v1/image/aicharcards/the-game-master
2024-04-24 18:04:17 -06:00
1acbef1890 Fix SillyTavern being launched from a different working directory
Fixes launching ST from ST launcher on mac
2024-04-24 16:15:32 -07:00
f90f370fed Merge pull request #2134 from StefanDanielSchwarz/Phi-Instruct-presets
Phi Instruct context+instruct presets
2024-04-25 01:44:12 +03:00
d34a0ee20e Phi Instruct context+instruct presets 2024-04-24 23:47:04 +02:00
01e3964232 Auto-backup settings every 10 minutes. Increase backups limit to 50. 2024-04-24 23:45:49 +03:00
153638c2cd Add error handling to auto login 2024-04-24 23:14:26 +03:00
4bb719359c Fix tabs 2024-04-24 21:19:26 +07:00
847eb60806 Update ru-ru.json 2024-04-24 21:14:03 +07:00
e799bd3920 Fix getMissingTranslations() and change its behavior 2024-04-24 21:12:40 +07:00
2b1aee9e71 Localize two hard-coded strings 2024-04-24 21:07:42 +07:00
d65f068310 More localizable strings 2024-04-24 20:58:24 +07:00
b1c199e650 Add more localizable strings 2024-04-24 19:02:00 +07:00
51014e7a8d Fix VRM assets console spam 2024-04-24 10:54:55 +03:00
530bf81940 #2127 Encode export PNG name 2024-04-24 10:48:08 +03:00
2bba186c9e Add slash command and d&d hint for data bank 2024-04-24 02:37:57 +03:00
61241df0d4 Add download and move for DB attachments 2024-04-24 02:33:16 +03:00
b6b9b542d7 Add drag&drop to data bank 2024-04-24 01:51:54 +03:00
71f41d5233 Fix server crash in auto login 2024-04-23 21:11:47 +03:00
a421af9ea9 Increase max attachment size 2024-04-23 21:06:59 +03:00
75372ad0cc Use Map for caches instead of objects 2024-04-23 16:15:54 +03:00
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
890cf81627 Fix: InformaticAI response without message in choices 2024-04-23 03:56:50 -07:00
d97f0a4c4d Add new NAI Diffusion model 2024-04-23 03:18:45 +03:00