Commit Graph

1210 Commits

Author SHA1 Message Date
3edc456fe7 Extend extensions interop API 2023-10-25 00:28:58 +03:00
52537904f7 Add stopping strings to Horde 2023-10-24 16:23:32 +03:00
8f118f140f Save settings after selecting persona 2023-10-23 23:22:25 +03:00
f0b20b67de Rearrange ext.panel. Add ext.update notifications. Improve performance on large number of extensions 2023-10-23 16:53:31 +03:00
a662677f06 Add prompt copy button 2023-10-22 00:51:35 +03:00
c49f898886 Display prompts for enlarged images 2023-10-22 00:39:11 +03:00
a4ab898933 Move CFG scale to built-in functionality 2023-10-21 22:19:49 +03:00
0b535e98b8 Merge branch 'staging' of https://github.com/SillyTavern/SillyTavern into staging 2023-10-21 20:32:39 +03:00
4ecf2b9f2d Fix stats init error 2023-10-21 20:32:36 +03:00
5012237eb3 Display generated bg in the bg block. Add ability to copy chat bg to system list. 2023-10-21 17:43:25 +03:00
b4e29bf157 #1272 Optimize performance of context buttons visibility switch 2023-10-21 15:41:27 +03:00
97d75aef73 #1272 Fix control buttons when expand actions is used 2023-10-21 15:17:18 +03:00
703965aec8 Substitute macro in character editor token counter 2023-10-21 14:39:01 +03:00
6fe4232f75 Add {{// (note)}} macro (#1265)
* add {{# (note)}} macro

* change from # to // for future updates

* fix docs
2023-10-21 14:28:02 +03:00
b41bf7cf4e Merge pull request #1267 from city-unit/feature/ui
Minor Fix: Hide extra buttons when you click away
2023-10-21 11:36:40 +09:00
95a3021e53 Smooth transition 2023-10-20 22:31:57 -04:00
b8939b8ccb Hide extra buttons when you click away 2023-10-20 22:14:36 -04:00
f285110773 Merge chat backgrounds plugin with main backgrounds menu 2023-10-21 01:40:58 +03:00
7f8df9533b Auto-complete code blocks during streaming 2023-10-20 23:52:23 +03:00
31242e23eb Merge pull request #1249 from bdashore3/staging
Add ask command
2023-10-18 21:28:20 +03:00
6a1b230c7e #1226 Add chat-bound lorebooks 2023-10-16 23:03:42 +03:00
59af85ce1c #1250 Fix multiple card import tags 2023-10-16 11:37:04 +03:00
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
2c1a6ca67c World Info: Add scanning with AN
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>
2023-10-11 23:50:58 -04:00
e2f0162e5a Fix injection order 2023-10-11 22:42:25 +03:00
c4fbc8373d Add raw generate function 2023-10-11 17:56:52 +03:00
6b5aa9d06e toggle to skip WI&AN insertion in Summary's prompt 2023-10-11 19:44:22 +09:00
7be3718a36 Fix first.mes continue for Chat Comps 2023-10-10 20:54:09 +03:00
dbf964e430 Script: Fix greeting message with continue
Add author's note when continuing the first message of a conversation.

Signed-off-by: kingbri <bdashore3@proton.me>
2023-10-10 14:26:41 +03:00
1239026a8f Auto-update extensions on version change 2023-10-09 23:45:09 +03:00
d81151efa2 Fix first message duplication 2023-10-09 18:22:50 +03:00
df4ca46c02 Save chat id between received and rendered event for safety (blip extension allow multiple message received before one is rendered). Added export in translate extension for usage in blip extension. 2023-10-09 01:26:57 +02:00
54d52a2986 Manage extensions via the assets plugin 2023-10-08 23:20:01 +03: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
85a63b3bb3 Add WI entry sorting. Add new entry flash 2023-10-05 23:30:18 +03:00
788bbe969f Feature, ability to add banned words sequences from anywhere through {{banned "..."}} macro. (#1202)
* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Fix constant assignment, reformat code

---------

Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2023-10-05 13:10:41 +03:00
f8b5fe8b1e Add Character note to char.card embeds 2023-10-04 22:13:56 +03:00
584d7961eb Close message editor before regenerating. #1195 2023-09-28 21:47:55 +03:00
191c180946 Fix streaming url validation 2023-09-28 20:47:33 +03:00
bb47712696 Split oobabooga/mancer sources. Add aphrodite support 2023-09-28 19:10:00 +03:00
bfda5a5492 Extra fixes (#1185) 2023-09-26 09:53:04 +03:00
edb79d8c53 Synchronize max depths for plugins 2023-09-25 19:29:24 +03:00
423f88a458 Skill issue 2023-09-24 15:04:02 +03:00
1838ca1994 Replace magic numbers with named constants 2023-09-24 14:45:04 +03:00
2411006fdb World Info: Add insertion order at depth (#1174)
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>
2023-09-24 14:41:56 +03:00
a081f78bd8 (WIP) PaLM API 2023-09-23 20:48:56 +03:00
3d1312c13a Restyle chat width slider 2023-09-22 16:56:01 +03:00
ae4a9a7b14 Remove legacy chat lazy load 2023-09-21 22:07:56 +03:00
6ae1b7a72b Filter out "undefined" stopping strings 2023-09-21 22:02:51 +03:00
902acc44a2 Support "before main prompt" extension position in prompt manager 2023-09-21 20:46:08 +03:00