maver
|
bc4befeb22
|
Rename prompt lists to prompt order
Includes renaming of configuration, no functional changes
|
2023-08-12 18:40:39 +02:00 |
|
maver
|
63d224d8af
|
Refactor and simplify setup method for prompt manager.
|
2023-08-12 18:40:39 +02:00 |
|
maver
|
ad6575887a
|
Remove obsolete function getGroupMembers
|
2023-08-12 18:40:39 +02:00 |
|
maver
|
b58ce0370d
|
Refactor token counting after completion. Simplify code.
|
2023-08-12 18:40:39 +02:00 |
|
maver
|
57fd04b974
|
Refactor token counting after completion. Simplify code.
|
2023-08-12 18:40:39 +02:00 |
|
maver
|
dfd49813af
|
Refactor naming scheme for default promptmanager defaults
|
2023-08-12 18:40:39 +02:00 |
|
maver
|
9d6cf017d2
|
Move main and jailbreak override from manager into openai script.
Makes the code clearer and easier to understand
|
2023-08-12 18:40:39 +02:00 |
|
maver
|
075c0c29f0
|
Refactor prepareOpenAiMessages, move prompt preparation in its own function
|
2023-08-12 18:40:39 +02:00 |
|
maver
|
7ea6e89b05
|
Add reset prompt support for enhance definitions
|
2023-08-12 18:40:39 +02:00 |
|
maver
|
b2acc9eb0f
|
Refactor documentation and make code more readable
No functional changes
|
2023-08-12 18:40:39 +02:00 |
|
maver
|
19ee831d82
|
Prevent prompt manager initialization more than once
|
2023-08-12 18:40:39 +02:00 |
|
maver
|
76154fd8ee
|
Fix authors note position not being considered
|
2023-08-12 18:40:39 +02:00 |
|
maver
|
41aae57f05
|
Do not send empty scenario and personality prompts
|
2023-08-12 18:40:39 +02:00 |
|
maver
|
6a52d6febd
|
Fix invalid character name error not being handled
|
2023-08-12 18:40:39 +02:00 |
|
maver
|
4dd94a4a62
|
Do not generate group responses on dry run
|
2023-08-12 18:40:39 +02:00 |
|
maver
|
a706ecd48c
|
Add charIfNotGroup placeholder to default main prompt
|
2023-08-12 18:40:39 +02:00 |
|
maver
|
cf305c0395
|
Do not attempt a dryrun if no character has been selected
|
2023-08-12 18:40:39 +02:00 |
|
maver
|
82a11316bc
|
Add continue nudge to editable utility prompts
|
2023-08-12 18:40:39 +02:00 |
|
maver
|
0e4ce734ad
|
Fix continue functionality not working as expected
|
2023-08-12 18:40:39 +02:00 |
|
maver
|
f4cfa8ba94
|
Remove obsolete logs and improve documentation
|
2023-08-12 18:40:39 +02:00 |
|
maver
|
f2227ded9a
|
Move utility prompts in its own, independent dropdown
And merge with existing advanced prompt bits
|
2023-08-12 18:40:38 +02:00 |
|
maver
|
9669199408
|
Allow user to edit new chat, new group chat and new example chat prompts
|
2023-08-12 18:40:38 +02:00 |
|
maver
|
2ed1cee82e
|
Fill tokenizer legacy counts where possible.
|
2023-08-12 18:40:38 +02:00 |
|
maver
|
9784950c54
|
Add documentation for chat completion
And dependant classes
|
2023-08-12 18:40:38 +02:00 |
|
maver
|
74a7aa513b
|
Reintroduce event types after rebase
|
2023-08-12 18:40:38 +02:00 |
|
maver
|
d70ecbdcd9
|
Add support for cycle prompt
|
2023-08-12 18:40:38 +02:00 |
|
maver
|
e93424b2cf
|
Don't use debounce for prompt manager save settings function
|
2023-08-12 18:40:38 +02:00 |
|
maver
|
ce8a71cf53
|
Add error handling to openai message counting
|
2023-08-12 18:40:38 +02:00 |
|
maver
|
4509df0fd9
|
Add support for empty prompt replacement
|
2023-08-12 18:40:38 +02:00 |
|
maver
|
632fa770be
|
Create a deep copy of prompt defaults on char select
Along other minor fixes and optimizations
|
2023-08-12 18:40:38 +02:00 |
|
maver
|
85c4b6fad3
|
Improve error messages
|
2023-08-12 18:40:38 +02:00 |
|
maver
|
a0bd67e455
|
Allow markers to inspected for their content
|
2023-08-12 18:40:38 +02:00 |
|
maver
|
2452b37e28
|
Add fallback for empty dialogue example prompts
|
2023-08-12 18:40:38 +02:00 |
|
maver
|
2fc3577431
|
Throw a recoverable error on invalid character naming
|
2023-08-12 18:40:38 +02:00 |
|
maver
|
1b7da6ecbc
|
Remove faulty characters in default configuration
|
2023-08-12 18:40:38 +02:00 |
|
maver
|
e908610b99
|
Save prompt manager items to perset
|
2023-08-12 18:40:38 +02:00 |
|
maver
|
6cea524f2c
|
Fix prompt-manager being rendered twice.
|
2023-08-12 18:40:38 +02:00 |
|
maver
|
bf0dc07b1f
|
Improve in-code documentation
|
2023-08-12 18:40:38 +02:00 |
|
maver
|
d0aba85692
|
Add support for persona description positioning
|
2023-08-12 18:40:38 +02:00 |
|
maver
|
221ecbf8d6
|
Add reset for main,nsfw and jailbreak prompts
|
2023-08-12 18:40:38 +02:00 |
|
maver
|
9cf41a6a52
|
Remove doubled initialization of prompt manager
|
2023-08-12 18:40:38 +02:00 |
|
maver
|
7c1e370abe
|
Allow the user to toggle names in chat history
|
2023-08-12 18:40:38 +02:00 |
|
maver
|
25eef5d100
|
Pass nsfwAvoidance message instead of prompt
Fixing invalid argument exception being thrown
|
2023-08-12 18:40:38 +02:00 |
|
maver
|
f207e0eab3
|
Add basic WindowAI support
|
2023-08-12 18:40:38 +02:00 |
|
maver
|
5c18abadac
|
Pass chat message name to chatcompletion endpoint
|
2023-08-12 18:40:38 +02:00 |
|
maver
|
aaa2c48e7d
|
Add basic claude support
|
2023-08-12 18:40:38 +02:00 |
|
maver
|
28fa2f5f57
|
Render prompt manager after swiping with updated tokens
Including world info and extension prompts
|
2023-08-12 18:40:38 +02:00 |
|
maver
|
2f4424e6c6
|
Declare prepareOpenAIMessages as synchronous
As there is no need for the function o be async anymore.
|
2023-08-12 18:40:38 +02:00 |
|
maver
|
6e37db2fb3
|
Declare prepareOpenAIMessages as synchronous
As there is no need for the function o be async anymore.
|
2023-08-12 18:40:38 +02:00 |
|
maver
|
6c25211f0a
|
Support original-placeholder
|
2023-08-12 18:40:38 +02:00 |
|