Cohee
c7d75b7789
llamacpp broke
2024-05-12 21:41:07 +03:00
Cohee
4bb463dd56
Remove unused macros
2024-05-12 17:55:00 +03:00
Cohee
0ba600bb2b
Code clean-up
2024-05-12 17:53:38 +03:00
steve02081504
d1933be86a
remove {{char_version_url_encoded}}
2024-05-12 09:04:50 +08:00
steve02081504
15ff8de45c
add template
2024-05-12 09:04:03 +08:00
steve02081504
45a080016e
move to env
2024-05-12 09:01:30 +08:00
steve02081504
78cf6e9086
Merge branch 'staging' into pr/2204
2024-05-12 08:51:47 +08:00
Cohee
91945ec77e
Fix misleading JSDoc
2024-05-12 00:22:36 +03:00
Cohee
7b472f13af
Require a ping call before generation
2024-05-12 00:18:56 +03:00
Cohee
a93777e3b7
(chore) JSDoc comment
2024-05-11 23:38:26 +03:00
Cohee
2f310c72fa
Merge pull request #2215 from Hydroerotic/staging
...
Added {{timeDiff}} macro.
2024-05-11 23:35:55 +03:00
Cohee
6a4ee68113
Message delete highlight color follows theme settings
2024-05-11 17:17:42 +03:00
Cohee
e73b5713fd
Add types for moment
2024-05-11 14:49:11 +03:00
Hydroerotic
1f81086a21
Update macros.js
2024-05-11 14:13:03 +03:00
Hydroerotic
3e48f4b805
Update macros.html
2024-05-11 13:55:15 +03:00
Hydroerotic
432be2ee57
Update macros.js
2024-05-11 13:52:31 +03:00
steve green
f421139402
Create char-data.js for type hint ( #2209 )
...
* Create char-data.js for type hint
code from 7df0d1e06d/src/charData.mjs
* add hint
* fixes
* `class` -> JSdoc typedef by AI
* use `import`
* `v2DataWorldInfo`
* Rename book typedef
* Fix type errors
---------
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2024-05-11 12:05:13 +03:00
Cohee
27ccc6b090
Minor stylistic changes
2024-05-11 11:38:22 +03:00
kingbri
62faddac8d
Textgen: Add banned_strings
...
TabbyAPI supports the ability to ban the presence of strings during
a generation. Add this support in SillyTavern by handling lines
enclosed in quotes as a special case.
Signed-off-by: kingbri <bdashore3@proton.me>
2024-05-11 00:58:29 -04:00
kingbri
6804e4c679
Index: Expose min_tokens for TabbyAPI
...
Now supports the minimum amount of tokens to generate.
Signed-off-by: kingbri <bdashore3@proton.me>
2024-05-10 23:19:57 -04:00
Cohee
10ee002091
Merge pull request #2208 from Wolfsblvt/global-d-ts-expanded
...
Expand global.d.ts with code docs
2024-05-10 23:11:08 +03:00
Cohee
1430eb26ea
Delete toastr types.
...
@Wolfsblvt add it back if needed.
2024-05-10 23:05:14 +03:00
Cohee
e17a18ad5d
#2210 Replace line breaks with <br> in unknown elements
2024-05-10 15:59:01 +03:00
Wolfsblvt
eeaa52bf5d
Expand global.d.ts with code docs
...
- docs and syntax for toastr
- docs and syntax for Fuse
- docs and syntax for select2
- docs and syntax for sortable
2024-05-10 04:48:30 +02:00
steve02081504
7a2f6fb63f
{{char_version_url_encoded}}
and macro replace in creator_notes_spoiler
2024-05-10 07:24:05 +08:00
deffcolony
0252b21901
move expression buttons above Sprite set
...
+moves the buttons above the Sprite set so user does not have to scroll all the way down to find the buttons now it will be directly visiable
2024-05-09 16:33:04 +02:00
steve green
f6343436b4
impl {{char_version}}
...
https://github.com/SillyTavern/SillyTavern/issues/2111
2024-05-09 22:29:48 +08:00
Cohee
9db2f1cb91
#2203 Fix copy not working in hidden messages
2024-05-09 16:07:13 +03:00
Cohee
18d96bc346
Merge branch 'staging' into wi-no-doube-substitution
2024-05-09 15:11:16 +03:00
Cohee
e14c9506b6
Revert entry post-process
2024-05-09 14:55:09 +03:00
Cohee
88aae5978f
Simplify condition. Add debug log
2024-05-09 14:53:17 +03:00
Wolfsblvt
b9d72bfdf4
Do not double-parse WI content on "always on"
2024-05-09 06:37:14 +02:00
steve green
ff1399d1ba
remove empty lines from WIs
2024-05-09 08:30:40 +08:00
Cohee
0587931cae
Merge pull request #2193 from steve02081504/patch-2
...
also run regex on worldinfo
2024-05-08 21:15:39 +03:00
Cohee
7408673e41
Back to const
2024-05-08 20:59:59 +03:00
Cohee
3c0664dfb6
Fix naming and improve regex application
2024-05-08 20:10:52 +03:00
steve green
d2477bba0c
also run regex on worldinfo
2024-05-08 23:41:18 +08:00
Cohee
f37e444791
Merge pull request #2194 from LenAnderson/remove-hljs-innerText
...
don't replace codeblock textContent with innerText in hljs
2024-05-08 18:13:02 +03:00
LenAnderson
1ae08f49c5
don't replace codeblock textContent with innerText in hljs
2024-05-08 11:03:05 -04:00
Cohee
10fda0b220
Merge pull request #2191 from bdashore3/example-wi
...
mesExamples anchor for World Info
2024-05-08 15:33:45 +03:00
Cohee
61d5dde497
Fix line break
2024-05-08 15:13:12 +03:00
Cohee
edc33584da
Fix extra & in title
2024-05-08 15:12:31 +03:00
Cohee
883da48762
Prefer const variables
2024-05-08 15:10:53 +03:00
Cohee
49d0d9f557
Fix return type on empty WI
2024-05-08 15:04:17 +03:00
Cohee
852bc15a94
Update title and i18n
2024-05-08 14:10:34 +03:00
Cohee
c43ddd9d62
Merge pull request #2178 from Yokayo/staging
...
Localization enhancements
2024-05-08 13:59:52 +03:00
Cohee
c851961234
Update movingUI i18n attr
2024-05-08 13:58:54 +03:00
kingbri
01aacb9280
World Info: Add example messages insertion point
...
Allow insertion above and below mesExamples (also known as the
"examples of dialogue") box.
Signed-off-by: kingbri <bdashore3@proton.me>
2024-05-07 21:55:26 -04:00
Yokayo
dfa8c6c3d4
Remove cases
2024-05-07 13:11:59 +07:00
Cohee
542018cecb
Fix group weight clamping
2024-05-06 22:55:31 +03:00