mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
fixed typos in readme and RA-mod.js comments
This commit is contained in:
@@ -271,18 +271,14 @@ $("document").ready(function () {
|
|||||||
$(AutoConnectCheckbox).prop("checked",LoadLocalBool("AutoConnectEnabled"));
|
$(AutoConnectCheckbox).prop("checked",LoadLocalBool("AutoConnectEnabled"));
|
||||||
$(AutoLoadChatCheckbox).prop("checked",LoadLocalBool("AutoLoadChatEnabled"));
|
$(AutoLoadChatCheckbox).prop("checked",LoadLocalBool("AutoLoadChatEnabled"));
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//AutoLoadChat and AutoConnect must be loaded on a small delay after page load to allow getSettings to fill out what they need
|
|
||||||
if (LoadLocalBool('AutoLoadChatEnabled') == true) {
|
if (LoadLocalBool('AutoLoadChatEnabled') == true) {
|
||||||
console.log('calling RA_ALC');
|
console.log('calling RA_ALC');
|
||||||
RA_autoloadchat();
|
RA_autoloadchat();
|
||||||
}
|
}
|
||||||
|
//Autoconnect on page load if enabled, or when api type is changed
|
||||||
if (LoadLocalBool("AutoConnectEnabled") == true) {RA_autoconnect()}
|
if (LoadLocalBool("AutoConnectEnabled") == true) {RA_autoconnect()}
|
||||||
|
|
||||||
$("#main_api").change(function () {RA_autoconnect();});
|
$("#main_api").change(function () {RA_autoconnect();});
|
||||||
|
|
||||||
$("#api_button").click(function () {setTimeout(RA_checkOnlineStatus, 100);});
|
$("#api_button").click(function () {setTimeout(RA_checkOnlineStatus, 100);});
|
||||||
|
|
||||||
//close the RightNav panel when user clicks outside of it or related panels (adv editing popup, or dialog popups)
|
//close the RightNav panel when user clicks outside of it or related panels (adv editing popup, or dialog popups)
|
||||||
|
30
readme.md
30
readme.md
@@ -1,16 +1,19 @@
|
|||||||
## RossAscends 1.2.8 mods ported into Silly TavernAI 1.2.8
|
## RossAscends mods ported into SillyLossy's TavernAI 1.2.8
|
||||||
|
|
||||||
|
|
||||||
<img width="400" alt="image" src="https://user-images.githubusercontent.com/18619528/224549531-ab30db22-fe33-49c5-81a8-945c543a1e05.png">
|
<img width="400" alt="image" src="https://user-images.githubusercontent.com/18619528/224549531-ab30db22-fe33-49c5-81a8-945c543a1e05.png">
|
||||||
|
|
||||||
## This branch includes:
|
## This branch includes:
|
||||||
* Base TavernAI 1.2.8
|
* Base TavernAI 1.2.8
|
||||||
* SillyLossy's extensive 1.2.8 modifications and functions (
|
* SillyLossy's extensive 1.2.8 modifications and functions
|
||||||
* World Info
|
* World Info
|
||||||
* OobaBooga's TextGen WebUI API connection
|
* OobaBooga's TextGen WebUI API connection
|
||||||
* Soft prompts
|
* Soft prompts
|
||||||
* Character emotional expressions
|
* installing SillyLossy's TAI-extras will give support for
|
||||||
* Auto-Summary of the chat history
|
* Character emotional expressions
|
||||||
|
* Auto-Summary of the chat history
|
||||||
|
* sending images to chat, and the AI interpreting the content.
|
||||||
|
|
||||||
|
|
||||||
...and...
|
...and...
|
||||||
|
|
||||||
@@ -25,8 +28,7 @@
|
|||||||
* Ctrl+Right = clear locally stored variables.
|
* Ctrl+Right = clear locally stored variables.
|
||||||
* Ctrl+enter = Regenerate last AI response.
|
* Ctrl+enter = Regenerate last AI response.
|
||||||
|
|
||||||
* No more page refresh on character deletion
|
* User Name Changes and Character Deletion no longer force the page to refresh.
|
||||||
* No more page refresh on user name change
|
|
||||||
|
|
||||||
* Toggle option to automatically connect to API on page load (currently only for Kobold)
|
* Toggle option to automatically connect to API on page load (currently only for Kobold)
|
||||||
* Toggle option to automatically load the most recently viewed character on page load
|
* Toggle option to automatically load the most recently viewed character on page load
|
||||||
@@ -40,14 +42,16 @@
|
|||||||
* Clicking the Lock on the nav panel will hold the panel open, and this setting be remembered across sessions.
|
* Clicking the Lock on the nav panel will hold the panel open, and this setting be remembered across sessions.
|
||||||
* Nav panel status of open or closed will also be saved across sessions.
|
* Nav panel status of open or closed will also be saved across sessions.
|
||||||
|
|
||||||
|
* Supports saving a shortcut to iOS homescreens and opening in fullscreen mode from that bookmark.
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
*NOTE: This branch is intended for local install purposes, and has not been tested on a colab or other cloud notebook service.*
|
*NOTE: This branch is intended for local install purposes, and has not been tested on a colab or other cloud notebook service.*
|
||||||
|
|
||||||
1. install [NodeJS](nodejs.org)
|
1. install [NodeJS](nodejs.org)
|
||||||
2. download the zip from this github
|
2. download the zip from this github repo
|
||||||
3. unzip it into a folder of your choice
|
3. unzip it into a folder of your choice
|
||||||
4. run start.bat with aby double clicking or in a command line.
|
4. run start.bat via double clicking or in a command line.
|
||||||
5. Once the server has prepared everything for you, it will open a tab in your browser.
|
5. Once the server has prepared everything for you, it will open a tab in your browser.
|
||||||
|
|
||||||
## Remote connections
|
## Remote connections
|
||||||
@@ -56,21 +60,21 @@ Most often this is for people who want use TAI on their mobile phones while at h
|
|||||||
If you want to enable other devices to connect to your TAI server, open 'config.conf' in a text editor, and change:
|
If you want to enable other devices to connect to your TAI server, open 'config.conf' in a text editor, and change:
|
||||||
|
|
||||||
```
|
```
|
||||||
const whitelistMode = false;
|
const whitelistMode = true;
|
||||||
```
|
```
|
||||||
to
|
to
|
||||||
```
|
```
|
||||||
const whitelistMode = true;
|
const whitelistMode = false;
|
||||||
```
|
```
|
||||||
Save the file.
|
Save the file.
|
||||||
Close, then restart your TAI server.
|
Restart your TAI server.
|
||||||
|
|
||||||
You will now be able to connect from other devices.
|
You will now be able to connect from other devices.
|
||||||
***Disclaimer: Anyone else who knows your IP address and TAI port number will be able to as well***
|
***Disclaimer: Anyone else who knows your IP address and TAI port number will be able to as well***
|
||||||
|
|
||||||
To connect over wifi you'll need your PC's local wifi IP address
|
To connect over wifi you'll need your PC's local wifi IP address
|
||||||
- (For Windows: windows button > type 'cmd.exe' in the search bar> type 'ipconfig' in the consol, hit Enter > "IPv4" listing)
|
- (For Windows: windows button > type 'cmd.exe' in the search bar> type 'ipconfig' in the console, hit Enter > "IPv4" listing)
|
||||||
if you want other people around the internet to connect, check [here](https://whatismyipaddress.com/) for 'IPv4'
|
if you want other people on the internet to connect, and check [here](https://whatismyipaddress.com/) for 'IPv4'
|
||||||
|
|
||||||
## Questions or suggestions?
|
## Questions or suggestions?
|
||||||
Contact me on Discord: RossAscends#1779
|
Contact me on Discord: RossAscends#1779
|
||||||
|
Reference in New Issue
Block a user