Commit Graph

3282 Commits

Author SHA1 Message Date
LenAnderson
30757dc92e fix for loading old QRs 2024-01-01 17:14:44 +00:00
Cohee
de5452c48d Merge branch 'staging' into qr-rewrite 2024-01-01 18:48:59 +02:00
Cohee
52637ccd39
Merge pull request #1619 from LenAnderson/worldinfo_updated-event
Add event when world info is updated
2024-01-01 18:35:23 +02:00
Cohee
7b3ea57ded
Merge pull request #1594 from valadaptive/generate-cleanups-3
Clean up Generate(), part 3
2024-01-01 18:33:27 +02:00
Cohee
f53d937782 Fix mistral undefined name 2024-01-01 18:31:17 +02:00
Cohee
9106696f2f Render prompt manager when switching APIs 2024-01-01 17:06:10 +02:00
Cohee
908bf7a61d Merge branch 'staging' into generate-cleanups-3 2024-01-01 16:49:35 +02:00
Cohee
da7ea10150
Merge pull request #1604 from eltociear/add_ja-readme
Add Japanese README
2024-01-01 16:45:20 +02:00
LenAnderson
8cd75cf03d add event when world info is updated 2024-01-01 14:34:09 +00:00
Cohee
0c748d3b9f Fix typos 2024-01-01 16:21:19 +02:00
Cohee
bebbe7ab29
Merge pull request #1612 from pirate486743186/patch-2
[README] Debian/ubuntu installation
2024-01-01 16:16:11 +02:00
Cohee
30732ada32 Lint fix 2024-01-01 16:08:24 +02:00
Cohee
213ff4b89a
Merge pull request #1613 from LenAnderson/expressions-get-last
Add export and slash command for last set expressions
2024-01-01 16:06:57 +02:00
exponential
097b6ba556 readme, unofficial deb PKGBUILD 2023-12-31 09:40:40 +01:00
Cohee
24cd072e69 Update default vector storage model 2023-12-31 04:00:27 +02:00
Cohee
a2e4dc2950 Add chunking of vector storage messages 2023-12-31 04:00:04 +02:00
Cohee
060bc60794
Merge pull request #1614 from LenAnderson/editorconfig-markdown-fix 2023-12-30 15:39:26 +02:00
LenAnderson
520fa99a00 don't trim trailing whitespace in markdown files 2023-12-30 11:42:27 +00:00
LenAnderson
a2aa8ba6a0 add export and slash command for last set expressions 2023-12-30 11:37:13 +00:00
LenAnderson
57a6190cd0 Merge branch 'staging' into qr-rewrite 2023-12-29 15:33:21 +00:00
Cohee
a436a2536f
Merge pull request #1608 from paniphons/staging
Add Alpaca-Single-Turn context templates
2023-12-29 16:40:08 +02:00
Paniphon
9fb631b2f1
Add Alpaca-Single-Turn instruct template 2023-12-29 01:23:31 +07:00
Paniphon
3a4c5f6a05
Add Alpaca-Single-Turn context template 2023-12-29 01:22:03 +07:00
Cohee
13004eba69
Merge pull request #1607 from artisticMink/wi-for-combine-prompts-event 2023-12-28 19:09:03 +02:00
maver
ee70593a7e Add world info to generate_before_combine_prompts event data 2023-12-28 17:03:36 +01:00
LenAnderson
43d37b58db Merge branch 'staging' into qr-rewrite 2023-12-28 11:24:44 +00:00
Cohee
05a6b64064
Merge pull request #1606 from LenAnderson/better-extension-reload
only reload ST after extension popup closed
2023-12-28 13:23:40 +02:00
LenAnderson
0590b36838 only reload ST after extension popup closed 2023-12-28 10:46:25 +00:00
Cohee
8dd4543e93 Remove macro from user messages when using bias 2023-12-28 11:19:56 +02:00
Ikko Eltociear Ashimine
1bd8ef6054 Add Japanese README 2023-12-28 15:23:03 +09:00
LenAnderson
8a3124e296 add executeQuickReply to QR API 2023-12-28 01:29:56 +00:00
LenAnderson
03b80900d6 add optional named arguments to /run command 2023-12-27 12:28:15 +00:00
Cohee
6508a2d924
Update readme-zh_cn.md 2023-12-27 11:04:59 +02:00
Cohee
f9745091f5
Update readme.md 2023-12-27 11:04:26 +02:00
valadaptive
77b02a8d4b Extract data.error check 2023-12-26 12:41:35 -05:00
LenAnderson
678a702d6e adjust popout trigger position 2023-12-26 12:24:11 +00:00
LenAnderson
d51098a90b fix deleting QR set that's in chat config 2023-12-26 12:16:45 +00:00
LenAnderson
89e94edc57 add option to prevent recursive auto-execute 2023-12-26 12:06:23 +00:00
LenAnderson
ef33c6dc61 don't stop auto-execute on /abort 2023-12-26 11:37:23 +00:00
LenAnderson
c67317c2a1 Merge branch 'staging' into qr-rewrite 2023-12-25 13:10:58 +00:00
LenAnderson
29476e7c03 add import and export of QR sets 2023-12-25 13:08:03 +00:00
valadaptive
0f8a16325b Extract dryRun early return from finishGenerating
This means we only have to handle it in one place rather than two.
2023-12-25 03:48:49 -05:00
valadaptive
3c0207f6cb Move "continue on send" logic out of Generate() 2023-12-25 03:48:49 -05:00
valadaptive
7899549754 Make "send message from chat box" into a function
Right now all it does is handle returning if there's already a message
being generated, but I'll extend it with more logic that I want to move
out of Generate().
2023-12-25 03:48:49 -05:00
valadaptive
1029ad90a2 Extract "not in a chat" check into guard clause
This lets us remove a layer of indentation, and reveal the error
handling logic that was previously hidden below a really long block of
code.
2023-12-25 03:48:49 -05:00
valadaptive
4fc2f15448 Reformat up Generate() group logic
The first two conditions in the group if/else blocks are the same, so we
can combine them.
2023-12-25 03:48:49 -05:00
valadaptive
0d3505c44b Remove OAI_BEFORE_CHATCOMPLETION
Not used in any internal code or extensions I can find.
2023-12-25 03:48:49 -05:00
valadaptive
d2f8632368 Remove populateLegacyTokenCounts
Unused and the documentation says it should probably be removed
2023-12-25 03:48:49 -05:00
valadaptive
f53e051cbf Lift precondition check out of processCommands
Instead of passing type and dryRun into processCommands, do the check in
Generate, the only function that calls it. This makes the logic clearer.
2023-12-25 03:48:49 -05:00
Cohee
47cb017a45 #1589 Add 'cache_prompt' for l.cpp 2023-12-25 02:42:03 +02:00