Commit Graph

128 Commits

Author SHA1 Message Date
kwaroran
936c8f2dab [ref] performace improvement stage 2 2023-08-06 15:41:34 +09:00
kwaroran
f3e96d8ba1 [feat] performace improvement stage 1 2023-08-06 14:58:05 +09:00
kwaroran
418ea31664 [feat] time related syntaxes 2023-08-04 17:20:01 +09:00
aegkmq
4ca304d26d [fix] clean autosuggest 2023-08-03 15:02:16 +09:00
aegkmq
28ae0aa992 [feat] clean autosuggest 2023-08-03 14:58:38 +09:00
aegkmq
d6f4dc48fb [fix] ooba autosuggest 2023-08-03 14:21:29 +09:00
aegkmq
2d2eb63fac Merge branch 'kwaroran:main' into main 2023-08-03 13:34:06 +09:00
kwaroran
afc705ddce [fix] trigger tokens 2023-08-03 10:10:55 +09:00
kwaroran
0e0601642a [feat] add color scheme 2023-08-03 08:58:36 +09:00
aegkmq
838eaf81c8 [fix] prompt template and autosuggest 2023-08-02 21:14:24 +09:00
aegkmq
dfb03d08d4 [fix] local model's prompt template 2023-08-02 12:23:50 +09:00
kwaroran
7b768d3e73 [feat] trigger runner2 2023-07-28 05:53:12 +09:00
kwaroran
34992fb959 [feat] better translator 2023-07-26 05:09:43 +09:00
kwaroran
a9a7f4e8e9 [feat] sidebar arrows 2023-07-26 04:22:38 +09:00
kwaroran
5e9683a5e4 [feat] new sidebar 2023-07-26 00:13:56 +09:00
kwaroran
86521f6a65 [fix] backgroundHTML Reloading 2023-07-23 07:34:10 +09:00
kwaroran
704b03b3a8 [feat] added abort 2023-07-23 00:26:07 +09:00
kwaroran
88d157fa3f [rm] remove translate input because it can use autotrans 2023-07-21 23:53:57 +09:00
kwaroran
91d2d99efd [fix] chat not converting parser 2023-07-21 18:33:05 +09:00
kwaroran
aa60d82abb [fix] revert translator because of bugs 2023-07-21 17:50:10 +09:00
kwaroran
06ac4b3cf3 [feat] translator now no longer experimental 2023-07-21 17:43:05 +09:00
kwaroran
7d2860bf35 [feat] openrouter apis 2023-07-21 17:41:48 +09:00
kwaroran
b0e020c1ce [fix] fixed ungood transitions 2023-07-21 01:17:01 +09:00
kwaroran
0edf8d8045 [feat] experimental canvas screenshot 2023-07-21 00:27:23 +09:00
kwaroran
5a42fe9b6b [fix] fixed input lag, bugs 2023-07-19 04:02:13 +09:00
kwaroran
cbb203dd44 [feat] new gui 2023-07-18 23:05:47 +09:00
kwaroran
e676d183ad [fix] setvar not working 2023-07-18 01:02:08 +09:00
kwaroran
7165795507 [feat] parser in background 2023-07-17 16:40:19 +09:00
kwaroran
297568e704 [feat] new fast parser 2023-07-17 16:30:55 +09:00
kwaroran
f277a928dd [feat] new parser 2023-07-16 22:23:51 +09:00
kwaroran
68570dbbe0 [feat] new regex features 2023-07-07 08:20:35 +09:00
kwaroran
e0a700ce9e [feat] add unmigration when logout 2023-07-04 05:40:16 +09:00
kwaroran
2f1cae91f9 [fix] stringlize ain and revert cha 2023-06-25 23:55:47 +09:00
LL
d8a5ee5b4e [feat] Add support for chat stickers
This commit adds support for chat stickers by allowing users to use stickers in chat message window.
The users can toggle show additional asset list using a button.
Added Additional assets file extension data.
Additional assets list shows preview.
Optimized render when use streaming api. (prevent markdown again when message not changed)
Added controls to Video/Audio Assets
2023-06-22 07:17:59 +09:00
kwaroran
fb9bd8d342 [feat] css full support 2023-06-18 21:11:42 +09:00
kwaroran
ad5e3db0ae [feat] realm enchanments 2023-06-16 13:34:02 +09:00
kwaroran
ffcffad465 [feat] classic max width 2023-06-15 21:05:06 +09:00
kwaroran
08cd214bcb [fix] tokenizer problem 2 2023-06-10 02:38:36 +09:00
namda-on
38cbb8a103 fix : send message double time when writing korean
block send message when event is composing
2023-06-08 16:05:39 +09:00
kwaroran
c5600dfd37 Merge branch 'dev' of https://github.com/kwaroran/RisuAI-release into dev 2023-06-08 08:49:16 +09:00
kwaroran
f45aa9dc9c [fix] removal 2023-06-07 14:56:19 +09:00
LL
108fccbcb6 [fix]: Apply markdown for auto suggest, improve suggestion quality
This commit adds the import for the ParseMarkdown function from the parser module required for translating messages in the Suggestion chat screen.
The code changes also include adding a check for the translator variable in the button toggle handling to avoid unwanted button display. Lastly, the commit updates the template for rendering translated suggest messages.
2023-06-06 18:39:49 +09:00
LL
89dc9c8c80 [feat][experimental] Add auto-translate input message functionality and language support in chat panel and settings
This commit adds new entries in the language files and UI support for auto-translate messages.

