Commit Graph

2810 Commits

Author SHA1 Message Date
kwaroran
5d66e35a61 chore: Update version to 124.1.0 2024-08-14 22:13:54 +09:00
kwaroran
e8d3ab1619 Merge branch 'main' of https://github.com/kwaroran/RisuAI 2024-08-14 21:54:55 +09:00
kwaroran
b9a2a9f353 Add ChatGPT 4o 2024-08-14 21:54:52 +09:00
kwaroran
a9707d38bb Skip audio, video tag in combine translation feature (#589)
# 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
I'm sorry to repeat it so many times, but I think this is really the
last time
2024-08-12 23:48:34 +09:00
kwaroran
d342187c92 feat: add support for spanish (#588)
# PR Checklist
- [ ] Did you check if it works normally in all models? *ignore this
when it doesn't use models*
- [ ] Did you check if it works normally in all of web, local and node
hosted versions? If it doesn't, did you block it in those versions?
- [ ] Did you add a type definition?

# Description
This PR adds support for the Spanish language in RisuAI. The key
components of the application have been translated, ensuring that users
can now interact with the platform in Spanish. Care was taken to retain
conceptual terms like "Jailbreak" and "prompt tags" in English to avoid
confusion. All translations were verified for clarity and consistency to
maintain a high-quality user experience across different deployment
environments (web, local, and node-hosted versions).
2024-08-12 23:48:18 +09:00
kwaroran
2ab318188e Basic Lite version 2024-08-12 23:48:14 +09:00
sub-hub
594ca7b028 Add audio, video tag to combine blacklist 2024-08-11 20:29:06 +09:00
diegocostares
7944bb3d16 feat: add support for spanish 2024-08-10 23:40:22 -04:00
kwaroran
952ee5fb54 Add GPT4o 20240806 2024-08-09 21:37:18 +09:00
kwaroran
3f584356f1 chore: Update app version to 124.0.0 2024-08-05 21:53:37 +09:00
kwaroran
f7f808a785 Add GPT 4o Mini to modellist 2024-08-05 21:53:21 +09:00
kwaroran
90d1660582 Update Kobold 2024-08-05 21:52:34 +09:00
kwaroran
6eb6743fb2 Add Mistral Nemo 2024-08-05 17:39:28 +09:00
kwaroran
e521a1b366 Add GPT4o mini 2024-08-05 17:35:15 +09:00
kwaroran
9694637a4f refactor: Remove console.log statements in util.ts 2024-08-05 17:22:47 +09:00
kwaroran
3f85bd4ee7 Add off spec card import 2024-08-05 17:22:04 +09:00
kwaroran
797be8aa14 chore: Update app version to 123.0.0 2024-07-30 20:50:26 +09:00
kwaroran
ce69aa898e Rework other bots gui 2024-07-30 20:48:05 +09:00
kwaroran
064851e3b1 Add legacy gui option 2024-07-30 20:43:34 +09:00
kwaroran
4d74439daf change gui 2024-07-30 20:35:55 +09:00
kwaroran
a0d87b8efe change default preset 2024-07-30 19:30:19 +09:00
kwaroran
b9b7201889 feat: persona binding 2024-07-30 00:40:09 +09:00
kwaroran
634056b0cb refactor persona prompt 2024-07-29 23:40:45 +09:00
kwaroran
9d5b5da351 refactor name and icon get 2024-07-29 23:36:52 +09:00
kwaroran
47c3fab589 Add cohere preformatting 2024-07-29 01:28:29 +09:00
kwaroran
5b110ae632 rename changeGUI to updateDisplay and add id check 2024-07-29 01:15:25 +09:00
kwaroran
fe5e3f7ff3 fix background problem 2024-07-29 01:11:10 +09:00
kwaroran
4381694089 Merge branch 'main' of https://github.com/kwaroran/RisuAI 2024-07-29 01:10:14 +09:00
kwaroran
616a66db28 feat: add updateGUI 2024-07-29 01:10:09 +09:00
kwaroran
0bfb1530e4 feat: add comfyUI support (#579)
# 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?
- Due to issues with my development environment, I only tested in Node,
but it is expected to work in other environments as well.
- [x] Did you add a type def?

# Description
Added support for image generation using ComfyUI
2024-07-24 09:30:59 +09:00
kwaroran
dd5466f058 add missing break line (#578)
# 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
There appears to be a minor mistake here.
2024-07-24 09:30:49 +09:00
tiamatiramisu
c6d96d9616 feat: add comfyUI 2024-07-24 04:17:37 +09:00
bangonicdd
bf2377d7d5 add missing break line 2024-07-19 21:05:57 +09:00
kwaroran
7356b0426e Extend case for chat index and role (#577)
# 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
With the recent increased utilization of custom styles, I've modified
the '{{chat_index}}' and '{{roll}}' cbs to cover a bit more cases.
Please review them to see if they meet your vision.


![image](https://github.com/user-attachments/assets/86ddb894-a497-4b60-b7b6-8c5040b276fb)
2024-07-18 12:30:54 +09:00
bangonicdd
9a784b4069 Extend case for chat index and role 2024-07-17 20:52:39 +09:00
kwaroran
6cc8bc8792 Fix various lua low level access bugs (#575)
### 1 Access key was not added properly
First commit fixes this 

### 2 Lua engine was getting killed when it waits for async function
runLua function gets run in two different paths (i.e. runLua for lua
edit triggers and another one for onOuput handling) However, when one of
invocations waits for another promise from js side (i.e. low level
function) to finish, it gives chance for next trigger mode to run which
would call `if(luaEngine){ luaEngine.global.close() }` that will close
lua engine for the invocation that was waiting for promise which is
problematic.

Second commit fixes this by having a pool of engine for each trigger
mode having single mutex that prevents running same engine at the same
time while allowing different tigger modes to run parallely

### 3 Break statements were missing making every trigger to run for
input event.
This was causing insane lagging and buggy behaviours. Third commit fixes
this.
2024-07-17 16:44:17 +09:00
kwaroran
7ca611d81d fix: finer granularity cache key for dynamic assets (#576)
Asset list can be different depending on character. Technically, we
should also invalidate cache when asset list is changed but I doubt
people will hit this case often. (bot maker somewhat hit it though so
maybe worth taking care of)
2024-07-17 16:44:00 +09:00
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