Commit Graph

53 Commits

Author SHA1 Message Date
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
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
e350c460b8 fixed typo in OAI impersonation string 2023-04-14 13:21:38 +09:00
31521f41aa Adjust styles 2023-04-14 01:19:20 +03:00
b72d6566ea Impersonation mode for OAI 2023-04-14 00:35:23 +03:00
48e4e408a4 - ai config ranges more compact
- fixed misuse of range-block-range class on text areas
2023-04-12 14:58:00 +09:00
2040b8d3ff OAI streaming 2023-04-12 01:33:33 +03:00
dee813dfa7 Foundation for token streaming (non-functional at the moment) 2023-04-11 22:49:05 +03:00
f2d7f74d5a OAI reverse proxy (untested) 2023-04-10 18:44:11 +03:00
72efa08a88 Update OAI defaults 2023-04-06 13:05:14 +03:00
b295f5a49d Preset settings for OAI #23 2023-04-04 20:50:24 +03:00
488edf38c9 Fix OAI preset not displaying on save 2023-04-03 12:13:30 +03:00
d79d7576bd Migrate advanced formatting settings to settings.json 2023-04-02 21:59:28 +03:00
cf9af364fb Preselect preset based on character name 2023-04-02 20:50:45 +03:00
006c5b63cc OpenAI presets saving (presumably) 2023-04-02 17:13:20 +03:00
885ef0c37c Save some OAI tokens 2023-04-01 03:11:20 +03:00
3acb43a7a4 Placeholders are not working in A/N / some extra suggestions about it SillyLossy/TavernAI#18 2023-03-31 20:56:41 +03:00
ef52e20986 made bias triggering stricter
{ } >>> {{ }}
2023-03-31 23:31:08 +09:00
94abd80bb2 Experimental: always pad tokens in OpenAI 2023-03-31 10:43:11 +03:00
1541683492 Add caching of OAI messages tokens 2023-03-30 19:11:42 +03:00
ca889b420a Add jailbreak as a system message option 2023-03-28 21:13:52 +03:00
cd4f699e74 Allow zero depth for floating prompt 2023-03-28 17:49:02 +03:00
ae7e21d6c5 Async OAI tokenization 2023-03-28 17:44:28 +03:00
2c4876ac39 Adjust max tokens based on OAI model 2023-03-28 16:44:26 +03:00
9c31ab0039 Save prompts should actually work 2023-03-27 21:56:38 +03:00
9b3613c63c Add author's note to floating prompt extension 2023-03-27 01:43:46 +03:00
f14a1cb7e9 Fixes for OpenAI groups 2023-03-26 14:57:47 +03:00
d1ece06028 Fix token counters 2023-03-24 22:37:22 +02:00
4f0e9ab417 Make groups on OAI work 2023-03-24 22:21:33 +02:00
a46e7a30bd Don't propagate api button click events to prevent closing the drawer 2023-03-23 11:23:36 +02:00
2e5244eec4 Force disable streaming 2023-03-22 12:42:04 +02:00
4e2bc3e80a OpenAI fixes 2023-03-22 12:29:07 +02:00
fd14855da9 New icon for connection. Note page for OAI key. Fix swipes with OAI. OAI model selection. 2023-03-22 02:18:57 +02:00