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.

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
kwaroran
b51bbad838
Fix background embedding
2024-11-03 22:26:20 +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
kwaroran
42f534e6dd
Add Themes
2024-11-02 04:04:11 +09:00
kwaroran
efbda2333d
Change saving
2024-11-02 01:46:21 +09:00
kwaroran
da907f4fc2
Move DBState to stores
2024-10-26 21:17:46 +09:00
kwaroran
ffa6308ca3
change globalApi path
2024-10-26 20:40:40 +09:00
kwaroran
d575b0817c
Fix store making vite crash on hmr
2024-10-26 20:27:47 +09:00