diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml
new file mode 100644
index 00000000..82b2713f
--- /dev/null
+++ b/.github/FUNDING.yml
@@ -0,0 +1 @@
+patreon: RisuAI
diff --git a/.github/workflows/github-actions-builder.yml b/.github/workflows/github-actions-builder.yml
index 0ca13031..4f5ac4df 100644
--- a/.github/workflows/github-actions-builder.yml
+++ b/.github/workflows/github-actions-builder.yml
@@ -1,8 +1,5 @@
name: 'publish'
-on:
- push:
- branches:
- - main
+on: [workflow_dispatch]
jobs:
publish-tauri:
@@ -11,7 +8,7 @@ jobs:
strategy:
fail-fast: false
matrix:
- platform: [ubuntu-latest,macos-latest]
+ platform: [ubuntu-latest,macos-latest,windows-latest]
runs-on: ${{ matrix.platform }}
steps:
@@ -20,7 +17,12 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 18
+ - id: set_var_win
+ if: matrix.platform == 'windows-latest'
+ run: |
+ choco install jq -y
- id: set_var
+ shell: bash
run: |
echo "VERSION_JSON=$(jq -c . < version.json)" >> $GITHUB_ENV
- name: install pnpm
@@ -36,6 +38,18 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev patchelf
+ - name: Get pnpm store directory
+ id: pnpm-cache
+ shell: bash
+ run: |
+ echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
+ - uses: actions/cache@v3
+ name: Setup pnpm cache
+ with:
+ path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
+ key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
+ restore-keys: |
+ ${{ runner.os }}-pnpm-store-
- name: install frontend dependencies
run: pnpm install --no-frozen-lockfile # change this to npm or pnpm depending on which one you use
- if: matrix.platform == 'ubuntu-latest'
diff --git a/.gitignore b/.gitignore
index 3273f754..b4dd471d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -28,4 +28,5 @@ xplugin/
/src-taurl/target/
/src-taurl/gen/
/build/
-pycache/
\ No newline at end of file
+pycache/
+test.ts
\ No newline at end of file
diff --git a/README.md b/README.md
index 2eaf07d6..0dc944cf 100644
--- a/README.md
+++ b/README.md
@@ -1,8 +1,9 @@
# RisuAI
-
+| |  |
+| --- | ----------- |
-> A AIChat Frontend like Tavern, with great accessibility. Run in web or with installer.
+> A AIChat Frontend, for both light and power users, with great accessibility. Run in web or with installer.
Web version
- Go to http://risuai.xyz/
diff --git a/package.json b/package.json
index 1bdba617..fcf73bab 100644
--- a/package.json
+++ b/package.json
@@ -14,6 +14,7 @@
"runserver": "node server/node/server.cjs"
},
"dependencies": {
+ "@adobe/css-tools": "4.3.0-beta.2",
"@dqbd/tiktoken": "^1.0.4",
"@msgpack/msgpack": "3.0.0-beta2",
"@tauri-apps/api": "1.3.0",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 8e322b1e..670f657c 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -1,6 +1,9 @@
lockfileVersion: '6.0'
dependencies:
+ '@adobe/css-tools':
+ specifier: 4.3.0-beta.2
+ version: 4.3.0-beta.2
'@dqbd/tiktoken':
specifier: ^1.0.4
version: 1.0.4
@@ -171,6 +174,10 @@ devDependencies:
packages:
+ /@adobe/css-tools@4.3.0-beta.2:
+ resolution: {integrity: sha512-VzekSqtYB+8XX8W1gNRIa1TbTXjVw64I5yLrbBP13JhwecixQzrpXWIszo7FghS9cm6FEFhzIivzwjns35DMlQ==}
+ dev: false
+
/@dqbd/tiktoken@1.0.4:
resolution: {integrity: sha512-C0HrJj2RNlsB3wslfNHGNH8xN7QQMki+y4JkUor/GE+oIfPvH7yVep9l1/2powam8AAH6+gdv5MggA5gsszweg==}
dev: false
diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json
index 84f6bfc5..1b499f4e 100644
--- a/src-tauri/tauri.conf.json
+++ b/src-tauri/tauri.conf.json
@@ -8,7 +8,7 @@
},
"package": {
"productName": "RisuAI",
- "version": "1.24.2"
+ "version": "1.26.0"
},
"tauri": {
"allowlist": {
diff --git a/src/js/DragDropTouch.js b/src/js/DragDropTouch.js
deleted file mode 100644
index 96b458ae..00000000
--- a/src/js/DragDropTouch.js
+++ /dev/null
@@ -1,486 +0,0 @@
-// The MIT License (MIT)
-
-// Copyright (c) 2016 Bernardo Castilho
-
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-
-// The above copyright notice and this permission notice shall be included in all
-// copies or substantial portions of the Software.
-
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-// SOFTWARE.
-
-//@ts-nocheck
-var DragDropTouch;
-(function (DragDropTouch_1) {
- 'use strict';
- /**
- * Object used to hold the data that is being dragged during drag and drop operations.
- *
- * It may hold one or more data items of different types. For more information about
- * drag and drop operations and data transfer objects, see
- * HTML Drag and Drop API.
- *
- * This object is created automatically by the @see:DragDropTouch singleton and is
- * accessible through the @see:dataTransfer property of all drag events.
- */
- var DataTransfer = (function () {
- function DataTransfer() {
- this._dropEffect = 'move';
- this._effectAllowed = 'all';
- this._data = {};
- }
- Object.defineProperty(DataTransfer.prototype, "dropEffect", {
- /**
- * Gets or sets the type of drag-and-drop operation currently selected.
- * The value must be 'none', 'copy', 'link', or 'move'.
- */
- get: function () {
- return this._dropEffect;
- },
- set: function (value) {
- this._dropEffect = value;
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DataTransfer.prototype, "effectAllowed", {
- /**
- * Gets or sets the types of operations that are possible.
- * Must be one of 'none', 'copy', 'copyLink', 'copyMove', 'link',
- * 'linkMove', 'move', 'all' or 'uninitialized'.
- */
- get: function () {
- return this._effectAllowed;
- },
- set: function (value) {
- this._effectAllowed = value;
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DataTransfer.prototype, "types", {
- /**
- * Gets an array of strings giving the formats that were set in the @see:dragstart event.
- */
- get: function () {
- return Object.keys(this._data);
- },
- enumerable: true,
- configurable: true
- });
- /**
- * Removes the data associated with a given type.
- *
- * The type argument is optional. If the type is empty or not specified, the data
- * associated with all types is removed. If data for the specified type does not exist,
- * or the data transfer contains no data, this method will have no effect.
- *
- * @param type Type of data to remove.
- */
- DataTransfer.prototype.clearData = function (type) {
- if (type !== null) {
- delete this._data[type.toLowerCase()];
- }
- else {
- this._data = {};
- }
- };
- /**
- * Retrieves the data for a given type, or an empty string if data for that type does
- * not exist or the data transfer contains no data.
- *
- * @param type Type of data to retrieve.
- */
- DataTransfer.prototype.getData = function (type) {
- return this._data[type.toLowerCase()] || '';
- };
- /**
- * Set the data for a given type.
- *
- * For a list of recommended drag types, please see
- * https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Recommended_Drag_Types.
- *
- * @param type Type of data to add.
- * @param value Data to add.
- */
- DataTransfer.prototype.setData = function (type, value) {
- this._data[type.toLowerCase()] = value;
- };
- /**
- * Set the image to be used for dragging if a custom one is desired.
- *
- * @param img An image element to use as the drag feedback image.
- * @param offsetX The horizontal offset within the image.
- * @param offsetY The vertical offset within the image.
- */
- DataTransfer.prototype.setDragImage = function (img, offsetX, offsetY) {
- var ddt = DragDropTouch._instance;
- ddt._imgCustom = img;
- ddt._imgOffset = { x: offsetX, y: offsetY };
- };
- return DataTransfer;
- }());
- DragDropTouch_1.DataTransfer = DataTransfer;
- /**
- * Defines a class that adds support for touch-based HTML5 drag/drop operations.
- *
- * The @see:DragDropTouch class listens to touch events and raises the
- * appropriate HTML5 drag/drop events as if the events had been caused
- * by mouse actions.
- *
- * The purpose of this class is to enable using existing, standard HTML5
- * drag/drop code on mobile devices running IOS or Android.
- *
- * To use, include the DragDropTouch.js file on the page. The class will
- * automatically start monitoring touch events and will raise the HTML5
- * drag drop events (dragstart, dragenter, dragleave, drop, dragend) which
- * should be handled by the application.
- *
- * For details and examples on HTML drag and drop, see
- * https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Drag_operations.
- */
- var DragDropTouch = (function () {
- /**
- * Initializes the single instance of the @see:DragDropTouch class.
- */
- function DragDropTouch() {
- this._lastClick = 0;
- // enforce singleton pattern
- if (DragDropTouch._instance) {
- throw 'DragDropTouch instance already created.';
- }
- // detect passive event support
- // https://github.com/Modernizr/Modernizr/issues/1894
- var supportsPassive = false;
- document.addEventListener('test', function () { }, {
- get passive() {
- supportsPassive = true;
- return true;
- }
- });
- // listen to touch events
- if (navigator.maxTouchPoints) {
- var d = document,
- ts = this._touchstart.bind(this),
- tm = this._touchmove.bind(this),
- te = this._touchend.bind(this),
- opt = supportsPassive ? { passive: false, capture: false } : false;
- d.addEventListener('touchstart', ts, opt);
- d.addEventListener('touchmove', tm, opt);
- d.addEventListener('touchend', te);
- d.addEventListener('touchcancel', te);
- }
- }
- /**
- * Gets a reference to the @see:DragDropTouch singleton.
- */
- DragDropTouch.getInstance = function () {
- return DragDropTouch._instance;
- };
- // ** event handlers
- DragDropTouch.prototype._touchstart = function (e) {
- var _this = this;
- if (this._shouldHandle(e)) {
- // clear all variables
- this._reset();
- // get nearest draggable element
- var src = this._closestDraggable(e.target);
- if (src) {
- // give caller a chance to handle the hover/move events
- if (!this._dispatchEvent(e, 'mousemove', e.target) &&
- !this._dispatchEvent(e, 'mousedown', e.target)) {
- // get ready to start dragging
- this._dragSource = src;
- this._ptDown = this._getPoint(e);
- this._lastTouch = e;
- e.preventDefault();
- // show context menu if the user hasn't started dragging after a while
- setTimeout(function () {
- if (_this._dragSource === src && _this._img === null) {
- if (_this._dispatchEvent(e, 'contextmenu', src)) {
- _this._reset();
- }
- }
- }, DragDropTouch._CTXMENU);
- if (DragDropTouch._ISPRESSHOLDMODE) {
- this._pressHoldInterval = setTimeout(function () {
- _this._isDragEnabled = true;
- _this._touchmove(e);
- }, DragDropTouch._PRESSHOLDAWAIT);
- }
- }
- }
- }
- };
- DragDropTouch.prototype._touchmove = function (e) {
- if (this._shouldCancelPressHoldMove(e)) {
- this._reset();
- return;
- }
- if (this._shouldHandleMove(e) || this._shouldHandlePressHoldMove(e)) {
- // see if target wants to handle move
- var target = this._getTarget(e);
- if (this._dispatchEvent(e, 'mousemove', target)) {
- this._lastTouch = e;
- e.preventDefault();
- return;
- }
- // start dragging
- if (this._dragSource && !this._img && this._shouldStartDragging(e)) {
- if (this._dispatchEvent(this._lastTouch, 'dragstart', this._dragSource)) {
- // target canceled the drag event
- this._dragSource = null;
- return;
- }
- this._createImage(e);
- this._dispatchEvent(e, 'dragenter', target);
- }
- // continue dragging
- if (this._img) {
- this._lastTouch = e;
- e.preventDefault(); // prevent scrolling
- this._dispatchEvent(e, 'drag', this._dragSource);
- if (target !== this._lastTarget) {
- this._dispatchEvent(this._lastTouch, 'dragleave', this._lastTarget);
- this._dispatchEvent(e, 'dragenter', target);
- this._lastTarget = target;
- }
- this._moveImage(e);
- this._isDropZone = this._dispatchEvent(e, 'dragover', target);
- }
- }
- };
- DragDropTouch.prototype._touchend = function (e) {
- if (this._shouldHandle(e)) {
- // see if target wants to handle up
- if (this._dispatchEvent(this._lastTouch, 'mouseup', e.target)) {
- e.preventDefault();
- return;
- }
- // user clicked the element but didn't drag, so clear the source and simulate a click
- if (!this._img) {
- this._dragSource = null;
- this._dispatchEvent(this._lastTouch, 'click', e.target);
- this._lastClick = Date.now();
- }
- // finish dragging
- this._destroyImage();
- if (this._dragSource) {
- if (e.type.indexOf('cancel') < 0 && this._isDropZone) {
- this._dispatchEvent(this._lastTouch, 'drop', this._lastTarget);
- }
- this._dispatchEvent(this._lastTouch, 'dragend', this._dragSource);
- this._reset();
- }
- }
- };
- // ** utilities
- // ignore events that have been handled or that involve more than one touch
- DragDropTouch.prototype._shouldHandle = function (e) {
- return e &&
- !e.defaultPrevented &&
- e.touches && e.touches.length < 2;
- };
-
- // use regular condition outside of press & hold mode
- DragDropTouch.prototype._shouldHandleMove = function (e) {
- return !DragDropTouch._ISPRESSHOLDMODE && this._shouldHandle(e);
- };
-
- // allow to handle moves that involve many touches for press & hold
- DragDropTouch.prototype._shouldHandlePressHoldMove = function (e) {
- return DragDropTouch._ISPRESSHOLDMODE &&
- this._isDragEnabled && e && e.touches && e.touches.length;
- };
-
- // reset data if user drags without pressing & holding
- DragDropTouch.prototype._shouldCancelPressHoldMove = function (e) {
- return DragDropTouch._ISPRESSHOLDMODE && !this._isDragEnabled &&
- this._getDelta(e) > DragDropTouch._PRESSHOLDMARGIN;
- };
-
- // start dragging when specified delta is detected
- DragDropTouch.prototype._shouldStartDragging = function (e) {
- var delta = this._getDelta(e);
- return delta > DragDropTouch._THRESHOLD ||
- (DragDropTouch._ISPRESSHOLDMODE && delta >= DragDropTouch._PRESSHOLDTHRESHOLD);
- }
-
- // clear all members
- DragDropTouch.prototype._reset = function () {
- this._destroyImage();
- this._dragSource = null;
- this._lastTouch = null;
- this._lastTarget = null;
- this._ptDown = null;
- this._isDragEnabled = false;
- this._isDropZone = false;
- this._dataTransfer = new DataTransfer();
- clearInterval(this._pressHoldInterval);
- };
- // get point for a touch event
- DragDropTouch.prototype._getPoint = function (e, page) {
- if (e && e.touches) {
- e = e.touches[0];
- }
- return { x: page ? e.pageX : e.clientX, y: page ? e.pageY : e.clientY };
- };
- // get distance between the current touch event and the first one
- DragDropTouch.prototype._getDelta = function (e) {
- if (DragDropTouch._ISPRESSHOLDMODE && !this._ptDown) { return 0; }
- var p = this._getPoint(e);
- return Math.abs(p.x - this._ptDown.x) + Math.abs(p.y - this._ptDown.y);
- };
- // get the element at a given touch event
- DragDropTouch.prototype._getTarget = function (e) {
- var pt = this._getPoint(e), el = document.elementFromPoint(pt.x, pt.y);
- while (el && getComputedStyle(el).pointerEvents == 'none') {
- el = el.parentElement;
- }
- return el;
- };
- // create drag image from source element
- DragDropTouch.prototype._createImage = function (e) {
- // just in case...
- if (this._img) {
- this._destroyImage();
- }
- // create drag image from custom element or drag source
- var src = this._imgCustom || this._dragSource;
- this._img = src.cloneNode(true);
- this._copyStyle(src, this._img);
- this._img.style.top = this._img.style.left = '-9999px';
- // if creating from drag source, apply offset and opacity
- if (!this._imgCustom) {
- var rc = src.getBoundingClientRect(), pt = this._getPoint(e);
- this._imgOffset = { x: pt.x - rc.left, y: pt.y - rc.top };
- this._img.style.opacity = DragDropTouch._OPACITY.toString();
- }
- // add image to document
- this._moveImage(e);
- document.body.appendChild(this._img);
- };
- // dispose of drag image element
- DragDropTouch.prototype._destroyImage = function () {
- if (this._img && this._img.parentElement) {
- this._img.parentElement.removeChild(this._img);
- }
- this._img = null;
- this._imgCustom = null;
- };
- // move the drag image element
- DragDropTouch.prototype._moveImage = function (e) {
- var _this = this;
- requestAnimationFrame(function () {
- if (_this._img) {
- var pt = _this._getPoint(e, true), s = _this._img.style;
- s.position = 'absolute';
- s.pointerEvents = 'none';
- s.zIndex = '999999';
- s.left = Math.round(pt.x - _this._imgOffset.x) + 'px';
- s.top = Math.round(pt.y - _this._imgOffset.y) + 'px';
- }
- });
- };
- // copy properties from an object to another
- DragDropTouch.prototype._copyProps = function (dst, src, props) {
- for (var i = 0; i < props.length; i++) {
- var p = props[i];
- dst[p] = src[p];
- }
- };
- DragDropTouch.prototype._copyStyle = function (src, dst) {
- // remove potentially troublesome attributes
- DragDropTouch._rmvAtts.forEach(function (att) {
- dst.removeAttribute(att);
- });
- // copy canvas content
- if (src instanceof HTMLCanvasElement) {
- var cSrc = src, cDst = dst;
- cDst.width = cSrc.width;
- cDst.height = cSrc.height;
- cDst.getContext('2d').drawImage(cSrc, 0, 0);
- }
- // copy style (without transitions)
- var cs = getComputedStyle(src);
- for (var i = 0; i < cs.length; i++) {
- var key = cs[i];
- if (key.indexOf('transition') < 0) {
- dst.style[key] = cs[key];
- }
- }
- dst.style.pointerEvents = 'none';
- // and repeat for all children
- for (var i = 0; i < src.children.length; i++) {
- this._copyStyle(src.children[i], dst.children[i]);
- }
- };
- // compute missing offset or layer property for an event
- DragDropTouch.prototype._setOffsetAndLayerProps = function (e, target) {
- var rect = undefined;
- if (e.offsetX === undefined) {
- rect = target.getBoundingClientRect();
- e.offsetX = e.clientX - rect.x;
- e.offsetY = e.clientY - rect.y;
- }
- if (e.layerX === undefined) {
- rect = rect || target.getBoundingClientRect();
- e.layerX = e.pageX - rect.left;
- e.layerY = e.pageY - rect.top;
- }
- }
- DragDropTouch.prototype._dispatchEvent = function (e, type, target) {
- if (e && target) {
- var evt = document.createEvent('Event'), t = e.touches ? e.touches[0] : e;
- evt.initEvent(type, true, true);
- evt.button = 0;
- evt.which = evt.buttons = 1;
- this._copyProps(evt, e, DragDropTouch._kbdProps);
- this._copyProps(evt, t, DragDropTouch._ptProps);
- this._setOffsetAndLayerProps(evt, target);
- evt.dataTransfer = this._dataTransfer;
- target.dispatchEvent(evt);
- return evt.defaultPrevented;
- }
- return false;
- };
- // gets an element's closest draggable ancestor
- DragDropTouch.prototype._closestDraggable = function (e) {
- for (; e; e = e.parentElement) {
- if (e.hasAttribute('draggable') && e.draggable) {
- return e;
- }
- }
- return null;
- };
- return DragDropTouch;
- }());
- /*private*/ DragDropTouch._instance = new DragDropTouch(); // singleton
- // constants
- DragDropTouch._THRESHOLD = 5; // pixels to move before drag starts
- DragDropTouch._OPACITY = 0.5; // drag image opacity
- DragDropTouch._DBLCLICK = 500; // max ms between clicks in a double click
- DragDropTouch._CTXMENU = 900; // ms to hold before raising 'contextmenu' event
- DragDropTouch._ISPRESSHOLDMODE = true; // decides of press & hold mode presence
- DragDropTouch._PRESSHOLDAWAIT = 400; // ms to wait before press & hold is detected
- DragDropTouch._PRESSHOLDMARGIN = 25; // pixels that finger might shiver while pressing
- DragDropTouch._PRESSHOLDTHRESHOLD = 0; // pixels to move before drag starts
- // copy styles/attributes from drag source to drag image element
- DragDropTouch._rmvAtts = 'id,class,style,draggable'.split(',');
- // synthesize and dispatch an event
- // returns true if the event has been handled (e.preventDefault == true)
- DragDropTouch._kbdProps = 'altKey,ctrlKey,metaKey,shiftKey'.split(',');
- DragDropTouch._ptProps = 'pageX,pageY,clientX,clientY,screenX,screenY,offsetX,offsetY'.split(',');
- DragDropTouch_1.DragDropTouch = DragDropTouch;
-})(DragDropTouch || (DragDropTouch = {}));
diff --git a/src/lang/cn.ts b/src/lang/cn.ts
index 1cf72cb1..dd14b6a5 100644
--- a/src/lang/cn.ts
+++ b/src/lang/cn.ts
@@ -19,6 +19,7 @@ export const languageChinese = {
onlyOneChat: '必须至少有一次聊天',
alreadyCharInGroup: "群组中已存在同名的角色。"
},
+ showHelp: "显示帮助",
help:{
model: "模型选项是用于聊天的主要模型。",
submodel: "辅助模型是用于分析情绪图像,自动建议等的模型。推荐使用gpt3.5。",
@@ -308,4 +309,5 @@ export const languageChinese = {
recent: '最新',
downloads: '下载量',
trending: "热度",
+ imageCompression: "图像压缩"
}
\ No newline at end of file
diff --git a/src/lang/en.ts b/src/lang/en.ts
index 14a67f82..51317e85 100644
--- a/src/lang/en.ts
+++ b/src/lang/en.ts
@@ -19,6 +19,7 @@ export const languageEnglish = {
onlyOneChat: 'There must be least one chat',
alreadyCharInGroup: "There is already a character with the same name in the group."
},
+ showHelp: "Show Help",
help:{
model: "Model option is a main model used in chat.",
submodel: "Auxiliary Model is a model that used in analizing emotion images and auto suggestions and etc. gpt3.5 is recommended.",
@@ -311,6 +312,11 @@ export const languageEnglish = {
enterMessageForTranslateToEnglish: "Enter Message for Translate to English",
recent: 'Recent',
downloads: 'Downloads',
- trending: "Trending"
+ trending: "Trending",
+ imageCompression: "Image Compression",
+ notLoggedIn: "Not Logged in to Risu Account",
+ googleDriveInfo: "Connect to google drive to sync your data.",
+ googleDriveConnection: "Google Drive Connection",
+ googleDriveConnected: "Google Drive Connected"
}
\ No newline at end of file
diff --git a/src/lang/ko.ts b/src/lang/ko.ts
index dd6aa543..266ff153 100644
--- a/src/lang/ko.ts
+++ b/src/lang/ko.ts
@@ -149,6 +149,7 @@ export const languageKorean = {
ShowLog: "리퀘스트 로그 보기",
waifuWidth2: "Waifu 캐릭터 크기",
sayNothing:"어떤 문자열도 입력되지 않을 시 'say nothing' 입력",
+ showHelp: "도움말 보기",
help:{
model: "채팅에서 사용되는 모델입니다.",
submodel: "보조 모델은 감정 이미지, 자동 제안등을 분석하는 데 사용되는 모델입니다. gpt3.5가 권장됩니다.",
@@ -260,7 +261,7 @@ export const languageKorean = {
replaceGlobalNote: "글로벌 노트 덮어쓰기",
charLoreBook: '캐릭터 로어북',
globalLoreBook: '글로벌 로어북',
- globalRegexScript: "글로별 정규식",
+ globalRegexScript: "글로벌 정규식",
accessibility: "접근성",
sendWithEnter: "엔터키로 메세지 보내기",
clickToEdit: "클릭해서 수정하기",
@@ -281,4 +282,9 @@ export const languageKorean = {
useChatCopy: "채팅 메시지 복사 사용",
autoTranslateInput: "입력 자동 번역",
enterMessageForTranslateToEnglish: "영어로 번역할 메시지를 입력해주세요",
+ imageCompression: "이미지 압축",
+ notLoggedIn: "Risu Account에 로그인되지 않음",
+ googleDriveInfo: "구글 드라이브에 연동해서 데이터를 동기화하세요.",
+ googleDriveConnection: "구글 드라이브 연동하기",
+ googleDriveConnected: "구글 드라이브 연동됨"
}
\ No newline at end of file
diff --git a/src/lib/ChatScreens/ChatScreen.svelte b/src/lib/ChatScreens/ChatScreen.svelte
index 808feacf..c661e953 100644
--- a/src/lib/ChatScreens/ChatScreen.svelte
+++ b/src/lib/ChatScreens/ChatScreen.svelte
@@ -27,15 +27,16 @@
})()
{#if $DataBase.theme === ''}
-