Commit Graph

1050 Commits

Author SHA1 Message Date
kwaroran
0e292bd690 aria-role fixes 2024-12-02 04:27:50 +09:00
kwaroran
8f72b9e6e2 Merge branch 'main' of https://github.com/kwaroran/RisuAI 2024-12-01 18:11:08 +09:00
kwaroran
ca57244153 Add alertClear to imports and update error handling in Chat.svelte 2024-12-01 18:09:36 +09:00
kwaroran
5499368ac0 Fix version numbers 2024-12-01 18:08:06 +09:00
kwaroran
9ba1686781 Fix cache handling for autoTranslateCachedOnly when translateBeforeHTMLFormatting is disabled (#672)
# 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?
- [ ] Did you added a type def?

# Description
This PR introduces a fix for an issue where cache misses occur when
translateBeforeHTMLFormatting is disabled. Previously, the 'Auto
Translate Cached Only' feature only worked when
translateBeforeHTMLFormatting was enabled. This update ensures that
cached translations are used properly even when
translateBeforeHTMLFormatting is disabled.

Thank you for taking the time. This is not an urgent matter, but I would
appreciate it if you could incorporate this PR along with other changes
in the next update.
2024-12-01 17:28:37 +09:00
kwaroran
8a6cfedcda Add ChatML and Rework display 2024-12-01 17:05:50 +09:00
Bo26fhmC5M
daa9ed79c8 Fix issue where cache misses occur when translateBeforeHTMLFormatting is disabled. 2024-11-30 08:53:55 +09:00
kwaroran
d12ab8ead1 Add lightningRealmImport 2024-11-30 02:17:03 +09:00
Bo26fhmC5M
ae6d12ea29 Add autoTranslateCachedOnly option to auto-translate only previously translated text when enabled. 2024-11-28 21:53:15 +09:00
bangonicdd
932262295d Fix missing aws key slot 2024-11-27 16:59:16 +09:00
Kwaroran
171db25f55 Add try-catch 2024-11-27 09:19:22 +09:00
Kwaroran
eaf429a61f Optimize image loading by using canvas to convert fetched images to data URLs 2024-11-27 09:17:57 +09:00
Kwaroran
096d2fe62c Add hotkeys 2024-11-27 08:29:59 +09:00
Kwaroran
e0de68cf9e Remove log share button from chat interface 2024-11-27 08:09:32 +09:00
Kwaroran
ff4cfede65 Enable alert for copied text in chat 2024-11-27 07:56:24 +09:00
Kwaroran
2acbc00548 Improve chat copy 2024-11-27 07:53:35 +09:00
Kwaroran
2b50abc09c Add retranslate 2024-11-27 06:31:59 +09:00
Kwaroran
981ec3921e Add plenty of features 2024-11-27 06:01:42 +09:00
Kwaroran
9ab7dd3091 Remove AWS Claude check from BotSettings 2024-11-27 04:47:05 +09:00
Kwaroran
07fd36a811 Fix background embedding 2024-11-27 04:44:25 +09:00
Kwaroran
597c8879fc Add systemContentReplacement and Flags 2024-11-27 04:33:12 +09:00
kwaroran
cc8d753dc8 Rework custom API 2024-11-25 23:04:32 +09:00
kwaroran
8274fae180 Refactor model handling 2024-11-25 05:25:58 +09:00
kwaroran
6214388cc6 Add new model options for Mistral Large 2411 and Gemini Exp 1121 and Flash 002, fixes #666 2024-11-22 21:52:39 +09:00
kwaroran
ec03903372 Add OAI prediction 2024-11-21 15:44:14 +09:00
kwaroran
e895008814 Add 4o 1120 2024-11-21 15:38:04 +09:00
kwaroran
1102899c26 Enable experimental caching for Claude in WelcomeRisu component 2024-11-18 21:17:59 +09:00
kwaroran
032da9c8b8 Update language 2024-11-17 23:18:05 +09:00
kwaroran
33b966af6e Merge branch 'main' of https://github.com/kwaroran/RisuAI 2024-11-17 23:03:26 +09:00
kwaroran
c2b5177c92 Improve welcome page and add gemini exp 2024-11-17 23:03:22 +09:00
poroyo
d3d7918e5a Fix missing text node rendering to custom HTML 2024-11-15 11:39:46 +09:00
kwaroran
6dd20be25c Add setup instructions for Claude API integration 2024-11-14 21:45:12 +09:00
kwaroran
a862ffe0e3 Enhance chat setup options and improve UI responsiveness 2024-11-14 21:42:56 +09:00
kwaroran
4627aacbf9 Refactor script caching functions to include mode parameter and improve background HTML parsing 2024-11-12 21:50:40 +09:00
poroyo
e0a015c476 Add role-cbs support to custom HTML 2024-11-07 03:19:32 +09:00
kwaroran
4f69bb8880 Add loggen related stuff and fix bugs 2024-11-05 20:15:17 +09:00
kwaroran
d02d17f177 Fix textarea reloading 2024-11-04 19:01:37 +09:00
kwaroran
9b3232d5dc Add lorebook debug 2024-11-04 16:27:00 +09:00
kwaroran
106ddd61d7 fix typo disableHighlight 2024-11-04 15:30:52 +09:00
kwaroran
c22f6b789a Improve performance 2024-11-03 23:16:51 +09:00
kwaroran
b51bbad838 Fix background embedding 2024-11-03 22:26:20 +09:00
kwaroran
03e2390006 Temp fix textarea 2024-11-02 23:55:48 +09:00
kwaroran
ab9180c7a9 fix textareainput 2024-11-02 23:18:21 +09:00
kwaroran
e631b8fb51 Revert textareainput 2024-11-02 22:56:13 +09:00
kwaroran
db54124e7a Fix autotranslate 2024-11-02 17:41:22 +09:00
kwaroran
28f41b499d Fix binded persona 2024-11-02 17:12:48 +09:00
kwaroran
5dcb934069 Fix welcome page freezing 2024-11-02 16:48:17 +09:00
kwaroran
c0f088309f Add custom theme 2024-11-02 14:28:28 +09:00
kwaroran
864715df85 Increase height of textarea and container in Chat.svelte for better visibility 2024-11-02 04:07:08 +09:00
kwaroran
4fb1caa1bc Change button hover color from green to blue in Chat.svelte 2024-11-02 04:04:45 +09:00