Commit Graph

653 Commits

Author SHA1 Message Date
maver
db8624cefe Move quick edits on top of prompt manager 2023-08-12 18:40:39 +02:00
maver
992af2b4fa Reduce font size on mobile 2023-08-12 18:40:39 +02:00
maver
1b7a1cbc4a Add quick edit drawer and fields for main and jailbreak 2023-08-12 18:40:39 +02:00
maver
bd3136e114 Improve wording for prompt insertion 2023-08-12 18:40:39 +02:00
maver
6e4689ba39 Add theme tint and blur to prompt manager popup drawer 2023-08-12 18:40:39 +02:00
maver
f5aa891962 Fix prompt manager not being draggable on mobile
Updates jquery ui touch punch with a maintained version, fixes other instances of jquery ui sortable as well (kobold, ...)
2023-08-12 18:40:39 +02:00
maver
38bfcf5324 Remove advanced options toggle 2023-08-12 18:40:39 +02:00
maver
af81915ff3 Update existing prompts during migration
Instead of adding new prompts for main, jailbreak and nsfw
2023-08-12 18:40:39 +02:00
maver
222fd3429d Center globe icon 2023-08-12 18:40:39 +02:00
maver
f0830e7bb4 Fix in-code documentation typo 2023-08-12 18:40:39 +02:00
maver
59afac08da Add missing in-code documentation 2023-08-12 18:40:39 +02:00
maver
e8c7e40c54 Fix prompt name not being greyed out when prompt disabled 2023-08-12 18:40:39 +02:00
maver
05a080849c Fix edit button being shown for chat history and examples 2023-08-12 18:40:39 +02:00
maver
1e43108e5a Move inspect functionality to prompt name click 2023-08-12 18:40:39 +02:00
maver
fc44a02323 Set utility prompt text area size to 3 rows 2023-08-12 18:40:39 +02:00
maver
405a680059 Add user icon for user prompts
To be consistent with global and marker icons
2023-08-12 18:40:39 +02:00
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
4f734d12ab Use configured prefix for prompt manager classes instead of constant 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
ec806db9f7 Initialize prompt manager on selecting openrouter, scale 2023-08-12 18:40:39 +02:00
maver
fc555c1be5 When a prompt is reset, also reset name and role 2023-08-12 18:40:39 +02:00
maver
a921a26af5 Do not show reset button for user prompts 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
67ef713826 Better visibility of prompt manager popup on mobile 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
00e9987fb7 Fix character reset not available in basic mode 2023-08-12 18:40:39 +02:00
maver
05c96825ea Add reset button for character prompt list 2023-08-12 18:40:39 +02:00
maver
29a7cb4120 Replace DraggableList with jQuery UI sortable
Similar to Kobold AIs settings. Reducing code that needs maintaining.
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
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