660 Commits

Author SHA1 Message Date
Cohee
180061337e Merge branch 'staging' into anachronous/release 2023-12-17 21:35:49 +02:00
DonMoralez
7835a1360f Merge remote-tracking branch 'upstream/staging' into staging 2023-12-17 19:46:47 +02:00
Cohee
c7c1513e91 Add proxy support for multimodal captions. Add caption pre-prompt 2023-12-17 19:41:20 +02:00
valadaptive
0162d54e5b Always use async import()
import() works with CommonJS and ESM modules, so we don't need two
different code paths.
2023-12-17 12:29:54 -05:00
valadaptive
7ae0e05946 Allow plugins to specify "exit" functions 2023-12-17 12:26:34 -05:00
valadaptive
4fcb7b5ea4 Rework plugin loading
Plugins must now provide an `info` export which includes their ID, name,
and a description (I'm flexible on the last two). The ID is used for the
API route--all plugin-registered API routes will be accessed through
`plugins/[plugin ID]`.
2023-12-17 12:21:05 -05:00
DonMoralez
27a25e1298 Merge remote-tracking branch 'upstream/staging' into staging 2023-12-17 13:52:49 +02:00
anachronos
1e88c8922a
Merge branch 'staging' into release 2023-12-17 10:38:04 +01:00
based
5e086321d0 Merge remote-tracking branch 'fork/mistral' into mistral 2023-12-17 11:21:03 +10:00
based
73828062db fix for sys prompts 2023-12-17 11:19:29 +10:00
Cohee
2d8a62d059 Refactor openai vectors 2023-12-17 02:56:47 +02:00
Cohee
b1f07eb989 lint: format 2023-12-17 02:49:14 +02:00
Cohee
a62122a7d7 Merge branch 'staging' into mistral 2023-12-17 02:41:29 +02:00
Cohee
940f701691 Don't try to load directories as files 2023-12-17 01:23:28 +02:00
Cohee
16795dd5cc Add server plugin loader 2023-12-16 22:21:40 +02:00
Fayiron
0a9f678399 Remove togetherai.js 2023-12-16 17:09:09 +01:00
Fayiron
80e82171c1 Add support for multiple OpenAI compatible endpoints 2023-12-16 17:06:52 +01:00
Fayiron
7b0ecd3e61 more stuff 2023-12-16 15:17:03 +01:00
DonMoralez
125d2997db Add prefixes sequence check for claude 2023-12-16 14:12:06 +02:00
DonMoralez
d19cc7ee36 Merge remote-tracking branch 'upstream/staging' into staging 2023-12-16 14:06:25 +02:00
based
60e1d10263 add fallback error for /status 2023-12-16 12:08:34 +10:00
Cohee
b569d74552 Configurable auto-mode delay 2023-12-16 02:52:48 +02:00
based
f16ac8686e just incase 2023-12-16 09:50:10 +10:00
based
47357da20c comment 2023-12-16 09:45:31 +10:00
based
af059a6af6 more last prompt fixes + added an svg 2023-12-16 09:44:47 +10:00
based
65fa333513 last role fix. wtf mistral...jbs le over? 2023-12-16 09:08:05 +10:00
based
e8ca2e8c22 Merge branch 'staging' of https://github.com/Cohee1207/SillyTavern into mistral 2023-12-16 08:48:37 +10:00
based
5dd2e8cd88 added mistral vector support (off the back of oai's) 2023-12-16 08:37:39 +10:00
based
c517483141 added mistral chat completion 2023-12-16 08:27:40 +10:00
DonMoralez
6b59014892 (Fix) "squash sys. messages" processed empty messages, adding \n 2023-12-16 00:24:48 +02:00
DonMoralez
1f36a3eaae Merge remote-tracking branch 'upstream/staging' into staging 2023-12-16 00:15:16 +02:00
based
583f786d74 finish mistral frontend integration + apikey status check 2023-12-16 07:15:57 +10:00
Cohee
7dfa989e4c Bail early from key iteration 2023-12-15 22:13:02 +02:00
Cohee
9d1b563d48 Add cache for parsed characters 2023-12-15 22:11:48 +02:00
Cohee
63484ef40b #1542 Skip system messages in TXT export 2023-12-15 21:41:16 +02:00
DonMoralez
d061c830c2 Update prompt-converters.js 2023-12-15 20:58:03 +02:00
DonMoralez
04f3aa8b66 Update prompt-converters.js 2023-12-15 20:15:48 +02:00
DonMoralez
d6e5ceaf93 Merge remote-tracking branch 'upstream/staging' into staging 2023-12-15 20:15:29 +02:00
Cohee
dd7ac914a6 Rename basic auth middleware 2023-12-15 18:43:00 +02:00
Cohee
fad718baa1
Merge pull request #1537 from valadaptive/separate-whitelist-middleware
Move whitelist middleware to its own module
2023-12-15 18:38:37 +02:00
DonMoralez
10fb83ee53 Merge remote-tracking branch 'upstream/staging' into staging 2023-12-15 13:12:15 +02:00
DonMoralez
d71b5430ad Update prompt-converters.js 2023-12-15 13:10:53 +02:00
valadaptive
0ee19d2ede Set background client-side 2023-12-15 05:45:21 -05:00
valadaptive
1ed9267174 Move whitelist middleware to its own module 2023-12-14 17:36:41 -05:00
valadaptive
d935b2a132 Move settings endpoints to their own module 2023-12-14 16:56:45 -05:00
Cohee
f93e40b1d3
Merge pull request #1533 from kingbased/gemini
Better Google Makersuite/AI adapter + Gemini Pro & Vision Support & tokenizers
2023-12-14 22:42:30 +02:00
Cohee
cde9903fcb Fix Bison models 2023-12-14 22:18:34 +02:00
DonMoralez
2ebc168505 Update prompt-converters.js 2023-12-14 21:36:13 +02:00
Cohee
eec28469f8 Fix server crash if multimodal prompt contains no image 2023-12-14 21:21:37 +02:00
DonMoralez
2858e095a8 Update chat-completions.js 2023-12-14 21:07:52 +02:00