Commit Graph

84 Commits

Author SHA1 Message Date
ab5e555d62 Add reverse proxy to presets. #345 #109
Remove token breakdown from OAI options (it's now globally active).
2023-05-19 18:31:59 +03:00
b626417a73 Merge branch 'main' into dev 2023-05-19 12:14:11 +03:00
7e59745dfc buffers partial SSE messages from Readable 2023-05-19 03:20:27 -05:00
0d1f291003 Add /sendas command 2023-05-18 18:49:49 +03:00
cb43fe13aa Somewhat usable system message narrator 2023-05-17 20:24:35 +03:00
741c7b6568 Merge branch 'dev' of github.com:Cohee1207/SillyTavern into dev 2023-05-15 16:14:00 -03:00
dade3fa17d Merge branch 'dev' of https://github.com/SillyLossy/TavernAI into dev 2023-05-14 19:47:34 +03:00
6a94bb5063 Old anchors removed 2023-05-14 19:47:32 +03:00
133caa58d2 add in process files for OAI tokenization merge 2023-05-15 01:45:36 +09:00
30a43f96de OAI token itemization WIP (integrate PR299) 2023-05-15 01:08:45 +09:00
1b2e113a34 Feature: Auto Swipe 2023-05-13 22:15:47 -03:00
e374703798 Refactor API keys handling. Remove ST hosting from colab 2023-05-11 21:08:22 +03:00
22f4e6f1fe Fixed trailing whitespace on join 2023-05-09 13:51:01 -03:00
941781719b Fix: extra space on prompt (due to join(" ") on array) 2023-05-09 13:38:18 -03:00
14105bc4dd More reliable bias cancellation 2023-05-07 15:55:44 +03:00
28b5aa75a4 #255 Fix WI tokenization if character is not selected 2023-05-07 15:36:55 +03:00
7f718e09be #228 Don't use a selected tokenizer for parallel prompt building of OAI prompts 2023-05-06 15:30:15 +03:00
9d94936e3e Merge pull request #242 from random-username-423/dev
Add top_p to OpenAI parameters UI
2023-05-06 13:24:33 +03:00
7453eb8872 #228 Add delay microtasks in OAI tokenization to unblock the CPU thread during prompt building 2023-05-06 13:19:22 +03:00
a61369b52a Avoid an empty line in OpenAI when bottom anchor is empty 2023-05-06 00:25:53 +02:00
20f43b2c17 Fix bottom anchor never being included for OpenAI 2023-05-06 00:25:53 +02:00
a5ae9cc7fb Simplify message owner checks a bit 2023-05-06 00:25:53 +02:00
f86f42fad7 Add top_p to OpenAI parameters UI 2023-05-06 00:49:47 +09:00
e639666b34 Move chat renaming logic to server side. Add "quiet" reply generation mode. 2023-05-03 21:02:23 +03:00
fcd8a8886b Add OAI preset deletion button. Nicer OAI models dump. Adjust auto-connect delay 2023-05-02 22:42:39 +03:00
d159ddf4d1 Properly highlight last OpenAI message 2023-05-02 18:05:24 +03:00
2f55b11afe Atomic treatment of message examples blocks in OpenAI 2023-05-01 20:46:28 +02:00
3f37de699a Revert "#210 [OAI] Don't insert example dialogues without bots"
This reverts commit 7b9e042589.
2023-05-01 16:56:27 +02:00
7b9e042589 #210 [OAI] Don't insert example dialogues without bots 2023-05-01 17:15:16 +03:00
22f2c11d6b Merge pull request #208 from bf62963/dev 2023-05-01 12:25:40 +03:00
29cfa97ddc Fix group chat member names in openai.js
Group members are not by card name, so look up the actual character name instead
2023-05-01 04:14:42 -04:00
7a1c543ec5 Quick Fix to Enable Using gpt-4-0314 2023-05-01 03:53:27 +00:00
6615d94051 Rename character as a group member.
Unify CSRF headers usage in fetch request.
2023-04-30 22:36:18 +03:00
e57f53c2fb - smart OAI reverse proxy warning 2023-05-01 02:00:13 +09:00
7babc1cafe Handholding message for broke 2023-04-29 23:21:19 +03:00
57a5fc8ea8 Minor spelling mistake 2023-04-29 20:45:04 +03:00
d625f1386e Do not act as if forEach can iterate beyond the chat array 2023-04-29 13:31:26 +02:00
303e183cda Fix disappearing personality and unreliable anchors when swiping or with system messages 2023-04-29 13:31:26 +02:00
a71b8967ac Deduplicate code for substitution in the story and the first message 2023-04-29 13:29:15 +02:00
717c14801d Define bottom anchor threshold in one place 2023-04-29 13:13:42 +02:00
f2d4b5ba76 Remove redundant checks for personality insertion and fix a stray space in OpenAI prompt 2023-04-29 13:13:41 +02:00
443682a7f3 Add import/export/deletion of logit bias presets 2023-04-24 19:40:02 +03:00
141a60f5f0 Add logit bias 2023-04-23 21:54:21 +03:00
99b6571e32 Change default JB prompt 2023-04-23 19:24:50 +03:00
388d982040 Add OpenAI API usage 2023-04-23 18:48:46 +03:00
f25ecbd95c Add proper processing of streaming aborting 2023-04-21 20:29:18 +03:00
4f9cbe5a5d Add GPT4 32K option 2023-04-21 23:11:35 +08:00
a563a45bf0 Send example dialogues as system messages with names 2023-04-15 20:05:58 +03:00
e3b9c24d8c Save OAI preset based on current settings 2023-04-15 19:47:41 +03:00
648f2e9ceb Bug fixes and optimizations 2023-04-15 13:45:25 +03:00