1426 Commits

Author SHA1 Message Date
Cohee
252043ae11 Move code for cleaner diff 2024-12-21 17:33:18 +02:00
Cohee
85ce522270 Remove invalid style 2024-12-21 17:24:54 +02:00
Cohee
2fbe689605 Implement autofit for edit textarea 2024-12-21 16:47:25 +02:00
Cohee
94de9411b6
UI performance fixes (#3207)
* Optimize visibility checks for burger and wand menus

* Optimize message actions visibility toggle

* Run drawer toggle in animation frame

* Replace jQuery slideToggle with a 3rd-party lib

* Refactor export button functionality to manage popup state with a boolean flag

* Do not close the pinned drawer on unpin

* Revert "Do not close the pinned drawer on unpin"

This reverts commit e3b34e9a586db853dd84809f4187d5b29cb9ac36.

* Refactor slideToggle options

* ease-in-out

* Don't skip frame on drawer toggle
2024-12-20 22:20:46 +02:00
Cohee
1dd97c139e Text Completion: Improve generic source model display 2024-12-20 20:59:36 +02:00
Cohee
7e7b3e30c4
Tool Calling: Implement stealth tool defintions (#3192)
* Tool Calling: Implement stealth tool defintions

* Move isStealth check up

* Always stop generation on stealth tool calls

* Image Generation: use stealth flag for tool registration

* Update stealth property description to clarify no follow-up generation will be performed

* Revert "Image Generation: use stealth flag for tool registration"

This reverts commit 8d13445c0b66e4c0ef1ddcfaf18ab185464de600.
2024-12-19 21:17:47 +02:00
Cohee
7eacdac665 Add bypass status check for Generic TC API type 2024-12-16 21:29:41 +02:00
Cohee
756f88b5aa Merge branch 'staging' into tc-split-generic 2024-12-14 15:24:10 +02:00
Cohee
3167019faf Add generic text completion API type (100% OAI compatible) 2024-12-13 01:12:10 +02:00
Cohee
47dea8159e Merge branch 'staging' into inject-filter 2024-12-12 23:35:23 +02:00
Cohee
0849cfca98 Remove unused imports 2024-12-06 22:13:34 +02:00
Cohee
0da4590597 Merge branch 'staging' into getcontext-typed 2024-12-06 21:31:53 +02:00
Cohee
3ed095bb0e
Merge pull request #3154 from SillyTavern/optimize-past-swipes
Optimize past swipes
2024-12-06 21:31:19 +02:00
Cohee
1a8e37d3a5 Remove counter hide on right swipe 2024-12-06 20:54:45 +02:00
Cohee
d6f34f7b2c Add prompt injection filters 2024-12-06 19:53:02 +02:00
Cohee
77841dbc21 Add types for SillyTavern.getContext 2024-12-06 16:41:26 +02:00
Cohee
3502bfcaa0 Add {{groupNotMuted}} 2024-12-05 22:57:02 +02:00
Cohee
23a10fdc22 Optimize past swipe counters performance 2024-12-05 15:32:30 +00:00
Cohee
41a3035a2a Use filter order in group candidates list 2024-12-04 15:22:53 +00:00
Cohee
79700fd983 Add Kobold Lite chats import 2024-12-04 00:44:50 +02:00
Cohee
69da293fb9 Show used preset in itemization dialog 2024-12-03 23:27:39 +02:00
Cohee
b08cdffc64 Add {{lastGenerationType}} macro 2024-12-02 01:39:57 +02:00
Cohee
8e94589f83 Revert keepContextLock flag in setGenerationParamsFromPreset 2024-12-01 15:13:17 +02:00
Cohee
c930a66d81 Merge branch 'staging' into 202411-backend-maxctx 2024-12-01 14:39:01 +02:00
Cohee
56c99000c4 Split auto-switch toast 2024-11-30 18:21:15 +02:00
Cohee
4a7a11dfd5 Add JSdoc for function 2024-11-30 18:19:31 +02:00
Cohee
8e20ebb534 Run eslint 2024-11-30 18:14:46 +02:00
Joe
f4ef9697e9 Account for optional cache and remove timing code 2024-11-26 20:07:30 -08:00
Joe
1395c0b8c6 Encapsulate logic into filters instead of spreading around 2024-11-26 19:47:09 -08:00
Joe
78c55558af Merge branch 'staging' of https://github.com/joenunezb/SillyTavern into optimize/improve-search 2024-11-26 18:00:28 -08:00
Karl-Johan Alm
e02f57b7b0
respect context unlocked flag when auto-setting context size 2024-11-26 10:00:52 +09:00
Karl-Johan Alm
4988f22e94
feature: allow auto-use of max context size given by backend 2024-11-25 23:08:11 +09:00
Joe
e1d6a47048 Remove key hashing and explicitly clear the cache after printing characters 2024-11-24 14:54:12 -08:00
Cohee
70c45fb001 Merge branch 'staging' into fix/connRefusedErrMsg 2024-11-24 01:41:15 +02:00
Cohee
803b7fca89 Remove custom header 2024-11-23 17:50:32 +02:00
Cohee
b9cc763d51 Fix typo in file name 2024-11-23 17:30:50 +02:00
Cohee
2e661c36e5 Check for response ok 2024-11-23 16:01:14 +02:00
ceruleandeep
0383ea52e9 Linting and commenting
Linting and commenting

Linting and commenting

Linting and commenting

Linting and commenting
2024-11-22 11:55:27 +11:00
Karl-Johan Alm
3789381c6c
added substr derivations with one example 2024-11-21 13:14:33 +09:00
Karl-Johan Alm
c30dde8471
rename /chat_template to /props, and switch to non-trimmed hashes 2024-11-21 11:38:57 +09:00
Karl-Johan Alm
50ffaeb06a
UI: add UI to enable/disable auto-derived templates 2024-11-20 13:28:17 +09:00
Karl-Johan Alm
f25ea9f6d6
template derivation: move hash part to backend 2024-11-19 20:09:29 +09:00
Karl-Johan Alm
0e2fdf37a8
feature: derived templates
This PR adds a simple hash based method for picking context and instruct templates based on the chat template, when provided by the back end.
2024-11-19 17:27:25 +09:00
Yokayo
9d664bc679 Update tl 2024-11-06 01:33:24 +07:00
Cohee
266752bf93 Fix new character highlight 2024-11-04 00:41:59 +02:00
Cohee
5c90c8b1f6 Add post-process fn to evaluation 2024-11-02 00:44:12 +02:00
Cohee
b837c482fc
Merge pull request #3029 from P3il4/staging
Optimize chat manager logic
2024-11-01 20:17:29 +02:00
Cohee
07feccbe35 koboldcpp: parse logprobs 2024-11-01 11:38:31 +02:00
Cohee
a8ff518b65 Add a space to message counter 2024-10-31 20:50:22 +02:00
Cohee
6e36b77f1a Remove TAI artifact 2024-10-31 19:57:29 +02:00