Krish Dholakia
d69ad99e76
Merge pull request #3657 from phact/patch-4
...
Another dictionary changed size during iteration error
2024-05-20 17:45:50 -07:00
Ishaan Jaff
91a89eb4ed
Merge pull request #3739 from BerriAI/litellm_add_imagen_support
...
[FEAT] Async VertexAI Image Generation
2024-05-20 14:14:43 -07:00
Ishaan Jaff
f3eb832593
fix vertex httpx client
2024-05-20 13:43:54 -07:00
Ishaan Jaff
622e241e18
Merge pull request #3711 from hmcp22/add_gemini_base64_image_support
...
Adding decoding of base64 image data for gemini pro 1.5
2024-05-20 13:34:39 -07:00
Ishaan Jaff
518db13982
add parameter mapping with vertex ai
2024-05-20 13:28:20 -07:00
Ishaan Jaff
2c25bfa8df
fix vertex ai import
2024-05-20 13:13:19 -07:00
Ishaan Jaff
11c9780ff0
fix self.async_handler
2024-05-20 13:11:10 -07:00
Ishaan Jaff
1fe3900800
fix python 3.8
2024-05-20 12:23:27 -07:00
Ishaan Jaff
dabaf5f297
fix python 3.8 Tuple
2024-05-20 12:21:02 -07:00
Ishaan Jaff
91f8443381
fix add debug to vertex httpx image
2024-05-20 11:11:14 -07:00
Ishaan Jaff
d50d552e5a
fix python 3.8 import
2024-05-20 11:03:28 -07:00
Ishaan Jaff
2519879e67
add ImageObject
2024-05-20 10:45:37 -07:00
Ishaan Jaff
24951d44a4
feat - working httpx requests vertex ai image gen
2024-05-20 09:51:15 -07:00
Krrish Dholakia
25df95ab10
feat(proxy_server.py): new 'supported_openai_params' endpoint
...
get supported openai params for a given model
2024-05-20 08:39:50 -07:00
Krish Dholakia
bb85a5e6b2
Merge pull request #3729 from BerriAI/litellm_vertex_history
...
fix(vertex_ai.py): support passing in result of tool call to vertex
2024-05-20 07:33:05 -07:00
Krrish Dholakia
49b71c8118
fix(vertex_ai.py): revert system instructions - unable to find supported vertex version
2024-05-20 06:30:11 -07:00
Krrish Dholakia
45c46a84d0
fix(vertex_ai.py): support passing system instructions to vertex ai
2024-05-20 06:18:19 -07:00
Krrish Dholakia
65aacc0c1a
fix(vertex_ai.py): use chat_messages_with_history for async + streaming calls
2024-05-19 12:30:24 -07:00
Krrish Dholakia
f9ab72841a
fix(vertex_ai.py): passing all tests on 'test_amazing_vertex_completion.py
2024-05-19 12:22:21 -07:00
Krrish Dholakia
a2c66ed4fb
fix(vertex_ai.py): support passing in result of tool call to vertex
...
Fixes https://github.com/BerriAI/litellm/issues/3709
2024-05-19 11:34:07 -07:00
Krrish Dholakia
12942c39db
fix(utils.py): drop response_format if 'drop_params=True' for gpt-4
2024-05-18 13:02:48 -07:00
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
hugo.lima
32e25cdb11
added decoding of base64 image data in _gemini_vision_convert_messages function
2024-05-17 16:46:56 +01: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
Sebastián Estévez
9b7465a222
Another dictionary changed size during iteration error
...
```
ImportError while loading conftest '/astra-assistants-api/tests/openai-sdk/conftest.py'.
conftest.py:13: in <module>
from impl.astra_vector import CassandraClient
../../impl/astra_vector.py:45: in <module>
from impl.services.inference_utils import get_embeddings
../../impl/services/inference_utils.py:5: in <module>
import litellm
.cache/pypoetry/virtualenvs/astra-assistants-api-eiSmbCzm-py3.10/lib/python3.10/site-packages/litellm/__init__.py:678: in <module>
from .main import * # type: ignore
.cache/pypoetry/virtualenvs/astra-assistants-api-eiSmbCzm-py3.10/lib/python3.10/site-packages/litellm/main.py:73: in <module>
from .llms.azure_text import AzureTextCompletion
.cache/pypoetry/virtualenvs/astra-assistants-api-eiSmbCzm-py3.10/lib/python3.10/site-packages/litellm/llms/azure_text.py:23: in <module>
openai_text_completion_config = OpenAITextCompletionConfig()
.cache/pypoetry/virtualenvs/astra-assistants-api-eiSmbCzm-py3.10/lib/python3.10/site-packages/litellm/llms/openai.py:192: in __init__
for key, value in locals_.items():
E RuntimeError: dictionary changed size during iteration
```
2024-05-15 17:06:54 -04:00
Krrish Dholakia
8117af664c
fix(huggingface_restapi.py): fix task extraction from model name
2024-05-15 07:28:19 -07:00
frob
0ebc06a668
Merge branch 'BerriAI:main' into ollama-image-handling
2024-05-14 22:12:45 +02: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
frob
64bbb41904
Merge branch 'BerriAI:main' into ollama-image-handling
2024-05-13 10:50:41 +02: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