eec28469f8
Fix server crash if multimodal prompt contains no image
2023-12-14 21:21:37 +02:00
2858e095a8
Update chat-completions.js
2023-12-14 21:07:52 +02:00
84a94b37e1
Revert "Update chat-completions.js"
...
This reverts commit 54dd3799e8
.
2023-12-14 20:55:20 +02:00
54dd3799e8
Update chat-completions.js
2023-12-14 20:42:08 +02:00
bb8b8f9386
Fix sending PNG/WEBP to Google captioning
2023-12-14 20:36:31 +02:00
6f16ccf01f
Merge branch 'staging' of https://github.com/DonMoralez/SillyTavern into staging
2023-12-14 20:17:41 +02:00
d1be9d5347
Fix JSDoc + lint + readability
2023-12-14 20:05:27 +02:00
47c71a62f3
Don't rewrite settings if just moving the key
2023-12-14 19:58:27 +02:00
d4f96020f2
Migrate Palm secret key, fix vector source key access
2023-12-14 19:33:23 +02:00
68bb616be3
Merge branch 'staging' into cleanup-sampler-order
2023-12-14 18:32:30 +02:00
5071b9a369
webstorm moment
2023-12-15 02:01:42 +10:00
60880cfd4d
merge
2023-12-15 01:39:12 +10:00
698850b514
Merge remote-tracking branch 'fork/staging' into gemini
...
# Conflicts:
# server.js
# src/endpoints/prompt-converters.js
# src/endpoints/tokenizers.js
2023-12-15 01:35:17 +10:00
d5bcd96eef
message inlining vision support
2023-12-15 01:28:54 +10:00
38a34bf1d5
Fix silly argument naming
2023-12-14 17:14:05 +02:00
00687a9379
Merge branch 'staging' into separate-altscale-endpoints
2023-12-14 17:12:19 +02:00
40e15f5762
Fix conditional access to Palm response body
2023-12-14 16:18:10 +02:00
2a5340232d
Move prompt converters to a separate module. Camelcase local variables and add missing JSDocs.
2023-12-14 16:00:17 +02:00
348253fd98
Fix import path
2023-12-14 15:36:44 +02:00
178b07f414
cleaned up a little
2023-12-14 23:18:56 +10:00
0b7c1a98cd
added google vision caption support
2023-12-14 22:37:53 +10:00
0f25d51a53
Send Kobold sampler order as an array
2023-12-14 02:03:36 -05:00
3e82a7d439
tokenizer changes and fixes. + a toggle
2023-12-14 16:31:08 +10:00
e26159c00d
refactor and rework palm request to work with the 'content' format and added an endpoint for googles tokenizer
2023-12-14 15:49:50 +10:00
be396991de
finish implementing ui changes for google models
2023-12-14 11:53:26 +10:00
69e24c9686
change palm naming in UI
2023-12-14 11:14:41 +10:00
b55ea8df04
Move alt Scale generation to its own module
2023-12-13 18:54:12 -05:00
dba66e756a
Move chat completions API endpoints to module
2023-12-13 18:53:22 -05:00
796659f68c
Add proper fetch import
2023-12-14 01:39:34 +02:00
0cd92f13b4
Merge branch 'staging' into separate-kobold-endpoints
2023-12-14 01:33:36 +02:00
cebd6e9e0f
Add API token ids from KoboldCpp
2023-12-14 01:28:18 +02:00
fec27820ff
(claude)reworked prefix assignment, sysprompt mode, console message display
2023-12-13 21:19:26 +02:00
0d0dd5e170
Revert old comment
2023-12-13 02:50:50 +02:00
52de5869fe
Rename file, add missing fetch
2023-12-13 02:22:35 +02:00
2c159ff93f
Move Kobold API endpoints to their own module
2023-12-12 16:42:12 -05:00
35c2f8bf66
Move text completions API endpoints to own module
2023-12-12 16:41:16 -05:00
2ca9015a5f
Add filters to serpapi/visit
2023-12-12 03:56:36 +02:00
299749a4e7
Add prerequisites for websearch extension
2023-12-12 01:08:47 +02:00
dbd52a7994
Merge pull request #1482 from valadaptive/sse-stream
...
Refactor server-sent events parsing
2023-12-10 18:32:19 +02:00
b107ace719
Avoid sending 401 in forwarded responses.
...
Status code 401 resets the client Basic auth, so we replace it with 400. This can produce an interesting artifact as "400 Unauthorized", but it's not out of spec.
"The reason phrases listed here are only recommendations -- they can be replaced by local equivalents or left out altogether without affecting the protocol."
https://www.rfc-editor.org/rfc/rfc9110.html#name-overview-of-status-codes
2023-12-10 18:00:04 +02:00
30502ac949
Split up Kobold and textgenerationwebui endpoints
...
The endpoint was one big if/else statement that did two entirely
different things depending on the value of main_api. It makes more sense
for those to be two separate endpoints.
2023-12-09 20:26:24 -05:00
04e92efe29
Move API tokenization endpoint into /tokenizers
...
Requires extracting some more functions out of server.js.
2023-12-09 19:35:49 -05:00
44ac2ca4e6
Avoid returning 401 as API response code
2023-12-09 15:11:35 +02:00
055d6c4337
Properly forward status codes from streams
2023-12-07 18:06:17 -05:00
c0a7472fe9
Move background file instead of copying+deleting
2023-12-07 15:28:04 -05:00
e7dce9b107
Remove response_dw_bg
2023-12-07 15:24:05 -05:00
32c86c1e95
Move backgrounds endpoints into separate file
2023-12-07 15:24:05 -05:00
eb1d4aed4d
Move stats helpers into stats endpoint
2023-12-07 13:04:54 -05:00
afe0dfe913
Move stats endpoints into separate file
2023-12-07 13:00:34 -05:00
bf2b59279b
Move worldinfo endpoints into separate file
2023-12-06 20:00:51 -05:00