Commit Graph

135 Commits

Author SHA1 Message Date
9382845dee Claude: remove user filler from prompt converter 2024-11-24 19:05:41 +02:00
70c45fb001 Merge branch 'staging' into fix/connRefusedErrMsg 2024-11-24 01:41:15 +02:00
85ca08a2ea Settings for new gemini 2024-11-22 17:50:33 +00:00
8de551fc94 Return 502 with error description when connection to remote CC API fails
If chat-completions/generate returns an error, throw the error message

Reformat display of exceptions during SD prompt text generation
2024-11-22 11:55:27 +11:00
c3b416b4cf Claude: fix prefill tool calling hack with at-depth caching 2024-11-19 20:48:02 +02:00
c3caa1699e Moved most of code to prompt converters 2024-11-18 08:06:27 -03:00
befe5a7171 Adding Claude caching support to OpenRouter as well 2024-11-17 15:53:02 -03:00
5397614347 Defaulting to -1 rather than boolean false 2024-11-17 14:01:22 -03:00
ac33e4d668 cache_control positioning fix 2024-11-17 09:21:20 -03:00
73dabd8905 Simple implementation of caching at depth that should be useful for most use cases 2024-11-17 08:32:36 -03:00
c9d2b609f1 match => includes 2024-11-16 15:41:41 +02:00
30bca8e39b Supports GEMINI EXP 2024-11-15 05:26:10 +09:00
8da98faa99 MistralAI: Include frequency/presence penalties in requests 2024-11-08 11:09:57 +02:00
2daff0e736 Console log full CC error response 2024-11-05 16:40:05 +00:00
4b5f485bd5 Add NanoGPT as chat completions provider 2024-10-26 16:57:49 +13:00
4fcad0752f [chore] Fix type errors 2024-10-11 21:33:36 +03:00
90eef29982 Merge branch 'staging' into es-modules 2024-10-11 20:30:23 +03:00
a0889a15fd Explicitly import node process 2024-10-11 10:43:29 +03:00
d52b4fbbde Node: Migrate to ES Modules 2024-10-10 22:37:22 +03:00
ac05840b81 Remove a trailing slash from the API URL in case it gets added in by URL.toString 2024-10-10 14:58:03 -03:00
c2935ba4a7 Migrate Cohere to /v2/chat
Closes #2916
2024-10-08 23:50:09 +03:00
991e10c75f Claude: remove tools from prompt if tools not supported or not provided 2024-10-06 23:02:38 +03:00
6185974e17 Claude: Use multi-part system prompt, cache tools 2024-10-05 18:04:08 +03:00
3b4a455ef8 Split Custom OAI prompt post-processing modes 2024-10-05 16:09:39 +03:00
c3c10a629e Claude: new prompt converter + non-streaming tools 2024-10-04 03:41:25 +03:00
559f1b81f7 Remove tool calling for Cohere v1 2024-10-04 02:11:46 +03:00
576352817e Merge branch 'staging' into tool-calling 2024-10-03 22:36:02 +03:00
c59afd1b56 Claude: console.log system before messages 2024-10-03 09:51:38 +03:00
8006795897 New tool calling framework 2024-10-02 01:00:48 +03:00
0df5a86ae8 fix google-ai reverse proxy ignoring user provided path 2024-10-01 00:53:14 +03:30
8ee452993b Try to fix Gemini requiring stop strings. 2024-09-24 21:55:49 +03:00
45cfc532b1 Redirect max_tokens to max_completion_tokens 2024-09-13 19:56:48 +03:00
bbceee0f41 Fix websearch on aya producing error 2024-09-02 19:34:09 +03:00
293676feff Cohere: unbreak requires for old models 2024-08-30 23:32:09 +03:00
f155b83792 Cohere: new cmd-r models 2024-08-30 20:00:42 +03:00
a0a1847634 Handle non-streaming errors as 500 2024-08-27 09:27:56 +00:00
ebab976221 Cohere: new stream parser 2024-08-27 12:03:31 +03:00
9286daaf3f More reliable Cohere stream parsing 2024-08-26 20:35:23 +03:00
5fc16a2474 New AI21 Jamba + tokenizer 2024-08-26 12:07:36 +03:00
06e3d5f8de Rename MakerSuite => AI Studio 2024-08-21 21:00:17 +03:00
7322dd1954 Add optional Claude system prompt cache. 2024-08-15 21:25:08 +03:00
8df27254fd Merge pull request #2640 from edk208/release
Adding Block Entropy API endpoints for chat, image, and video generation
2024-08-11 16:19:14 +03:00
b9857eb315 Added block entropy endpoints for chat and image 2024-08-08 00:08:03 -04:00
366070adee ultra re-addition (just in case), fixed system prompt line 2024-08-02 15:26:15 -05:00
3f6e4fabb8 gemini updates 2024-08-02 13:30:54 -05:00
ef59e8abae #2557 Improve Mistral prompt conversion 2024-07-25 21:04:57 +03:00
5f2a73ac9f Expose "Allow fallback providers" for OpenRouter 2024-07-19 23:34:16 +03:00
cf56bfb6a9 Add 01.AI as a chat completion source 2024-06-28 00:51:09 +03:00
e9f93ba748 Remove legacy Claude stop sequences 2024-06-20 22:53:07 +03:00
24b6f99abf Fix Claude function tools with prefills 2024-05-29 02:25:32 +03:00