Commit Graph

820 Commits

Author SHA1 Message Date
poroyo
697201bbb6 Remove unused variable 'pendingImage' 2024-12-08 05:16:13 +09:00
poroyo
94bb79df7e Fix Gemini image input issue 2024-12-08 05:04:06 +09:00
kwaroran
03bdca0958 Remove unused Plugin button from ModelList and update model parameters for Gemini Exp 1206; adjust URL generation logic in request functions. 2024-12-07 03:20:45 +09:00
kwaroran
909e9635d2 Merge branch 'main' of https://github.com/kwaroran/RisuAI 2024-12-07 00:58:13 +09:00
kwaroran
e0f6c58540 Refactor HypaProcesser instantiation to remove hardcoded model name and add models and others 2024-12-07 00:58:09 +09:00
Bo26fhmC5M
ecc2817a7b Add memo to detect supaMemory model requests in the plugin 2024-12-04 13:46:35 +09:00
Bo26fhmC5M
dbd7485c50 Fix hypav2 issue where the 'search_document: ' string is not truncated correctly. 2024-12-03 22:12:53 +09:00
kwaroran
18ea5aff4e Add notification feature with permission handling and UI toggle 2024-12-02 04:42:13 +09:00
kwaroran
8a6cfedcda Add ChatML and Rework display 2024-12-01 17:05:50 +09:00
Kwaroran
c22cde2c8a Fix systemContentReplacement empty string 2024-11-27 18:00:40 +09:00
Kwaroran
1e96eada22 Handle optional system content replacement in reformater function 2024-11-27 11:10:15 +09:00
Kwaroran
8366acc66c Add abort signal handling to requestGoogleCloudVertex function 2024-11-27 08:04:33 +09:00
Kwaroran
68113cc383 Add system prompt handling to requestGoogleCloudVertex function 2024-11-27 08:03:17 +09:00
Kwaroran
981ec3921e Add plenty of features 2024-11-27 06:01:42 +09:00
Kwaroran
597c8879fc Add systemContentReplacement and Flags 2024-11-27 04:33:12 +09:00
kwaroran
cc8d753dc8 Rework custom API 2024-11-25 23:04:32 +09:00
kwaroran
8274fae180 Refactor model handling 2024-11-25 05:25:58 +09:00
kwaroran
6214388cc6 Add new model options for Mistral Large 2411 and Gemini Exp 1121 and Flash 002, fixes #666 2024-11-22 21:52:39 +09:00
kwaroran
ec03903372 Add OAI prediction 2024-11-21 15:44:14 +09:00
kwaroran
e895008814 Add 4o 1120 2024-11-21 15:38:04 +09:00
kwaroran
ebbb9d9191 Add specific token ban 2024-11-18 20:08:34 +09:00
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