Commit Graph

3336 Commits

Author SHA1 Message Date
RossAscends
ff8c9546ad add /impersonate (aka /imp) 2023-07-13 16:12:49 +09:00
RossAscends
be91af30b8 Merge branch 'dev' of https://github.com/Cohee1207/SillyTavern into dev 2023-07-13 15:45:14 +09:00
RossAscends
c91d32d273 fix movingUI 2023-07-13 15:45:12 +09:00
Cohee
cb37fbd827 Update context size hint 2023-07-12 23:48:15 +03:00
RossAscends
f513c54691 fix bg menu for <1000px screens 2023-07-13 05:05:00 +09:00
RossAscends
abdf1ac71e Merge branch 'dev' of https://github.com/Cohee1207/SillyTavern into dev 2023-07-13 03:54:26 +09:00
RossAscends
67195071c3 chat width convert to flat 50vw 2023-07-13 03:54:23 +09:00
Cohee
26b6d48a3d OpenRouter website model use option 2023-07-12 20:54:11 +03:00
Cohee
f9630acaf4 Allow to change supported OpenRouter parameters 2023-07-12 19:19:53 +03:00
Cohee
a20eff92f0 Format styles 2023-07-12 17:25:59 +03:00
Cohee
f1c5f26b86 Merge branch 'main' into dev 2023-07-12 17:25:30 +03:00
Cohee
dc788f6571 Update localization files 2023-07-12 17:19:34 +03:00
Cohee
abe57f7e9a Merge pull request #687 from BlipRanger/feature/backend
Backend endpoint for single attribute editing
2023-07-12 17:07:58 +03:00
Cohee
cb294983e7 Merge pull request #701 from 50h100a/api-tokenize
Added tokenizer option for Ooba-like APIs
2023-07-12 11:28:50 +03:00
Cohee
9bbf23e56f Merge pull request #695 from ThisIsPIRI/continue
Fix continue formatting
2023-07-12 11:28:15 +03:00
Cohee
4aeda77648 Merge pull request #697 from bdashore3/dev
Regex: Switch slash command hooks
2023-07-12 11:26:53 +03:00
50h100a
6b0e13e064 dammit 2023-07-12 04:26:37 -04:00
50h100a
49ae2cbad6 New tokenizer option.
If you're running an ooba-like api, you can use the token-count endpoint.
Exact and fast!
2023-07-12 04:18:55 -04:00
ThisIsPIRI
dedb913b67 Fix continue formatting 2023-07-12 06:57:05 +09:00
Cohee
4f11b38110 Add applyLocale() global function 2023-07-12 00:32:28 +03:00
Cohee
4a3e95d79f Remove System prefix from Claude prompts 2023-07-12 00:26:45 +03:00
Cohee
393fff6207 Fix double insertion of WI with Chat Completions 2023-07-12 00:26:29 +03:00
Cohee
c9cc8fcf18 Calculation fixes to prompt itemizer 2023-07-12 00:05:34 +03:00
Cohee
6b1965fcf4 #693 Format story string after WI insertion for instruct mode 2023-07-11 23:22:12 +03:00
Cohee
5660280c51 Uncap max Claude 2 context size 2023-07-11 22:28:33 +03:00
kingbri
bd7d4beab5 Regex: Add slash command input hook
Slash command output for sys and sendas commands were being formatted,
but add the ability for user placement to also apply to slash command
invocations.

Some slash commands will require an output hook, so add exclusions
inside the code itself.

Signed-off-by: kingbri <bdashore3@proton.me>
2023-07-11 15:28:30 -04:00
BlipRanger
33918d3e05 Match with safety improvements from other branch. 2023-07-11 15:03:02 -04:00
Cohee
040380e0fb Merge pull request #692 from bdashore3/dev
Fixes more regex bugs
2023-07-11 21:08:43 +03:00
Cohee
345992bb86 #538 More Poe unchunked bots 2023-07-11 20:59:56 +03:00
Cohee
12908baaf9 Add Claude 2.0 models. Update Claude streaming 2023-07-11 19:19:17 +03:00
kingbri
f253286981 Regex: Fix markdown formatting bug
The regex would still run even if markdown formatting is disabled,
but a placement is selected. Fix that by adding an extra check
in the loop.

Signed-off-by: kingbri <bdashore3@proton.me>
2023-07-11 12:10:59 -04:00
Cohee
0fc10e8f7d Add error handing to OpenAI bias calculation 2023-07-11 17:06:40 +03:00
Cohee
c53e496687 Split OpenRouter and Window AI sources 2023-07-11 15:46:41 +03:00
Cohee
6c1e4c429b Merge pull request #690 from 50h100a/bootleg-i18n
Add i18n attribute-keying syntax to this very-much-not i18n loc code.
2023-07-11 11:56:12 +03:00
Cohee
f3a3613ac2 Merge pull request #691 from 50h100a/chroma-dedupe 2023-07-11 10:20:47 +03:00
50h100a
2387ff54c0 Add i18n attribute-keying syntax to this very-much-not i18n loc code. 2023-07-11 03:15:30 -04:00
50h100a
90c05988e1 Deduplicate entries prior to injection.
Also don't inject if there's no entries.
2023-07-11 03:01:14 -04:00
Cohee
8872492fcd Merge pull request #686 from bdashore3/dev 2023-07-11 09:39:34 +03:00
Cohee
7ee7e7b32a Merge pull request #685 from BlipRanger/feature/tags 2023-07-11 09:38:27 +03:00
BlipRanger
435a428587 Docstring and improvements. 2023-07-10 23:38:01 -04:00
kingbri
1f1af8e631 Expressions: Fix fade transitions for groups
See previous commit. Same absolute positioning applies with group
mode sprites.

Signed-off-by: kingbri <bdashore3@proton.me>
2023-07-10 23:23:16 -04:00
kingbri
e5fab05309 Expressions: Fix sprite fade on mobile
Absolute positioning was causing an issue on both mobile and PC in
terms of expression image sizing. Dynamically set image width and
height along with fixing absolute position anchors.

This is not a fix for groups.

Signed-off-by: kingbri <bdashore3@proton.me>
2023-07-10 23:23:15 -04:00
BlipRanger
bd2ca40452 WIP way to edit a char 2023-07-10 20:16:23 -04:00
BlipRanger
f33dd638b3 Show name when tags are imported 2023-07-10 20:03:11 -04:00
Cohee
9ebb1cfe90 #652 Add custom stop strings 2023-07-11 00:24:09 +03:00
Cohee
5c6c7fd3ca #612 SD manual prompt refine mode 2023-07-10 23:07:53 +03:00
Cohee
66a50f6afb Merge pull request #684 from BlipRanger/feature/tags
Fix glaring tagging issue and tag timing issue.
2023-07-10 22:52:58 +03:00
BlipRanger
a4b6cba596 Fix glaring tagging issue and timing issue. 2023-07-10 15:31:28 -04:00
Cohee
43a4d553f1 Credit for ko-KR locale 2023-07-10 19:31:18 +03:00
Cohee
eefbafdc08 #683 Improve i18n, add Korean translation by @doloroushyeonse 2023-07-10 19:29:50 +03:00