Commit Graph

799 Commits

Author SHA1 Message Date
kwaroran
c2b5177c92 Improve welcome page and add gemini exp 2024-11-17 23:03:22 +09:00
kwaroran
bea14f22c1 Add JSON schema for Claude 2024-11-15 12:44:50 +09:00
kwaroran
4627aacbf9 Refactor script caching functions to include mode parameter and improve background HTML parsing 2024-11-12 21:50:40 +09:00
heshiqi
3bbb2ace7d Fix AWS Support
AWS Claude model calling no longer support direct calling, but support Cross-region inference instead. All Cross-region inference model profile IDs equal to original model name with "us." in the beginning.
Reference: https://us-east-1.console.aws.amazon.com/bedrock/home?region=us-east-1#/inference-profiles
2024-11-08 14:18:37 +08:00
kwaroran
b714e01aba Implement cache size limit for script caching 2024-11-04 18:55:50 +09:00
kwaroran
9b3232d5dc Add lorebook debug 2024-11-04 16:27:00 +09:00
kwaroran
76dfa5dcdf Refactor moduleUpdate function to move lastModuleIds check to the end 2024-11-03 23:27:19 +09:00
kwaroran
bb37ee4af0 Remove debug logging from moduleUpdate function 2024-11-03 23:26:49 +09:00
kwaroran
c22f6b789a Improve performance 2024-11-03 23:16:51 +09:00
kwaroran
b51bbad838 Fix background embedding 2024-11-03 22:26:20 +09:00
kwaroran
2ca2371b16 Fix join delimiter in loadLoreBookV3Prompt function 2024-11-02 02:05:00 +09:00
kwaroran
75c041efbd Change lorebook maching for comp 2024-11-02 02:04:32 +09:00
kwaroran
efbda2333d Change saving 2024-11-02 01:46:21 +09:00
kwaroran
de7a6ca224 Remove lorebook.svelte.ts legacy lorebook handling 2024-10-30 12:46:21 +09:00
kwaroran
a44ea3610d Change lorebook.svelte.ts to enable recursive scanning by default 2024-10-30 12:42:43 +09:00
kwaroran
ee79b20ea1 Fix secondkey 2024-10-30 03:52:03 +09:00
kwaroran
2d3d2f92cd Upgrade Compatibility 2024-10-30 03:11:37 +09:00
kwaroran
8e0f6dfdf3 Merge branch 'svelte-5' of https://github.com/kwaroran/RisuAI into svelte-5 2024-10-26 21:22:08 +09:00
kwaroran
deb4f8d5d9 Refactor globalApi.ts to import moduleUpdate function for saving database 2024-10-26 21:22:07 +09:00
kwaroran
29d9c0bcb1 add aws 3.5 sonnet v2 (#654)
# 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

![image](https://github.com/user-attachments/assets/45055aca-45d6-40dc-8c1e-dec5972f5bd8)
2024-10-26 21:19:54 +09:00
kwaroran
da907f4fc2 Move DBState to stores 2024-10-26 21:17:46 +09:00
kwaroran
ffa6308ca3 change globalApi path 2024-10-26 20:40:40 +09:00
kwaroran
d575b0817c Fix store making vite crash on hmr 2024-10-26 20:27:47 +09:00
kwaroran
e255199fcc Change setDatabase and getDatabase to accessing dbState 2024-10-25 19:11:41 +09:00
kwaroran
7d43075528 Refactor lorebook.ts to lorebook.svelte.ts for optimization 2024-10-25 18:49:12 +09:00
kwaroran
0f6246bef6 fix structuredclone 2024-10-25 18:11:00 +09:00
kwaroran
b3fddb814e Migrate all DataBase to DBState 2024-10-24 01:59:57 +09:00
bangonicdd
95e3f36729 add aws 3.5 sonnet v2 2024-10-24 01:50:42 +09:00
kwaroran
2044d9b63b Change DataBase inside svelte to DBState for performance 2024-10-23 23:46:32 +09:00
kwaroran
c7330719ad Migrate to svelte 5 2024-10-23 02:31:37 +09:00
Junha Heo
826e59dfc5 add fish speech tts 2024-10-12 01:21:16 +09:00
kwaroran
7763543c24 fix: chat sync issue in lua engine (#639)
# 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
This pull request resolves the issue where the chat object used in the
Lua engine was fixed at the time of initialization. This also addresses
issue #563.
2024-10-09 23:01:54 +09:00
bangonicdd
906c8a9c22 fix: chat sync issue in lua engine 2024-10-09 21:57:55 +09:00
kwaroran
5a931d4ba0 Migrate to Tauri V2 2024-10-09 20:07:59 +09:00
kwaroran
d06dd287bd Add groupOtherBotRole and groupTemplate 2024-09-29 21:40:09 +09:00
kwaroran
39996125c9 Add Gemini pro 1.5 002 2024-09-26 08:39:08 +09:00
kwaroran
5048307c03 Fix repeated flag handling 2024-09-24 09:18:52 +09:00
kwaroran
7b405c11b1 Refactor try-catch for regex script execution 2024-09-24 00:08:13 +09:00
kwaroran
54f019743c Add outscript newline 2024-09-23 21:09:03 +09:00
kwaroran
b06d6236d4 Add more flag support 2024-09-23 20:59:52 +09:00
kwaroran
9018d60d01 Fix role cbs and add isfirstmsg cbs 2024-09-21 06:48:29 +09:00
kwaroran
1590b73fcd Add setvar null handling 2024-09-18 23:32:20 +09:00
kwaroran
85609e890e Change first message to chat dependent 2024-09-18 23:25:02 +09:00
kwaroran
6ad841e931 Fix trigger updating 2024-09-18 22:51:22 +09:00
kwaroran
321c21cea9 Improve account and Add priority 2024-09-18 22:25:09 +09:00
kwaroran
d5371a6ea9 Added functions 2024-09-16 05:23:27 +09:00
kwaroran
12f9c86366 Remove trigger code mode 2024-09-16 03:18:07 +09:00
kwaroran
19b3e17619 Add bias escapes 2024-09-15 18:18:44 +09:00
kwaroran
47226662ec Remove Cipher 2024-09-14 02:33:47 +09:00
kwaroran
9185dc46ba Remove cipherChat.ts file and related functions 2024-09-14 02:31:12 +09:00