maver
|
8f830a0928
|
Persist settings before applying preset
|
2023-08-14 23:36:06 +02:00 |
|
Cohee
|
a92333875c
|
Try to minimize side effects of generate dry running
|
2023-08-15 00:01:55 +03:00 |
|
maver
|
dbf38d359d
|
Debounce quick edit saving
|
2023-08-14 20:29:07 +02:00 |
|
maver
|
033dc45ab9
|
Move quick edit ui identifiers into configuration
|
2023-08-14 20:29:01 +02:00 |
|
maver
|
6caa8a4765
|
Add nsfw prompt to quick edit drawer
|
2023-08-14 20:28:57 +02:00 |
|
Cohee
|
21d8ce048c
|
Debounce more prompt manager renderings
|
2023-08-13 22:48:51 +03:00 |
|
Cohee
|
43089ee06f
|
Don't render manager on non-chat completion APIs
|
2023-08-13 18:47:07 +03:00 |
|
Cohee
|
c0bc425c8b
|
Debounce manager changes
|
2023-08-13 18:43:17 +03:00 |
|
Cohee
|
478bb9c59b
|
Enable nsfw prompt by default
|
2023-08-13 14:41:29 +03:00 |
|
maver
|
b0860b18b8
|
Show tokens when inspecting a prompt
|
2023-08-12 18:40:39 +02:00 |
|
maver
|
a9fa42524d
|
Fix prompts object reference being shared
By deepcloning a copy
|
2023-08-12 18:40:39 +02:00 |
|
maver
|
b1254fa2ab
|
Copy migrated preset into loaded presets
Since this only is populated once during page load
|
2023-08-12 18:40:39 +02:00 |
|
maver
|
7fb896ce2a
|
Prevent preset migration from running multiple times.
|
2023-08-12 18:40:39 +02:00 |
|
maver
|
a999d6e171
|
Fix preset migration
|
2023-08-12 18:40:39 +02:00 |
|
maver
|
cd736ec682
|
Add message role to inspect
|
2023-08-12 18:40:39 +02:00 |
|
maver
|
280397c30b
|
Allow inspection for all prompts
Because, really, why not.
|
2023-08-12 18:40:39 +02:00 |
|
maver
|
35eb2dfd74
|
Change icon for global prompts
|
2023-08-12 18:40:39 +02:00 |
|
Cohee
|
13dc35bc98
|
Enable JB prompt by default
|
2023-08-12 18:40:39 +02:00 |
|
Cohee
|
09d7c3350d
|
Minor spelling mistake
|
2023-08-12 18:40:39 +02:00 |
|
maver
|
5694fb0852
|
Swap detach and edit icons
|
2023-08-12 18:40:39 +02:00 |
|
maver
|
55cc559fd0
|
Render promptmanager when chatcompletion model or source change
|
2023-08-12 18:40:39 +02:00 |
|
maver
|
1281417a97
|
Render prompt manager when chat history is altered
Recounts tokens
|
2023-08-12 18:40:39 +02:00 |
|
Cohee
|
29552ecfcf
|
Sanitize completion names. Only send names in msg texts if names in completion is disabled
|
2023-08-12 18:40:39 +02:00 |
|
maver
|
fd10eaf037
|
Close and clear popup on preset change
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
fa205ec72e
|
Validate import data before prompt import
|
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 |
|