Commit Graph

1122 Commits

Author SHA1 Message Date
Kwaroran
dce4f11593 Add runLLM model selection 2025-02-15 21:37:28 +09:00
Kwaroran
dcc7c56726 Merge branch 'main' of https://github.com/kwaroran/RisuAI 2025-02-15 21:32:11 +09:00
Kwaroran
d2fce340bb Add TriggerV2 2025-02-15 21:29:37 +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
bangonicdd
b783dc9874 feat: reintroduce module integration 2025-02-10 09:02:57 +09:00
kwaroran
1c76f87711 feat: add global toggle buttons for lorebook always-active state (#754)
# PR Checklist
- [x] Have you checked if it works normally in all models? *Ignore this
if it doesn't use models.*
- [x] 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?

# Preview

![off](https://github.com/user-attachments/assets/0b062220-a101-4c77-ac58-9e87d7e8985c)


![on](https://github.com/user-attachments/assets/1441ad33-6608-4df4-8d8d-4de9c927d180)

# Description
This PR introduces following:
- Add buttons to toggle all character/chat lorebooks' always-active
state at once
- Show SunIcon when all lorebooks are active, LinkIcon otherwise
2025-02-09 16:25:19 +09:00
kwaroran
7e71d03d21 Merge branch 'main' into patch-25 2025-02-09 16:24:49 +09:00
Bo26fhmC5M
3e3511760e feat: add import summary filtering and improve search in HypaV3
- Add important summary filtering button
- Improve search navigation with focus-based results
- Add mobile-friendly previous/next search buttons
2025-02-09 15:23:24 +09:00
Bo26fhmC5M
0670972016 fix: change lorebook toggle button labels to uppercase for better readability 2025-02-08 23:04:59 +09:00
Bo26fhmC5M
73003c115d feat: add global toggle buttons for lorebook always-active state
- Add buttons to toggle all character/chat lorebooks' always-active state at once
- Show SunIcon when all lorebooks are active, LinkIcon otherwise
2025-02-08 22:37:26 +09:00
Bo26fhmC5M
fb941148e0 feat: add trigger effect RunAxLLM 2025-02-08 17:15:45 +09:00
Bo26fhmC5M
60118e6e8f Merge branch 'kwaroran:main' into patch-23 2025-02-08 14:48:56 +09:00
Bo26fhmC5M
2d455840a4 feat: add localization for HypaV3 settings and modal 2025-02-08 02:17:35 +09:00
Bo26fhmC5M
d36d8c8654 feat: set to default settings when selecting HypaV3 on OtherBotSettings 2025-02-07 23:43:20 +09:00
Bo26fhmC5M
6d79f45d32 feat: add doNotSummarizeUserChat option in HypaV3
- Add doNotSummarizeUserChat option to exclude user messages from summarization
- Add early return logic to prevent unnecessary similarity checks when summaries are empty
2025-02-07 21:08:50 +09:00
kwaroran
89c34dfdd7 fix: disable module before remove (#747)
# 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
This PR fixes an issue where a removed module remains active until the
app is restarted if it was enabled at the time of deletion.
2025-02-07 20:34:41 +09:00
bangonicdd
b4e3e08be8 fix: toggles should be reactive 2025-02-07 13:00:39 +09:00
bangonicdd
b771105025 fix: disable module before remove 2025-02-07 01:26:21 +09:00
bangonicdd
ef6f671792 feat: custom toggles for modules 2025-02-06 19:45:55 +09:00
Kwaroran
7b57bdf5f1 Merge branch 'main' of https://github.com/kwaroran/RisuAI 2025-02-06 09:49:23 +09:00
Kwaroran
1b171cab66 Update version, gemini models, and new progress dialoge, and charxjpeg 2025-02-06 09:48:55 +09:00
Bo26fhmC5M
293b5ae264 fix: add legacy translation support in Auto Translate Cached Only option 2025-02-02 16:17:32 +09:00
kwaroran
95c6fe2b22 fix: resolve mobile keyboard enter button not working in HypaV3 modal (#732)
# 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
This PR introduces fix: resolve mobile keyboard enter button not working
in HypaV3 modal
2025-02-02 07:51:59 +09:00
kwaroran
6daaa03f75 feat: display estimated max memory tokens ratio in HypaV3 settings (#737)
# 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?

# Preview

![preview](https://github.com/user-attachments/assets/5cb0f8fd-9885-4e54-8ffe-f1298672a221)

# Description
This calculation provides users with an approximate maximum memory
tokens ratio, allowing users to choose appropriate maximum context size
or memory tokens ratio based on their specific needs and circumstances.

The maximum memory tokens ratio is calculated based on:

`maxMemoryRatio = (maxContextTokens - requiredTokens) /
maxContextTokens`
- where `requiredTokens = promptTemplateTokens + charTokens +
maxLoreTokens + (maxResponseTokens * 3)`
2025-02-02 07:51:47 +09:00
Kwaroran
243984d788 Add CharX-Jpeg 2025-02-02 07:49:08 +09:00
Kwaroran
25aa83877b Add reasoning effort 2025-02-01 09:05:07 +09:00
Bo26fhmC5M
dc6124d2ab feat: display estimated max memory tokens ratio in HypaV3 settings 2025-01-31 23:33:57 +09:00
Kwaroran
3139eac739 Add paste post 2025-01-31 23:04:01 +09:00
Kwaroran
757a944686 Add inlayErrorResponse 2025-01-31 17:38:14 +09:00
Kwaroran
e8ec986f65 Add server backup 2025-01-30 13:50:16 +09:00
Bo26fhmC5M
4451aea52e fix: resolve mobile keyboard enter button not working in HypaV3 modal 2025-01-29 08:39:32 +09:00
Kwaroran
338d1cfec2 Add models 2025-01-29 05:38:26 +09:00
Bo26fhmC5M
de9b9ed80c fix: ensure scrollToSelection works cross-browser in HypaV3 modal 2025-01-28 09:45:33 +09:00
Bo26fhmC5M
1c5ed2fe32 fix: remove instruct35 from HypaV3 supa model list
- Remove outdated model to improve summarization performance
2025-01-23 19:50:24 +09:00
Bo26fhmC5M
2d22e9da5c fix: support multiple search results within a single summary in HypaV3 modal 2025-01-22 23:49:22 +09:00
Bo26fhmC5M
22e4b3d07c feat: add search button in HypaV3 modal 2025-01-22 22:08:46 +09:00
Bo26fhmC5M
9877931d1e fix: improve contrast in HypaV3 modal 2025-01-21 09:17:03 +09:00
Bo26fhmC5M
463dcc66b1 fix: improve HypaV3 modal responsive for mobile 2025-01-21 00:26:51 +09:00
Bo26fhmC5M
e3d95107a3 fix: remove duplicate modal wrapper from HypaV3 modal 2025-01-20 12:41:47 +09:00
Bo26fhmC5M
deb1c7d667 fix: minor changes in HypaV3 modal 2025-01-19 22:48:10 +09:00
Bo26fhmC5M
6f6e4b925a refactor: minor changes 2025-01-19 19:41:59 +09:00
Bo26fhmC5M
cd65eaf400 feat: add process regex script option in HypaV3 modal 2025-01-19 18:05:11 +09:00
Bo26fhmC5M
28da23c9c3 feat: add HypaV2 to V3 conversion in HypaV3 modal 2025-01-19 14:05:35 +09:00
Bo26fhmC5M
9c052f9a1d feat: add cut-after button in HypaV3 summary header 2025-01-19 12:23:09 +09:00
Bo26fhmC5M
17b9e28041 feat: add settings button to HypaV3 modal header 2025-01-19 11:55:09 +09:00
Bo26fhmC5M
ec2dd091aa feat: add auto-scroll to translations in HypaV3 modal 2025-01-19 11:30:50 +09:00
Bo26fhmC5M
0e86d15c62 fix: resolve mobile dual-action translation in HypaV3 modal 2025-01-19 09:30:54 +09:00
Bo26fhmC5M
1b2ea2b15b fix: handle null case for firstMessage in HypaV3 modal 2025-01-18 14:16:50 +09:00
kwaroran
e073d66bca feat: improve HypaV3 (#721)
# PR Checklist
- [x] Have you checked if it works normally in all models? *Ignore this
if it doesn't use models.*
- [x] 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?
- [x] Have you added type definitions?

# Description
- feat: add translate button to HypaV3 modal
- feat: add dual-action translation (cached/regenerate) in HypaV3 modal
- Implements shift+click (desktop) and double tap (mobile) for
regenerating translations while maintaining regular click/tap for cached
translations.
- feat: improve ratio sliders interaction in HypaV3 settings
- feat: add lastSelectedSummaries property to store selected memory
indices
- feat: display next message to be summarized in HypaV3 modal
2025-01-17 22:54:08 +09:00
Bo26fhmC5M
b43eec49d1 fix: handle empty message edge cases in getNextMessageToSummarize 2025-01-17 09:03:23 +09:00