f6ab33d835
Reverse CC prompt manager's injection order of "Order" to match World Info ( #4004 )
...
* Reverse CC injection "Order" to match World Info
* Set CC injection order default to 100
* Update non-PM injects order + add hint
* Update default order value on inject
---------
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com >
2025-05-16 23:53:37 +03:00
e9bc2d8af0
Force close forms on Prompt Manager init
2025-05-16 22:12:45 +03:00
8100a542e2
Implement a priority for prompt injections in CC ( #3978 )
...
* Implement a priority for prompt injections in CC
Adds a numeric order for injected prompts, 0 being default and placed at the top, and higher numbers placing further down. If two messages have the same priority, then order is determined by role as was before.
* Update data-i18n for new setting field
* Rename priority to order, sort higher first/lower last
* Hide order when position is relative, adjust hint text
* Fix type error
* Fix capitalization
* Cut UI texts
* Reposition text labels
---------
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com >
2025-05-12 23:59:54 +03:00
420d568cd3
Pollinations - Text ( #3985 )
...
* [wip] Pollinations for text
* Implement generate API request
* Determine Pollinations model tools via models list
* Add Pollinations option to /model command
* Add Pollinations support to caption
* Update link to pollinations site
* Fix type errors in openai.js
* Fix API connection test to use AbortController for request cancellation
* Remove hard coded list of pollinations vision models
* Remove openai-audio from captioning models
2025-05-11 20:14:11 +03:00
44b7a09cb6
Prompt Manager: add source display of pulled prompts ( #3981 )
...
* Prompt Manager: add source display of pulled prompts
* Fix copilot comments
2025-05-10 16:28:18 +03:00
1323ac1d13
Remove prompt manager export popup
...
Fixes #3782
2025-03-29 16:05:31 +02:00
af0939038b
Fix undefined type references
2025-03-19 21:26:38 +02:00
f8c6a62c23
Add separate drag handle for prompt manager on touch screen
...
Fixes #2239
2025-01-15 00:07:06 +02:00
9e6db659d9
Fix icon lookup logic for system prompts in PromptManager
2025-01-01 00:22:08 +02:00
7c879a3abc
Farewell system icon
2024-12-31 23:42:06 +02:00
e9c9dda3fb
Remove unspecified role, hide icons for non-custom prompts of non-system roles
2024-12-31 23:28:52 +02:00
48e5c11f9b
Change icon for preset prompt
2024-12-31 21:17:15 +02:00
b4e5cfe797
Reset prompt role to unset
2024-12-31 15:21:36 +02:00
9ad9877d3e
Shirinkflate the pencil
2024-12-31 15:18:44 +02:00
227201a5fc
Add "unset" value for PM prompt role, refactor icons display
2024-12-31 15:14:29 +02:00
d46a551d78
Update public/scripts/PromptManager.js
...
Co-authored-by: valadaptive <79560998+valadaptive@users.noreply.github.com >
2024-12-31 14:36:56 +02:00
2109a7bda1
add prompt role icons to prompt manager
2024-12-31 17:27:07 +09:00
ec4763b0c5
unvendor: Replace popperjs/core
2024-10-17 08:03:58 +00:00
3387fe4bd6
unvendor: Replace DOMPurify
2024-10-16 23:11:13 +03:00
8e082e622b
Chat Completion: switch to async token handling
2024-10-12 01:07:36 +03:00
7f9023d3c2
Work on tl
2024-10-01 21:25:20 +07:00
780f2f712e
Adjust PM editor styles
2024-09-23 23:11:28 +03:00
a408328fc6
Confirm custom PM prompt deletion
2024-09-23 22:44:49 +03:00
beeec51f93
Adjust style of in-chat marker prompts
2024-09-23 21:04:00 +03:00
a4e673fd0a
Exclude examples from allowed to be edited
2024-09-18 21:55:23 +03:00
82b0733d88
Allow setting role, position and depth for marker prompts
2024-09-18 21:51:10 +03:00
5f0e74bd56
Rename PHI/aux UI fields
2024-07-21 14:29:13 +03:00
345bae4fc0
Fix unknown relative extension injects not working in Chat Completion
2024-07-16 23:29:16 +03:00
9c3176b29f
Preserve scroll position of the prompt manager
2024-06-12 00:26:31 +03:00
a41fe1d801
Show prompt names on hover in PM list
2024-06-01 23:04:13 +03:00
b904f501ba
Don't pre-render PM error if empty
2024-05-29 17:23:37 +03:00
a717e2ace8
Prefer const
2024-05-24 22:25:18 +03:00
5c3ad3e0bc
Let's make the diff even cleaner!
2024-05-24 22:23:55 +03:00
1ed1e18304
Revert async forEach executor
2024-05-24 22:23:04 +03:00
0ebac0e2af
Pretty print PM exports
2024-05-24 22:15:28 +03:00
2f2a4fca35
Sanitize error text
2024-05-24 22:05:28 +03:00
61e5c32cd2
Fix make draggable
2024-05-24 22:00:21 +03:00
456e1124a3
Revert "Remove prompt manager changes"
...
This reverts commit a8c9fe4dce
.
Move HTML pieces to templates
2024-05-21 17:06:42 +07:00
a8c9fe4dce
Remove prompt manager changes
2024-05-21 00:54:46 +07:00
6671c9aa80
Move dynamic html to templates
2024-05-19 21:49:43 +07:00
6023eac4bb
Onboarding lang switch; more localizable strings; enhance ru-ru translation
2024-05-13 19:20:28 +07:00
6ac6c7cfda
#2159 Move debounce constants to a separate module
2024-04-28 19:47:53 +03:00
d7ade487b8
Refactor common enum for debounce timeouts
2024-04-28 06:21:47 +02:00
b111834122
Insert custom prompts to the start of the list
2024-04-27 23:16:44 +03:00
bbdbb08301
Fix main prompt clearing on disabling
2024-04-27 00:08:30 +03:00
274359d1ec
Move prompt manager actions row to the top
2024-04-21 14:48:21 +03:00
2333fe64d0
#2107 Check for null reference in prompt manager settings init
2024-04-19 01:46:15 +03:00
8a4b675143
Disable-able chat history and examples
2024-04-17 21:23:06 +03:00
8a7ad5ef91
Indicate overridden prompts
2024-03-24 02:19:10 +02:00
3b637cc9a6
Add forbid overrides to prompts
2024-03-24 01:28:35 +02:00