Commit Graph

240 Commits

Author SHA1 Message Date
Bo26fhmC5M
6d113ac152 fix: resolve Hypa V3 button disappearing from menu 2025-05-18 22:17:24 +09:00
Kwaroran
858d6c2ad2 Revert to old loading temp 2025-05-18 17:18:34 +09:00
Kwaroran
cb28eb37bd Fix block length 2025-05-18 17:14:35 +09:00
Kwaroran
1d5393c184 Fix blocklength 2025-05-18 17:14:30 +09:00
Kwaroran
579e4ab55d Fix reroll 2025-05-17 03:13:01 +09:00
Kwaroran
52d2c626d0 Fix lazy portal 2025-05-17 02:46:14 +09:00
Bo26fhmC5M
85753a76ef feat: implement preset and parallel requests for HypaV3 2025-05-16 22:18:13 +09:00
niceandneat
a148e07ad1 fix: prevent blocks lazy loading when no chat selected 2025-05-04 21:24:56 +09:00
kwaroran
468450c254 Merge branch 'main' of https://github.com/kwaroran/RisuAI 2025-04-28 15:47:11 +09:00
kwaroran
05c51f333f Implement lazy loading of chats via lazy portal 2025-04-28 15:38:57 +09:00
Bo26fhmC5M
4703bd463b feat: add option to show Hypa modal button in chat menu
- feat: add accessibility setting to control visibility of Hypa V2/V3 modal button in chat menu
- feat: add summarization condition tip to HypaV3 modal
2025-04-20 14:57:45 +09:00
YH_KIM
4c47480b7e Add fixed chat textarea option to AccessibilitySettings
Additionally, change 'send to center' to 'send to shift center'
2025-04-06 16:37:29 +09:00
kwaroran
ff151f4efe Fix: translation request was made even though useAutoTranslateInput is turned off (#783)
# PR Checklist
- [ ] Have you checked if it works normally in all models? *Ignore this
if it doesn't use models.*
- [ ] Have you checked if it works normally in all web, local, and node
hosted versions? If it doesn't, have you blocked it in those versions?
- [ ] Have you added type definitions?

# Description
Because of this, even when useAutoTranslateInput is turned off, Google
translation request runs every time a sentence is modified.


![image](https://github.com/user-attachments/assets/74133172-bbf0-439a-a715-cb253f94141e)
2025-03-13 16:38:12 +09:00
Kwaroran
40bf90a9df fix Loading chat data 2025-03-10 22:24:11 +09:00
sub-hub
48b470bf06 Fix: Now useAutoTranslateInput is turned off, translation requests are not made. 2025-03-09 21:09:58 +09:00
Kwaroran
17bd35e452 Revert #773 f7ea95aeea due to critical bug 2025-03-05 06:30:57 +09:00
Junha Heo
f7ea95aeea feat: Optimize chat rendering and performance with caching and lazy loading
- Implement markdown parsing cache in Chat.svelte to reduce redundant processing
- Add virtual scrolling and asynchronous loading in DefaultChatScreen.svelte
- Create message form cache mechanism in util.ts to improve rendering efficiency
- Introduce loading state and performance optimizations for large chat histories
2025-02-26 11:32:20 +09:00
Bo26fhmC5M
53eb087943 fix: optimize auto translation 2025-02-16 08:56:57 +09:00
Bo26fhmC5M
1562f0549f feat: add option to show translation loading 2025-02-16 08:53:41 +09:00
Kwaroran
dffc5ee65e refactor: remove legacy imports and update event handling in chat and trigger components 2025-02-14 00:21:42 +09:00
Bo26fhmC5M
293b5ae264 fix: add legacy translation support in Auto Translate Cached Only option 2025-02-02 16:17:32 +09:00
Kwaroran
3139eac739 Add paste post 2025-01-31 23:04:01 +09:00
HyperBlaze
cd3294d529 Merge branch 'kwaroran:main' into main 2024-12-15 14:13:02 -08:00
Kwaroran
a984b823a6 Update inlay syntax to support 'inlayed' type and adjust parsing logic 2024-12-13 00:09:13 +09:00
Kwaroran
5174082796 Add Gemini related features 2024-12-12 08:38:33 +09:00
LightningHyperBlaze45654
69f44c03c6 Merge remote-tracking branch 'upstream/main' 2024-12-08 20:08:25 -08:00
HyperBlaze
2728b9c5f5 Merge branch 'kwaroran:main' into main 2024-12-03 23:28:56 -08:00
Bo26fhmC5M
6c62580ccb Fix issue with autoTranslateCachedOnly option being ignored when sending messages 2024-12-03 22:38:09 +09:00
LightningHyperBlaze45654
60d4e33893 feat: add validation
Also revoked potentially problematic feature(add hypav2data chunk)
TODO:
1. On mid-context editing, currently that is not considered as deletion. Do have optional editedChatIndex to latter dive in more.
2. re-roll mainChunks(re-summarization) functionalities added, but not able to access it.
2024-12-01 13:00:00 -08:00
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
Bo26fhmC5M
daa9ed79c8 Fix issue where cache misses occur when translateBeforeHTMLFormatting is disabled. 2024-11-30 08:53:55 +09:00
Bo26fhmC5M
ae6d12ea29 Add autoTranslateCachedOnly option to auto-translate only previously translated text when enabled. 2024-11-28 21:53:15 +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
07fd36a811 Fix background embedding 2024-11-27 04:44:25 +09:00
kwaroran
8274fae180 Refactor model handling 2024-11-25 05:25:58 +09:00
poroyo
d3d7918e5a Fix missing text node rendering to custom HTML 2024-11-15 11:39:46 +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
c22f6b789a Improve performance 2024-11-03 23:16:51 +09:00