6352 Commits

Author SHA1 Message Date
Cohee
cde328a43d
Merge pull request #2489 from bdashore3/staging
Add tabbyAPI model downloader
2024-07-07 22:38:40 +03:00
Cohee
40181ef52e
Fix span not closed 2024-07-07 22:36:57 +03:00
kingbri
0672c8422e Textgen: Add permissions check for TabbyAPI keys
There's no formal permissions checking in ST's UI, so add a temporary
check in the server endpoint before requesting a download.

Signed-off-by: kingbri <bdashore3@proton.me>
2024-07-07 14:40:24 -04:00
kingbri
69077f6a6e Textgen: Add model downloading for TabbyAPI
Tabby has a HuggingFace downloader API endpoint. Add direct support
in SillyTavern by using the same method as ollama, but with the correct
parameters exposed.

Signed-off-by: kingbri <bdashore3@proton.me>
2024-07-07 14:04:04 -04:00
Cohee
ed0e522c6d [BUG] UI shifting in mobile browser #2488 2024-07-07 20:12:04 +03:00
wrvsrx
3230772909
Fix package-lock.json
This commit add missing `resolved` and `integrity` fields to `package-lock.json` file, so that the build can be more reproducible.
2024-07-07 20:44:24 +08:00
LenAnderson
610ba54137 Merge branch 'staging' into parser-followup-2 2024-07-07 08:01:36 -04:00
Cohee
6ff406f6ea
Merge pull request #2485 from Esalarc/promptdiff
Adding diff functionality to prompt dialog
2024-07-07 10:17:01 +03:00
Cohee
792c077267 Fix for chat completion prompts 2024-07-07 10:15:53 +03:00
David Fedolfi
014ef0cc4f Adding diff functionality to prompt dialog
adding another command button that leverages https://github.com/google/diff-match-patch/tree/master to generate a diff of this prompt to the prior one.
2024-07-06 22:04:12 -04:00
Wolfsblvt
03a8b14a93 Change min activation scan to full increased range 2024-07-06 20:00:27 +02:00
Cohee
57175b4229 Don't send streaming request if generation was aborted before the streaming processor creation 2024-07-06 17:39:50 +03:00
Cohee
6dbbf89d65 #2482 Fix embedded content confirmation 2024-07-06 16:55:57 +03:00
Cohee
a6eec7ba1a Fix 01.ai model nullifying on load 2024-07-06 15:30:21 +03:00
Cohee
c55ad419dd Clean-up console logs 2024-07-06 15:29:47 +03:00
Cohee
c6e612f15a Add WI prefix to timed effect logs 2024-07-06 15:26:45 +03:00
Cohee
9327ee4b8e Log which entries actually end in the prompt 2024-07-06 15:07:02 +03:00
Cohee
34d6cdfbcc Merge branch 'staging' into wi-processing-refactoring 2024-07-06 14:58:48 +03:00
Cohee
bd4f3e733f
Merge pull request #2481 from M0ch0/translate-fix
Translate fix
2024-07-06 14:51:45 +03:00
Cohee
02e65ff176 Configurable session expiration 2024-07-06 14:50:36 +03:00
M0cho
3b85cc2a4c
Improved ja-jp translations related to 'World Info' 2024-07-06 20:18:05 +09:00
M0cho
7f145c2c2d
Improve translations ja-jp, especially those related to World Info. 2024-07-06 20:13:42 +09:00
Cohee
545b77140f
Merge pull request #2428 from sasha0552/vllm-tc
Add a token counting endpoint for vLLM
2024-07-06 11:29:02 +03:00
Cohee
6bdbe7299f Merge branch 'staging' into vllm-tc 2024-07-06 11:18:38 +03:00
Cohee
ab1c1fa24f
Merge pull request #2480 from SillyTavern/wi-include-names-toggle
Implement toggle for User/Char name searching in world info
2024-07-06 11:18:07 +03:00
Wolfsblvt
ff23808d3b Add WI toggle to include/exclude names in scanning 2024-07-06 03:23:02 +02:00
Wolfsblvt
5e89dc35e3 Fix min activations not checking recursion 2024-07-06 02:44:26 +02:00
Wolfsblvt
02989a9a78 Reduce nesting and simply WI check loop 2024-07-06 02:35:41 +02:00
Wolfsblvt
0b9431cd9a Remove double-loop nesting of WI key processing 2024-07-06 01:53:26 +02:00
LenAnderson
76f14869f6 Merge branch 'staging' into parser-followup-2 2024-07-05 19:16:38 -04:00
LenAnderson
42cad6dd1a don't add args._scope etc to macros 2024-07-05 19:14:45 -04:00
LenAnderson
3144c219fa add {{arg::*}} to replace missing args with empty string 2024-07-05 19:14:30 -04:00
LenAnderson
88718d89bc add /qr-arg for {{arg::...}} fallbacks 2024-07-05 19:14:00 -04:00
LenAnderson
83b4df9cd3 add simple wildcards to scope macros 2024-07-05 19:13:37 -04:00
LenAnderson
8785a0a5a3 add setting macro if it not already exists somewhere in scope hierarchy 2024-07-05 19:13:11 -04:00
Cohee
13630c896a
Add instruct/context for Gemma 2 (#2477)
* Add instruct/context for Gemma 2

* Add Gemma 2 Roleplay variation

* Revert "Add Gemma 2 Roleplay variation"

This reverts commit d1473e18a1b6a6f1eef00c99b4fd5a94cf0d2d0d.
2024-07-06 01:54:36 +03:00
LenAnderson
ba0f5427cf add missing semicolon 2024-07-05 18:53:55 -04:00
Cohee
66c4824a8a Fix ComfyUI workflow not saving 2024-07-06 01:14:47 +03:00
LenAnderson
c213a64340 fix enumProvider not getting scope 2024-07-05 18:09:24 -04:00
LenAnderson
91ffd141ef add a little more details to execution exceptions 2024-07-05 18:05:22 -04:00
LenAnderson
b1412d3bce what? 2024-07-05 18:04:50 -04:00
LenAnderson
12e30bde99 add closure support to /run 2024-07-05 18:04:33 -04:00
Cohee
b5f77a2164 Fix ESLint squigglies 2024-07-06 00:42:49 +03:00
Wolfsblvt
e7382e184d Reduce log amount 2024-07-05 22:50:20 +02:00
Wolfsblvt
831773216a Refactor probability checking conditions
- This changes the flow and checking of the conditions on probability roles. Bit "bigger" refactoring
2024-07-05 21:59:31 +02:00
Wolfsblvt
f7abd3f5d9 Break out on result of secondary key checks 2024-07-05 21:16:43 +02:00
Wolfsblvt
6da36c630e No need to get scan text for each key 2024-07-05 20:52:24 +02:00
Wolfsblvt
56c6955f23 WI entries with world name obj format
- Changed format of WI entry objects for debugging purposes. Moved the world name right after uid, so it looks better in debugger
2024-07-05 20:50:30 +02:00
Wolfsblvt
dfa2236fba Refactor WI log messages
- This should only be changes to logging messages, and splitting some if into multiple blocks. No actual code/flow changes
2024-07-05 20:49:17 +02:00
LenAnderson
1ab11cf85f allow autocomplete on input element (jsdoc) 2024-07-05 14:00:07 -04:00