SillyTavern/public/scripts
valadaptive 33f969f097 Have Generate() return a promise
Generate(), being async, now returns a promise-within-a-promise.
If called with `let p = await Generate(...)`, it'll wait for generation
to *start*. If you then `await p`, you'll wait for generation to
*finish*. This makes it much easier to tell exactly when generation's
done. generateGroupWrapper has been similarly modified.
2023-12-10 12:30:10 -05:00
..
extensions Code clean-up 2023-12-10 16:48:25 +02:00
templates Add {{currentSwipeId}} / {{lastSwipeId}} macros 2023-12-07 02:35:24 +02:00
authors-note.js lint: Comma dangle 2023-12-02 22:06:57 +02:00
backgrounds.js Rename backgrounds API endpoints 2023-12-07 15:17:19 -05:00
bookmarks.js Rename group API endpoints 2023-12-06 19:59:58 -05:00
bulk-edit.js Enable object-curly-spacing lint 2023-12-04 12:32:41 -05:00
BulkEditOverlay.js Fix ESLint 2023-12-09 16:09:10 +02:00
cfg-scale.js lint: Comma dangle 2023-12-02 22:06:57 +02:00
chats.js Code clean-up 2023-12-10 16:48:25 +02:00
extensions.js lint: Comma dangle 2023-12-02 22:06:57 +02:00
f-localStorage.js lint: Use 4 space indent 2023-12-02 21:56:16 +02:00
filters.js lint: Require semicolons 2023-12-02 21:11:06 +02:00
group-chats.js Have Generate() return a promise 2023-12-10 12:30:10 -05:00
horde.js lint: Comma dangle 2023-12-02 22:06:57 +02:00
i18n.js Require single quotes 2023-12-02 13:04:51 -05:00
instruct-mode.js lint: Require semicolons 2023-12-02 21:11:06 +02:00
kai-settings.js Fix streaming processor error handler hooks 2023-12-08 02:01:08 +02:00
loader.js lint: Fix JSdocs 2023-12-03 14:23:20 +02:00
mancer-settings.js Make textgen settings type checks more concise 2023-12-03 14:56:01 -05:00
nai-settings.js Fix streaming processor error handler hooks 2023-12-08 02:01:08 +02:00
openai.js Fix streaming processor error handler hooks 2023-12-08 02:01:08 +02:00
personas.js lint: Comma dangle 2023-12-02 22:06:57 +02:00
power-user.js Implement random sort with a shuffle 2023-12-09 22:52:38 -05:00
preset-manager.js Make textgen settings type checks more concise 2023-12-03 14:56:01 -05:00
PromptManager.js Fix {{original}} macro left out if original is empty 2023-12-07 01:27:55 +02:00
RossAscends-mods.js More input padding and stricter sanitation 2023-12-10 15:07:39 +02:00
secrets.js Rename /viewsecrets to /api/secrets/view 2023-12-04 10:14:51 -05:00
server-history.js Require single quotes 2023-12-02 13:04:51 -05:00
setting-search.js Require single quotes 2023-12-02 13:04:51 -05:00
showdown-exclusion.js lint: Comma dangle 2023-12-02 22:06:57 +02:00
slash-commands.js Merge pull request #1488 from LenAnderson/add-index-argument-to-setvar-/-setglobalvar 2023-12-08 00:40:14 +02:00
sse-stream.js Default event type to 'message' if it's empty 2023-12-10 04:45:10 -05:00
stats.js Rename stats API endpoints 2023-12-07 13:00:34 -05:00
tags.js lint: Fix JSdocs 2023-12-03 14:23:20 +02:00
textgen-settings.js Fix streaming processor error handler hooks 2023-12-08 02:01:08 +02:00
tokenizers.js Horde doesn't support API tokenizers 2023-12-10 16:21:06 +02:00
utils.js Replace path "\" with "/" server-side 2023-12-06 17:22:37 -05:00
variables.js Revert pipe caching 2023-12-08 00:33:27 +02:00
world-info.js Add WI inclusion groups 2023-12-07 20:06:06 +02:00