Commit Graph

2673 Commits

Author SHA1 Message Date
kwaroran
7fcd7ccdd9 change colorscheme 2024-07-17 16:43:35 +09:00
Sunho Kim
5b4a4f0e30 fix: add missing breaks 2024-07-15 21:12:14 -07:00
Sunho Kim
cb9514c508 fix: prevent lua engine getting killed and pool engines 2024-07-15 21:11:21 -07:00
kwaroran
88f8880509 change gui 2024-07-16 00:39:03 +09:00
Sunho Kim
edfe6f93fc fix: finer granularity cache key for dynamic assets 2024-07-15 08:25:32 -07:00
kwaroran
ebb06773e8 Add preset version 2 2024-07-15 23:57:56 +09:00
Sunho Kim
7a542c14d6 Fix bug in lua low level access 2024-07-15 07:33:16 -07:00
kwaroran
ba19470a76 chore: Bump version to 122.1.2 2024-07-15 22:57:12 +09:00
kwaroran
166d34d98b Fix bugs on lua simpleLLM, LLMMain, similarity, generateImage (#573)
All of these functions were not working since it needs a special trick
to call javscript async function within lua:
https://github.com/ceifa/wasmoon/issues/22

The proper trick for allowing async function was added.

Also added missing awaits for similarity search.

You can use following lua trigger to test out the behaviour:
```lua
listenEdit("editOutput", function(triggerId, data)
  local res = similarity(triggerId, data, {"happy", "angry", "sad"}):await()
  return res[1]
end)
```

Note you need https://github.com/kwaroran/RisuAI/pull/572 to test this
out since low level access is disabled for lua right now.
2024-07-15 22:51:17 +09:00
kwaroran
780c8172b2 chore: Bump version to 122.1.1 2024-07-15 22:49:35 +09:00
kwaroran
73dbb79e6b add dynamic asset cache 2024-07-15 22:48:07 +09:00
Sunho Kim
73b46edd0c Fix lua low level relatd bugs 2024-07-15 03:49:39 -07:00
kwaroran
78dfb8a80a chore: Bump version to 122.1.0 2024-07-15 19:49:33 +09:00
kwaroran
00a56ab447 Add CurrentCharacter import 2024-07-15 19:48:51 +09:00
kwaroran
1da936f2f0 add source cbs 2024-07-15 19:48:50 +09:00
kwaroran
d7ca575111 Refactor dateTimeFormat (#569)
# 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
It appears that the current date time formatting in CBS is not working
as intended, I also added a format for the day of the week (`ddd` and
`dddd`), please review if this is appropriate.
2024-07-15 10:17:35 +09:00
bangonicdd
5d5a01b0cb add date format for short month 2024-07-12 19:38:24 +09:00
bangonicdd
bbf2b885d7 Refactor dateTimeFormat 2024-07-12 01:09:26 +09:00
kwaroran
18c84e5c18 fix dbbackuploader 2024-07-10 18:30:33 +09:00
kwaroran
cbf80d88e1 fix hideiconstore 2024-07-10 18:22:21 +09:00
kwaroran
7bb0146314 chore: Bump version to 122.0.1 2024-07-10 18:19:02 +09:00
kwaroran
f7f3591609 Add internal backup load 2024-07-10 18:18:43 +09:00
kwaroran
6309317945 fix nomodule error 2024-07-10 18:02:52 +09:00
kwaroran
d987ea3932 chore: Bump version to 122.0.0 2024-07-10 17:05:05 +09:00
kwaroran
9a53bd642e Add background embeding to module 2024-07-10 17:03:43 +09:00
kwaroran
3eafd786f6 update blank message 2024-07-10 16:54:46 +09:00
kwaroran
c7333ba133 fix store related issues 2024-07-10 16:32:09 +09:00
kwaroran
bbd86129de Fix trigger operator (#564)
# 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
Currently, some of the operators in the trigger block seem to be working
in reverse.
2024-07-10 16:19:37 +09:00
kwaroran
0ee481d00d add hidechaticon 2024-07-10 16:17:33 +09:00
kwaroran
98576eeae4 fix style-data 2024-07-10 15:58:32 +09:00
kwaroran
f591721645 fix assistant not working in chatml 2024-07-10 15:52:58 +09:00
bangonicdd
5040e7c87c Fix trigger operator 2024-07-10 13:47:17 +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