Commit Graph

1257 Commits

Author SHA1 Message Date
enzi221
ab485543b8 feat: Add 'divider' type toggle 2025-05-25 00:19:09 +09:00
kwaroran
6f3abd385a Feature: Preserve scroll position in menuMode 0 navigation (Trigger V2) (#868)
# 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
Implements scroll position preservation functionality for RisuAI's
Trigger V2 menuMode 0. When users navigate away from menuMode 0 and then
return, the scroll position is now automatically restored to where they
left off.

Changes:
- Saves scroll position when leaving menuMode 0
- Restores saved scroll position when returning to menuMode 0
- Improves user experience by maintaining navigation context"

This enhancement provides a smoother user experience by eliminating the
need to manually scroll back to previous positions after navigation.
2025-05-24 20:38:10 +09:00
kwaroran
0c2ec7d445 Feature: Trigger V2 Improvements (#867)
# 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 adds a back button functionality and improves textarea
components in Trigger V2.

## Changes Made
- Added back button for better navigation
- Updated textarea components for improved user experience
- Enhanced UI/UX in Trigger V2 section

This is my first pull request to this project. I would greatly
appreciate thorough review and feedback from maintainers. Please let me
know if any changes or improvements are needed.

Thank you for your time and consideration!


![image](https://github.com/user-attachments/assets/593b8390-c609-4f2f-b247-cf40cf82ff79)


![image](https://github.com/user-attachments/assets/0ae54a4f-20f3-4e11-a19d-81176a7b27bf)


![image](https://github.com/user-attachments/assets/52a04014-0e23-4090-b7ff-595b06d3be10)
2025-05-24 20:37:29 +09:00
kwaroran
b2061cfd02 feat: aws claude 4 && fix: module lore sort properly (#865)
# 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
In my previous PR #822 there's an issue where the module lore sort was
not saving properly. I believe this PR will fix that. I appreciate your
time.
2025-05-24 20:36:17 +09:00
kwaroran
206d509482 feat: add memory selection metrics to HypaV3 (#861)
# 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/8b805ff5-6242-401b-a1c2-ca3ca17355d6)

# Description
This PR introduces following:
- Add memory selection metrics to HypaV3
2025-05-24 20:35:47 +09:00
kwaroran
6291a4cc43 fix: resolve Hypa V3 button disappearing from menu (#855)
# 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 resolves an issue appeared in [Revert to old loading
temp](858d6c2ad2)
2025-05-24 20:18:29 +09:00
cubicj
f46d6f2b02 set timeout 0 2025-05-24 16:26:39 +09:00
cubicj
4c993bb46a save/load scroll position 2025-05-24 00:16:19 +09:00
cubicj
b6fec1d97c change textinput to textarea 2025-05-23 16:08:36 +09:00
cubicj
614ce38d48 add back button 2025-05-23 16:05:26 +09:00
bangonicdd
23bd2a4673 fix: module lore sort properly 2025-05-22 19:01:36 +09:00
Bo26fhmC5M
557bfe194a feat: add memory selection metrics to HypaV3 2025-05-19 23:33:50 +09:00
Bo26fhmC5M
6d113ac152 fix: resolve Hypa V3 button disappearing from menu 2025-05-18 22:17:24 +09:00
Bo26fhmC5M
2c4c2a0f2b fix: improve scrolling in Show Request Logs 2025-05-18 22:09:27 +09:00
Kwaroran
d398c8cced Change setup 2025-05-18 20:07:43 +09:00
Kwaroran
4a166eb4a1 Merge branch 'main' of https://github.com/kwaroran/RisuAI 2025-05-18 17:21:04 +09:00
Kwaroran
858d6c2ad2 Revert to old loading temp 2025-05-18 17:18:34 +09:00
kwaroran
7894405096 fix: remove dupilacted nai settings input (#850)
# 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

Removed duplicated nai settings inputs for `noise_schedule` and
`cfg_rescale`.

### Before


![image](https://github.com/user-attachments/assets/3708be6a-8b04-41f4-9bf0-c2cb4af9e29c)

### After


![image](https://github.com/user-attachments/assets/df3fcf2b-b8e1-4594-ab7e-5f0d8cdcc88c)
2025-05-18 17:15:57 +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
Bo26fhmC5M
ba150a0913 feat: add BGE-m3-ko embedding 2025-05-18 14:31:35 +09:00
Bo26fhmC5M
a41ac074db fix: pass message index when processing regex script 2025-05-18 13:01:32 +09:00
niceandneat
74a463793d fix: remove dupilacted nai settings input 2025-05-17 10:15:57 +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
Kwaroran
665253e404 Merge branch 'main' of https://github.com/kwaroran/RisuAI 2025-05-17 01:42:59 +09:00
Kwaroran
0733554e4d Add styles 2025-05-17 01:42:08 +09:00
kwaroran
60755b907c Merge branch 'main' into main 2025-05-17 01:11:02 +09:00
kwaroran
3390e7b11c Merge branch 'main' into patch-2 2025-05-17 01:09:01 +09:00
Bo26fhmC5M
85753a76ef feat: implement preset and parallel requests for HypaV3 2025-05-16 22:18:13 +09:00
poroyo
4fca6f26b4 feat: store prompt preset name, toggles, and text in chat metadata when enabled 2025-05-16 02:20:48 +09:00
Kwaroran
634de807ad Remove googli 2025-05-13 13:54:08 +09:00
kwaroran
d9565b4450 feat: Allow deleting an orphaned summary from HypaV3 (#831)
# PR Checklist
- [ ] 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

Currently, you can:

- Manually rewrite summaries
- Delete orphaned summaries (all or none, in the settings)
- Delete all summaries after one

But you can't:

- Manually add summaries
- Delete a summary

This PR aims to add a feature for the second one - you can pick and
delete a specific summary.

As I'm not yet familiar with the implementation of HypaV3, this PR only
allows deleting orphaned summaries to minimize any unforeseen
side-effects.

cn, de, es, vi, zh-Hant strings were made with Gemini. Reviews welcome.
2025-05-10 20:17:29 +09:00
niceandneat
a148e07ad1 fix: prevent blocks lazy loading when no chat selected 2025-05-04 21:24:56 +09:00
YH_KIM
133156d7d4 Merge remote-tracking branch 'origin/main'
# Conflicts:
#	src/ts/process/stableDiff.ts
2025-05-03 16:41:56 +09:00
YH_KIM
5b0ca460a5 Support numeric values in inputs and enhance image generation configs
Updated `SelectInput` and `OptionInput` to allow `value` as `string | number`. Extended image generation configurations with new features, including `cfg_rescale`, `noise_schedule`, and vibe data handling. Improved the setup for reference images and added support for mnemonist dependency in the package manager.
2025-05-03 16:38:04 +09:00
alattalatta
7a5daf0995 Merge branch 'main' into dev 2025-05-02 01:34:45 +09:00
kwaroran
468450c254 Merge branch 'main' of https://github.com/kwaroran/RisuAI 2025-04-28 15:47:11 +09:00
kwaroran
780cbce164 Remove sleep 2025-04-28 15:47:06 +09:00
kwaroran
aef8a75f76 Add nai cfg_rescale, noise_schedule options settings (#835)
# 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? -
I've checked web version only.
- [x] Have you added type definitions?

# Description

Added the ability to configure the `cfg_rescale` and `noise_schedule`
properties in the NovelAI settings.

# Example


![image](https://github.com/user-attachments/assets/437984aa-7612-4a38-9d34-311faf20ced4)
2025-04-28 15:43:41 +09:00
kwaroran
02b9050666 feat: add option to show Hypa modal button in chat menu (#823)
# 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

![preview1](https://github.com/user-attachments/assets/daaafcb2-a533-4bf1-b38f-e9b9b54f6769)


![preview2](https://github.com/user-attachments/assets/a632a66d-fc74-4d92-909a-88d450cd41fb)

# Description
This PR introduces following:
- 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-28 15:43:06 +09:00
kwaroran
2c3ddd64e0 feat: module lorebook sort, import, export (#822)
# 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?
- [x] Have you added type definitions?

# Description
This PR adds sorting, import, and export functionality to the Module
Lorebook list.

I focused on preserving the existing code structure as much as possible
while implementing these changes.

Thank you for your time and review!
2025-04-28 15:42:40 +09:00
kwaroran
83b8e6b28e feat: add persona sort (#821)
# 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?
- [x] Have you added type definitions?

# Description
This PR introduces the persona sorting feature.

**Changes:**

1. Uses the `sortable` library, consistent with other sorting
functionalities.
2. To prevent desynchronization between the selected persona and the UI
value during sorting:
    *   `OnStart`: Saves the currently selected persona.
* `OnEnd`: Switches selection to the first persona without saving the
initial selection.

I believe I've tested this sufficiently, but please feel free to point
out any potential issues or edge cases I might have missed.

Thank you for your time and review!
2025-04-28 15:41:53 +09:00
kwaroran
05c51f333f Implement lazy loading of chats via lazy portal 2025-04-28 15:38:57 +09:00
niceandneat
a899a02d30 Add nai cfg_rescale, noise_schedule options settings 2025-04-28 01:21:10 +09:00
shirosaki-hana
6bce5cb456 Merge branch 'kwaroran:main' into DebugHubProxy 2025-04-23 08:58:23 +09:00
alattalatta
6837206755 Allow deleting specific HypaV3 summaries if orphaned 2025-04-22 23:00:59 +09:00
Bo26fhmC5M
acd0692029 Merge branch 'main' into patch-7 2025-04-21 11:47:38 +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
bangonicdd
5f1d63dcfb feat: module lorebook sort, import, export 2025-04-19 17:00:18 +09:00