* CC/PM: Add generation type trigger prompt filter
Closes#4276
* Fix element cast type
* Narrower element types
* Change trigger to multiple select
* Extract class scope function
* Fix control name
* Add 'enabled' property to Prompt class and update type annotations in PromptManager methods
* Clarify placeholder of multiselect
* 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>
* 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>
* [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