Commit Graph

2542 Commits

Author SHA1 Message Date
kwaroran
f591721645 fix assistant not working in chatml 2024-07-10 15:52:58 +09:00
kwaroran
91102cc3b7 fix fixnumber and makearray 2024-07-07 09:22:12 +09:00
kwaroran
bd084ddc0b chore: Bump version to 120.2.0 2024-07-07 08:04:26 +09:00
kwaroran
12dbd65003 add chatml related 2024-07-07 08:03:15 +09:00
kwaroran
a9240ca2d1 chore: Bump version to 120.1.3 2024-07-06 10:03:43 +09:00
kwaroran
deab7dbb4a fix defaultvars 2024-07-06 10:03:21 +09:00
kwaroran
a23c6a4cb8 chore: Bump version to 120.1.2 2024-07-06 06:49:19 +09:00
kwaroran
32e4ac8415 fix testerror 2024-07-06 06:49:05 +09:00
kwaroran
c6d63aa41b chore: Bump version to 120.1.1 2024-07-06 04:09:38 +09:00
kwaroran
904054a437 fix account warning issues 2024-07-06 04:09:24 +09:00
kwaroran
185dd5bc6b fix parse kv 2024-07-06 03:59:09 +09:00
kwaroran
e4315b333a remove parser logs and fix warns 2024-07-06 02:16:56 +09:00
kwaroran
02b0e0cf9f feat: add account warn 2024-07-06 01:44:10 +09:00
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