3777 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Bronya-Rand
770f3e5da3 chore: apply align-items center and img sample for img only scraper icons 2024-04-22 19:12:02 +01:00
Bronya-Rand
0f0895f345 feat: implement miHoYo scraper 2024-04-22 19:11:00 +01: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
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
5fd6202e60 Merge branch 'staging' into neo-server 2024-04-21 21:56:36 +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
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
Cohee
c2256c2ac7 Fix data bank text clean-up 2024-04-21 02:05:59 +03:00
Cohee
78ce23750e Add function to get data bank contents by source 2024-04-21 01:40:11 +03:00
Cohee
e6ddbd1418 Export Data Bank upload function 2024-04-21 01:15:29 +03:00