Cohee
6ac6c7cfda
#2159 Move debounce constants to a separate module
2024-04-28 19:47:53 +03:00
Wolfsblvt
d7ade487b8
Refactor common enum for debounce timeouts
2024-04-28 06:21:47 +02:00
Cohee
b111834122
Insert custom prompts to the start of the list
2024-04-27 23:16:44 +03:00
Cohee
bbdbb08301
Fix main prompt clearing on disabling
2024-04-27 00:08:30 +03:00
Cohee
274359d1ec
Move prompt manager actions row to the top
2024-04-21 14:48:21 +03:00
Cohee
2333fe64d0
#2107 Check for null reference in prompt manager settings init
2024-04-19 01:46:15 +03:00
Cohee
8a4b675143
Disable-able chat history and examples
2024-04-17 21:23:06 +03:00
Cohee
8a7ad5ef91
Indicate overridden prompts
2024-03-24 02:19:10 +02:00
Cohee
3b637cc9a6
Add forbid overrides to prompts
2024-03-24 01:28:35 +02:00
Cohee
c1ac34e001
Disable-able main prompt
2024-03-24 00:28:54 +02:00
Cohee
0678777460
Preserve selected prompt index on render
2024-03-21 20:12:36 +02:00
Cohee
c46c6f6c37
Delag prompt manager operations
2024-03-21 19:59:19 +02:00
Cohee
3b188c37dd
Add character deleted event to the list
2024-03-17 19:50:44 +02:00
deffcolony
2db2e2d687
added data-i18n tags
...
+updated and added data-i18n tags
2024-03-15 00:35:21 +01:00
Cohee
908bf7a61d
Merge branch 'staging' into generate-cleanups-3
2024-01-01 16:49:35 +02:00
Cohee
30732ada32
Lint fix
2024-01-01 16:08:24 +02:00
valadaptive
d2f8632368
Remove populateLegacyTokenCounts
...
Unused and the documentation says it should probably be removed
2023-12-25 03:48:49 -05:00
Cohee
24aff67d50
Fix {{original}} macro left out if original is empty
2023-12-07 01:27:55 +02:00
valadaptive
b8b24540a9
Rename PromptManagerModule to PromptManager
...
The one place where it was imported renamed it to PromptManager anyway.
2023-12-03 12:14:56 -05:00
valadaptive
5c175bc647
Turn PromptManagerModule into a class
2023-12-03 12:13:53 -05:00
Cohee
64a3564892
lint: Comma dangle
2023-12-02 22:06:57 +02:00
Cohee
08fedf3a96
lint: Use 4 space indent
2023-12-02 21:56:16 +02:00
Cohee
c63cd87cc0
lint: Require semicolons
2023-12-02 21:11:06 +02:00
valadaptive
a37f874e38
Require single quotes
2023-12-02 13:04:51 -05:00
valadaptive
518bb58d5a
Enable no-unused-vars lint
...
This is the big one. Probably needs thorough review to make sure I
didn't accidentally remove any setInterval or fetch calls.
2023-12-02 12:11:19 -05:00
valadaptive
c893e2165e
Enable no-prototype-builtins lint
2023-12-02 12:10:31 -05:00
valadaptive
b023312117
Enable no-useless-escape lint
2023-12-02 10:32:26 -05:00
Cohee
7be808c2ff
Disable position select for system prompts
2023-11-14 22:41:47 +02:00
Cohee
314aca3f2c
Allow disabling system marker prompts
2023-11-14 22:27:07 +02:00
Cohee
cfba379777
Hide injection depth input block for relative position
2023-11-10 15:36:42 +02:00
Cohee
dbf995fd24
Add character card macros
2023-11-08 16:28:55 +02:00
Cohee
abb78d1d6b
Add at-depth position for custom Prompt Manager prompts
2023-10-11 16:03:36 +03:00
Cohee
5dd9a87dc9
Add position prop to prompt object
2023-09-21 20:57:28 +03:00
Cohee
bbed147ce5
Clean up browser logs
2023-09-05 18:23:24 +03:00
Cohee
4a6705cea8
Prompt manager configuration fixes ( #1078 )
...
* Refactor oai preset change event into before and after
* Simplify and reinforce prompt manager render without character
* Check if main prompt exists before adding nsfwAvoidance
* Sanitize prompt manager configuration on preset loading
---------
Co-authored-by: maver <kentucky@posteo.de>
2023-09-01 23:23:03 +03:00
Cohee
56fc92daca
Merge branch 'staging' of https://github.com/SillyTavern/SillyTavern into staging
2023-08-30 12:03:38 +03:00
Cohee
085e92a43e
Escape prompt manager names
2023-08-30 12:03:18 +03:00
Cohee
78512b33ad
Update quick edits first
2023-08-29 21:16:13 +03:00
maver
5a02250a1f
Add persona description to prompt manager order
2023-08-23 20:40:26 +02:00
maver
1ea7ad2572
Update quick edit when oai preset changes
2023-08-22 20:49:54 +02:00
maver
48992d4f53
Prevent context profiler from dangling on error
2023-08-22 20:39:46 +02:00
maver
0e378d93b2
Make quick edit fields static
2023-08-22 20:37:37 +02:00
maver
c3c99c534e
Do not populate tokenHandlers legacy entries.
2023-08-20 19:58:04 +02:00
maver
ea72584f39
Add elvis to getTokens when populating legacy context.
2023-08-20 19:46:46 +02:00
maver
a99c543b9f
Fix render function when no character is selected
2023-08-20 16:37:39 +02:00
maver
07c24f363f
Render prompt manager before a character is selected
...
When prompt order strategy is global
2023-08-20 16:28:42 +02:00
maver
59179f6c70
Use strict mode for prompt manager
...
Should already be the case since it's a module but let's me specific
2023-08-20 16:28:22 +02:00
Cohee
5d1e27c820
Merge branch 'staging' of https://github.com/SillyLossy/TavernAI into staging
2023-08-19 22:03:13 +03:00
Cohee
01cb95fba8
Save and restore quick edit heights
2023-08-19 22:03:10 +03:00
RossAscends
4fe74f0041
unify import/export icons on prompt manager
2023-08-20 03:54:30 +09:00