Commit graph

1065 commits

Author SHA1 Message Date
Krish Dholakia
97689ea02f
Merge pull request #4055 from UsableMachines/additional-gemini-types
Fix to support all file types supported by Gemini
2024-06-07 13:24:06 -07:00
Krrish Dholakia
e66b3d264f fix(factory.py): handle bedrock claude image url's 2024-06-07 10:04:03 -07:00
Krrish Dholakia
7dadca6a99 fix(bedrock_httpx.py): fix linting errors 2024-06-07 09:01:19 -07:00
Krish Dholakia
26993c067e
Merge branch 'main' into litellm_bedrock_converse_api 2024-06-07 08:49:52 -07:00
Krrish Dholakia
35e4323095 refactor(main.py): only route anthropic calls through converse api
v0 scope let's move function calling to converse api
2024-06-07 08:47:51 -07:00
Krrish Dholakia
51ba5652a0 feat(bedrock_httpx.py): working bedrock converse api streaming 2024-06-06 22:13:21 -07:00
Krrish Dholakia
a995a0b172 fix(bedrock_httpx.py): working claude 3 function calling 2024-06-06 20:12:41 -07:00
nick-rackauckas
4747fda47f Fix 2024-06-06 16:57:42 -07:00
Krish Dholakia
677e0255c8
Merge branch 'main' into litellm_cleanup_traceback 2024-06-06 16:32:08 -07:00
nick-rackauckas
cc36d906a9 Remove unused function 2024-06-06 16:30:23 -07:00
nick-rackauckas
6dac7d43a1 Fix to work with all supported Gemini file types 2024-06-06 16:15:01 -07:00
Krrish Dholakia
6cca5612d2 refactor: replace 'traceback.print_exc()' with logging library
allows error logs to be in json format for otel logging
2024-06-06 13:47:43 -07:00
Ishaan Jaff
422b4b1728
Merge pull request #4039 from themrzmaster/main
fix tool usage null content using vertexai
2024-06-06 12:41:25 -07:00
Sha Ahammed Roze
53ccc45978
Merge branch 'BerriAI:main' into main 2024-06-06 20:50:22 +05:30
Krrish Dholakia
58bd2b4ea6 fix(vertex_ai.py): support video + pdf for vertex ai 2024-06-06 08:06:20 -07:00
lucca
5e25979596
improve 2024-06-06 11:15:56 -03:00
lucca
1122a40374
fix function calling 2024-06-06 11:09:35 -03:00
Rajan Paneru
2e25416c02 Table format fix and Typo
* Fixed marked down table formats because they were looking ugly in pycharm
* Typos Fixes.
2024-06-06 22:29:59 +09:30
Krrish Dholakia
a76a9b7d11 feat(bedrock_httpx.py): add support for bedrock converse api
closes https://github.com/BerriAI/litellm/issues/4000
2024-06-05 21:20:36 -07:00
Sha Ahammed Roze
0a4abfdd1d
Merge branch 'BerriAI:main' into main 2024-06-05 21:56:41 +05:30
Krrish Dholakia
b360ab4c89 fix(azure.py): support dynamic drop params 2024-06-05 09:03:10 -07:00
Krrish Dholakia
60ec3228ed fix(azure.py): fix logprobs naming error
fixing string value
2024-06-05 08:54:53 -07:00
sha-ahammed
faa4dfe03e feat: Add Ollama as a provider in the proxy UI 2024-06-05 16:48:38 +05:30
Krish Dholakia
2d9a251147
Merge pull request #4012 from BerriAI/litellm_assistants_streaming
feat(assistants/main.py): add assistants api streaming support
2024-06-04 20:58:02 -07:00
Krrish Dholakia
cc10aefc6e fix(predibase.py): add better error message 2024-06-04 19:55:15 -07:00
Krish Dholakia
0e023d8931
Merge pull request #3989 from pharindoko/main
fix(bedrock): raise nested error response
2024-06-04 17:35:42 -07:00
Krrish Dholakia
650ea6d0c3 feat(assistants/main.py): support arun_thread_stream 2024-06-04 16:47:51 -07:00
Krrish Dholakia
f3d78532f9 feat(assistants/main.py): add assistants api streaming support 2024-06-04 16:30:35 -07:00
Krrish Dholakia
5d3674b63d fix(main.py): fix typing for image gen response 2024-06-04 08:29:30 -07:00
Krish Dholakia
5ee3b0f30f
Merge pull request #3996 from BerriAI/litellm_azure_assistants_api_support
feat(assistants/main.py): Azure Assistants API support
2024-06-03 21:05:03 -07:00
Krrish Dholakia
2e8f081a86 fix(main.py): cast to string only if var is not None 2024-06-03 19:25:59 -07:00
Krrish Dholakia
7163bce37b feat(assistants/main.py): Closes https://github.com/BerriAI/litellm/issues/3993 2024-06-03 18:47:05 -07:00
uid10804
8343906d8e fix(bedrock): raise internal error response 2024-06-03 22:02:10 +02:00
Krrish Dholakia
5e12307a48 fix(anthropic.py): fix anthropic async streaming
pass the 'stream' param to the httpx call

