Commit Graph

2985 Commits

Author SHA1 Message Date
Cohee 6406f76c7d Compress too large images for Google captions 2023-12-14 22:28:22 +02:00
Cohee cde9903fcb Fix Bison models 2023-12-14 22:18:34 +02:00
Cohee eec28469f8 Fix server crash if multimodal prompt contains no image 2023-12-14 21:21:37 +02:00
Cohee 2045e414d1 lint: format fix 2023-12-14 20:57:43 +02:00
Cohee bb8b8f9386 Fix sending PNG/WEBP to Google captioning 2023-12-14 20:36:31 +02:00
Cohee d1be9d5347 Fix JSDoc + lint + readability 2023-12-14 20:05:27 +02:00
Cohee 47c71a62f3 Don't rewrite settings if just moving the key 2023-12-14 19:58:27 +02:00
Cohee a6bb754567 Fix API key access 2023-12-14 19:56:43 +02:00
Cohee 6bb894286e Migrate palm source to makersuite 2023-12-14 19:54:31 +02:00
Cohee d4f96020f2 Migrate Palm secret key, fix vector source key access 2023-12-14 19:33:23 +02:00
based 5071b9a369 webstorm moment 2023-12-15 02:01:42 +10:00
based 60880cfd4d merge 2023-12-15 01:39:12 +10:00
based 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
based d5bcd96eef message inlining vision support 2023-12-15 01:28:54 +10:00
Cohee 009fb99d95
Merge pull request #1521 from valadaptive/separate-altscale-endpoints
Move generate_altscale into its own module
2023-12-14 17:24:29 +02:00
Cohee 38a34bf1d5 Fix silly argument naming 2023-12-14 17:14:05 +02:00
Cohee 00687a9379 Merge branch 'staging' into separate-altscale-endpoints 2023-12-14 17:12:19 +02:00
Cohee b74bf272fb
Merge pull request #1520 from valadaptive/separate-openai-endpoints
Separate chat completions API (OpenAI) endpoints
2023-12-14 17:08:23 +02:00
Cohee b524870544 Fix AI21 icon styles 2023-12-14 16:56:39 +02:00
Cohee 40e15f5762 Fix conditional access to Palm response body 2023-12-14 16:18:10 +02:00
Cohee 2a5340232d Move prompt converters to a separate module. Camelcase local variables and add missing JSDocs. 2023-12-14 16:00:17 +02:00
Cohee 348253fd98 Fix import path 2023-12-14 15:36:44 +02:00
based 178b07f414 cleaned up a little 2023-12-14 23:18:56 +10:00
Cohee 907dc610ab Merge branch 'staging' into separate-openai-endpoints 2023-12-14 15:17:03 +02:00
based 0b7c1a98cd added google vision caption support 2023-12-14 22:37:53 +10:00
Cohee bc0c064948
Merge pull request #1529 from bdashore3/staging 2023-12-14 13:57:38 +02:00
based ca87f29771 added streaming for google models 2023-12-14 21:03:41 +10:00
based 3e82a7d439 tokenizer changes and fixes. + a toggle 2023-12-14 16:31:08 +10:00
based 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
kingbri 3d8160cf25 Server: Update CORS proxy body limit
The body-parser middleware only accepted 50mb of data, bump this
value to 200mb.

Signed-off-by: kingbri <bdashore3@proton.me>
2023-12-13 21:39:07 -05:00
based be396991de finish implementing ui changes for google models 2023-12-14 11:53:26 +10:00
based 69e24c9686 change palm naming in UI 2023-12-14 11:14:41 +10:00
Cohee 875760eadf
Merge pull request #1519 from valadaptive/separate-kobold-endpoints
Move Kobold endpoints into their own module
2023-12-14 02:15:41 +02:00
valadaptive b55ea8df04 Move alt Scale generation to its own module 2023-12-13 18:54:12 -05:00
valadaptive 22e048b5af Rename generate_altscale endpoint 2023-12-13 18:53:46 -05:00
valadaptive dba66e756a Move chat completions API endpoints to module 2023-12-13 18:53:22 -05:00
valadaptive 92bd766bcb Rename chat completions endpoints
OpenAI calls this the "Chat Completions API", in contrast to their
previous "Text Completions API", so that's what I'm naming it; both
because other services besides OpenAI implement it, and to avoid
confusion with the existing /api/openai route used for OpenAI extras.
2023-12-13 18:52:08 -05:00
Cohee 796659f68c Add proper fetch import 2023-12-14 01:39:34 +02:00
Cohee c8bc9cf24c Fix route name 2023-12-14 01:37:51 +02:00
Cohee 0cd92f13b4 Merge branch 'staging' into separate-kobold-endpoints 2023-12-14 01:33:36 +02:00
Cohee cebd6e9e0f Add API token ids from KoboldCpp 2023-12-14 01:28:18 +02:00
Cohee b957e3b875
Merge pull request #1518 from valadaptive/separate-ooba-endpoints
Move Ooba/textgenerationwebui endpoints into their own module
2023-12-14 01:27:05 +02:00
Cohee 0d0dd5e170 Revert old comment 2023-12-13 02:50:50 +02:00
Cohee 52de5869fe Rename file, add missing fetch 2023-12-13 02:22:35 +02:00
Cohee 51d50f97cc
Merge pull request #1525 from valadaptive/cache-stopping-strings
Cache stopping strings rather than skipping them during streaming
2023-12-13 01:06:44 +02:00
valadaptive 2c159ff93f Move Kobold API endpoints to their own module 2023-12-12 16:42:12 -05:00
valadaptive 274605a07c Rename Kobold-related endpoints 2023-12-12 16:42:12 -05:00
valadaptive 35c2f8bf66 Move text completions API endpoints to own module 2023-12-12 16:41:16 -05:00
valadaptive 5b3c96df50 Rename /textgenerationwebui endpoint
I'd like to migrate over to using "textgen" to mean text-generation APIs
in general, so I've renamed the /textgenerationwebui/* endpoints to
/backends/text-completions/*.
2023-12-12 16:40:14 -05:00
valadaptive 7732865e4c Another explanatory comment 2023-12-12 16:36:47 -05:00