Commit Graph

187 Commits

Author SHA1 Message Date
Cohee
e77da62b85 Add padding to cache key. Fix Safari display issues. Fix 400 on empty translate. Reset bias cache on changing model. 2023-08-23 10:32:48 +03:00
Cohee
b385bd190a Less strict rules for logit bias files import 2023-08-23 03:41:58 +03:00
Cohee
f633f62065 Don't save null values to OpenAI logit bias 2023-08-23 03:36:04 +03:00
Cohee
bc5fc67906 Put tokenizer functions to a separate file. Cache local models token counts 2023-08-23 02:38:43 +03:00
Cohee
7250770c5d Don't reduce Claude token counts by 2 2023-08-22 23:20:53 +03:00
Cohee
41cc86af9f Add example extension for chat variables. Allow registering custom text processing functions for extensions 2023-08-22 17:46:37 +03:00
based
3716fd51ef add example names to initial system prompt 2023-08-22 22:29:57 +10:00
based
ba925f388c added more options to the scale request 2023-08-22 21:29:18 +10:00
based
06902279a9 merge 2023-08-22 21:17:18 +10:00
Cohee
57b126bfbf Save chat completions settings to an object. Update numeric setting types 2023-08-22 00:35:46 +03:00
maver
cb5b410daf Fix group nudge causing error 2023-08-20 20:18:10 +02:00
Cohee
be6fedd626 Simplify Claude prefill code 2023-08-20 19:26:49 +03:00
Cohee
a27bef8b12 Merge branch 'staging' into qolfeatures 2023-08-20 18:47:43 +03:00
Cohee
c2c0007ad1 Merge pull request #982 from SillyTavern/prompt-manager-hotfix
Prompt manager hotfix
2023-08-20 18:41:09 +03:00
maver
07c24f363f Render prompt manager before a character is selected
When prompt order strategy is global
2023-08-20 16:28:42 +02:00
maver
58ab266365 Make sure new example chat is not added without messages 2023-08-20 15:53:42 +02:00
maver
5fee1f6f96 Add group nudge to prompts array 2023-08-20 15:35:15 +02:00
maver
58a018deae Check if newExample can be afforded before adding it 2023-08-20 15:35:01 +02:00
Cohee
efa0f12349 Fix prompt manager issues 2023-08-20 16:25:16 +03:00
Cohee
9d495d6b47 Merge pull request #981 from SillyTavern/hotfix-prompt-manager
Hotfix prompt manager
2023-08-20 15:38:54 +03:00
based
7ecc0295dc scale cookie method 2023-08-20 20:55:37 +10:00
Cohee
674228a5f5 Fix character JB / prompt + Original 2023-08-19 21:36:22 +03:00
based
b3377726c4 Removed unnecessary token reserve 2023-08-20 04:23:12 +10:00
Cohee
0d7c1992f3 Deep clone presets before export 2023-08-19 21:17:58 +03:00
Cohee
5cecc9fbff Scrub proxy from exported presets
Speed-up animations.
2023-08-19 21:13:37 +03:00
based
c2a4e2e52a fix example dialogue nudge 2023-08-20 04:06:43 +10:00
based
6f12ab29f0 fixed {{group}} macro 2023-08-20 04:03:56 +10:00
based
6dc8f01ca7 readded group nudge to end of prompt (needs proper integration into prompt manager) 2023-08-20 03:50:51 +10:00
based
3df439a224 merge 2023-08-20 03:44:06 +10:00
based
e0de442523 Merge branch 'staging' of https://github.com/Cohee1207/SillyTavern into qolfeatures 2023-08-20 03:22:54 +10:00
based
b3751efe58 Minor AI21 bug fixes 2023-08-20 03:22:38 +10:00
based
ce40780ed1 Added option to exclude assistant prefix to Claude prompt (for jailbreaks already appending Assistant:) 2023-08-20 03:09:50 +10:00
Cohee1207
143ebec4c6 Remove console log 2023-08-19 19:08:35 +03:00
Cohee1207
e77cded357 Code clean-up 2023-08-19 18:51:20 +03:00
Cohee
438c78574f Merge pull request #971 from kingbased/jurassic
AI21 Adapter
2023-08-19 18:48:15 +03:00
based
0f21eabb6e AI21 Adapter + Tokenization implementation 2023-08-20 01:20:42 +10:00
Cohee
37fffa9930 Merge pull request #951 from SillyTavern/hotfix-prompt-manager
Hotfix prompt manager
2023-08-19 18:05:26 +03:00
maver
0084ea2461 Move sortable delay into configuration 2023-08-19 14:59:48 +02:00
Cohee1207
991ff98eaa Performance optimizations for character edit / chat opening 2023-08-19 15:58:17 +03:00
maver
b0158bd72d Implement configurable prompt order strategy for prompt manager
global and character
2023-08-19 14:50:39 +02:00
maver
cc01ee6c1c Print stack to console on chatcompletion error 2023-08-19 14:50:39 +02:00
maver
947289dffc Lock up configuration during prompt manager render 2023-08-16 19:01:09 +02:00
maver
07be5588f4 Implement configurable prompt order strategy for prompt manager
global and character
2023-08-15 19:41:34 +02:00
maver
e09a7d1e7a Print stack to console on chatcompletion error 2023-08-15 19:40:22 +02:00
Cohee
2afac5aeb1 Filter null messages in array and context line appearing unprompted 2023-08-15 15:08:42 +03:00
Cohee
706be4390d Add new Claude instant model 2023-08-15 14:57:11 +03:00
maver
2bb8fa5ea1 Update quick edit textareas when prompt manager re-renders 2023-08-15 01:20:42 +02:00
Cohee
238b667262 Merge branch 'staging' of https://github.com/SillyLossy/TavernAI into staging 2023-08-14 22:19:17 +03:00
Cohee
3850e6b50a Replace object stores for Chroma and token cache 2023-08-14 22:19:14 +03:00
maver
033dc45ab9 Move quick edit ui identifiers into configuration 2023-08-14 20:29:01 +02:00