Commit Graph

633 Commits

Author SHA1 Message Date
kwaroran
49a01a0950 [fix] image compression 2023-06-11 11:04:11 +09:00
kwaroran
32f58fef1d examples 2023-06-10 10:32:52 +09:00
kwaroran
a4eefa2c0d bump version to 1.24.4 2023-06-10 09:23:06 +09:00
kwaroran
077623b23d [fix] max response error 2023-06-10 09:22:05 +09:00
kwaroran
42c0134744 bump version to 1.24.3 2023-06-10 02:41:51 +09:00
kwaroran
08cd214bcb [fix] tokenizer problem 2 2023-06-10 02:38:36 +09:00
kwaroran
6fc60805e6 [fix] tokenizer 2023-06-10 02:27:54 +09:00
kwaroran
e88f95102b [fix] group chat cut not working 2023-06-10 01:48:12 +09:00
kwaroran
e2b49b21dc [fix] not working groupchat regex 2023-06-10 01:45:33 +09:00
kwaroran
dbf5f6b25a [feat] new tokenizing 2023-06-09 22:27:34 +09:00
kwaroran
cfe20c968b [chore] cache build 2023-06-09 14:29:07 +09:00
kwaroran
a387e0db62 [chore] add windows 2023-06-09 14:10:47 +09:00
kwaroran
381231e871 [fix] changed to workflow_dispatch (#169)
# PR Checklist
- [ ] Did you check if it works normally in all models? *ignore this
when it dosen't uses models*
- [ ] 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?
- [ ] Did you added a type def?

# Description
2023-06-09 14:01:03 +09:00
kwaroran
b9bb38addf [fix] changed to workflow_dispatch 2023-06-09 14:00:37 +09:00
kwaroran
7d2e4271fb Update cn.ts (#168)
# PR Checklist
- [YES] Did you check if it works normally in all models? *ignore this
when it dosen't uses models*
- [YES] 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?
- [NO] Did you added a type def?

# Description
2023-06-09 13:57:55 +09:00
Decikingship
6dd36a382d Update cn.ts 2023-06-09 11:34:46 +08:00
kwaroran
46505b8a2d [fix] send message double time by enter when input's composition is not end (#167)
# PR Checklist
- [v] Did you check if it works normally in all models? *ignore this
when it dosen't uses models*
- [v] 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?
- [NO] Did you added a type def?

# Description
### Bug 
send message double time by enter when writing korean. 
This issue occurs when input's composition is not end. 


https://github.com/kwaroran/RisuAI/assets/60877502/758b3168-d63c-4b64-8ca0-6a5afefad749



### fix
block send message when event is composing.
2023-06-09 09:58:54 +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
e0e139e4ed Update to 1.24.2 (#166)
# PR Checklist
- [ ] Did you check if it works normally in all models? *ignore this
when it dosen't uses models*
- [ ] 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?
- [ ] Did you added a type def?

# Description
2023-06-08 09:03:02 +09:00
kwaroran
f06a982db2 bump version to 1.24.2 2023-06-08 09:02:24 +09:00
kwaroran
3f4b50047d [feat] added nsfw toggle, sorting option to realm 2023-06-08 09:01:37 +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
334b1c8a5a [feat][experimental] Add auto-translate input message, [fix] Apply markdown to AutoSuggest (#163)
# PR Checklist
- [ O ] 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

- 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.

- 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.
- Improve user prompt for AutoSuggest


![ani](https://github.com/kwaroran/RisuAI/assets/11344967/459896d4-b99d-4f23-9b18-cd9fc8e677eb)
2023-06-08 08:34:15 +09:00
kwaroran
27f935eef7 Merge branch 'dev' into autotranslateinput 2023-06-08 08:34:08 +09:00
kwaroran
4d83da91d2 Update cn.ts (#165)
# PR Checklist
- [YES] Did you check if it works normally in all models? *ignore this
when it dosen't uses models*
- [YES] 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?
- [NO] Did you added a type def?

# Description
2023-06-08 08:32:37 +09:00
Decikingship
dbebc58362 Update cn.ts
Update cn.ts
2023-06-07 14:44:23 +08:00
kwaroran
f45aa9dc9c [fix] removal 2023-06-07 14:56:19 +09:00
kwaroran
37bd8a9988 Update to 1.24.1 (#164)
# PR Checklist
- [ ] Did you check if it works normally in all models? *ignore this
when it dosen't uses models*
- [ ] 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?
- [ ] Did you added a type def?

# Description
2023-06-07 09:49:34 +09:00
kwaroran
37fb6c3071 conflict fix 2023-06-07 09:48:42 +09:00
kwaroran
833310ba83 bump version to 1.24.1 2023-06-07 09:48:11 +09:00
kwaroran
8829a90774 [feat] better supamemory 2 2023-06-07 09:47:27 +09:00
kwaroran
b211b256c2 [feat] better supamemory 2023-06-07 09:46:23 +09:00
kwaroran
a92e4235c9 [rm] removed novellist from menu, dude to not working 2023-06-07 09:23:59 +09:00
kwaroran
9974ff0df1 [refactor] transformer tokenizer 2023-06-07 09:23:29 +09:00
kwaroran
b631da7e72 [fix] unstringlize novellist 2023-06-07 09:00:21 +09:00
kwaroran
f37ae13d83 [feat] novellist api 2023-06-07 08:57:42 +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
kwaroran
e913a641fa [UI/UX] Add copy chat message feature in Chat panel and enable usage in 'use chat copy' setting. (#162)
# 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

- 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 15:01:00 +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
257340983b Update to 1.24.0 (#161)
# PR Checklist
- [X] Did you check if it works normally in all models? *ignore this
when it dosen't uses models*
- [X] 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?
- [X] Did you added a type def?

# Description
Update to 1.24.0
2023-06-06 09:33:45 +09:00
kwaroran
f771fe3890 bump version to 1.24.0 2023-06-06 09:28:18 +09:00
kwaroran
0f844c118f [feat] claude simple settings 2023-06-06 09:26:06 +09:00
kwaroran
b8ed9fd1ec [feat] claude support 2023-06-06 09:19:57 +09:00
kwaroran
eac4f56213 [refactor] backgroundDom 2023-06-06 07:27:18 +09:00
kwaroran
9435675b26 [fix] sanitize src fix 2023-06-06 07:21:52 +09:00
kwaroran
35707ecc46 [feat] sanitize performace 2023-06-06 07:19:18 +09:00
kwaroran
0ff767e454 [feat] added background embedding 2023-06-06 07:17:19 +09:00
kwaroran
33ce7a7254 update Chinese translation to make it more precise (#160) 2023-06-06 05:30:36 +09:00
Decikingship
12d6cc4b2b update Chinese translation to make it more precise 2023-06-05 12:39:13 +08:00