Commit Graph

2629 Commits

Author SHA1 Message Date
kwaroran
803b17ac56 chore: Bump version to 120.1.0 2024-07-06 01:26:15 +09:00
kwaroran
b62120c02c Add gemma tokenizer to custom 2024-07-06 01:21:04 +09:00
kwaroran
7fdd4a93aa Fix build errors in Node version by updating scripts to use pnpm instead of npm (#551)
# 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
When running `npm install` followed by `npm run build` in the Node
version, the build process fails with multiple errors indicating that
various Svelte components and stores are not defined.

- Updated `server.bat` to use `pnpm install`, `pnpm run build`, and
`pnpm run runserver`.
- Updated `server.sh` to use `pnpm install`, `pnpm run build`, and `pnpm
run runserver`.

---

The errors encountered when using `npm install` in the Node version
include:
- 'loadedStore' is not defined
- 'WelcomeRisu' is not defined
- 'settingsOpen' is not defined
- 'Settings' is not defined
- 'GridChars' is not defined
- 'DynamicGUI' is not defined
- 'Sidebar' is not defined
- 'sideBarStore' is not defined
- 'ChatScreen' is not defined
- 'alertStore' is not defined
- 'AlertComp' is not defined
- 'showRealmInfoStore' is not defined
- 'RealmPopUp' is not defined
- 'ShowRealmFrameStore' is not defined
- 'RealmFrame' is not defined

These errors are resolved by using `pnpm install` as the package
manager.
2024-07-06 01:06:43 +09:00
kwaroran
051020fee7 Refactor 'lastcharmessage' cbs (#554)
# 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
While implementing a specific behavior through CBS, I encountered
limitations during handling first message. Therefore, I aim to modify
the effect of certain keywords to accommodate a broader range of cases.
The changes have been tested and presented no issues. However, I kindly
request your review from a structural design perspective to ensure
adequacy.
2024-07-06 01:05:55 +09:00
kwaroran
fdddc0c5a6 add scrolls for multitoggles 2024-07-06 01:03:33 +09:00
kwaroran
21618b14c3 Add default vars to export 2024-07-06 00:49:05 +09:00
kwaroran
c2d4da73f0 fix colorSchemeType 2024-07-06 00:47:13 +09:00
bangonicdd
6d414a0a3a Modify 'lastcharmessage' cbs 2024-07-05 13:40:15 +09:00
poroyo
859895592f Update scripts to use pnpm instead of npm 2024-07-04 14:14:50 +09:00
kwaroran
42ae85fe52 fix rendermarkdown 2024-07-02 08:20:45 +09:00
kwaroran
00b93ca5ce revert markdown process changes 2024-07-02 08:19:19 +09:00
kwaroran
6825bdd3ca fix markdown quotes 2024-07-02 08:13:39 +09:00
kwaroran
c1c3009c77 chore: Update app version to 120.0.0 2024-07-02 07:31:49 +09:00
kwaroran
0bc2f8ebc3 change non-pre code style 2024-07-02 07:12:52 +09:00
kwaroran
6f602ebde9 Add async codeblock highlight 2024-07-02 07:06:44 +09:00
kwaroran
f57cfe4543 chore: Update npm dependencies and remove unused packages 2024-07-02 06:28:05 +09:00
kwaroran
118ca26398 fix rust related issues 2024-07-02 06:01:45 +09:00
kwaroran
44677cf2cd Optimize tauri write binary file (#540)
It's a known issue that IPC call in Tauri V1 is slow
(https://github.com/tauri-apps/tauri/issues/4197) Specifically,
writeBinaryFile can take several seconds if the file is around like 10
MB because of some internal serealization bottleneck of Tauri. This is
really bad as we use writebinaryFile every second to save database.

This PR just create separate http server only handling the bottleneck
part: writebinaryfile of database.bin and assets.
2024-07-02 05:57:55 +09:00
kwaroran
b8a1f61097 refactor: Update highlight.js language registration in parser.ts 2024-07-02 05:57:41 +09:00
kwaroran
0e8e72e680 Add code block highlighting and new quote marking 2024-07-02 05:51:39 +09:00
kwaroran
f38b88e208 change markdown engine to markdown-lt 2024-07-02 05:04:37 +09:00
kwaroran
45b16da8a5 chore: Update .gitignore to include dist.zip and scripts/ 2024-07-02 04:56:03 +09:00
kwaroran
6ee9a152d4 fix: add error time 2024-07-02 02:30:17 +09:00
kwaroran
dbdbeca49e refactor: Remove console.log statements and error alerts in lua.ts 2024-07-01 08:16:03 +09:00
kwaroran
e2a31df93f Update version to 119.0.1 2024-07-01 08:11:34 +09:00
kwaroran
8c0420ba3d fix: add nullish check 2024-07-01 08:11:20 +09:00
kwaroran
d1196c7b09 Update version to 119.0.0 2024-07-01 06:42:25 +09:00
kwaroran
988665bc20 ref: change json lua 2024-07-01 06:41:28 +09:00
kwaroran
fa918b5436 feat: add old js related lua code 2024-07-01 06:25:22 +09:00
kwaroran
aba80667c8 fix: add editdisplay limit 2024-06-30 23:11:37 +09:00
kwaroran
b8c070e081 Update version to 118.1.0 2024-06-30 23:09:42 +09:00
kwaroran
5ea1f87f53 feat: add lua edits 2024-06-30 23:09:28 +09:00
kwaroran
d5d3c9f423 fix merge 2024-06-30 22:30:02 +09:00
kwaroran
a84f13e7ba ref: lua 2024-06-30 22:28:20 +09:00
kwaroran
fe819e9dc6 Fix: now simpleLLM requires low level access (#545)
# 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
2024-06-30 21:51:19 +09:00
sub-hub
edc2f20aef Fix: now simpleLLM requires low level access 2024-06-30 13:57:41 +09:00
kwaroran
4a9f054f4f chore: Add aria attributes to CheckInput component 2024-06-30 05:26:33 +09:00
Sunho Kim
079410f70d [feat] address comments for optimize writeBinaryFile 2024-06-29 08:57:23 -07:00
kwaroran
bdd25aed5c Update version to 118.0.0 2024-06-29 18:43:45 +09:00
kwaroran
baf659f620 feat: add removeChat function in triggers.ts 2024-06-29 18:34:38 +09:00
kwaroran
18ad143371 feat: add Lua help 2024-06-29 18:21:08 +09:00
kwaroran
95452921fe feat: add lua triggers 2024-06-29 05:19:39 +09:00
kwaroran
9624781407 Merge branch 'main' of https://github.com/kwaroran/RisuAI 2024-06-29 00:55:11 +09:00
kwaroran
3cb21912d6 chore: Add WIP comment for call command in parser.ts 2024-06-29 00:55:09 +09:00
kwaroran
25a60dbde0 add sonnet 3.5 for aws and custom (#541)
# 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
aws += sonnet-3-5
custom += sonnet-3-5, gpt-4-turbo
2024-06-29 00:47:57 +09:00
kwaroran
87f7b2f748 Bump version to 117.0.0 2024-06-29 00:46:15 +09:00
kwaroran
8a94ef938e feat: add triggercode 2024-06-29 00:45:57 +09:00
kwaroran
39e7a8df8b feat: add new cbs 2024-06-29 00:27:28 +09:00
kwaroran
9151a6aef2 Add triggercode cbs 2024-06-28 22:05:04 +09:00
Sunho Kim
73b3425f5f [feat] optimize tauri write binary file 2024-06-28 02:40:17 -07:00