Commit Graph

135 Commits

Author SHA1 Message Date
afc3071576 Add name argument for /send.
Tech debt: move to new STscript branch
2024-05-06 01:18:59 +03:00
181b5aff97 Add Groq as chat completion source 2024-05-05 18:53:12 +03:00
2bd239fe81 Initial vLLM support 2024-05-02 22:40:40 +00:00
620cd6dfc2 Move persona functions from script. Clean-up exports 2024-05-01 14:03:24 +03:00
e08a21ebe7 Deprecate old /sendas syntax.
"name" arg is now required, but defaults to {{char}} for compatibility
2024-04-28 03:53:17 +03:00
6e98fb1c5e Clean-up debug logs 2024-04-27 20:42:49 +03:00
053d7f9eaa Remove the /inject when value is empty 2024-04-27 20:25:55 +03:00
2a2a63c52c Add Perplexity as Chat Completion source 2024-04-20 00:09:38 +03:00
0b6bb59955 Try optimize slash autocomplete 2024-04-19 22:46:49 +03:00
210caace4a Merge branch 'staging' of https://github.com/Cohee1207/SillyTavern into staging 2024-04-19 21:02:05 +09:00
db3d86cb29 optimize slash command helper popup 2024-04-19 21:02:02 +09:00
4a5d952800 Fix script comments. Add type hints 2024-04-19 14:19:57 +03:00
41a4de7224 Limit slash autocomplete 2024-04-19 13:35:36 +03:00
306bff0a92 #2085 Switch to async token counters 2024-04-13 21:33:19 +03:00
208e089761 Replace hideChatMessage with hideChatMessageRange 2024-04-12 16:03:50 +09:00
94f14340ae add background image name reporting for /bg with no args 2024-04-12 08:21:17 +09:00
27698fd024 Add ability to get model name with /model 2024-04-03 00:52:30 +03:00
9838ba8044 #1994 Add Cohere as a Chat Completion source 2024-04-02 00:20:17 +03:00
3331cb6491 Add ability to temporarily override response length for /gen and /genraw 2024-03-31 21:02:38 +03:00
ad4269f476 Add system prompt to /genraw command 2024-03-31 19:42:12 +03:00
bd62c2fb70 Add 'as' argument for /gen command 2024-03-30 18:13:55 +02:00
fcdd90cec4 Adjust last prompt line of quite gens 2024-03-28 21:51:02 +02:00
0bf6835de2 Add "compact" argument to message sending commands. 2024-03-27 19:40:34 +02:00
6d02223bd4 Fix cases with persona autoswitch 2024-03-27 15:16:20 +02:00
78ba88f94f set active character / active group in /go command 2024-03-26 12:21:22 -04:00
5e8999cc43 Add comments to STscript 2024-03-25 14:22:39 +02:00
848af1fd4b Add inject roles to slash command 2024-03-23 18:44:40 +02:00
cda7ab0530 Add /model command 2024-03-15 16:08:22 +02:00
bb53fef531 Clean-up docs and leftover logs 2024-03-06 23:10:52 +02:00
9a6824f86c Merge pull request #1886 from parsedone/patch-2
Fixes [BUG] STscript parser() incorrectly manages spaces
2024-03-06 23:04:10 +02:00
975206fd06 Clean-up /fuzzy command doc comments 2024-03-03 16:04:48 +02:00
d217a4e32f Fixes [BUG] STscript SlashCommandParser.parser() incorrectly manages spaces
Fixes bug SillyTavern#1884

Parses a command even when spaces are present in arguments

Examples that now work:

/buttons labels=["OK","I do not accept"] some text /fuzzy list=[ "red pink" , "yellow" ] threshold=" 0.6 " he yelled when the color was reddish and not pink | /echo
2024-03-03 04:09:58 +01:00
88f42132c2 Update slash-commands.js [BUG] STscript /fuzzy returning wrong answer
Implements fix of the bug #1883 "[BUG] STscript /fuzzy returning wrong answer".

Fix the params so tha /fuzzy detect when a "candidate" item is found (using fuzzy matching) in the text passed without argument name.
Also added optional "threshold" that allows to change the value used by Fuse in order to have stricter or looselier matching.

Also updated the parser.addCommand('fuzzy', fuzzyCallback
2024-03-03 03:43:44 +01:00
f0141b4dd1 Update slash-commands.js 2024-02-20 16:57:00 +02:00
095cd873de Update slash-commands.js
added the word "persona" to the /sync description to make it easier for users to find.
2024-02-20 16:48:43 +04:00
8e66a14e37 Add hints to doc strings about additional command prompts 2024-02-20 02:29:14 +02:00
550d8483cc Extend impersonate/continue/regenerate with possible custom prompts
- Use custom prompt provided via slash command arguments (similar to /sysgen and others)
- Use written text from textbox, if the popout menu actions are clicked
2024-02-19 22:23:58 +01:00
29b971a986 Merge branch 'staging' into slash-fix-bleed 2024-02-16 20:48:32 +02:00
a8cd6c9fe7 Allow finding characters in slash commands by exact PNG name 2024-02-16 20:24:47 +02:00
cab6f90519 stop named args from nested commands bleeding into parent 2024-02-09 22:49:38 +00:00
44a3bb8ec7 #1777 Add await argument to /trigger command 2024-02-08 00:20:36 +02:00
07677584c4 #1781 Fix /len and unescape for non-string arguments 2024-02-03 02:06:49 +02:00
2cdf928fc7 unescape args before calling callback 2024-01-26 18:58:44 +00:00
1647e5ae49 Merge pull request #1734 from khanonnie/alternative-tokens
Implement Token Probabilities UI panel using logprobs
2024-01-26 03:39:25 +02:00
60044c18a4 Implement Token Probabilities UI using logprobs 2024-01-25 18:34:46 -06:00
6ff998816d #1728 Missed one 2024-01-25 03:28:30 +02:00
55984a59bb #1728 Allow zeros in {{pipe}} macro 2024-01-24 21:19:29 +02:00
4fe13fab8e Customizable /gen instruct name 2024-01-12 19:16:42 +02:00
d5e3f5491d Fix formatting 2024-01-05 20:12:59 +02:00
1b86ded198 add group support to /go 2024-01-05 18:02:44 +00:00