Commit Graph

3663 Commits

Author SHA1 Message Date
kwaroran
605489143d Add abortsignal to request 2025-03-26 20:43:34 +09:00
kwaroran
0d1260e7aa Fix deepseek chat 2025-03-25 13:39:21 +09:00
kwaroran
1b8adc11b9 Imptove sneaky 2025-03-24 17:25:17 +09:00
kwaroran
50842d5829 Add abort signal handling to request functions 2025-03-24 17:02:42 +09:00
kwaroran
669d677efd Add targ.key 2025-03-24 16:58:24 +09:00
kwaroran
cd9d81e405 Add da fallback 2025-03-24 16:53:39 +09:00
kwaroran
fe88f0ddb7 Add nullish operator to cohere 2025-03-24 16:47:48 +09:00
kwaroran
fe60cdcbda Merge branch 'main' of https://github.com/kwaroran/RisuAI 2025-03-24 14:43:43 +09:00
kwaroran
ff2790ee7f Fix hotkey 2025-03-24 14:43:39 +09:00
Kwaroran
0aff87252b Bump application version to 158.1.0 2025-03-23 16:48:16 +09:00
Kwaroran
6bd0794a4d Add new vertex providers 2025-03-23 16:47:52 +09:00
Kwaroran
1640157801 Fix customurl 2025-03-23 16:42:41 +09:00
Kwaroran
1d40c9aeac Enhance reverse_proxy handling to support custom model parameters 2025-03-23 16:36:46 +09:00
Kwaroran
66813cc63c Bump application version to 158.0.0 2025-03-23 16:23:39 +09:00
Kwaroran
e22f8b140d Add state 2025-03-23 16:21:36 +09:00
Kwaroran
30936c76e3 Add sneaky 2025-03-23 16:21:24 +09:00
Kwaroran
3535c29c10 Add custommodel 2025-03-23 15:21:31 +09:00
Kwaroran
bcb8a28034 Bump application version to 157.0.1 2025-03-23 14:03:42 +09:00
Kwaroran
a717510d07 Fix fallbackmodel 2025-03-23 14:02:34 +09:00
Kwaroran
19c7097720 Bump application version to 157.0.0 2025-03-22 21:26:08 +09:00
Kwaroran
9ed6d20994 Add array fallback 2025-03-22 21:18:59 +09:00
Kwaroran
e895900376 Merge branch 'main' of https://github.com/kwaroran/RisuAI 2025-03-22 19:09:47 +09:00
Kwaroran
38472af4b8 Add await in translateLLM 2025-03-22 19:09:42 +09:00
kwaroran
c1aa28f669 Bump application version to 156.0.0 2025-03-21 13:51:42 +09:00
kwaroran
9fd188f235 Add new hotkey functionalitys 2025-03-21 10:28:10 +09:00
shirosaki-hana
1a2e44f9ae Update Generate Certificate.sh 2025-03-20 16:38:53 +09:00
shirosaki-hana
8d872f3d3b Merge branch 'kwaroran:main' into https 2025-03-20 16:11:35 +09:00
shirosaki-hana
f4d3f40ce5 Add HTTPS support for RisuAI Node.js hosting version
The Node.js hosting version of RisuAI previously used simple app.listen for server execution, which didn't support native HTTPS. This caused several functionality issues due to browser security restrictions when accessing RisuAI externally, such as realm loading failures and inability to insert prompt presets.

The updated code now checks for certificate files named server.key and server.crt in the /server/node/ssl/certificate directory. If found, the server will start using HTTPS.

The /ssl directory includes a script to generate a self-signed SSL certificate using OpenSSL. To use it, add the server's public IP to the [ alt_names ] section in server.conf before generating the certificate. The CA certificate should be installed on the operating system or browser of devices remotely accessing RisuAI.

