Commit Graph

509 Commits

Author SHA1 Message Date
poroyo
4fca6f26b4 feat: store prompt preset name, toggles, and text in chat metadata when enabled 2025-05-16 02:20:48 +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
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
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
bangonicdd
a7aebab65c fix: preserve selected persona after sorting 2025-04-19 15:34:52 +09:00
bangonicdd
9af38ced76 feat: add persona sort 2025-04-19 12:01:53 +09:00
shirosaki-hana
5168565b4f Update : server.cjs 2025-04-17 17:31:46 +09:00
kwaroran
36e0935bb0 Make tokenizer caching to an option 2025-04-16 10:57:48 +09:00
YH_KIM
517b2ff86b Update placeholder text for image model selection 2025-04-14 04:49:13 +09:00
YH_KIM
d11bff3f80 Add support for NAI v4 model configuration and inputs 2025-04-14 04:38:47 +09:00
YH_KIM
668b8d171c Add support for NovelAI V4 model and configuration settings 2025-04-12 23:29: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
bangonicdd
72e47afb49 fix: add null check on module integration for legacy preset 2025-04-02 02:45:51 +09:00
Kwaroran
3535c29c10 Add custommodel 2025-03-23 15:21:31 +09:00
Kwaroran
9ed6d20994 Add array fallback 2025-03-22 21:18:59 +09:00
kwaroran
f5f05bdf99 Add hotkeys 2025-03-20 14:37:12 +09:00
kwaroran
ad4f52239b Add OAI response API 2025-03-20 12:08:34 +09:00
kwaroran
30dce07c70 Add Firefox(Bergamot) local translation (#794)
# 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
Translation is performed using the models hosted in the repository:
https://github.com/mozilla/firefox-translations-models/

When the translation is first running, the model is downloaded from the
repository.

Testing completed for `npm dev` and Node server environment.
2025-03-17 16:05:46 +09:00
kwaroran
b6d0fab4b8 Add claudeRetrivalCaching option 2025-03-17 15:27:00 +09:00
kwaroran
4a5722a8bd Fix doNotChangeSeperateModels 2025-03-17 15:01:03 +09:00
kwaroran
bf4f27d0e5 Add seperate models 2025-03-17 14:30:29 +09:00
ModMapper
bbb01d2961 Add Firefox (Bergamot) translation settings 2025-03-16 19:23:38 +09:00
kwaroran
fef10c1e56 Add translate sound 2025-03-13 20:21:05 +09:00
kwaroran
7d7cef4a69 Add gemini image response 2025-03-13 14:18:05 +09:00
Kwaroran
f62de63f09 chatCompression support for node 2025-03-10 22:29:26 +09:00
Kwaroran
1a3c111830 Fix help keys 2025-03-10 19:42:45 +09:00
Kwaroran
e2c92ed473 Add conditional rendering for chat compression based on server type 2025-03-10 19:38:55 +09:00
kwaroran
5c2d821445 Add automatic cache point 2025-03-10 13:57:02 +09:00
kwaroran
188e2dd05d Add show folder name option 2025-03-10 13:38:12 +09:00
Kwaroran
4e7514efc0 Remove experimental caching 2025-03-08 17:52:07 +09:00
cloak1505
e1c43e5a8e Add trailing comma
Better practice, and prevents <Arcodion> from being diff'd as a changed line.
2025-03-07 12:39:10 -06:00
cloak1505
de5ce61f3a Update providers list in OpenrouterSettings.svelte 2025-03-07 11:43:50 -06:00
Kwaroran
6ed005b733 feat: add local activation option in global lorebook settings 2025-03-05 05:41:04 +09:00
Bo26fhmC5M
1775591ef0 feat: add support for OpenAI-compatible embedding API 2025-02-27 23:27:50 +09:00
Kwaroran
5a4b7bbef2 Add anti server overload 2025-02-26 09:14:32 +09:00
Kwaroran
07717a7937 Merge branch 'main' of https://github.com/kwaroran/RisuAI 2025-02-25 05:27:24 +09:00
Kwaroran
6c72d78157 Add Sonnet 3.7 2025-02-25 05:25:34 +09:00
bangonicdd
abf4cdda9d fix: force refresh modules after closing menu 2025-02-23 20:35:39 +09:00
Kwaroran
94e23543dd Add ExperimentalGoogleTranslator 2025-02-20 04:06:35 +09:00
Kwaroran
6177957c64 feat: add return CSS error option and update related functionality 2025-02-19 11:12:12 +09:00
kwaroran
f085c1c496 Merge branch 'main' into patch-2 2025-02-16 19:15:48 +09:00
Kwaroran
825507fcaf Add V1 option and warning 2025-02-16 15:08:14 +09:00
Bo26fhmC5M
1562f0549f feat: add option to show translation loading 2025-02-16 08:53:41 +09:00
Kwaroran
4da60032d8 Add bulk enabling settings 2025-02-15 21:45:00 +09:00