Commit Graph

326 Commits

Author SHA1 Message Date
Cohee abb8b0f0cc Update hide / unhide commands to accept range 2023-11-14 21:37:37 +02:00
Cohee a02504381a Forbid trigger command while the group is generating 2023-11-11 16:12:02 +02:00
Cohee f2a96427a8 TTS: add slash command to speak 2023-11-09 02:57:40 +02:00
Cohee 8183849fe4 Add more aliases for /help pages 2023-11-04 21:35:50 +02:00
Cohee e1e472bf79 Add {{lastMessageId}} macro, make async slash command handlers wait for completion 2023-11-04 13:33:09 +02:00
Cohee b3669afea3 Put /help command on top 2023-11-04 12:37:13 +02:00
Cohee 6067b2f913 Add autocomplete for slash commands 2023-11-04 01:21:20 +02:00
Cohee eab25c73e7 Hide/unhide messages 2023-11-03 23:45:56 +02:00
Cohee 99e6ee2d4d Slash command to trigger group member response 2023-10-29 19:35:26 +02:00
kingbri dfa25a1796 Commands: Add ask command
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>
2023-10-16 02:12:12 -04:00
RossAscends e29902ed66 '/help slash' hint for how to batch slash commands 2023-10-09 08:22:00 +09:00
SDS 5848ec498b
Assorted fixes and improvements (#1208)
* 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>
2023-10-07 19:25:36 +03:00
RossAscends 345a0e04fc Add '/nar' as alias for /sys 2023-10-02 09:28:25 +09:00
city-unit 0033090a93
Idle Response / Continuous Generation (#1132)
* 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>
2023-09-17 22:00:10 +03:00
Cohee 6dd09858d4 Don't remove names from the past chat. Fix non-streaming auto-continue.
We took fair criticism from the NovelAI dev.
2023-09-15 23:32:01 +03:00
Cohee 030424d034 Add char to persona converter. Move persona functions to a separate script file 2023-08-29 01:54:11 +03:00
Stefan Daniel Schwarz b9a95d94a0 Force isSystem = false on comment messages so they get formatted properly 2023-08-26 19:26:23 +02:00
Stefan Daniel Schwarz dd7b89aef6 comment message formatting 2023-08-26 17:50:54 +02:00
Cohee e77da62b85 Add padding to cache key. Fix Safari display issues. Fix 400 on empty translate. Reset bias cache on changing model. 2023-08-23 10:32:48 +03:00
Cohee fd95b79ae9 Fix auto-translate plugin. Add new event types for post-rendering 2023-08-22 22:45:12 +03:00
Cohee ea4d4a8fd6 Fix system messages using incorrect timezone 2023-08-22 18:13:03 +03:00
Cohee 41cc86af9f Add example extension for chat variables. Allow registering custom text processing functions for extensions 2023-08-22 17:46:37 +03:00
Cohee1207 c124fc589f Fix display help links 2023-08-07 22:21:10 +03:00
Cohee 5c66c34414 #778 Slash command to add a persona message without generation 2023-07-26 21:00:36 +03:00
Cohee 260bb0af52 Fix opening character with id = '0' in /go and /random commands 2023-07-24 17:22:51 +03:00
Cohee edd41989fd Initial commit 2023-07-20 20:32:15 +03:00