Commit Graph

124 Commits

Author SHA1 Message Date
Cohee
ea01247bcf #1090 Save Kobold/ooba servers history 2023-09-08 22:44:06 +03:00
Cohee
322511caa9 Remove legacy Pygmalion formatting, part 2 2023-09-06 14:19:29 +03:00
Cohee
4f1130260c Backend for sorting by create date field 2023-08-31 19:30:56 +03:00
Cohee
019c47adc6 #1068 Display token counts on generated messages 2023-08-31 17:10:01 +03:00
Cohee
05f3a5d8a1 #1041 Auto-fix displayed markdown for unbalanced quotes/asterisks 2023-08-31 14:39:31 +03:00
Cohee
10148167ba Option to disable group impersonation ban. Hide CFG for simple UI 2023-08-30 16:31:53 +03:00
Cohee
44f88c61ff Add simplified UI switch 2023-08-29 18:04:10 +03:00
Cohee
1bb2778f46 Fix macros replacement in custom stop strings for OAI 2023-08-29 00:47:35 +03:00
Cohee
9ce8aa661f Deprecate "After Char" position for persona description 2023-08-29 00:10:18 +03:00
Cohee
3b4e6f0b78 Add debug functions menu 2023-08-27 23:20:43 +03:00
Cohee
0844374de5 Remove old GPT-2 tokenizer. Redirect to tiktoken's tokenizer 2023-08-27 22:14:39 +03:00
Cohee
9d166db4ee Set rep pen range unlocked for bigger max context 2023-08-26 21:27:37 +03:00
Stefan Daniel Schwarz
3509e6b1d4 default context preset cannot be deleted 2023-08-26 14:52:23 +02:00
Stefan Daniel Schwarz
1d7165c047 context template preset manager 2023-08-26 12:09:47 +02:00
Cohee
bca44ba682 Conserve ending newlines in story string template 2023-08-26 01:32:39 +03:00
Cohee
fabba9370b
Merge pull request #1017 from StefanDanielSchwarz/improved-instruct-mode-sequences
improved instruct mode sequences and UI
2023-08-26 01:03:38 +03:00
Cohee
42e6da4a36 Add support of stop strings to OpenAI / Claude 2023-08-26 00:12:11 +03:00
Stefan Daniel Schwarz
3e0ce12b23 first_output_sequence and system_sequence_prefix 2023-08-25 22:34:08 +02:00
Stefan Daniel Schwarz
ca37ac679e Improved Advanced Formatting UI 2023-08-25 21:04:06 +02:00
Stefan Daniel Schwarz
be3ebcda0d improved instruct mode sequences (WIP) 2023-08-25 14:01:25 +02:00
RossAscends
ce5e706fac topbar resize, font scaling fix, mobile slider fix 2023-08-25 07:06:52 +09:00
Cohee
f5fd15ffd2 #976 Return "Continue on send". Allow continuing the first chat message. Add debug function for i18n. 2023-08-24 15:13:04 +03:00
Cohee
e2507e8840 #976 Add "quick continue" button. Remove "send to continue" option. 2023-08-24 01:37:44 +03:00
Cohee
17925423ae
Merge pull request #999 from StefanDanielSchwarz/roleplay-context
Return of the Roleplay Context
2023-08-24 00:29:05 +03:00
Stefan Daniel Schwarz
7cafa5d374 improved preset selection logic 2023-08-23 22:22:52 +02:00
Stefan Daniel Schwarz
8938ea1d72 auto select presets 2023-08-23 20:17:45 +02:00
Cohee
bc5fc67906 Put tokenizer functions to a separate file. Cache local models token counts 2023-08-23 02:38:43 +03:00
Cohee
9deaec5877 More typechecks and comments 2023-08-22 14:30:49 +03:00
Cohee
e2bac7ec5f Add type checking and JSDoc comments to some utils 2023-08-22 13:07:24 +03:00
Cohee
2615eb8532 Extract system message templates to template files 2023-08-22 10:37:18 +03:00
Cohee
92686d4ba8 Optimize WI editor header. Add entries search 2023-08-22 01:51:31 +03:00
Cohee
897ad28477 Apply preset manager for instruct presets 2023-08-21 00:56:53 +03:00
Cohee
6738ffe2a4 Add auto-select for instruct presets. Re-organize instruct mode code. Prepare for preset manager integration 2023-08-20 23:29:43 +03:00
based
e0de442523 Merge branch 'staging' of https://github.com/Cohee1207/SillyTavern into qolfeatures 2023-08-20 03:22:54 +10:00
Cohee1207
06c7b8d7d6 [WIP] Add UI for auto-select instruct 2023-08-19 20:18:39 +03:00
based
0d694dcc32 Added power user option to remove examples 2023-08-20 02:25:07 +10:00
Cohee
53dab00abe
Merge pull request #969 from StefanDanielSchwarz/end-prompt-with-newline
End Prompt with Newline
2023-08-19 18:04:01 +03:00
Cohee1207
6471ce2074 Clean-up uploads folder when possible 2023-08-19 17:43:56 +03:00
Cohee1207
991ff98eaa Performance optimizations for character edit / chat opening 2023-08-19 15:58:17 +03:00
SDS
49c6676f72
End Prompt with Newline
This change adds a trailing newline to the instruct mode prompt when "Wrap Sequences with Newline" is on and "Include Names" is off. (When "Include Names" is on, "Wrap Sequences with Newline" is already applied before.)
2023-08-19 13:54:09 +02:00
Cohee
3acd0a590e
Merge pull request #966 from StefanDanielSchwarz/simple-proxy-for-tavern-replacement
Simple proxy for tavern replacement
2023-08-19 14:35:43 +03:00
Stefan Daniel Schwarz
5e9980ea08 no space after name 2023-08-19 12:35:52 +02:00
Cohee
f27107e0ef Refactor and optimize group members display 2023-08-19 02:53:05 +03:00
Cohee
602c5cd791 Add pagination for characters list view 2023-08-18 23:13:15 +03:00
Stefan Daniel Schwarz
26e2b0c8fa Fix whitespace issues 2023-08-18 21:18:54 +02:00
Cohee
02cac8db8c Disable escaping of HTML/tags in templates 2023-08-18 13:53:54 +03:00
Cohee
c24f636a10 Add Last output sequence setting for instruct mode 2023-08-17 23:33:27 +03:00
Cohee
80092b3170 #790 Simplify local prompt formatting. Use handlebars to render story string. 2023-08-17 22:47:34 +03:00
Cohee
fa35e1185e Merge branch 'release' into staging 2023-08-15 21:51:08 +03:00
Cohee
8470acda41 Add English language option 2023-08-15 21:47:49 +03:00
Cohee
eb81c4807a Add UI locale selector 2023-08-15 21:37:56 +03:00
Cohee
869478627d Add UI locale selector 2023-08-15 21:32:17 +03:00
Cohee
15db16ee8d Fuzzy search for groups 2023-08-14 17:35:48 +03:00
city-unit
ad04344392 Api/Model icon option 2023-08-13 18:43:16 -04:00
Cohee1207
82f6d11795 Add lazy chat messages rendering 2023-08-12 13:10:50 +03:00
Cohee
1a07fa8365 [Feature Request] Can we please have <xml_tags> visibility back? #907 2023-08-10 11:47:17 +03:00
Cohee
5ac375097b Fix last prompt line 2023-08-08 17:28:31 +03:00
Cohee
508e1a06da Merge branch 'staging' of https://github.com/SillyLossy/TavernAI into staging 2023-08-08 17:11:48 +03:00
Cohee
5ba7588838 Option to disable name forcing for instruct groups and personas 2023-08-08 17:11:38 +03:00
Cohee
0cb63e689d
Merge pull request #872 from 50h100a/kai-fmt 2023-08-08 00:41:12 +03:00
50h100a
6b2455da2b setting for relaxed api urls 2023-08-04 16:49:55 -04:00
Cohee
d59d7e6c8d Fix boolean conversion 2023-08-04 18:15:42 +03:00
Stefan Daniel Schwarz
b407fe2388 custom_stopping_strings_macro toggleable option 2023-08-04 16:53:49 +02:00
Cohee
84283bc2b4 Add "Best match" tokenizer option 2023-08-04 14:17:05 +03:00
Cohee
37e653dcf4 Add toggle for persona info notifications 2023-08-03 14:24:45 +03:00
Cohee
e172f50d4f Allow /cut 0 2023-07-30 21:35:36 +03:00
50h100a
aed0dab95d Markdown fix: Don't eat verticals/newlines 2023-07-28 18:35:36 -04:00
50h100a
311249c5e0 Tilde does nothing in our markdown, remove it.
Match begin/end formatting symbol counts.
2023-07-28 18:09:54 -04:00
Cohee1207
707ce62017 Advanced Character Search #786 2023-07-28 00:38:43 +03:00
Cohee
260bb0af52 Fix opening character with id = '0' in /go and /random commands 2023-07-24 17:22:51 +03:00
Cohee
130559d499 #746 Add preset manager for ooba/kobold 2023-07-23 23:52:31 +03:00
Cohee
80fad96b1f Fix chat width when switching themes 2023-07-22 18:09:50 +03:00
Cohee1207
7205255d18 Increase default context cap for Kobold and ooba to 4k 2023-07-21 23:47:43 +03:00
Cohee
edd41989fd Initial commit 2023-07-20 20:32:15 +03:00