Commit Graph

35 Commits

Author SHA1 Message Date
7ce52046fd New toggle features: Auto-Connect & Auto-Load-Chat
1. new function - Auto-connect to API
2. new function - Auto-load last character/chat

Both of these have toggles in the right menu at the bottom in a "Power user options" section.

Both only load if settings.json has a pre-defined setting for them. (won't fire on first load after install)
2023-03-04 04:00:40 +09:00
b856e2f566 A little error-proofing to chat loading and history viewing
1. revised the new date format (reformatted to be a function so it would return new dates each time called)

2. re-added new date format functionality as I had previously rolled it back while debugging the avatar loading issues discovered in last push.

3. resolved some issues related to loading past chats for bots with no chat save files. Usually this wouldn't happen, as a new (or previous) chat is loaded each time the character is selected. But in cases where the files are deleted after being created, the chat history loading screen would remain in a 'loading.svg' loop. I added errorhandling to avoid this, and to kick GetAllCharaChats() from trying to read empty arrays.

4. increased potential size of past chats popup box
2023-03-03 11:36:57 +09:00
751647461e Fixed broken character avatar updates + settings panel tooltips
1. Due to a mistake on my end character avatars were not updating real time. This has been fixed.

2. added some tooltips to icons and buttons on the right nav panel.

3. resized the New Character and Import Character buttons
2023-03-03 07:26:21 +09:00
cfa642507f Chat Filename Humanization + Larger Past Chats Box
1. Replaced all Date.now() instances with a humanized ISO8601 timestamp that is easily readable by users.

This has a seamless effect on the  embedded timestamping of chat mesages. Old chat files can still be edited (messages deleted), and continued.

Character PNG files get updated with the new date format, and this will be reflected in github but there is no functional change to the user.

2. Added character name to the front of all newly saved/imported chat files. Old chats will retain their original filename unless re-imported.

With these two changes, the new chat filenames are as such:

"Aqua - 2023-3-3 @03h 08m 36s 948ms.jsonl"

(I would like to make it smaller, perhaps by removing the milliseconds. Let me know if this is possible, or if it would introduce potential overwrites if users make/update files within the same second.)

3. Increased the size of the 'view past chats' popup box to max 800px so accommodate the new larger filenames.
2023-03-03 03:48:30 +09:00
02330b4d12 Ross CSS 1.2.8 + hotkeys take 3 2023-02-25 05:36:41 +09: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
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
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
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
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
Ash
7b228eead7 @1.1.1
1) Pygmalion support
2023-01-11 04:40:29 +04:00
Ash
fbf2d5fc00 @1.1.0
1)NovelAI support
2)Changing your character name
3)Repetition Penalty has been moved to the main settings
4)Added Pro settings (Anchors Order)
5)Max Context and Amount Gen have been added to the Pro Settings
6)Editing messages
7)New backgrounds
2023-01-08 17:18:10 +04:00
a417031af4 main 2022-12-22 07:22:29 +04:00