Commit Graph

3683 Commits

Author SHA1 Message Date
kwaroran
02a5a1eb0d fix: improve scrolling in Show Request Logs (#853)
# 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 following:
- Make only markdown content scrollable while keeping OK button visible
2025-05-24 20:16:32 +09:00
kwaroran
6d39e5f50f Add getDescription function to LUA script (was missing) (#852)
The `getDescription(triggerId)` function, documented at:
https://kwaroran.github.io/docs/srp/lua/#getdescriptiontriggerid was
missing from the codebase and has now been added.

# PR Checklist
- [ ] Have you checked if it works normally in all models? *Ignore this
if it doesn't use models.*
- [ o] 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
2025-05-24 20:16:23 +09:00
Kwaroran
6e5cf5eb48 Add escapes 2025-05-21 00:41:51 +09:00
Kwaroran
d0f254c227 Fix escapes parsing double brackets 2025-05-20 04:22:01 +09:00
Kwaroran
71059bae47 Add 2025-05-20 04:17:36 +09:00
Kwaroran
14955b7698 Bump version to 160.1.0 in configuration files 2025-05-20 04:06:36 +09:00
Kwaroran
7ac5f4a6e3 Add decorators 2025-05-20 04:02:12 +09:00
kwaroran
57568ed7bc Add cbs non-underline variant 2025-05-19 17:34:25 +09:00
kwaroran
efab44e4c1 Add new cbs, and update docs 2025-05-19 17:28:22 +09:00
kwaroran
bda7871c76 Merge branch 'main' of https://github.com/kwaroran/RisuAI 2025-05-19 13:33:33 +09:00
kwaroran
4b6cb0727f Add MCP related functions 2025-05-19 13:33:06 +09:00
Kwaroran
42b2fe5486 fix: ensure basicMatcher returns an empty string for unmatched cases 2025-05-18 23:14:45 +09:00
Kwaroran
fe9e6e97ef fix: update return value in basicMatcher for risuaixa case 2025-05-18 23:14:30 +09:00
Kwaroran
171c5e5e3a Add documentation related 2025-05-18 23:13:55 +09:00
Bo26fhmC5M
2c4c2a0f2b fix: improve scrolling in Show Request Logs 2025-05-18 22:09:27 +09:00
Kwaroran
12d87ac706 feat: add 'iserror' cbs 2025-05-18 21:44:23 +09:00
Kwaroran
61e21cea49 Add metadata cbs 2025-05-18 21:43:40 +09:00
Kwaroran
a9d3ceea19 Make korean more smooth 2025-05-18 20:13:51 +09:00
Kwaroran
d398c8cced Change setup 2025-05-18 20:07:43 +09:00
Kwaroran
8815a71440 Update node version to 22 2025-05-18 17:24:27 +09:00
Kwaroran
45bef69d7a fix: add Cargo.lock to .gitignore to prevent build failures 2025-05-18 17:21:55 +09:00
Kwaroran
4a166eb4a1 Merge branch 'main' of https://github.com/kwaroran/RisuAI 2025-05-18 17:21:04 +09:00
Kwaroran
3ded54ec43 Remove cargo.lock due to build bug 2025-05-18 17:20:54 +09:00
Kwaroran
90d1a0ebf4 Bump version to 160.0.2 in configuration and source files 2025-05-18 17:18:57 +09:00
Kwaroran
858d6c2ad2 Revert to old loading temp 2025-05-18 17:18:34 +09:00
Joseph Kang
5e330424f4 Add getDescription function (was missing)
The `getDescription(triggerId)` function, documented at:
https://kwaroran.github.io/docs/srp/lua/#getdescriptiontriggerid
was missing from the codebase and has now been added.
2025-05-18 17:16:22 +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
a33f588fbd fix: improve HypaV3 Modal (#851)
# 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 following:
- fix: pass message index when processing regex script in HypaV3 Modal
- feat: add BGE-m3-ko embedding
2025-05-18 17:15:48 +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
0a792db7c2 Fix tauri build again 2025-05-17 03:28:12 +09:00
Kwaroran
18bc8d7c6a Fix tauri build step 2025-05-17 03:21:09 +09:00
Kwaroran
f9634af12b Bump version to 160.0.1 in configuration and source files 2025-05-17 03:13:19 +09:00
Kwaroran
579e4ab55d Fix reroll 2025-05-17 03:13:01 +09:00
Kwaroran
14a0166327 Fix dupicated keys 2025-05-17 02:51:16 +09:00
Kwaroran
dcffc9e323 Bump version to 160.0.0 across configuration files 2025-05-17 02:50:10 +09:00
Kwaroran
fcaf056049 Add new LLMs 2025-05-17 02:49:53 +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
e1a3f5e7a6 Support numeric values in inputs and enhance image generation configs (#837)
# 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
Novel AI V4 Vibe 기능 추가
SelectInput에 number도 입력되도록 추가(Svelte의 select가 알아서 number string 변환해준다길래
타입만 추가함)
2025-05-17 01:11:10 +09:00
kwaroran
60755b907c Merge branch 'main' into main 2025-05-17 01:11:02 +09:00
kwaroran
33debaf27d feat: Open read-only access to lore books from Lua (#846)
# 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

This PR adds read-only lore books access from Lua.

- `getLoreBooks(triggerId, search)`: Gets all lore books of the name
(comment). No additional sorting is done - API user will need to sort
themselves. All lores are parsed before returning.
- `loadLoreBooks(triggerId, reserve)`: Retrieves all active lore books
in current context. This function takes account of max context length
and cut low priority lores, similar to a user submitting their message.
All lores are parsed before returning.
- Specifying `reserve` higher than `0` would reserve that much tokens
for other prompts.

With `loadLoreBooks()`, character and module creators would be able to
separate token- and context-heavy data generations into Lua and separate
LLM workflow for improved accuracy.
2025-05-17 01:09:44 +09:00
kwaroran
e5fededc69 Merge branch 'main' into lualore 2025-05-17 01:09:37 +09:00
kwaroran
1a071a7be5 feat: implement preset and parallel requests for HypaV3 (#845)
# 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/603c249d-6a97-44ee-a0d4-767c0a0cfcca)

# Description
This PR adds preset support for the HypaV3 memory system.
Users can now create different presets as needed and switch between
presets.
It also supports parallel requests in an experimental implementation.
As it's still in the experimental stage, feedback is requested.
2025-05-17 01:09:10 +09:00
kwaroran
3390e7b11c Merge branch 'main' into patch-2 2025-05-17 01:09:01 +09:00
kwaroran
f9f0b5dd31 feat: Open read-only access to persona name/desc from Lua (#847)
# 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

This PR adds read-only persona name and description access from Lua by
adding `getPersonaName(triggerId)` and
`getPersonaDescription(triggerId)`. The description is parsed before
returning.
2025-05-17 01:08:21 +09:00