Commit Graph

1623 Commits

Author SHA1 Message Date
0ba600bb2b Code clean-up 2024-05-12 17:53:38 +03:00
9ed6ee2161 Sample Character browser to onboarding 2024-05-12 16:43:09 +03:00
45a080016e move to env 2024-05-12 09:01:30 +08:00
78cf6e9086 Merge branch 'staging' into pr/2204 2024-05-12 08:51:47 +08:00
91945ec77e Fix misleading JSDoc 2024-05-12 00:22:36 +03:00
7b472f13af Require a ping call before generation 2024-05-12 00:18:56 +03:00
6a4ee68113 Message delete highlight color follows theme settings 2024-05-11 17:17:42 +03:00
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
e17a18ad5d #2210 Replace line breaks with <br> in unknown elements 2024-05-10 15:59:01 +03:00
7a2f6fb63f {{char_version_url_encoded}} and macro replace in creator_notes_spoiler 2024-05-10 07:24:05 +08:00
9db2f1cb91 #2203 Fix copy not working in hidden messages 2024-05-09 16:07:13 +03:00
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
1ae08f49c5 don't replace codeblock textContent with innerText in hljs 2024-05-08 11:03:05 -04:00
883da48762 Prefer const variables 2024-05-08 15:10:53 +03:00
49d0d9f557 Fix return type on empty WI 2024-05-08 15:04:17 +03:00
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
96506947cb Messages + Instruct: Fix /send with name= if name is empty
If name is empty, don't try appending it to the message. This applies
for both instruct and non-instruct modes.

Signed-off-by: kingbri <bdashore3@proton.me>
2024-05-05 20:35:03 -04:00
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
ef5499c8dc Remove disable attribute from send_textarea. It never worked. 2024-05-05 14:27:20 +03:00
292ecf580e #2182 Add quiet prompts to WI buffer 2024-05-05 14:23:54 +03:00
de1ca9af74 Add type casts 2024-05-05 13:51:16 +03:00
5197809d6b Add global variables to TypeScript definitions. Fix some errors 2024-05-04 20:44:41 +03:00
4e99c3e4cb Disabled forced 4 spaces indented sublists for markdown formatting
- For #2176
2024-05-03 13:15:38 -04:00
b69c5bcd17 Merge pull request #2177 from sasha0552/vllm-support
vLLM support
2024-05-03 20:03:05 +03:00
5ab1e74c5f WIP Debug Menu button to copy API setup to clipboard. 2024-05-03 16:35:32 +09:00
2bd239fe81 Initial vLLM support 2024-05-02 22:40:40 +00:00
2f85e50c6f Merge pull request #2171 from 24adamcho/generic-card-download
Character card import from generic sources (specifically Discord, Catbox.moe)
2024-05-01 19:58:17 +03:00
eb4cae4e6d Add WL to config. Code clean-up. 2024-05-01 19:52:34 +03:00
e4e6882f12 Fix scroll to bottom on chat open 2024-05-01 14:56:55 +03:00
620cd6dfc2 Move persona functions from script. Clean-up exports 2024-05-01 14:03:24 +03:00
bddfd5763b Fix persona filter rule 2024-05-01 12:49:53 +03:00
5c552a3d53 added examples for catbox/discord import links 2024-04-29 23:44:15 -05:00
b4aa7831e7 Scored search sorting for char list 2024-04-30 04:30:39 +02:00
d1cdd60883 Scored search sorting for personas 2024-04-30 02:27:44 +02:00
a850352eab Scored search sorting for world info 2024-04-30 01:39:47 +02:00
87219f897e Check that char.list has any filters before applying hidden block. 2024-04-28 21:33:37 +03:00
73cf58826f Pause autoplay on external media removal 2024-04-28 20:11:58 +03:00
be4637a3a0 Handle <br> in message texts with Showdown instead of manually 2024-04-28 20:00:22 +03:00
6ac6c7cfda #2159 Move debounce constants to a separate module 2024-04-28 19:47:53 +03:00
94e9b8f4b1 Merge branch 'staging' of https://github.com/SillyTavern/SillyTavern into staging 2024-04-28 19:29:12 +03:00
d51b155e52 Add ability for extensions to intercept edited message text 2024-04-28 18:39:32 +03:00
754cdc4d58 refactor: prompt itemization split to multiple functions 2024-04-28 14:09:10 +02:00
61e2877c4b Debounce Character and Persona search 2024-04-28 06:27:55 +02:00
d7ade487b8 Refactor common enum for debounce timeouts 2024-04-28 06:21:47 +02:00
f632888b4c Move scripts init at the end of HTML page 2024-04-27 23:44:08 +03:00
f479901c87 Merge pull request #2152 from Wolfsblvt/auto-sort-tags-option
Option to auto-sort tags (+UI improvements)
2024-04-27 17:45:23 +03:00
c95956766e Don't need a hack since you're not awaiting the popup 2024-04-27 17:33:52 +03:00
2e562d187a Option to auto-sort tags (+UI improvements)
- Toggle to auto-sort tags alphabetically
- Init auto-sort based on current sorted state, if not chosen before
- Tag management redraw list if changes happen
- Tag management highlight renamed rows on auto-sort if they get automatically reordered
- Manual drag&drop of tags disables auto-sort option
- Small fixes to popup tag management pop drawing
- Utility function to flash highlight via CSS
2024-04-27 10:26:01 +02:00
f4ba1f68ef Merge pull request #2136 from BlueprintCoding/release
Added import function for AICharacterCards.com cards
2024-04-26 22:42:04 +03:00