The new feature uses a textarea input field to translate messages as they are typed, and the translated text is shown in a new field. Also, the language settings now provide an option to enable/disable auto message translation.

The code changes include adding a new function to update the input sizes for both input fields and some minor code refactoring to support new functionality.
2023-06-06 18:37:19 +09:00
LL
54c6a9ef9c Add copy chat message feature in Chat panel and enable usage in 'use chat copy' setting.
- Added 'copied' string to language translation in multiple translations file.
- Added 'CopyIcon' to svelte import.
- Defined a new status message variable in Chat.svelte.
- Created a new function 'setStatusMessage' to display the current panel's state after certain action.
- Added a new setting 'useChatCopy' in 'DisplaySettings.svelte'.
- Created a checkbox with label 'useChatCopy' to toggle the Chat message copy.
- Integrated Clipboard API in Chat code to handle chat message copy via button click.
2023-06-06 12:36:37 +09:00
kwaroran
eac4f56213 [refactor] backgroundDom 2023-06-06 07:27:18 +09:00
kwaroran
0ff767e454 [feat] added background embedding 2023-06-06 07:17:19 +09:00
kwaroran
20a58e5f06 [UX] settings close floating button, fix tokens position auto suggest prompt, AutoSuggest minor bugs (#149)
# PR Checklist
- [ - ] Did you check if it works normally in all models? *ignore this
when it dosen't uses models*
- [ O ] Did you check if it works normally in all of web, local and node
hosted versions? if it dosen't, did you blocked it in those versions?
- [ O ] Did you added a type def?

# Description
There are many users who can't find the character deletion, so it has
been changed so that it is clearly visible in the header.
![스크린샷 2023-06-03
004117](https://github.com/kwaroran/RisuAI/assets/11344967/adffd92c-5e5e-47aa-bc83-3670dbf0e8bd)
![스크린샷 2023-06-03
004122](https://github.com/kwaroran/RisuAI/assets/11344967/7a49f183-6f22-47bf-96a3-e40597b0dec8)

It is inconvenient to scroll up and close the long settings window when
scrolling, so it is fixed at the top.
![스크린샷 2023-06-03
002151](https://github.com/kwaroran/RisuAI/assets/11344967/a51d9275-8ae1-4412-ad89-73825698b4b3)

Modify tokens count position not moved together auto suggest prompt.
![스크린샷 2023-06-03
002350](https://github.com/kwaroran/RisuAI/assets/11344967/b8d7797a-fd0e-4279-9a65-7dd189086454)

Fixed the problem that auto-suggestion does not work for firstMessage
Fixed the problem that auto-suggestion is not saved
2023-06-03 23:59:10 +09:00
kwaroran
02878958b6 [feat] basic risuhub 2023-06-03 06:10:26 +09:00
LL
f8516519f3 Fixed the problem that auto-suggestion does not work for firstMessage
Fixed the problem that auto-suggestion is not saved
2023-06-03 02:02:21 +09:00
kwaroran
262a503e5c [refactor] suggestion types 2023-05-31 23:07:20 +09:00