Commit Graph

3122 Commits

Author SHA1 Message Date
Kwaroran
d7f376b8db Change Plugin.md and version 2024-12-25 21:09:12 +09:00
Kwaroran
28d8bfdd22 Fix nativeFetch and comfy 2024-12-25 21:06:52 +09:00
Kwaroran
1c51afc626 Enhance plugin functionality by adding optional provider parameters and improving thoughts extraction regex 2024-12-25 04:55:05 +09:00
Kwaroran
8b6fc5bc8b Add max_tokens parameter to plugin documentation and request function 2024-12-25 00:31:28 +09:00
Kwaroran
7d9649b87e Merge branch 'main' of https://github.com/kwaroran/RisuAI 2024-12-25 00:22:54 +09:00
Kwaroran
0587f513f1 Bump version to 144.3.1 in configuration and related files 2024-12-25 00:19:40 +09:00
Kwaroran
b612d28f1b Refactor loadV2Plugin to use database plugins instead of passed plugins 2024-12-25 00:19:03 +09:00
kwaroran
98ca1736ab Fix thoughts extraction regex for multiline content handling (#687)
# PR Checklist
- [x] Did you check if it works normally in all models? *ignore this
when it dosen't uses models*
- [x] 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

This PR updates the regex used for extracting <Thoughts> content to
handle multiline cases reliably. The previous regex (.+?) had
limitations when processing text spanning multiple lines, as it could
not match content with line breaks.
2024-12-24 23:16:20 +09:00
Kwaroran
29c9f0ad15 Bump version to 144.3.0 in configuration and related files 2024-12-24 23:15:10 +09:00
Kwaroran
027a591424 Remove V1 Plugin 2024-12-24 23:14:49 +09:00
Kwaroran
2f8904e567 Bump version to 144.2.0 in configuration and related files 2024-12-24 22:56:47 +09:00
Kwaroran
048652656c Add thoughts 2024-12-24 04:15:32 +09:00
Kwaroran
8f667d6394 Add Saving Icon 2024-12-23 17:07:19 +09:00
Bo26fhmC5M
6d182a8ad3 Fix thoughts extraction regex for multiline content handling 2024-12-21 13:07:57 +09:00
Kwaroran
50cf5e65b8 Remove thoughts property from OpenAIChatExtra interface and clean up related request processing 2024-12-21 06:35:05 +09:00
Kwaroran
d4db95070e Update plugin documentation and types to support ReadableStream in provider results 2024-12-21 06:33:00 +09:00
Kwaroran
bd7b58a477 Remove risuLog function and recommend using console.log instead 2024-12-21 01:32:54 +09:00
Kwaroran
e1f5a8ef08 Bump version to 144.1.0 in configuration and related files 2024-12-21 01:29:57 +09:00
Kwaroran
709f45fa59 Add arrayBuffer support to fetchNative and update documentation 2024-12-21 01:29:45 +09:00
Kwaroran
219042f8ad Update plugin documentation to clarify nativeFetch method support and usage 2024-12-21 01:27:03 +09:00
Kwaroran
9d0402b7f5 Add support for multiple HTTP methods in streamed_fetch and fetchNative 2024-12-21 01:26:01 +09:00
Kwaroran
45e8ca5ed6 Update documentation for nativeFetch to clarify CORS restrictions and API design 2024-12-21 01:15:40 +09:00
Kwaroran
6860382bf1 Update plugin documentation to include mode parameter for replacer functions 2024-12-20 23:49:52 +09:00
Kwaroran
7cd49fc8c3 Add V2 plugin 2024-12-20 23:45:07 +09:00
Kwaroran
e5e01d0688 Fix error handling in gemini and add dataItem hotkey 2024-12-20 18:11:11 +09:00
Kwaroran
cc4bbdc8e2 Enhance LLM model flags to include requiresAlternateRole and update request processing to handle multimodal and thoughts data 2024-12-20 04:31:23 +09:00
Kwaroran
280fd31316 Update version to 143.9.1 in configuration and related files 2024-12-20 03:14:35 +09:00
Kwaroran
01da904c9b Gemini change thinking 2024-12-20 03:14:06 +09:00
Kwaroran
c937a65b1f Fix formatting of thoughts in request processing to ensure proper line breaks 2024-12-20 02:55:10 +09:00
Kwaroran
37d0870f26 Update version to 143.9.0 in configuration and related files 2024-12-20 02:54:13 +09:00
Kwaroran
4afe32a2c2 Add geminiThinking flag and enhance thoughts handling in chat processing 2024-12-20 02:53:58 +09:00
Kwaroran
bd14dcd038 Update version to 143.8.0 in configuration and database files 2024-12-20 02:21:00 +09:00
Kwaroran
68873452a0 Update version to 143.8.0 2024-12-20 02:16:05 +09:00
Kwaroran
73e94658fd Add thoughts 2024-12-20 02:15:48 +09:00
Kwaroran
755a10a7ae Improve translation handling by processing text in chunks for better performance 2024-12-19 05:40:52 +09:00
Kwaroran
b07a9b9d15 Update version to 143.7.1 and add menu sidebar options 2024-12-19 05:34:09 +09:00
Kwaroran
c05aa389b9 Fix devrole 2024-12-18 03:45:11 +09:00
Kwaroran
a961a553d8 Move DeveloperRole 2024-12-18 03:38:20 +09:00
Kwaroran
f09cb1bd69 Add DeveloperRole flag and update role handling in OpenAIChatExtra 2024-12-18 03:37:41 +09:00
Kwaroran
6d3fdadf55 Merge branch 'main' of https://github.com/kwaroran/RisuAI 2024-12-18 03:26:55 +09:00
kwaroran
2225a53802 Fixed “Separate Parameters” scaling issue (#685)
# PR Checklist
- [YES, I tested it on models from OpenAI/Anthropic/Google.] Did you
check if it works normally in all models? *ignore this when it dosen't
uses models*
- [No, I've only tested it on node hosted versions] 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?
- [No] Did you added a type def?

# Description
Fixed an issue where the “Temperature” parameter was not scaled
correctly when using the “Separate Parameters” feature.
2024-12-18 03:26:44 +09:00
Kwaroran
7c7bf16712 Merge branch 'main' of https://github.com/kwaroran/RisuAI 2024-12-18 03:26:30 +09:00
Kwaroran
744a03ffcc Bump version to 143.7.0 2024-12-18 03:26:23 +09:00
Kwaroran
5df9e68bae Add o1 and fix some mistakes 2024-12-18 03:26:02 +09:00
shirosaki-hana
a092d1f482 Fixed “Separate Parameters” scaling issue
Fixed an issue where the “Temperature” parameter was not scaled correctly when using the “Separate Parameters” feature.
2024-12-17 11:30:16 +09:00
kwaroran
4baf3f1d90 Suggestion: disabling regex script (#683)
# 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

![image](https://github.com/user-attachments/assets/efcd778e-82d3-4b23-9eba-3b2843709450)

I propose adding a feature to disable regex scripts instead of deleting
them. In this PR, I opted for the approach that minimizes edits to the
original source code, but I believe it’s worth considering alternatives,
such as using a custom flag or a separate toggle. I’d like to gather
your feedback on this approach and make further adjustments if
necessary.
2024-12-17 02:39:03 +09:00
Kwaroran
25cd5af074 Remove debug logging from getClosestMatch function 2024-12-16 07:58:54 +09:00
Kwaroran
5caa4806ef Remove debug trace from setDatabaseLite function 2024-12-16 07:56:43 +09:00
Kwaroran
9bdd354f7c Add asset max difference setting and update related logic 2024-12-16 07:56:15 +09:00
Kwaroran
94501dbd77 Enhance character image handling with PNG chunk 2024-12-16 06:05:57 +09:00