Addresses https://github.com/BerriAI/litellm/issues/3728#issuecomment-2143985104
2024-06-02 16:01:44 -07:00
Krrish Dholakia
9ef83126d7 fix(utils.py): correctly instrument passing through api version in optional param check 2024-06-01 19:31:52 -07:00
Krrish Dholakia
7efac4d36c fix(azure.py): support dropping 'tool_choice=required' for older azure API versions
Closes https://github.com/BerriAI/litellm/issues/3876
2024-06-01 18:44:50 -07:00
Krrish Dholakia
93c9ea160d fix(openai.py): fix client caching logic 2024-06-01 16:45:56 -07:00
Krrish Dholakia
a16a1c407a fix(http_handler.py): allow setting ca bundle path 2024-06-01 14:48:53 -07:00
Krrish Dholakia
f1ce7bb300 fix(http_handler.py): add bool check for os.getenv verif ssl value 2024-06-01 14:07:41 -07:00
Krrish Dholakia
22a0c400dd fix(http_handler.py): support verify_ssl=False when using httpx client 2024-06-01 13:56:45 -07:00
Ishaan Jaff
d83b4a00d3
Merge pull request #3956 from BerriAI/litellm_cache_openai_clients
[FEAT] Perf improvements - litellm.completion / litellm.acompletion - Cache OpenAI client
2024-06-01 09:46:42 -07:00
Ishaan Jaff
47dd52c566 fix used hashed api key 2024-06-01 09:24:16 -07:00
Ishaan Jaff
47337c172e fix - in memory client cache 2024-06-01 08:58:22 -07:00
Krish Dholakia
e7ff3adc26
Merge pull request #3944 from BerriAI/litellm_fix_parallel_streaming
fix: fix streaming with httpx client
2024-05-31 21:42:37 -07:00
Ishaan Jaff
1c16904566 fix cache openai client for embeddings, text, speech 2024-05-31 21:35:03 -07:00
Ishaan Jaff
cedeb10a08 fix - linting error 2024-05-31 21:24:14 -07:00
Ishaan Jaff
6feeff1f31 feat - cache openai clients 2024-05-31 21:22:06 -07:00
Krish Dholakia
8f87da4b20
Merge pull request #3939 from pharindoko/main
fix(bedrock): convert botocore credentials when role is assumed
2024-05-31 18:46:15 -07:00
Krish Dholakia
fbeb9d7ea7
Merge pull request #3935 from BerriAI/litellm_cache_vertex_clients
[Fix] Cache Vertex AI clients - Perf improvement
2024-05-31 18:44:10 -07:00
Krish Dholakia
08bae3185a
Merge pull request #3936 from BerriAI/litellm_assistants_api_proxy
feat(proxy_server.py): add assistants api endpoints to proxy server
2024-05-31 18:43:22 -07:00