Commit Graph

4808 Commits

Author SHA1 Message Date
Cohee bbdbb08301 Fix main prompt clearing on disabling 2024-04-27 00:08:30 +03:00
Cohee b06e09c030
Merge pull request #2131 from Yokayo/staging
Localization enhancements
2024-04-26 23:05:55 +03:00
Cohee bb2bcdbf61 The dot went MIA 2024-04-26 23:04:11 +03:00
Cohee 2e278e7323 Fix missing localization for unknown locale 2024-04-26 22:57:42 +03:00
Cohee 4c9d52422b [chore] ESLint and JSDoc 2024-04-26 22:46:13 +03:00
Cohee f4ba1f68ef
Merge pull request #2136 from BlueprintCoding/release
Added import function for AICharacterCards.com cards
2024-04-26 22:42:04 +03:00
Cohee 12497e8fb1
Merge pull request #2141 from valadaptive/generate-cleanups-4
Clean up Generate(), part 4
2024-04-26 22:40:04 +03:00
Cohee 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
Cohee 63b597beb8 Fix node serve startup 2024-04-26 22:02:46 +03:00
Cohee 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
Cohee b2f40e490b Fix mobile-styles.css for waifuMode
Mobile bros want a waifu too
2024-04-26 21:51:28 +03:00
sirius422 a96e1903a3 Change the naming rule of regex exporting 2024-04-27 00:05:10 +08:00
Cohee 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
Cohee 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
sirius422 389ee7917f Add json extension to exported oai and LogitBias presets 2024-04-26 23:07:25 +08:00
Cohee 212e61d2a1 Lazy initialization of Claude tokenizer. Add JSDoc for tokenizer handlers 2024-04-26 15:17:02 +03:00
Cohee 1b60e4a013 Init user storage module before server listening 2024-04-26 14:09:40 +03:00
Aisu Wata 93cd93ada3 style: `.mes_block { overflow-y: clip; }` 2024-04-25 21:49:12 -03:00
Cohee babb4cb57b Fix tag key for 0-index 2024-04-25 18:15:38 +03:00
valadaptive 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
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
Blueprint Coding 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
John Tapsell 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
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
Yokayo 4bb719359c
Fix tabs 2024-04-24 21:19:26 +07:00
Yokayo 847eb60806
Update ru-ru.json 2024-04-24 21:14:03 +07:00
Yokayo e799bd3920
Fix getMissingTranslations() and change its behavior 2024-04-24 21:12:40 +07:00
Yokayo 2b1aee9e71
Localize two hard-coded strings 2024-04-24 21:07:42 +07:00
Yokayo d65f068310
More localizable strings 2024-04-24 20:58:24 +07:00
Yokayo b1c199e650
Add more localizable strings 2024-04-24 19:02:00 +07: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