The ask command aims to ask another character about a question or
topic from the current chat. Essentially, the current chat is taken
out and prompted to another character.
This command also requires a few fixes to sprites and prompt creation.
Signed-off-by: kingbri <bdashore3@proton.me>
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>
* More spanish translation, fixed typo on index
Praying that typo fix won't mess with the other translations. Changed "idel" for "idle".
* Changed "es-spa" to "es-mx"
For Mexican Spanish. Spanish has a ridiculous amount of variants and the wording that might seem fine to me might be weird or maybe offensive in other variants.
* Trying to translate the View API key pop up
I'm also failing badly
* "Mirostat Mode" was repeated twice. Not anymore.
Also more Mexican Spanish translation.
* Mirostat Tau and Mirostat Era aren't repeated anymore.
* Partially translated AI Response Formatting to es-MX
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>
* World Info: Add character locking for entries
With the addition of depth, world info has become more important than
ever. However, there is a conflict that can occur when using multiple
world info or lorebooks on a character. Add the ability to lock
entries to a specific character (or characters) if needed.
This allows for adequate separation especially when there are character
cards each with their separate lorebooks that build off of a core lorebook.
Signed-off-by: kingbri <bdashore3@proton.me>
* World Info: Add entry-specific character exclusions
This is the opposite of locking an entry to a specific character.
Exclusions allows the entry to get included for everyone except the
specified characters in the list.
Signed-off-by: kingbri <bdashore3@proton.me>
---------
Signed-off-by: kingbri <bdashore3@proton.me>
* Added custom CSS box to UI Theme settings
* Update index.html
Merged against release instead of staging. Whoops.
* Added an import stripper regex so that imports will be removed and show a toastr to inform the user.
* Moved import remove code to applyCustomCSS. Updated localStorage. Not re-running saveSettingsDebounced()
* Basic kobold grammar implementation
This is probably jank as all hell, I don't write js, but I think I got it to work.
* No value by default
* Visual cleanup
+ reworded it a bit
* Conditionally enable Grammar based on version flag. Fix layout
---------
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
* Added control to audio ui to select bgm/ambient and lock selection to overide dynamic audio update. Load both assets and char specific audio assets
* correct ambient label and default value when no assets available.
* add padding in audio select
* Correct audio change of background ambient when locked. Updated CSS of audio ui for mobile friendly.
* add space between mixer
* Add checkbox to enable dynamic bgm/ambient switch
* correct background ambient fadout
* continue debuging ambient audio update
* finish debuging
* Fix BGM console error on first run. Reformat plugin code
* Changed audio bgm lock into loop on/off. Added random pick button for bgm. Moved ambient lock button to right.
* Add mouse wheel event handler on volume controls
* Change bgm select to only contain current chat character bgm (solo/group). When enable expression bgm is off, any of the char+asset bgm can play next if not looping.
* Corrected bgm looping at start. Force random to play another song if there is any.
* Format code
---------
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
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>