Commit Graph

216 Commits

Author SHA1 Message Date
Cohee 8e082e622b Chat Completion: switch to async token handling 2024-10-12 01:07:36 +03:00
Yokayo 7f9023d3c2 Work on tl 2024-10-01 21:25:20 +07:00
Cohee 780f2f712e Adjust PM editor styles 2024-09-23 23:11:28 +03:00
Cohee a408328fc6 Confirm custom PM prompt deletion 2024-09-23 22:44:49 +03:00
Cohee beeec51f93 Adjust style of in-chat marker prompts 2024-09-23 21:04:00 +03:00
Cohee a4e673fd0a Exclude examples from allowed to be edited 2024-09-18 21:55:23 +03:00
Cohee 82b0733d88 Allow setting role, position and depth for marker prompts 2024-09-18 21:51:10 +03:00
Cohee 5f0e74bd56 Rename PHI/aux UI fields 2024-07-21 14:29:13 +03:00
Cohee 345bae4fc0 Fix unknown relative extension injects not working in Chat Completion 2024-07-16 23:29:16 +03:00
Cohee 9c3176b29f Preserve scroll position of the prompt manager 2024-06-12 00:26:31 +03:00
Cohee a41fe1d801 Show prompt names on hover in PM list 2024-06-01 23:04:13 +03:00
Cohee b904f501ba Don't pre-render PM error if empty 2024-05-29 17:23:37 +03:00
Cohee a717e2ace8 Prefer const 2024-05-24 22:25:18 +03:00
Cohee 5c3ad3e0bc Let's make the diff even cleaner! 2024-05-24 22:23:55 +03:00
Cohee 1ed1e18304 Revert async forEach executor 2024-05-24 22:23:04 +03:00
Cohee 0ebac0e2af Pretty print PM exports 2024-05-24 22:15:28 +03:00
Cohee 2f2a4fca35 Sanitize error text 2024-05-24 22:05:28 +03:00
Cohee 61e5c32cd2 Fix make draggable 2024-05-24 22:00:21 +03:00
Yokayo 456e1124a3 Revert "Remove prompt manager changes"
This reverts commit a8c9fe4dce.

Move HTML pieces to templates
2024-05-21 17:06:42 +07:00
Yokayo a8c9fe4dce Remove prompt manager changes 2024-05-21 00:54:46 +07:00
Yokayo 6671c9aa80 Move dynamic html to templates 2024-05-19 21:49:43 +07:00
Yokayo 6023eac4bb Onboarding lang switch; more localizable strings; enhance ru-ru translation 2024-05-13 19:20:28 +07:00
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