689 Commits

Author SHA1 Message Date
Cohee
e66b270811 Change backups to be user data scoped 2024-05-28 17:49:34 +03:00
Cohee
31f4a34f5a
Merge pull request #2312 from NijikaMyWaifu/gpt4o-tokenizer-for-gemini
Use GPT-4o tokenizer for Gemini
2024-05-25 20:20:30 +03:00
Cohee
cb381595f9 Function calling for Mistral 2024-05-25 17:31:40 +03:00
Cohee
fa6fc45e6f Function calling for Cohere 2024-05-25 17:09:47 +03:00
Cohee
a20c6bb01e Extension framework for function tool calling 2024-05-25 15:31:57 +03:00
NijikaMyWaifu
33b22bd4f8
Use GPT-4o tokenizer for Gemini
Use GPT-4o tokenizer for Gemini, as Gemini tokenizer is more similar to GPT-4o's
2024-05-25 13:26:11 +08:00
daiaji
66454bb711
Add reverse proxy support to Google MakerSuite to allow some Google MakerSuite URLs to no longer be hardcoded with domain names. (#2307)
* Add reverse proxy support to Google MakerSuite.

* Remove hardcoded URLs for some Google MakerSuite API calls.

* Don't send real key to alt.endpoint

* Fix for image captioning

* Fix key validation

* +fix key check for mistral

* Fix caption key validation

* Fix tokenization endpoint use

---------

Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2024-05-24 21:38:29 +03:00
Cohee
967a7980f5 Add vector retrieval score threshold 2024-05-23 17:28:43 +03:00
Cohee
8a8e8a89dc Remove debug log.
Don't think it makes much sense
2024-05-23 02:10:39 +03:00
Wolfsblvt
a251849f8f WI import checking for existing worlds too
- WI import uses the same check as create new world
- API endpoint to get server-side sanitized filenames
- Small changes to toast messages
2024-05-22 21:11:39 +02:00
Cohee
f5fccc0387 Add Azure TTS service 2024-05-22 01:37:51 +03:00
Cohee
0b06f9686b Enable image inlining for Gemini flash 2024-05-21 16:14:21 +03:00
Cohee
ed2e7a2f47 Fix RisuRealm UUID identifier import 2024-05-20 12:51:10 +03:00
Cohee
cf28d6653c Import characters from RisuRealm by URL 2024-05-19 20:19:20 +03:00
Cohee
d9b55df883 Fix loading characters from assets on first load 2024-05-19 03:31:09 +03:00
Cohee
c661fea07d #2227 Implement content scaffolding 2024-05-17 02:43:14 +03:00
hexa4ce
116fa673c6
Added support for new characterhub.org url (former chub.ai) for character imports 2024-05-16 20:07:52 +02:00
Cohee
7289ed72f8 #2240 Yes, I can add new maker suite model 2024-05-15 23:31:09 +03:00
Cohee
caf85ad040
Merge pull request #2229 from Wolfsblvt/wi-delay-until-recursion
WI entry setting "Delay until recursion"
2024-05-15 00:43:52 +03:00
Cohee
3113109f0a Use a proper tokenizer for GPT-4o 2024-05-14 15:30:11 +03:00
Wolfsblvt
036603c9e9 WI entry setting "Delay until recursion" 2024-05-13 22:33:25 +02:00
Cohee
7d65a6e264 Add content manager config notice 2024-05-12 00:44:46 +03:00
Cohee
7063fce2af Selectable openrouter providers 2024-05-06 19:26:20 +03:00
Cohee
83c77c1f18 Split group weight and trigger% 2024-05-06 17:00:42 +03:00
Cohee
181b5aff97 Add Groq as chat completion source 2024-05-05 18:53:12 +03:00
Cohee
39a54d158d Per-entry group scoring 2024-05-05 00:42:33 +03:00
Cohee
7bfd666321 Add llama 3 tokenizer 2024-05-03 23:59:39 +03:00
Cohee
3c2017c7b8 Fix Mistral's Chat Completion moment 2024-05-03 20:22:03 +03:00
Cohee
7b87f44518 Clean-up API-specific settings 2024-05-03 20:02:13 +03:00
sasha0552
2bd239fe81
Initial vLLM support 2024-05-02 22:40:40 +00:00
Cohee
eb4cae4e6d Add WL to config. Code clean-up. 2024-05-01 19:52:34 +03:00
Adam
300b68177b #1958 added support for generic url downloading (current whitelist: discordapp.com, catbox.moe) 2024-04-29 23:42:50 -05:00
Cohee
2847b5ee45 [skip ci] Fix format 2024-04-27 23:02:51 +03:00
Cohee
943906d8a3 Fix UTF-8 file name uploads
https://github.com/expressjs/multer/issues/1104
2024-04-27 22:58:32 +03:00
Cohee
cbedfa4664 Use atomic write 2024-04-27 22:02:04 +03:00
Cohee
01ccc32274 Cache config.yaml reads 2024-04-27 21:59:57 +03:00
Cohee
3b153a6c9b Check that path exists before serving 2024-04-27 21:54:28 +03:00
Cohee
5ac0390446 Fix naming convention for LB extension fields 2024-04-27 21:03:55 +03:00
Cohee
413cec8a9f Merge branch 'staging' into wi-entry-inclusion-prio 2024-04-27 18:00:00 +03:00
Wolfsblvt
a48a9318c1 Add groupOverride to server endpoint too 2024-04-27 04:49:08 +02:00
Cohee
4c9d52422b [chore] ESLint and JSDoc 2024-04-26 22:46:13 +03:00
Cohee
f4ba1f68ef
Merge pull request #2136 from BlueprintCoding/release
Added import function for AICharacterCards.com cards
2024-04-26 22:42:04 +03:00
Cohee
212e61d2a1 Lazy initialization of Claude tokenizer. Add JSDoc for tokenizer handlers 2024-04-26 15:17:02 +03:00
Cohee
1b60e4a013 Init user storage module before server listening 2024-04-26 14:09:40 +03:00
Blueprint Coding
305afb3713 Added import function for AICharacterCards.com cards
Added ability to import cards directly from aicharactercards.com via it's api like Chub and Janny.
Video of it in action: https://streamable.com/gbfdtw

Just pass the last two slash vars from the url (the author and card title) from a page. EX: aicharcards/the-game-master to:
https://aicharactercards.com/wp-json/pngapi/v1/image/

In this example: https://aicharactercards.com/wp-json/pngapi/v1/image/aicharcards/the-game-master
2024-04-24 18:04:17 -06:00
Cohee
01e3964232 Auto-backup settings every 10 minutes. Increase backups limit to 50. 2024-04-24 23:45:49 +03:00
Cohee
51014e7a8d Fix VRM assets console spam 2024-04-24 10:54:55 +03:00
Cohee
530bf81940 #2127 Encode export PNG name 2024-04-24 10:48:08 +03:00
Cohee
71f41d5233 Fix server crash in auto login 2024-04-23 21:11:47 +03:00
Cohee
75372ad0cc Use Map for caches instead of objects 2024-04-23 16:15:54 +03:00