Krish Dholakia
3a06fe2818
Merge branch 'main' into litellm_bedrock_anthropic_fix
2024-05-17 17:47:32 -07:00
Krrish Dholakia
4682802444
fix(bedrock_httpx.py): raise better timeout exception
2024-05-17 17:16:36 -07:00
Krrish Dholakia
5d24a72b7e
fix(bedrock_httpx.py): support mapping for bedrock cohere command r text
2024-05-17 16:13:49 -07:00
Krrish Dholakia
32a04c59cf
fix(anthropic.py): bump default anthropic api version for tool use
2024-05-17 00:41:11 -07:00
Krrish Dholakia
9aa05c19d1
fix(bedrock_httpx.py): fix bedrock logging
2024-05-16 23:53:54 -07:00
Krrish Dholakia
21f2ba6f1f
fix(bedrock_httpx.py): logging fixes
2024-05-16 23:20:51 -07:00
Krrish Dholakia
92c2e2af6a
fix(bedrock_httpx.py): add async support for bedrock amazon, meta, mistral models
2024-05-16 22:39:25 -07:00
Krrish Dholakia
0293f7766a
fix(bedrock_httpx.py): move bedrock ai21 calls to being async
2024-05-16 22:21:30 -07:00
Krrish Dholakia
180bc46ca4
fix(bedrock_httpx.py): move anthropic bedrock calls to httpx
...
Fixing https://github.com/BerriAI/litellm/issues/2921
2024-05-16 21:51:55 -07:00
Krrish Dholakia
709373b15c
fix(replicate.py): move replicate calls to being completely async
...
Closes https://github.com/BerriAI/litellm/issues/3128
2024-05-16 17:24:08 -07:00
Ishaan Jaff
97324800ec
Merge pull request #3694 from BerriAI/litellm_allow_setting_anthropic_beta
...
[Feat] Support Anthropic `tools-2024-05-16` - Set Custom Anthropic Custom Headers
2024-05-16 15:48:26 -07:00
Ishaan Jaff
23bcd03904
feat: Anthropic allow users to set anthropic-beta in headers
2024-05-16 14:40:31 -07:00
Ishaan Jaff
a2ef089667
fix - choices index for gemini/ provider
2024-05-16 13:52:46 -07:00
Krrish Dholakia
8117af664c
fix(huggingface_restapi.py): fix task extraction from model name
2024-05-15 07:28:19 -07:00
Krish Dholakia
e92f433566
Merge pull request #3554 from paneru-rajan/Issue-3544-fix-message
...
Fixes #3544 based on the data-type of message
2024-05-13 16:23:58 -07:00
Krrish Dholakia
20456968e9
fix(openai.py): creat MistralConfig with response_format mapping for mistral api
2024-05-13 13:29:58 -07:00
Krrish Dholakia
04ae285001
fix(vertex_ai.py): support tool call list response async completion
2024-05-13 10:42:31 -07:00
Krish Dholakia
1d651c6049
Merge branch 'main' into litellm_bedrock_command_r_support
2024-05-11 21:24:42 -07:00
Krrish Dholakia
a456f6bf2b
fix(anthropic.py): fix tool calling + streaming issue
2024-05-11 20:15:36 -07:00
Krrish Dholakia
83beb41096
fix(anthropic_text.py): fix linting error
2024-05-11 20:01:50 -07:00
Krrish Dholakia
65d0be85fc
fix(bedrock_httpx.py): compatibility fix
2024-05-11 19:55:38 -07:00
Krrish Dholakia
f6c84f1aa6
fix(anthropic.py): compatibility fix
2024-05-11 19:51:29 -07:00
Krrish Dholakia
ae0c061b46
fix(anthropic.py): fix version compatibility
2024-05-11 19:46:26 -07:00
Krrish Dholakia
2f3fd3e2f0
fix(anthropic.py): fix linting error
2024-05-11 19:42:14 -07:00
Krrish Dholakia
64650c0279
feat(bedrock_httpx.py): working bedrock command-r sync+async streaming
2024-05-11 19:39:51 -07:00
Krrish Dholakia
49ab1a1d3f
fix(bedrock_httpx.py): working async bedrock command r calls
2024-05-11 16:45:20 -07:00
Krrish Dholakia
59c8c0adff
feat(bedrock_httpx.py): working cohere command r async calls
2024-05-11 15:04:38 -07:00
Krrish Dholakia
4a3b084961
feat(bedrock_httpx.py): moves to using httpx client for bedrock cohere calls
2024-05-11 13:43:08 -07:00
Krish Dholakia
86d0c0ae4e
Merge pull request #3582 from BerriAI/litellm_explicit_region_name_setting
...
feat(router.py): allow setting model_region in litellm_params
2024-05-11 11:36:22 -07:00
Krrish Dholakia
6714854bb7
feat(router.py): support region routing for bedrock, vertex ai, watsonx
2024-05-11 11:04:00 -07:00
Krish Dholakia
d33e49411d
Merge pull request #3561 from simonsanvil/feature/watsonx-integration
...
(fix) Fixed linting and other bugs with watsonx provider
2024-05-11 09:56:02 -07:00
Krish Dholakia
8f6ae9a059
Merge pull request #3369 from mogith-pn/main
...
Clarifai-LiteLLM : Added clarifai as LLM Provider.
2024-05-11 09:31:46 -07:00
Krish Dholakia
40063798bd
Merge pull request #3507 from Manouchehri/oidc-3505-part-1
...
Initial OIDC support (Google/GitHub/CircleCI -> Amazon Bedrock & Azure OpenAI)
2024-05-11 09:25:17 -07:00
Krrish Dholakia
c12af219af
fix: fix linting
2024-05-10 20:23:33 -07:00
Krrish Dholakia
94f3d361b0
fix(vertex_ai.py): fix list tool call responses
...
Closes https://github.com/BerriAI/litellm/issues/3147
2024-05-10 20:05:58 -07:00
Ishaan Jaff
b09075da53
Merge pull request #3577 from BerriAI/litellm_add_triton_server
...
[Feat] Add Triton Embeddings to LiteLLM
2024-05-10 19:20:23 -07:00
Ishaan Jaff
d3550379b0
feat - triton embeddings
2024-05-10 18:57:06 -07:00
Krrish Dholakia
d4d175030f
docs(huggingface.md): add text-classification to huggingface docs
2024-05-10 14:39:14 -07:00
Krrish Dholakia
c17f221b89
test(test_completion.py): reintegrate testing for huggingface tgi + non-tgi
2024-05-10 14:07:01 -07:00
Rajan Paneru
65b07bcb8c
Preserving the Pydantic Message Object
...
Following statement replaces the Pydantic Message Object and initialize it with the dict
model_response["choices"][0]["message"] = response_json["message"]
We need to make sure message is always litellm.Message object
As a fix, based on the code of ollama.py file, i am updating just the content intead of entire object for both sync and async functions
2024-05-10 22:12:32 +09:30
Simon Sanchez Viloria
e1372de9ee
Merge branch 'main' into feature/watsonx-integration
2024-05-10 12:09:09 +02:00
Simon Sanchez Viloria
170fd11c82
(fix) watsonx.py: Fixed linting errors and make sure stream chunk always return usage
2024-05-10 11:53:33 +02:00
Krish Dholakia
a671046b45
Merge pull request #3552 from BerriAI/litellm_predibase_support
...
feat(predibase.py): add support for predibase provider
2024-05-09 22:21:16 -07:00
Krrish Dholakia
714370956f
fix(predibase.py): fix async streaming
2024-05-09 22:18:16 -07:00
Krrish Dholakia
76d4290591
fix(predibase.py): fix event loop closed error
2024-05-09 19:07:19 -07:00
Krrish Dholakia
491e177348
fix(predibase.py): fix async completion call
2024-05-09 18:44:19 -07:00
Ishaan Jaff
5eb12e30cc
Merge pull request #3547 from BerriAI/litellm_support_stream_options_text_completion
...
[Feat] support `stream_options` on `litellm.text_completion`
2024-05-09 18:05:58 -07:00
Krrish Dholakia
9083d8e490
fix: fix linting errors
2024-05-09 17:55:27 -07:00
Krrish Dholakia
d7189c21fd
feat(predibase.py): support async_completion + streaming (sync + async)
...
finishes up pr
2024-05-09 17:41:27 -07:00
Krrish Dholakia
186c0ec77b
feat(predibase.py): add support for predibase provider
...
Closes https://github.com/BerriAI/litellm/issues/1253
2024-05-09 16:39:43 -07:00