For production use with a domain, it's recommended to use a certificate from an official Certificate Authority.
2025-03-20 15:40:11 +09:00
kwaroran
46b50c6d56 Replace ActivityIcon with KeyboardIcon in Settings.svelte 2025-03-20 14:46:28 +09:00
kwaroran
2ce3e63f1d Update HotkeySettings visibility based on window width 2025-03-20 14:43:52 +09:00
kwaroran
f5f05bdf99 Add hotkeys 2025-03-20 14:37:12 +09:00
kwaroran
4c67ce4410 Seperate share menu 2025-03-20 12:24:52 +09:00
kwaroran
ad4f52239b Add OAI response API 2025-03-20 12:08:34 +09:00
kwaroran
fff4ec74af Add preview mode error handling and update build target configuration 2025-03-17 22:32:45 +09:00
kwaroran
c30da266b8 bump version to 155.0.0 in configuration and related files 2025-03-17 22:15:52 +09:00
kwaroran
859a086b79 Fix budget thinking 2025-03-17 22:15:01 +09:00
kwaroran
606efbf991 Add bergamotTranslate import onhtml translation too 2025-03-17 16:10:14 +09:00
kwaroran
eea99c6ea2 Change bergamotTranslator to dynamic import 2025-03-17 16:08:11 +09:00
kwaroran
30dce07c70 Add Firefox(Bergamot) local translation (#794)
# PR Checklist
- [ ] Have you checked if it works normally in all models? *Ignore this
if it doesn't use models.*
- [ ] Have you checked if it works normally in all web, local, and node
hosted versions? If it doesn't, have you blocked it in those versions?
- [ ] Have you added type definitions?

# Description
Translation is performed using the models hosted in the repository:
https://github.com/mozilla/firefox-translations-models/

When the translation is first running, the model is downloaded from the
repository.

Testing completed for `npm dev` and Node server environment.
2025-03-17 16:05:46 +09:00
kwaroran
15eb4de1ea fix: treating unary minus in calcString (#784)
# PR Checklist
- [ ] Have you checked if it works normally in all models? *Ignore this
if it doesn't use models.*
- [ ] Have you checked if it works normally in all web, local, and node
hosted versions? If it doesn't, have you blocked it in those versions?
- [ ] Have you added type definitions?

# Description
It has been reported that calcString incorrectly calculates expressions
when a negative number appears on the right-hand side. This pull request
addresses this issue.
2025-03-17 16:02:22 +09:00
kwaroran
480576bad5 fix: add custom embedding model name as suffix to hypaVector storage keys (#789)
# PR Checklist
- [ ] Have you checked if it works normally in all models? *Ignore this
if it doesn't use models.*
- [ ] Have you checked if it works normally in all web, local, and node
hosted versions? If it doesn't, have you blocked it in those versions?
- [ ] Have you added type definitions?

# Description
This PR introduces following:
- Add custom embedding model name as suffix to hypaVector storage keys
when using custom embedding models to prevent vector dimension mismatch
errors.
2025-03-17 15:53:51 +09:00
kwaroran
e3b1f257c9 fix: update plugin docs with abortSignal support (#790)
# PR Checklist
- [ ] Have you checked if it works normally in all models? *Ignore this
if it doesn't use models.*
- [ ] Have you checked if it works normally in all web, local, and node
hosted versions? If it doesn't, have you blocked it in those versions?
- [ ] Have you added type definitions?

# Description
This PR introduces following:
- Add setArg function to plugin docs
- Add abortSignal parameter to addProvider function
2025-03-17 15:52:53 +09:00
kwaroran
88c04975fe fix: Chat trigger on start (#788)
# PR Checklist
- [ ] Have you checked if it works normally in all models? *Ignore this
if it doesn't use models.*
- [ ] Have you checked if it works normally in all web, local, and node
hosted versions? If it doesn't, have you blocked it in those versions?
- [ ] Have you added type definitions?

# Description
This PR aims to fix the following issues:
1. Fixed an issue where chat array changes caused by the 'start' mode
trigger were not being applied correctly. (This problem occurs in both
block type and Lua type.)
2. Occasionally, there was a problem with scriptstate desync in Lua
triggers, so I've changed to update method on every call.
2025-03-17 15:52:38 +09:00
kwaroran
b6d0fab4b8 Add claudeRetrivalCaching option 2025-03-17 15:27:00 +09:00
kwaroran
4a5722a8bd Fix doNotChangeSeperateModels 2025-03-17 15:01:03 +09:00
kwaroran
bf4f27d0e5 Add seperate models 2025-03-17 14:30:29 +09:00
ModMapper
f3ba23bc59 Add Firefox Translations 2025-03-16 19:41:06 +09:00
kwaroran
5c53e16b85 Add preview request data 2025-03-16 19:24:59 +09:00
ModMapper
bbb01d2961 Add Firefox (Bergamot) translation settings 2025-03-16 19:23:38 +09:00
Bo26fhmC5M
cacad3600e fix: update plugin docs with abortSignal support
- Add setArg function to plugin docs
- Add abortSignal parameter to addProvider function
2025-03-15 01:13:30 +09:00