Commit Graph

561 Commits

Author SHA1 Message Date
maver
a706ecd48c Add charIfNotGroup placeholder to default main prompt 2023-08-12 18:40:39 +02:00
maver
fa205ec72e Validate import data before prompt import 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
3cc092a432 Add margin utility classes 2023-08-12 18:40:38 +02:00
maver
e03dc0a3a5 Add more padding in left panel scrollable 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
40079f7660 Improve styling of inspect popup drawer 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
9332657e20 Do not render prompt export dialogue if not necessary 2023-08-12 18:40:38 +02:00
maver
0f3d5373bf Always allow dropping prompts 2023-08-12 18:40:38 +02:00
maver
81c32852c8 Add icon for global prompts 2023-08-12 18:40:38 +02:00
maver
15d4283cd4 Add info icons to prompt export 2023-08-12 18:40:38 +02:00
maver
023d3fade2 Do not assign openai_max_tokens on input field changes
Fixes prompt manager falsely assigning string value to openai config
2023-08-12 18:40:38 +02:00
maver
4974c81d4c Update prompt manager active character on character edit. 2023-08-12 18:40:38 +02:00
maver
74a7aa513b Reintroduce event types after rebase 2023-08-12 18:40:38 +02:00
maver
6ec249bb30 Add confirmation step and allow character prompt order import 2023-08-12 18:40:38 +02:00
maver
bfb4e5026d Refine export function 2023-08-12 18:40:38 +02:00
maver
57ea6cb7a5 Add prompt export 2023-08-12 18:40:38 +02:00
maver
3d35caff08 Improve readability and clarity of prompt manager icons 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
a53e99b831 Prevent chat history warnings from showing too early 2023-08-12 18:40:38 +02:00
maver
abe986ec4b Allow prompt manager list to grow in height 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
011278c533 Re-Render prompt manager on worldinfo settings change 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
56a9dd158a Add inspection styles 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
28217adac6 Add logging for prompt manager position changes 2023-08-12 18:40:38 +02:00
maver
9558483669 Change draggable hover color to be more in tune with the default styling 2023-08-12 18:40:38 +02:00
maver
5629bd8984 Fix handleSavePrompt logging throwing error 2023-08-12 18:40:38 +02:00
maver
8abff3c24f Add simple profiling for token counting and rendering 2023-08-12 18:40:38 +02:00
maver
ec43295936 Add logging and minor stability enhancements 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
facf625cac Improve ui wording 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
d469c80ef5 Apply minor code style and stability improvements 2023-08-12 18:40:38 +02:00
maver
579f303fb0 Add event for modifying settings before modifications 2023-08-12 18:40:38 +02:00
maver
550e635d93 Add migration for legacy prompts 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
2054cbeb83 Simplify token threshold warnings 2023-08-12 18:40:38 +02:00
maver
49cb682499 Raise warning threshold for chatHistory tokens 2023-08-12 18:40:38 +02:00