Commit Graph

4744 Commits

Author SHA1 Message Date
Cohee 794786da43 Remove unnecessary delays in the prompt builder.
This is no longer needed since the async token counter won't block the UI thread during the request preparation.
2024-04-19 02:08:18 +03:00
Cohee dee8f45986 Merge branch 'staging' into neo-server 2024-04-19 01:57:01 +03:00
Stefan Daniel Schwarz 8467ba3844 Llama 3 Instruct remove newlines after eot_id 2024-04-19 00:54:14 +02:00
Cohee 2333fe64d0 #2107 Check for null reference in prompt manager settings init 2024-04-19 01:46:15 +03:00
Cohee 9d6a791443 Merge branch 'staging' into neo-server 2024-04-19 01:15:30 +03:00
Cohee 5084b4ae64
Merge pull request #2103 from LenAnderson/fix-popup-escape
only close last popup with escape
2024-04-19 01:15:03 +03:00
Cohee d6fd351330
Merge pull request #2105 from isaac-mcfadyen/fs-renamefile-fix
Changed fs.renameSync() to fs.copyFileSync()
2024-04-19 01:13:50 +03:00
Cohee eab545cafc Error handling for Comfy request 2024-04-19 00:39:04 +03:00
Cohee 901ffa3cdc Add char and user avatar placeholders to ComfyUI workflow editor
They resolve to base64 encoded data URIs of respective avatars.
2024-04-19 00:32:38 +03:00
Stefan Daniel Schwarz 48fd9c23fb Llama 3 Instruct fix stop sequence 2024-04-18 23:26:40 +02:00
Stefan Daniel Schwarz 8cf116754d Update content index 2024-04-18 23:20:24 +02:00
Cohee 80de3fdd4c Add buttons to process and purge file vectors for current chat 2024-04-19 00:16:23 +03:00
Stefan Daniel Schwarz e753cdf0fb Llama 3 Instruct context+instruct presets 2024-04-18 23:14:15 +02:00
Cohee 25cb598694 Add Cohere as embedding source 2024-04-19 00:07:12 +03:00
Cohee b69493d252 Merge branch 'staging' into neo-server 2024-04-18 23:34:34 +03:00
Cohee 0faa7d3c75 Replace {{name}} macro in system prompt prefix 2024-04-18 23:15:24 +03:00
Cohee 2eafa2a212 Clean-up vectors upon deleting a file from Data Bank 2024-04-18 23:07:16 +03:00
Isaac McFadyen 15a8adb0b9
Changed fs.cpSync to use recursive copying 2024-04-18 16:04:04 -04:00
Cohee 8434f6e6cf Clear toast upon inserting file 2024-04-18 22:59:42 +03:00
Cohee fa66f39790 Merge branch 'staging' into neo-server 2024-04-18 22:58:23 +03:00
Cohee 16a2ac0bbe Add missing awaiters to getQueryText 2024-04-18 22:58:14 +03:00
Cohee 16785ae005 Merge branch 'staging' into neo-server 2024-04-18 22:57:27 +03:00
Isaac McFadyen 3822ae9356
Switched fs.renameSync to fs.copyFileSync 2024-04-18 15:50:27 -04:00
Cohee cc1c3f173c
Merge pull request #2097 from Dakraid/feature/summarize-before-embedding
Summarize the chat messages handed to the embedding beforehand
2024-04-18 22:49:34 +03:00
Cohee 5e18b1872b Hide vector summarization unless chat vectors is enabled 2024-04-18 22:32:01 +03:00
Cohee f4f0a59e90 Save character data bank attachments as non-exportable 2024-04-18 22:16:51 +03:00
LenAnderson 0ab5ddf763 use elementFromPoint instead of popup stack 2024-04-18 14:03:16 -04:00
Cohee 0a54eeaf44 Add output value to /cut command 2024-04-18 18:12:10 +03:00
LenAnderson 9fee731cac only close last popup with escape 2024-04-18 09:23:52 -04:00
Cohee d281767867 Add /caption command 2024-04-18 16:22:33 +03:00
RossAscends 75afe29f28 don't force amt_gen to model max on mancer model swap 2024-04-18 11:10:17 +09:00
Cohee 59bb04f1b3 Implement generic interface for adding Data Bank scrapers 2024-04-18 00:14:41 +03:00
Cohee 47a06c14d9 Merge branch 'staging' into neo-server 2024-04-17 21:59:30 +03:00
Kristan Schlikow abd8acd9fc
Add experimental flask icon with title 2024-04-17 20:35:51 +02:00
Kristan Schlikow 977c1d4ac4
Add missing hr to the settings html 2024-04-17 20:35:51 +02:00
Kristan Schlikow 21b5bb5a29
Rearrange settings 2024-04-17 20:35:51 +02:00
Kristan Schlikow 10692523f0
Improve settings, add settings for prompt, sent message summarize toggle 2024-04-17 20:35:50 +02:00
Kristan Schlikow a022c9eccb
Set css class for summary dropdown in vectors 2024-04-17 20:35:50 +02:00
Kristan Schlikow 4cfd0c71cf
Add extras summarization API, fix missing substitution of placeholders 2024-04-17 20:35:49 +02:00
Kristan Schlikow a1473dedd0
Make summarization toggleable 2024-04-17 20:35:49 +02:00
Kristan Schlikow 59abee3043
Summarize the chat messages handed to the embedding beforehand 2024-04-17 20:35:48 +02:00
Cohee 8a4b675143 Disable-able chat history and examples 2024-04-17 21:23:06 +03:00
Cohee 88637adfe2 Merge branch 'staging' into neo-server 2024-04-17 19:39:57 +03:00
Cohee d63638541b
Merge pull request #2099 from aisu-wata0/fix_css_decode_style
fix: css `decodeStyles`: remove `</br>` tags before parsing
2024-04-17 11:35:54 +03:00
Aisu Wata fc380fa522 fix: css `decodeStyles`: remove `</br>` tags before parsing 2024-04-17 01:15:55 -03:00
Cohee 9a1ea7f226 Implement Data Bank vectors querying 2024-04-17 02:09:22 +03:00
Cohee 4665db62f4 #1954 Remove backtick wrapping for inserted files 2024-04-16 22:28:10 +03:00
Cohee ab5b497562 Add filters to data bank manager 2024-04-16 22:23:59 +03:00
Cohee 5a614b5173 Integrate data bank with Fandom plugin 2024-04-16 20:16:21 +03:00
Cohee 8546490bcc Improve Scale JWT error handling 2024-04-16 18:59:01 +03:00