Commit Graph

2069 Commits

Author SHA1 Message Date
kwaroran
c805e63c60 Add support for Gemini Pro 1.5 in ModelList.svelte and request.ts 2024-04-17 10:38:23 +09:00
kwaroran
58fe5bee5f Merge branch 'main' of https://github.com/kwaroran/RisuAI 2024-04-17 10:33:37 +09:00
kwaroran
afb9601d82 Add decorator functions 2024-04-17 10:33:35 +09:00
bangonicdd
b2c186eb8b add aws opus 2024-04-17 00:53:18 +09:00
kwaroran
e754eca917 Add exception on logit_bias for gpt-4-turbo (#360)
# 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
As gpt-4-turbo model can both receive logit_bias and inlay image, I make
some exceptions from removing bias on the request.
I check it run well with proxy, but not tested with API key, so testing
with official API is needed before merge.
2024-04-16 11:58:00 +09:00
IHaBiS02
ad9d4cbab9 Merge branch 'kwaroran:main' into main 2024-04-16 06:07:28 +09:00
kwaroran
ccb45ce2c5 Fix error handling in requestChatDataMain function 2024-04-16 00:00:05 +09:00
kwaroran
d93fd7b191 Refactor loadLoreBookPrompt function in lorebook.ts 2024-04-15 23:58:57 +09:00
kwaroran
706e208f53 Refactor loadLoreBookPrompt function in lorebook.ts 2024-04-15 23:51:57 +09:00
kwaroran
3f2aa38167 Update version numbers to 1.95.1 2024-04-13 17:29:12 +09:00
kwaroran
c810a64a0f Fix condition in supaMemory.ts to use greater than instead of less than 2024-04-13 17:28:55 +09:00
IHaBiS02
6cf004cdbc Fix typo 2024-04-11 22:42:28 +09:00
IHaBiS02
19d336820c Add logit_bias supports for gpt-4-turbo 2024-04-11 22:40:48 +09:00
kwaroran
c4f1f6d28b Update importCharacter function to allow multiple file selection 2024-04-11 09:13:15 +09:00
kwaroran
8c0fe0d795 Update version numbers to 1.95.0 2024-04-11 06:06:26 +09:00
kwaroran
386129626f Refactor additionalClass parameter to be className for clarity 2024-04-11 05:46:10 +09:00
kwaroran
35af70f70f Fix hypamemory duplication problem 2024-04-11 05:42:34 +09:00
kwaroran
f54a2a98ad Remove console.log statement in stores.ts 2024-04-11 05:21:59 +09:00
kwaroran
3726c96a29 Add metadata viewer 2024-04-11 05:18:47 +09:00
kwaroran
a98c9f2022 Fix asHyper flag in sendChat function 2024-04-11 04:50:42 +09:00
kwaroran
3accdf0805 Update chat process indication mark style 2024-04-11 04:49:07 +09:00
kwaroran
3752b4e550 Add chat process indication mark 2024-04-11 04:43:56 +09:00
kwaroran
746d226723 Update error message in supaMemory.ts to use JSON.stringify for da.data 2024-04-11 04:31:02 +09:00
kwaroran
6ffd29a5a6 Fix realm ID extraction in RealmMain.svelte 2024-04-11 01:30:39 +09:00
kwaroran
c351041a9b Fix realm cutoff 2024-04-11 01:27:20 +09:00
kwaroran
fb058c430f Add new character addition screen 2024-04-11 01:07:22 +09:00
kwaroran
a750e39674 Update FontColorItalic in colorscheme.ts to #F1FA8C 2024-04-11 00:32:45 +09:00
kwaroran
5e829bb043 Update Main Menu title to "Recently Uploaded" 2024-04-11 00:31:48 +09:00
kwaroran
9d0e6567e9 Change default prompt 2024-04-11 00:29:59 +09:00
kwaroran
6c42e0e189 Add prebuiltPresets import to botpreset.svelte 2024-04-11 00:27:32 +09:00
kwaroran
464670b1b1 Add imported flag to character interface 2024-04-11 00:24:21 +09:00
kwaroran
d1ace0c3d5 Update version numbers to 1.94.1 2024-04-10 12:17:09 +09:00
kwaroran
408bbbd2e6 Fix var not updating 2024-04-10 12:16:00 +09:00
kwaroran
1d368ddc3c Add CurrentVariablePointer to Chat.svelte and CurrentVariablePointer store in stores.ts 2024-04-10 11:59:14 +09:00
kwaroran
0d4b89ff80 Update version numbers to 1.94.0 2024-04-10 11:34:37 +09:00
kwaroran
488a0f2015 Update triggerScript description in en.ts to fix button attribute example 2024-04-10 11:26:20 +09:00
kwaroran
d8b60e1a12 fix triggerscript help 2024-04-10 11:20:14 +09:00
kwaroran
9bcb4aba4d Update charjs description in en.ts to add unrecommended notice 2024-04-10 11:17:10 +09:00
kwaroran
80d766ff01 Fix variable comparison in runTrigger function 2024-04-10 11:15:23 +09:00
kwaroran
2c94228fbd Update virtualscript handling for security reasons 2024-04-10 11:13:51 +09:00
kwaroran
b1428e8593 Fix trigger sync 2024-04-10 11:05:24 +09:00
kwaroran
4f6dc56eff Refactor startObserveDom function to use a while loop instead of MutationObserver for better performance 2024-04-10 10:59:05 +09:00
kwaroran
ff089e658f Added button to trigger script 2024-04-10 10:51:34 +09:00
kwaroran
3d7d34334c Update trigger button functionality and remove unused code 2024-04-10 10:34:45 +09:00
kwaroran
1a750dc6c6 Add trigger effects and conditions 2024-04-10 10:19:10 +09:00
kwaroran
1a2da8224e Support cbs in trigger 2024-04-10 09:46:06 +09:00
kwaroran
0d57392feb Add Command for trigger 2024-04-10 09:36:28 +09:00
kwaroran
410eaf6de1 Fix triggerscript and commands 2024-04-10 09:25:26 +09:00
kwaroran
de04450aba Add GPT-4 Turbo model and update model names 2024-04-10 07:36:42 +09:00
kwaroran
cfd083ec87 Update version numbers to 1.93.7 2024-04-10 07:33:20 +09:00