89 Commits

Author SHA1 Message Date
Cohee
face9462aa Remove userPlaceholder #2962 2024-10-09 10:23:49 +03:00
Cohee
c2935ba4a7 Migrate Cohere to /v2/chat
Closes #2916
2024-10-08 23:50:09 +03:00
Cohee
67ebf0fc06 Use classic hash method for Node 18 2024-10-06 23:58:10 +03:00
Cohee
87d73af0ac Mistral: Use hex toolid encoding 2024-10-06 23:43:13 +03:00
Cohee
991e10c75f Claude: remove tools from prompt if tools not supported or not provided 2024-10-06 23:02:38 +03:00
Cohee
6b022e783d Fix tool call reuse between Claude and OAI 2024-10-06 22:22:19 +03:00
Cohee
4f46a8ff10 Mistral: Change tool call id algorithm 2024-10-06 20:24:07 +03:00
Cohee
2a25f75fa5 Mistral: sanitize tool call id 2024-10-06 20:07:43 +03:00
Cohee
c8ef4b02bc Add .git to jsconfig ignore 2024-10-06 19:12:28 +03:00
Cohee
f66261a52c Mistral: Squash user messages that follow tools 2024-10-06 14:28:52 +03:00
Cohee
6185974e17 Claude: Use multi-part system prompt, cache tools 2024-10-05 18:04:08 +03:00
Cohee
3b4a455ef8 Split Custom OAI prompt post-processing modes 2024-10-05 16:09:39 +03:00
Cohee
8b13c40e0d Claude: fix prefills 2024-10-04 21:48:35 +03:00
Cohee
689dbad2d1 Merge branch 'staging' into tool-calling 2024-10-04 14:28:47 +00:00
Cohee
cc3cc58a06 Claude: fix token counting when tool_calls are used 2024-10-04 12:24:10 +00:00
M0cho
d53baed5cf Supports Gemini 1.5-Flash-8b
for Product Ready version.
2024-10-04 20:16:12 +09:00
Cohee
c3c10a629e Claude: new prompt converter + non-streaming tools 2024-10-04 03:41:25 +03:00
Cohee
559f1b81f7 Remove tool calling for Cohere v1 2024-10-04 02:11:46 +03:00
M0cho
2ee3eb7004 Support gemini-1.5-series-002 and new 8B exp model 2024-09-25 02:58:56 +09:00
Cohee
8bb964515a Fix Gemini multimodal with JPG images
Fixes #2763
2024-09-08 10:48:28 +03:00
M0cho
268aeb0ae5 Support gemini-1.5-exp-0827 2024-08-28 08:24:04 +09:00
Cohee
2b32c8638a Don't use user filler 2024-08-26 17:16:02 +03:00
Cohee
5fc16a2474 New AI21 Jamba + tokenizer 2024-08-26 12:07:36 +03:00
Cohee
4b61bcc741 Merge pull request #2600 from Succubyss/gemini-1.5-pro-exp-0801 2024-08-02 21:39:19 +03:00
Succubyss
3f6e4fabb8 gemini updates 2024-08-02 13:30:54 -05:00
Cohee
5ad433c576 #2557 Put MistralAI prefix under a feature toggle 2024-07-27 19:57:40 +03:00
Cohee
ef59e8abae #2557 Improve Mistral prompt conversion 2024-07-25 21:04:57 +03:00
Cohee
fa6fc45e6f Function calling for Cohere 2024-05-25 17:09:47 +03:00
Cohee
0b06f9686b Enable image inlining for Gemini flash 2024-05-21 16:14:21 +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
58152a60c6 Append example names to converted Google sysprompt 2024-04-11 19:45:50 +03:00
based
c4ec97aa50 cleanup 2024-04-11 16:51:05 +10:00
based
34bca69950 system prompt support for gemini 1.5 2024-04-11 16:38:20 +10:00
Cohee
9838ba8044 #1994 Add Cohere as a Chat Completion source 2024-04-02 00:20:17 +03:00
Cohee
06510f25bf Fix double append of example dialogue names in group chats for Claude 2024-03-27 23:37:28 +02:00
based
f3b9920f22 actually convert the prompts properly 2024-03-27 15:48:26 +10:00
based
6a51855f19 Update Makersuite models 2024-03-27 13:52:51 +10:00
Cohee
30c52b5b27 Move prompt-converters.js 1 level up 2024-03-20 01:18:51 +02:00