Commit Graph

134 Commits

Author SHA1 Message Date
Cohee
181b5aff97 Add Groq as chat completion source 2024-05-05 18:53:12 +03:00
Cohee
6ac6c7cfda #2159 Move debounce constants to a separate module 2024-04-28 19:47:53 +03:00
Wolfsblvt
d7ade487b8 Refactor common enum for debounce timeouts 2024-04-28 06:21:47 +02:00
Cohee
70c4e82b89 Merge branch 'staging' into neo-server 2024-04-20 21:10:43 +03:00
Cohee
1e0b76f4fc Unblock Ctrl+1-9 keystrokes 2024-04-20 20:25:21 +03:00
Cohee
b3bbec83b6 Merge branch 'staging' into neo-server 2024-04-20 02:56:05 +03:00
Cohee
2a2a63c52c Add Perplexity as Chat Completion source 2024-04-20 00:09:38 +03:00
Cohee
022c180b62 Lint and clean-up 2024-04-15 00:39:15 +03:00
Cohee
1c4bad35b2 #2085 Implement async token counting 2024-04-13 21:05:31 +03:00
Cohee
9c218455c4 [chore] Run ESLint 2024-04-12 14:22:12 +03:00
Cohee
16cabb38ad Fix init order in RA mods 2024-04-11 22:47:28 +03:00
Cohee
d2ac782c3c Fix broken HTML and code style 2024-04-11 19:21:59 +03:00
Yokayo
0486fe0126
Bind strings to locale 2024-04-11 14:58:07 +07:00
Cohee
9838ba8044 #1994 Add Cohere as a Chat Completion source 2024-04-02 00:20:17 +03:00
Wolfsblvt
9005d3f790 Merge remote-tracking branch 'upstream/staging' into improve-bulk-edit-and-fixes 2024-03-29 02:42:27 +01:00
Cohee
55d855b655 Autofit immediately if input value is empty 2024-03-27 22:18:20 +02:00
Wolfsblvt
4547e68497 Fix tag display issues (char create, auto load)
- Fix tags not working on new character dialog
- Fix display of tags for auto-loaded character on enabled auto load
2024-03-27 08:33:32 +01:00
LenAnderson
3debc06372 fix for jQuery input event not triggering real input event 2024-03-26 12:32:23 -04:00
LenAnderson
d9022db7d9 debounce saving of user input in send_textarea 2024-03-26 12:11:15 -04:00
LenAnderson
69d195ef31 improve send_textarea autofit performance
- only expand immediately
- shrink debounced
2024-03-26 12:11:00 -04:00
LenAnderson
e567aa2c31 replace debounce with other performance improvements
- remove debounce from processHotkey
- replace dom-queries in conditions with vars
- replace some jQuery in conditions with vanilla JS
2024-03-26 12:09:26 -04:00
LenAnderson
92ec45af4b call processHotkeys debounced 2024-03-25 18:16:18 -04:00
Cohee
41b6169ea8 Extend getContext API 2024-03-21 01:11:47 +02:00
Cohee
5b7b06aba8 Make logprobs draggable, fix conflicts between moving UI and maximization, fix z-fighting 2024-03-19 01:40:02 +02:00
Cohee
c82157945e Allow generic moving divs for extensions 2024-03-17 19:23:01 +02:00
Cohee
77784585ba Merge branch 'staging' into tags-as-folders-enhancements 2024-03-16 22:32:01 +02:00
deffcolony
b6c29f7129 added new langs
+added new lang: Arabic, Portugese, Vietnamese
+added display names for all langs
+added data-i18n= tags for translation
2024-03-12 19:03:12 +01:00
Cohee
73fdcbad44 Fix some bugs (see below):
1. Remove yellow highlights in hotswaps list.
2. Decrease font size of group members list, make it respect the block limits (1 row for small avatars, 3 rows for big avatars).
3. Fix autoload loading the first character if the latest selected entity was a group.
4. Fix tag key potentially skipping the first character.
5. Fix being unable to open groups from the hotswaps panel.
6. Fix left alignment of hotswaps panel, now centered.
7. Fix rounding of missing group avatars (most noticeable when favorited).
2024-03-09 21:58:13 +02:00
Cohee
32049b7e1d Merge branch 'staging' into tags-as-folders-enhancements 2024-03-09 21:15:13 +02:00
Wolfsblvt
5ac7826fec Tag Folders: Additional Fixes
- Refactored to one general printTagList method
- Made a robust getTagKeyForEntity function
- Fixed group not displaying tags if autoloaded
- Fixed added tags on character/groups not being auto sorted
- Fixed autoload of group/character that I killed
- Fixed typo
2024-03-07 23:48:50 +01:00
DreamGenX
5c410986a4 Add support for DreamGen API.
API docs: https://dreamgen.com/docs/models/opus/v1
API keys: https://dreamgen.com/account/api-keys

I decided to base this on the text-completion API since it's more
flexible with SillyTavern's prompt formating capabilities.

This also means that custom context and instruct settings are required.

Will add documentation in a followup PR.
2024-03-07 12:25:48 +01:00
Wolfsblvt
fc6146fa00 Tag Folders: Rework favorites display
- Favorites display uses same method than inline avatars
- Favorites now respect avatar style
2024-03-06 04:59:39 +01:00
Cohee
f962ad5c02 Add OpenRouter as a text completion source 2024-02-25 22:47:07 +02:00
NWilson
8075e4cd1e Changes 2024-02-16 09:07:06 -06:00
NWilson
b5887960b6 Merge branch 'release' into InfermaticAI 2024-02-16 08:53:04 -06:00
Cohee
c3129da879 [skip ci] Lint fix 2024-02-07 19:28:34 +02:00
khanon
60044c18a4 Implement Token Probabilities UI using logprobs 2024-01-25 18:34:46 -06:00
NWilson
f29f934c6b Progress 2024-01-24 06:59:27 -06:00
Cohee
814ed49c31 #1719 Clear text nodes in rendered formulas 2024-01-21 17:27:09 +02:00
Cohee
e1deff67fc Migrate auto-connect and auto-load from localStorage 2024-01-05 20:27:19 +02:00
valadaptive
7899549754 Make "send message from chat box" into a function
Right now all it does is handle returning if there's already a message
being generated, but I'll extend it with more logic that I want to move
out of Generate().
2023-12-25 03:48:49 -05:00
Cohee
ae64c99835 Add custom caption source 2023-12-20 21:05:20 +02:00
Cohee
5734dbd17c Add custom endpoint type 2023-12-20 18:29:03 +02:00
Cohee
67dd52c21b #1309 Ollama text completion backend 2023-12-19 16:38:11 +02:00
Cohee
b0d9f14534 Re-add Together as a text completion source 2023-12-17 23:38:03 +02:00
Cohee
180061337e Merge branch 'staging' into anachronous/release 2023-12-17 21:35:49 +02:00
Cohee
61e87d562f Add confirmation for regen with keystroke 2023-12-17 21:27:33 +02:00
RossAscends
a88cf1552a add check for uparrow hotkey to see if last_mes edit buttons are visible 2023-12-17 23:19:20 +09:00
RossAscends
b0907d23cc Merge branch 'staging' of https://github.com/Cohee1207/SillyTavern into staging 2023-12-17 20:18:53 +09:00
RossAscends
3d1bbd94e1 allow msg edit hotkey when user is last 2023-12-17 20:18:51 +09:00