Commit Graph

1075 Commits

Author SHA1 Message Date
kwaroran
4baf3f1d90 Suggestion: disabling regex script (#683)
# 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

![image](https://github.com/user-attachments/assets/efcd778e-82d3-4b23-9eba-3b2843709450)

I propose adding a feature to disable regex scripts instead of deleting
them. In this PR, I opted for the approach that minimizes edits to the
original source code, but I believe it’s worth considering alternatives,
such as using a custom flag or a separate toggle. I’d like to gather
your feedback on this approach and make further adjustments if
necessary.
2024-12-17 02:39:03 +09:00
Kwaroran
9bdd354f7c Add asset max difference setting and update related logic 2024-12-16 07:56:15 +09:00
HyperBlaze
cd3294d529 Merge branch 'kwaroran:main' into main 2024-12-15 14:13:02 -08:00
bangonicdd
943e2738d5 suggestion: disabling regex script 2024-12-15 21:09:31 +09:00
Kwaroran
dcc48d5cb3 Add subtitle 2024-12-15 19:33:26 +09:00
Kwaroran
f4b78480f3 Rework realm and several bug fixes 2024-12-14 19:09:28 +09:00
Kwaroran
a984b823a6 Update inlay syntax to support 'inlayed' type and adjust parsing logic 2024-12-13 00:09:13 +09:00
Kwaroran
a8782dbe76 Add statics 2024-12-12 11:45:06 +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
kwaroran
15778e7c68 Add help tooltip to preset chain input in AdvancedSettings 2024-12-08 22:16:26 +09:00
kwaroran
40ad42ffe9 Add new asset finder and preset chain 2024-12-08 21:25:57 +09:00
kwaroran
ccebb4d665 Roll back couple of things 2024-12-08 18:36:05 +09:00
kwaroran
0c62b8bbfe Add pools 2024-12-08 15:46:54 +09:00
kwaroran
9d8f239250 Refactor tokenizer 2024-12-07 06:24:33 +09:00
kwaroran
03bdca0958 Remove unused Plugin button from ModelList and update model parameters for Gemini Exp 1206; adjust URL generation logic in request functions. 2024-12-07 03:20:45 +09:00
kwaroran
909e9635d2 Merge branch 'main' of https://github.com/kwaroran/RisuAI 2024-12-07 00:58:13 +09:00
kwaroran
e0f6c58540 Refactor HypaProcesser instantiation to remove hardcoded model name and add models and others 2024-12-07 00:58:09 +09: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
kwaroran
50d20bcc3f Add custom flags 2024-12-03 21:34:55 +09:00
LightningHyperBlaze45654
46502e762b add: gut updates
are you ready?
I hate school
2024-12-01 22:15:19 -08:00
LightningHyperBlaze45654
2a35b1f4b2 refactor: accidental usage of wrong comment 2024-12-01 13:06:33 -08: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
18ea5aff4e Add notification feature with permission handling and UI toggle 2024-12-02 04:42:13 +09: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
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