Cohee
926f94b01d
Add regex test mode
2024-01-04 04:34:38 +02:00
Cohee
8a07edf656
Only remove leading newlines
2024-01-04 00:00:47 +02:00
Cohee
5ca909ab13
Don't trim whitespace start of story string
2024-01-03 23:47:32 +02:00
Cohee
03f9d8d278
Fix settings UI loading
2024-01-03 21:35:04 +02:00
Cohee
446445ab90
Put streaming checkbox on top
2024-01-03 21:25:08 +02:00
Cohee
f0a330455f
More smooth speed step
2024-01-03 21:23:01 +02:00
Cohee
dc8e742502
Only change remote setting if endpoint is configured
2024-01-03 21:19:46 +02:00
Cohee
7168dbe508
Lint fix
2024-01-03 21:17:36 +02:00
Cohee
f06443fe7c
Merge branch 'staging' into xtts-more-controls
2024-01-03 21:15:56 +02:00
Cohee
18b11825b3
#1629 Use string replace instead of while loop
2024-01-03 19:53:24 +02:00
Cohee
04d3dcf39f
Respect match index in regex scripts replacement
2024-01-03 12:28:56 +02:00
Danil Boldyrev
cc2df97959
Increased the maximum limit of tokens for xtts streaming
2024-01-02 20:13:45 +03:00
Danil Boldyrev
8ef91ae181
Add ability to customize xtts stream chunk size
2024-01-02 19:50:13 +03:00
Danil Boldyrev
36db08d6b8
Remove error about updating xtts parameters
2024-01-02 19:23:42 +03:00
Danil Boldyrev
757eba1ef8
add missing space
2024-01-02 19:07:30 +03:00
Danil Boldyrev
4190e9f16d
change xtts generation settings
2024-01-02 19:01:12 +03:00
Cohee
223325e8bb
Merge pull request #1623 from SillyTavern/xtts-stream
...
Add support for XTTS streaming
2024-01-02 13:12:33 +02:00
Cohee
c69724e1da
Fix GUI Kobold
2024-01-02 10:28:34 +02:00
Cohee
99244a0c11
Add support for XTTS streaming
2024-01-02 07:04:32 +02:00
Cohee
9b24e7dc67
Merge pull request #1596 from DonMoralez/staging
...
added exclude prefixes, modified sequence checker
2024-01-01 23:33:58 +02:00
Cohee
e5968e2682
Fix description
2024-01-01 23:33:32 +02:00
Cohee
b108a1fae9
Simplify UI hints
2024-01-01 23:26:51 +02:00
Cohee
a69f92444b
Add AND ALL logic for WI secondary keys
2024-01-01 21:49:54 +02:00
Cohee
b315778e32
Chunkify NovelAI TTS
2024-01-01 21:31:08 +02:00
Cohee
58462d96d2
Fix RVC after converting to group
2024-01-01 20:22:48 +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
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
LenAnderson
8cd75cf03d
add event when world info is updated
2024-01-01 14:34:09 +00: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
Cohee
a2e4dc2950
Add chunking of vector storage messages
2023-12-31 04:00:04 +02:00
LenAnderson
a2aa8ba6a0
add export and slash command for last set expressions
2023-12-30 11:37:13 +00: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
maver
ee70593a7e
Add world info to generate_before_combine_prompts event data
2023-12-28 17:03:36 +01: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
valadaptive
77b02a8d4b
Extract data.error check
2023-12-26 12:41:35 -05:00
DonMoralez
7eefae2d6e
Merge remote-tracking branch 'upstream/staging' into staging
2023-12-25 13:35:10 +02: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