Commit Graph

2378 Commits

Author SHA1 Message Date
Dong Hyun Kim
e3f205cc31 fix(parsor): remove incorrectly imported packages 2025-02-07 10:43:03 +09:00
Dong Hyun Kim
ffd904ab5c fix(parser): fix typo & cleanup 2025-02-07 10:23:15 +09:00
Dong Hyun Kim
997b4f70ce refactor(parser): cleanup & add getEmoSrc() 2025-02-07 01:16:24 +00:00
Dong Hyun Kim
b3587fc950 refactor(parsor): cleanup & add getAssetSrc()
- Modified getAssetSrc() to handle Emotional, Module, and AdditionalAssets.
- Reduced if-for statement depth for improved readability.
2025-02-06 22:38:57 +09:00
bangonicdd
ef6f671792 feat: custom toggles for modules 2025-02-06 19:45:55 +09:00
Dong Hyun Kim
25b507a01a refactor(parser): import only the required asset when in a node environment
- refactor parseAdditionalAssets()
- Modified the getClostMatch() to work well with Object<key, value> to which it is dynamically added.
2025-02-06 18:33:43 +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
bangonicdd
d679247874 omit needless lines 2025-02-04 09:24:14 +09:00
bangonicdd
ad6f7e0be4 feat: charjs style button trigger 2025-02-04 09:04:55 +09:00
Kwaroran
0242fd27cc chore: update application version to 149.0.0 2025-02-02 07:49:25 +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
Kwaroran
e6f98cd6f8 feat: add new LLM model 'o3-mini' to the model list 2025-02-01 08:45:46 +09:00
Kwaroran
3139eac739 Add paste post 2025-01-31 23:04:01 +09:00
Kwaroran
43ebf73b2b chore: update application version to 148.1.0 2025-01-31 17:40:58 +09:00
Kwaroran
614f7b2f17 fix: improve error handling in chat message logging 2025-01-31 17:39:34 +09:00
Kwaroran
757a944686 Add inlayErrorResponse 2025-01-31 17:38:14 +09:00
Kwaroran
8174c6dcde feat: add confirmation alerts before loading account backup 2025-01-30 13:53:07 +09:00
Kwaroran
e8ec986f65 Add server backup 2025-01-30 13:50:16 +09:00
Kwaroran
7446e7fc83 chore: update application version to 148.0.0 2025-01-29 05:39:26 +09:00
Kwaroran
338d1cfec2 Add models 2025-01-29 05:38:26 +09:00
Kwaroran
62ea10cc32 fix: remove logit_bias from request body if empty 2025-01-29 04:25:59 +09:00
kwaroran
342def3824 feat: improve HypaV3 (#727)
# 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
- fix: handle null case for firstMessage in HypaV3 modal
- fix: resolve mobile dual-action translation in HypaV3 modal
  - Implements shift+click (desktop) and double tap (mobile) for
regenerating translations while maintaining regular click/tap for cached
translations.
- feat: add auto-scroll to translations in HypaV3 modal
- feat: add settings button to HypaV3 modal header
- feat: add cut-after button in HypaV3 summary header
- feat: add HypaV2 to V3 conversion in HypaV3 modal
- feat: add process regex script option in HypaV3 modal
  - when enabled, reroll function will process regex script.
- fix: improve HypaV3 modal responsive for mobile
- feat: add search button in HypaV3 modal
2025-01-26 22:44:06 +09:00
Bo26fhmC5M
f0d2c3e0ed feat: add setArg to plugin v2 2025-01-24 01:54:00 +09:00
Bo26fhmC5M
cd65eaf400 feat: add process regex script option in HypaV3 modal 2025-01-19 18:05:11 +09:00
Kwaroran
46eed96c86 feat: update application version to 147.0.0 2025-01-17 22:58:30 +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
kwaroran
1d98a63d4c feat: apply positionParser to alternate global note (#724)
# 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 ensures that the 'position' lorebook decorator is correctly
applied to alternate (replaced) GlobalNotes.
Thank you for your time and consideration.
2025-01-17 22:53:45 +09:00
bangonicdd
172efe4d68 suggestion: apply 'processScriptFull()' to 'editprocess' mode regex script 2025-01-17 03:58:20 +09:00
bangonicdd
23fd706d9b feat: apply positionParser to alternate global note 2025-01-17 00:23:14 +09:00
Bo26fhmC5M
3c62317f3a feat: add lastSelectedSummaries property to store selected memory indices 2025-01-17 00:17:12 +09:00
Bo26fhmC5M
6a13b33103 refactor: extract repeated summarization logic into retryableSummarize function 2025-01-16 23:36:32 +09:00
Bo26fhmC5M
fac11bfe67 fix: improve HypaV3 logging 2025-01-16 22:40:08 +09:00
Bo26fhmC5M
3e234dcb15 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.
2025-01-15 13:45:34 +09:00
Bo26fhmC5M
a10a2c5502 refactor: extract HypaV3 modal into separate component 2025-01-14 13:01:14 +09:00
Bo26fhmC5M
f3c6278d21 feat: add important button in HypaV3 Data modal 2025-01-13 23:30:18 +09:00
Bo26fhmC5M
4176a647a5 fix: restore undefined value from null after importing hypaDataV3 2025-01-13 19:31:24 +09:00
Bo26fhmC5M
a1158ebdb1 fix: adjust memory selection order 2025-01-13 14:09:18 +09:00
Bo26fhmC5M
cfdd5d6bf5 fix: resolve summarize function issues with instruct35 2025-01-13 13:30:10 +09:00
Bo26fhmC5M
04e640a791 refactor: improve array conversion and sorting syntax 2025-01-13 13:02:22 +09:00
Bo26fhmC5M
ab7a2aa499 feat: add resummarize button to HypaV3 Data modal 2025-01-12 23:32:20 +09:00
Bo26fhmC5M
f08c31612b fix: prevent over-summarization and improve logging 2025-01-12 17:15:11 +09:00
Bo26fhmC5M
6e49970b76 fix: correct targetTokens calculation in summarization and improve logging 2025-01-12 14:49:01 +09:00
Bo26fhmC5M
85bdf1d544 fix: improve memory token tracking and logging 2025-01-12 13:17:56 +09:00
Bo26fhmC5M
50361d7aa2 feat: Implement HypaV3 ratio-based memory 2025-01-12 11:05:18 +09:00
kwaroran
3b533e911f fix backup in non-tauri environment (#713)
# 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
EN
fix non-tauri environment backup issue. (e.g. backwards reset issue)
fix applying duplicate backup file.

KR
Tauri 환경(로컬리스)가 아닌 상황에서 과거 20개의 백업본 이외에 나머지 백업본을 저장하지 않던 문제를 수정합니다.
(뒤로가기 이슈)
백업본 적용 시 모든 백업본을 적용해보던 로직을 개선합니다.
2025-01-11 01:44:58 +09:00
kwaroran
c363d50aa3 fix: gemini multimodal (#712)
# 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
fix gemini multimodal error.
ERROR MESSAGE : Invalid value at 'contents[6].parts[1]' (oneof), oneof
field 'data' is already set. Cannot set 'text'
2025-01-11 01:44:30 +09:00
kwaroran
edb4964da7 fix: Fix message handling and summarization in HypaV2 (#711)
# 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?

# Description
This PR addresses several issues in the HypaV2 memory system:

1. Improved Summarization Error Handling
- Before: When unable to summarize messages while exceeding context
size, HypaV2 would continue and make API requests with unintentionally
truncated context
- After: HypaV2 now provides clear error messages asking users to adjust
their settings when:
  - Unable to summarize last 4 messages
  - A single message exceeds chunk size

2. Message Order Preservation
- Before: lastTwoChats logic was causing the first message (index 1) and
user input (index 2) to appear in the wrong order
- After: Fixed by adjusting the initial index to preserve the original
message sequence

3. Message Filtering
- Added logic to skip unnecessary messages during summarization:
  - Excludes [Start a new chat] message at index 0
  - Skips empty messages
<br>
Requesting review from @LightningHyperBlaze45654
2025-01-11 01:44:10 +09:00
kwaroran
9896b68b7a fix: resolve state_unsafe_mutation in getChatVar() (#707)
# 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
While investigating an issue where `{{getvar::A}}` didn't work properly
in background embedding, I encountered a `state_unsafe_mutation` error.
It appears that modifying the null check operator on the relevant line
can resolve this issue. Thank for your time.
2025-01-11 01:44:01 +09:00