Commit Graph

1934 Commits

Author SHA1 Message Date
kwaroran
09d9ff6933 Add noWaitForTranslate options 2024-03-25 20:22:59 +09:00
kwaroran
a70a10607f Add translation wait time 2024-03-25 20:22:21 +09:00
kwaroran
b7f53523e0 Update needSuperChunkedTranslate function to check translatorType 2024-03-25 20:18:47 +09:00
kwaroran
f3b8ea7781 Fix translation chunk splitting and translation process 2024-03-25 20:18:37 +09:00
kwaroran
a67962f2cd make needSuperChunkedTranslate function to always return false for now 2024-03-25 19:52:28 +09:00
kwaroran
d2a168524e Refactor translation logic and add super chunked translation 2024-03-25 19:52:05 +09:00
kwaroran
28436fc620 Refactor DeeplX URL handling in translator.ts 2024-03-25 19:10:19 +09:00
kwaroran
6ac23c6054 Refactor globalFetch function to simplify and improve readability 2024-03-25 18:58:05 +09:00
kwaroran
7707e55c87 GlobalFetch 리팩토링, Elevenlabs 다국어모델 정보 body에 삽입, DeepLX 로직구현(미작동) (#328)
# PR Checklist
- [x] Did you check if it works normally in all models? *ignore this
when it dosen't uses models*
- [ ] Did you check if it works normally in all of web, local and node
hosted versions? if it dosen't, did you blocked it in those versions?
- [ ] Did you added a type def?

# Description
1. DeepLX 를 번역 옵션에 넣고 URL, Token을 넣을 수 있게 하였습니다.
2. DeepLX 를 호출하는 로직을 넣었는데, DeepLX의 Body 중 Text는 완전한 텍스트로만 이루어져야 해서 번역
실행시 에러가 발생하는 중입니다. (DeepLX에 globalFetech로 호출은 정상적으로 가는중, body의 text타입만
해결하면 작동,)
3. TTS -> 일레븐랩스 호출시 body에 model을 다국어모델로 지정하였습니다. (정상작동)
4. globalFetch 함수를 리팩토링 하였습니다.

DeepLX 쪽만 해결방법을 찾으면 좋을 것 같은데 로직이 제가 생각한 것과 달라서 파악하는데 시간이 오래걸리고 있습니다.

DeepLX 부분 저도 더 로직 분석해볼 예정이지만, 
Body 부분에서 특수문자 제거 및 본문 텍스트만 파싱해서 번역 후 재조립하는 게 구현 가능하시다면 
해당 부분만 업데이트 해주시면 좋을 것 같습니다.
2024-03-25 18:53:26 +09:00
testman
72a682612a DeepLX 에러 해결 및 구현성공 2024-03-25 15:48:59 +09:00
testman
0ebe82c629 globalFetch 함수 코드개선 및 디버깅 완료 2024-03-25 06:06:41 +09:00
testman
7444090c9c globalFetch 함수 코드 개선 2024-03-25 05:26:35 +09:00
kwaroran
6caf5bd904 update scriptstate variable access 2024-03-25 03:06:38 +09:00
kwaroran
92335c9f10 Add conditional check for runVar in Comment case 2024-03-25 02:59:58 +09:00
kwaroran
6fb5b7d6a0 Refactor chat processing logic 2024-03-25 02:57:31 +09:00
kwaroran
98257b2bd6 Rework variable assignment and processing 2024-03-25 02:56:28 +09:00
kwaroran
5de39837ed Add CodeMirror based Highlighted editor (#325)
# PR Checklist
- [ ] Did you check if it works normally in all models? *ignore this
when it dosen't uses models*
- [ ] Did you check if it works normally in all of web, local and node
hosted versions? if it dosen't, did you blocked it in those versions?
- [ ] Did you added a type def?

# Description

![highlightedEditor](https://github.com/kwaroran/RisuAI/assets/18527479/17aa1b99-39b8-48c4-98b4-0c0e20dc1a44)

I have added an editor and settings that highlight asterisks, quotes,
and backticks, similar to AutoMark, using a CodeMirror-based editor.

1. Added the CodeMirror5 package
2. Added language and settings for "useAdvancedEditor"
3. Wrote AdvancedChatEditor.svelte

Thank you for your hard work on the project.
2024-03-25 02:26:22 +09:00
kwaroran
49ebc37978 add charjs apis for bgembed (#324)
# PR Checklist
- [x] Did you check if it works normally in all models? *ignore this
when it dosen't uses models*
- [x] Did you check if it works normally in all of web, local and node
hosted versions? if it dosen't, did you blocked it in those versions?
- [x] Did you added a type def?

# Description

It seems like someone is holding breath for this.

![output](https://github.com/kwaroran/RisuAI/assets/133192207/1da08982-8d95-4cbf-aa11-8ca3b0c8b671)
2024-03-25 02:01:57 +09:00
testman
4a7f249db4 token 분기처리 추가 2024-03-24 20:13:35 +09:00
testman
1d2d71db48 deeplX function added 2024-03-24 19:44:55 +09:00
kwaroran
e78dfe2a21 Update version to 1.87.2 2024-03-24 19:40:59 +09:00
kwaroran
7e568cc0b8 Refactor risuChatParser usage in processScriptFull function 2024-03-24 19:40:40 +09:00
kwaroran
342052a0a4 Add exponentiation operator to toRPN and calculateRPN functions 2024-03-24 19:19:42 +09:00
kwaroran
fd50692ab0 Fix number parsing in parser.ts 2024-03-24 19:11:14 +09:00
kwaroran
dde5e66954 Update version to 1.87.1 2024-03-24 19:09:49 +09:00
kwaroran
008827c9b5 Add 'tonumber' function to parser.ts 2024-03-24 19:08:19 +09:00
ModMapper
580cd3e1a7 Add CodeMirror based Highlighted editor 2024-03-23 18:41:36 +09:00
bangonicdd
f6fa2c60b6 add charjs apis for bgembed 2024-03-23 18:08:03 +09:00
kwaroran
2fe9ca2704 Revert workflow_dispatch from push event 2024-03-21 18:38:09 +09:00
kwaroran
a789af5bae Update workflow_dispatch branch configuration 2024-03-21 18:37:16 +09:00
kwaroran
e3edb87acd Add workflow_dispatch to push event for production branch 2024-03-21 17:39:58 +09:00
kwaroran
d69b54e335 Update version to 1.87.0 2024-03-21 03:35:52 +09:00
kwaroran
82e5e48ae3 Add height mode option to advanced settings 2024-03-21 03:32:43 +09:00
kwaroran
495dd64eb7 Make request GET method and fix fullscreen 2024-03-21 03:27:22 +09:00
kwaroran
327cd701b0 fix supportsInlayImage 2024-03-20 21:14:42 +09:00
kwaroran
895543355f Add support for JSON values in additionalParams 2024-03-20 21:06:30 +09:00
kwaroran
5bede2b90a Change Reverse proxy name to Custom and add additionalParams 2024-03-20 21:02:34 +09:00
kwaroran
ef811b5b57 Bump version to 1.86.1 2024-03-19 23:02:58 +09:00
kwaroran
0131244dbf Refactor chat message retrieval in parser.ts 2024-03-19 20:46:10 +09:00
kwaroran
784d9c8cd1 Make plain fetch to not log dude to errors 2024-03-19 18:43:23 +09:00
kwaroran
c10200dc26 Fix patchNote.ts to version 1.86 2024-03-19 15:30:15 +09:00
kwaroran
92d2619eac Fix conditional rendering in Chat.svelte 2024-03-19 15:30:01 +09:00
kwaroran
02db15d53c Update patchNote.ts 2024-03-19 15:24:25 +09:00
kwaroran
573fd8c2df Update version to 1.86.0 2024-03-19 15:22:01 +09:00
kwaroran
d7b5adda98 Add color scheme export and import functionality 2024-03-19 15:21:19 +09:00
kwaroran
04b7f29d28 Update UI size label in DisplaySettings.svelte 2024-03-19 15:15:27 +09:00
kwaroran
80b8198927 Implement custom color scheme functionality 2024-03-19 15:14:33 +09:00
kwaroran
68a5d90c38 Add language translations for "Log" 2024-03-19 15:00:12 +09:00
kwaroran
31856a9c48 Add generation info viewer 2024-03-19 14:50:48 +09:00
kwaroran
eddd7afa3c Add AppendableBuffer class and modify pipeFetchLog function 2024-03-19 12:32:04 +09:00