Commit graph

619 commits

Author SHA1 Message Date
Krrish Dholakia
66a8dc850f fix(factory.py): retry failed get request 2024-03-06 18:53:30 -08:00
Krrish Dholakia
7f4dd734c1 fix(vertex_ai.py): correctly parse optional params and pass vertex ai project 2024-03-06 14:00:50 -08:00
Krrish Dholakia
411f21e1f5 fix(factory.py): support image url requests for anthropic 2024-03-06 11:09:50 -08:00
Ishaan Jaff
3e77f36f68 Merge pull request #2344 from BerriAI/litellm_fix_cant_import_litellm
(fix) bug importing litellm on python 3.8
2024-03-05 20:36:08 -08:00
Krrish Dholakia
61db2d775e fix(replicate.py): handle model endpoint 2024-03-05 19:06:24 -08:00
ishaan-jaff
e8f89001d3 (fix) using litellm on python 3.8 2024-03-05 18:45:47 -08:00
ishaan-jaff
e0a7ae539e (fix) bug importing litellm 2024-03-05 18:41:39 -08:00
Krrish Dholakia
c12ecd4350 fix(factory.py): fix anthropic prompt template 2024-03-05 16:31:41 -08:00
Krrish Dholakia
32ce6d08c7 docs(configs.md): add load balancing to proxy config docs 2024-03-05 07:39:40 -08:00
Krish Dholakia
d53257b7f7 Merge branch 'main' into litellm_claude_3_bedrock_access 2024-03-05 07:10:45 -08:00
Krrish Dholakia
ee5bedf541 fix(bedrock.py): fix conditional 2024-03-04 21:46:00 -08:00
ishaan-jaff
5bb3658f10 (fix) claude-instant-1 test 2024-03-04 21:39:12 -08:00
Krrish Dholakia
3cbd6a1018 test(test_completion.py): fix claude test 2024-03-04 21:27:14 -08:00
Krrish Dholakia
87831588c8 fix(utils.py): fix default message object values 2024-03-04 21:19:03 -08:00
Krrish Dholakia
f7c2f8313c fix(huggingface_restapi.py): fix hf streaming issue 2024-03-04 21:16:41 -08:00
Ishaan Jaff
c6ea671548 Merge branch 'main' into litellm_maintain_Claude2_support 2024-03-04 21:14:28 -08:00
Krrish Dholakia
dd544d0062 test(test_add_function_to_prompt.py): skip as anthropic now supports tool calling 2024-03-04 18:31:18 -08:00
Krrish Dholakia
f0a5e0ffe9 fix(bedrock.py): working image calls to claude 3 2024-03-04 18:12:47 -08:00
Krrish Dholakia
dad65ca602 fix(bedrock.py): support anthropic messages api on bedrock (claude-3) 2024-03-04 17:15:47 -08:00
Krrish Dholakia
6c486c2461 fix(bedrock.py): add claude 3 support 2024-03-04 17:15:47 -08:00
Krrish Dholakia
85afc91f08 fix(factory.py): fix prompt mapping 2024-03-04 17:15:47 -08:00
Krrish Dholakia
57c9f41990 fix(factory.py): fix prompt mapping 2024-03-04 14:11:11 -08:00
Krrish Dholakia
e7dfaf9f02 refactor(anthropic.py): fix linting error 2024-03-04 13:59:45 -08:00
Krrish Dholakia
174cb268d6 refactor(anthropic.py): fix linting error 2024-03-04 13:58:43 -08:00
Krrish Dholakia
4f5f6ec812 test(test_completion.py): add testing for anthropic vision calling 2024-03-04 13:34:49 -08:00
Krrish Dholakia
fb694128e9 fix(factory.py): support anthropic vision calling 2024-03-04 13:08:25 -08:00
Krrish Dholakia
83d527f047 fix(test_completion.py): testing for anthropic function calling 2024-03-04 11:31:56 -08:00
ishaan-jaff
91ce6d25b1 (feat) maintain support to Anthropic text completion 2024-03-04 11:13:14 -08:00
Krrish Dholakia
1e2154317c feat(anthropic.py): adds tool calling support 2024-03-04 10:42:28 -08:00
Krrish Dholakia
fed3f98582 fix(anthropic.py): support anthropic system prompt 2024-03-04 10:11:29 -08:00
Krrish Dholakia
a1ce24c5f0 fix(huggingface_restapi.py): fix huggingface streaming error raising 2024-03-04 09:32:41 -08:00
Ishaan Jaff
561e7ff453 Merge pull request #2315 from BerriAI/litellm_add_claude_3
[FEAT]- add claude 3
2024-03-04 09:23:13 -08:00
ishaan-jaff
4a4c4e3466 (test) claude fixes 2024-03-04 08:20:26 -08:00
ishaan-jaff
1defd7b50f (feat) claude-3 test fixes 2024-03-04 07:53:06 -08:00
ishaan-jaff
26eea94404 (feat) - add claude 3 2024-03-04 07:13:08 -08:00
Tim Xia
593d4084c4 Fix message template based on transformers chat_template docs 2024-03-02 22:27:42 -05:00
Tim Xia
30887760e6 change to snake case 'cause of aws docs 2024-03-02 00:07:21 -05:00
Tim Xia
fe3d7577dc follow camelcase convention 2024-03-01 23:58:03 -05:00
Tim Xia
78a93e40ed Add AmazonMistralConfig 2024-03-01 23:14:00 -05:00
Tim Xia
6f389097d2 add support for bedrock mistral models 2024-03-01 22:45:54 -05:00
Krrish Dholakia
3b5d5b6117 refactor(vertex_ai.py): add more logging for the vertex_ai file 2024-03-01 08:33:26 -08:00
Krrish Dholakia
56869b4121 refactor(openai.py): more logging around failed openai calls 2024-02-29 19:30:40 -08:00
Krrish Dholakia
cc79ba0222 fix(ollama_chat.py): map tool call to assistant for ollama calls 2024-02-29 19:11:35 -08:00
ishaan-jaff
f1f3c97a7c (test) vertex - detect mime type 2024-02-29 15:38:25 -08:00
ishaan-jaff
d9632ae48c (feat) add support for gemini base64 images 2024-02-29 14:42:20 -08:00
Krrish Dholakia
3aaa0fe98d refactor(vertex_ai.py): add more logging to show the vertex ai client init params 2024-02-27 18:35:15 -08:00
Krish Dholakia
1f7bfc2e90 Merge pull request #2201 from Lunik/fix/ollama-vision
🐛 fix: Ollama vision models call arguments (like : llava)
2024-02-27 07:18:01 -08:00
Krrish Dholakia
8f954fed24 test(test_custom_callback_input.py): assert async success called only once during vertex ai streaming 2024-02-26 09:18:46 -08:00
Lunik
a1be265052 🐛 fix: Ollama vision models call arguments (like : llava)
Signed-off-by: Lunik <lunik@tiwabbit.fr>
2024-02-26 17:52:55 +01:00
ishaan-jaff
1ff241e4b3 (fix) use api_base in health checks 2024-02-24 18:39:20 -08:00