Commit Graph

53 Commits

Author SHA1 Message Date
406724f200 Disable server-side WI entirely 2023-02-21 16:22:28 +02:00
53bfce557f Replace implementation of world info 2023-02-20 18:19:46 +02:00
94d4b06dc7 Merge branch 'TavernAI:main' into main 2023-02-19 12:43:51 +02:00
Ash
a104082943 ip checking whitelist fix 2 2023-02-18 20:17:35 +04:00
Ash
f24fd58710 ip whitelist fix 2023-02-18 19:54:44 +04:00
Ash
6cf2d95144 ip whitelist check fix 2023-02-17 02:58:07 +04:00
Ash
7b9837fd06 fix 2023-02-17 02:42:49 +04:00
7cf902b7d2 Add async error handling 2023-02-16 13:01:11 +02:00
2989f9566d Merge branch 'TavernAI:main' into main 2023-02-15 17:41:02 +02:00
f60f2cb7a7 Uncomment set of boolean fields on Kobold WI 2023-02-15 14:35:31 +02:00
Ash
dbcc628d53 Merge branch 'main' of https://github.com/TavernAI/TavernAI
# Conflicts:
#	server.js
2023-02-15 15:36:42 +04:00
Ash
366f235c02 @1.2.8:
1) Security update: https://github.com/TavernAI/TavernAI/security/advisories/GHSA-25wp-82wc-xchj
2) Fixed several bugs related to character import: now all imported characters are added to the top of the list.
3) Fixed a bug that duplicated character cards if the character name and map name did not match.
4) Made minor fixes for prompt formatting.
5) Added the ability to enable/disable TavernAI autostart in the browser through the configuration file.
6) Adapted for Pygmalion Dev.
2023-02-15 15:33:06 +04:00
d6e6f9520d Hide SPs select for now, refactor async endpoints 2023-02-15 11:08:01 +02:00
41c32fd12f Merge remote-tracking branch 'origin/softprompt' 2023-02-15 02:21:44 +02:00
338de3f042 Merge remote-tracking branch 'upstream/main' 2023-02-15 02:19:57 +02:00
44e7d2ab01 Remove Cookie secure options
almost server is not using https, so disable it.
2023-02-15 07:01:51 +09:00
Ash
cb00faa570 Merge branch 'HEAD' of https://github.com/TavernAI/TavernAI 2023-02-14 23:11:24 +04:00
Ash
baabea2c55 colab 2023-02-14 23:11:06 +04:00
8b7b51ffad Merge pull request #46 from ZoltanAI/main
Improve JSON import
2023-02-14 22:25:16 +04:00
1041fb77f7 Apply CORS Settings 2023-02-14 20:05:51 +09:00
9490c898c9 Implementats CSRF Token 2023-02-13 23:54:08 +09:00
0eb8aecdb2 Merge branch 'TavernAI:main' into softprompt 2023-02-12 22:34:42 +02:00
38d83c7eec Add softprompts selector 2023-02-12 18:11:33 +02:00
2389cd91b4 Fix settings resetting. Hide secondary key unless selective 2023-02-12 13:47:36 +02:00
d09e3d114c #21 Add world info editor 2023-02-12 00:01:54 +02:00
3c295cff77 Improve JSON import
Prefer TavernAI JSON format
Import all TavernAI JSON properties
Handle missing or null fields
2023-02-11 14:42:53 +00:00
bea28c1845 #21 Add world info export, edit popup and deletion 2023-02-10 23:26:53 +02:00
1e48220711 #21 Add basic upload of world infos. Add info Note 2023-02-10 18:12:19 +02:00
d79d4f83f9 Fix resetting world info for None option 2023-02-10 13:50:26 +02:00
0c77d41fa6 Merge branch 'worldinfo' of https://github.com/SillyLossy/TavernAI into worldinfo 2023-02-10 11:14:41 +02:00
26790f9b3c More tidy for PR 2023-02-10 11:14:30 +02:00
a76a47c541 Remove unused array 2023-02-09 23:33:23 +02:00
3850477814 #21 Add saving/loading of selected world info from local settings. Improve syncronization. Add status of world info (buggy rn) 2023-02-09 22:13:37 +02:00
c760ba54f2 #21 Adds basic support of World Info files loading and synchronization with Kobold API 2023-02-09 18:38:00 +02:00
2aa9af07a9 Merge branch 'TavernAI:main' into worldinfo 2023-02-09 12:26:50 +02:00
06dc120c22 Add function template for world info generation 2023-02-09 12:25:04 +02:00
Ash
0a13b2da53 security update 2023-02-09 13:55:18 +04:00
Ash
e451bdf4d0 @1.2.7
The bug with multigen 100+ token has been fixed.
The replacement of <USER>, {{user}}, <BOT>, {{char}} in Description, First message, Personality Summary and Scenario has been added.
Added full Markdown support.
The behavior of scrolling the chat to the cursor when editing a message has been fixed.
The offline functionality of TavernAI has been fixed.
2023-02-05 18:12:18 +04:00
Ash
4ae387be93 Colab fix 2023-02-02 00:19:01 +04:00
Ash
95a2c736cf Colab fix 2023-02-02 00:06:45 +04:00
Ash
f96bc01d9b Colab and any fix 2023-02-01 23:55:01 +04:00
Ash
18732874dc Set route for compilation 2023-01-30 12:20:14 +04:00
b695107b39 Fix issue PayloadTooLarge 2023-01-28 14:53:12 -06:00
Ash
e23a0d2a93 @1.2.5 CAI Import chat fix 2023-01-28 15:42:40 +04:00
Ash
e63968212c Example message context fix
The default size of avatars has been changed to a larger one
2023-01-26 20:40:43 +04:00
Ash
680dada017 For auto launch 2023-01-26 13:33:50 +04:00
Ash
741f4c41f9 Merge branch 'main' of https://github.com/TavernAI/TavernAI 2023-01-26 13:26:52 +04:00
Ash
f950972468 for merge 2023-01-26 13:24:00 +04:00
ab87fdec38 Open automatically in browser
Uses the open module to launch Tavern once it's ready in the browser.
2023-01-26 03:02:28 -05:00
Ash
7b87227cd2 Update 1.2.0 Theme of update: Characters
1) Character files now represent images, all data about the characters is located within the image file. This makes it easy to exchange characters.

You do not need to redesign your old characters in the new format, the conversion will happen automatically, old character files will not be deleted

2) Import function for characters is available, you can also import characters in the old TavernAI .json format, and you can also import characters from the Pygmalion notebook format

3) Export function for characters is available

4) The chat structure has been completely redesigned, now chats are located in the public/chats folder, chats now represent jsonl files, messages can be read one line at a time from such a file, this will help for future optimization when there are many messages

5) A new menu for selecting saved TavernAI chats is now available

Importing TavernAI chats is now available

Importing chats from CAI is now available

6) Additional advanced settings have been added for characters. A "Scenario" field has been added, as well as a "Dialogue Examples" field

7) Full support for the Pygmalion format has been added

A indicator now appears when special formatting for Pygmalion is enabled

8) Many other minor bugs have been fixed

To update an old version to version 1.2.0, you simply need to copy files with replacement.
2023-01-24 17:30:40 +04:00