Add support for adding extension prompts into WI scanning. Doing this
required adding a method to get extension prompts by name. Now, AN
and depth prompts can be added to world info scanning.
However, since scanning just looks for keys in the chatlog, append
the extension prompts on the top of scanned text.
Signed-off-by: kingbri <bdashore3@proton.me>
* Kobold Presets fixed
* Help texts fixed
* Scale API for connectAPISlash
* Quick Reply checkboxes fixed
* New Instruct Mode Presets
* More date/time macros
* ChatML context template and instruct prompt format
* Mistral context template and instruct prompt format
* Removed use_default_badwordsids from kobold presets
* Renamed ChatML to Mistral-OpenOrca (ChatML)
* Renamed Mistral-OpenOrca (removed ChatML)
* Removed single_line from kobold presets
* Removed obsolete use_stop_sequence setting
* Ban EOS Token off by default
* Split AI Resp. Conf. in global and preset-specific settings
* Resolve conflicts
* Fix title
* Add translations for new help texts
* Fix i18n.json whitespace
* Make Mistral-OpenOrca system prompt more generic
* Renamed "Mistral-OpenOrca" to "ChatML" again
* More (UI) fixes and improvements
* Sendas hint fixed
---------
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
Depth previously injected entries randomly. This is not ideal for
world info architectures that rely on insertion order to function
properly.
Redo depth injection to have its own parameter and redo how it's
handled in generate.
Signed-off-by: kingbri <bdashore3@proton.me>
This makes the most sense for placement of memories. Add the functionality
for other extension prompt placements as well.
Signed-off-by: kingbri <bdashore3@proton.me>
* Initial idle stuff
* Much closer, can now quietly send as user to get a char response.
* Tweaks
* Better, reset the count of getting a message back, don't send while prompt is waiting.
* Allow selecting who is being prompted
* Comments and cleaup
* Remove char name for the moment (needs something here probably)
* Add random time period and "Always add character's name to prompt" respect
* Tooltips
* Load/unload listeners
* Reduce log spam
* Add inline prompt inclusion
* Add full loud prompting
* Comments
* Fix instruct newline (I think)
* Don't reset count on continue
* add quietToLoud for script.js
* add quietToLoud for slashcommands.js
* Keep instruct directives
* Removed some logging, don't do the Novel formatting if Q2L
* Logspam begone.
* Removed a bit more logging
* Add alignment style
* Reformat files. Add comments
* Reorder extensions
* Fix repeat logic to prompt once then only repeat the number specified
* Make repeat count more clear
---------
Co-authored-by: RossAscends <124905043+RossAscends@users.noreply.github.com>
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>