Commit graph

3006 commits

Author SHA1 Message Date
David Manouchehri
eb57b2c6d7
Fix OIDC tests. This should always work, even without IAM set up . 2024-05-31 13:48:52 +00:00
David Manouchehri
08ee4519b6
Add unit test for bedrock httpx oidc auth. 2024-05-31 12:44:53 +00:00
Krish Dholakia
deb87f71e3
Merge pull request #3670 from lj-wego/fix-pydantic-warnings-again
Fix warnings from pydantic
2024-05-30 22:57:21 -07:00
Krrish Dholakia
e2b34165e7 feat(proxy_server.py): add assistants api endpoints to proxy server 2024-05-30 22:44:43 -07:00
Ishaan Jaff
22f88de60b (ci/cd) run again 2024-05-30 21:00:53 -07:00
lj
27ed72405b
Merge branch 'main' into fix-pydantic-warnings-again 2024-05-31 11:35:42 +08:00
Krish Dholakia
d3a247bf20
Merge pull request #3928 from BerriAI/litellm_audio_speech_endpoint
feat(main.py): support openai tts endpoint
2024-05-30 17:30:42 -07:00
Krrish Dholakia
93166cdabf fix(openai.py): fix openai response for /audio/speech endpoint 2024-05-30 16:41:06 -07:00
Ishaan Jaff
21831905ba fix test_generate_and_call_with_valid_key 2024-05-30 15:10:16 -07:00
Ishaan Jaff
a4b6a959d8 fix literal usage 2024-05-30 14:28:53 -07:00
Krrish Dholakia
a67cbf47f6 feat(main.py): support openai tts endpoint
Closes https://github.com/BerriAI/litellm/issues/3094
2024-05-30 14:28:28 -07:00
Ishaan Jaff
6166381579 fix migrate to LitellmUserRoles 2024-05-30 13:57:50 -07:00
Krish Dholakia
76b5fccdc2
Merge pull request #3909 from nirga/revert-3908-revert-3846-revert-3831-revert-3780-traceloop-failures
Revert "Revert "fix: Log errors in Traceloop Integration (reverts previous revert)""
2024-05-29 21:14:14 -07:00
Ishaan Jaff
6f063156be fix test_call_with_end_user_over_budget 2024-05-29 20:48:29 -07:00
Ishaan Jaff
3e9410ffd6 fix - test budget exceeded prisma 2024-05-29 20:31:55 -07:00
Nir Gazit
b8d97c688c Revert "Revert "fix: Log errors in Traceloop Integration (reverts previous revert)"" 2024-05-30 04:06:45 +03:00
Krrish Dholakia
673782ce48 test(test_auth_checks.py): add unit tests for customer max budget check 2024-05-29 18:03:59 -07:00
Krish Dholakia
8556f4afb0
Merge pull request #3902 from BerriAI/litellm_openai_compatible_endpoint_fix
fix(openai.py): only allow 'user' as optional param if openai model
2024-05-29 16:34:23 -07:00
Krish Dholakia
f360320ecd
Merge pull request #3906 from BerriAI/litellm_customer_webhook_event
feat(proxy_server.py): emit webhook event whenever customer spend is tracked
2024-05-29 16:34:16 -07:00
Krish Dholakia
77cc9cded9
Revert "fix: Log errors in Traceloop Integration (reverts previous revert)" 2024-05-29 16:30:09 -07:00
Krrish Dholakia
1d18ca6a7d fix(router.py): security fix - don't show api key in invalid model setup error message 2024-05-29 16:14:57 -07:00
Krrish Dholakia
f729370890 feat(proxy_server.py): emit webhook event whenever customer spend is tracked
Closes https://github.com/BerriAI/litellm/issues/3903
2024-05-29 15:59:32 -07:00
Krrish Dholakia
3d32b00821 fix(openai.py): only allow 'user' as optional param if openai model 2024-05-29 15:15:02 -07:00
Krish Dholakia
c76deb8f76
Merge pull request #3846 from nirga/revert-3831-revert-3780-traceloop-failures
fix: Log errors in Traceloop Integration (reverts previous revert)
2024-05-29 08:54:01 -07:00
Ishaan Jaff
dc8480a5e9 test_batch_completion_multiple_models_multiple_messages 2024-05-28 22:54:54 -07:00
Krish Dholakia
e838bd1c79
Merge branch 'main' into litellm_batch_completions 2024-05-28 22:38:05 -07:00
Ishaan Jaff
6e9cc26ca1
Merge pull request #3888 from BerriAI/litellm_add_files_proxy
[Feat] LiteLLM Proxy Add `POST /v1/files` and `GET /v1/files`
2024-05-28 22:36:33 -07:00
Ishaan Jaff
473ec66b84 feat - router add abatch_completion 2024-05-28 22:19:33 -07:00
Krrish Dholakia
e3000504f9 fix(router.py): support batch completions fastest response streaming 2024-05-28 21:51:09 -07:00
Krrish Dholakia
1ebae6e7b0 fix(router.py): support comma-separated model list for batch completion fastest response 2024-05-28 21:34:37 -07:00
Ishaan Jaff
ca8163bbba feat - add afile_content, file_content 2024-05-28 20:58:22 -07:00
Krrish Dholakia
ecd182eb6a feat(router.py): support fastest response batch completion call
returns fastest response. cancels others.
2024-05-28 19:44:41 -07:00
Ishaan Jaff
6bf6059b3e
Merge pull request #3882 from BerriAI/litellm_add_batches_sdk
[BETA-Feature] Add OpenAI `v1/batches` Support on LiteLLM SDK
2024-05-28 19:38:12 -07:00
Ishaan Jaff
5e9d024c2c fix - test openai batches 2024-05-28 17:29:13 -07:00
Krish Dholakia
b5c89a249a
Merge pull request #3883 from BerriAI/litellm_anthropic_parallel_streaming_fix
fix(anthropic.py): fix parallel streaming on anthropic.py
2024-05-28 17:21:57 -07:00
Ishaan Jaff
6688215c18 feat - add aretrieve_batch 2024-05-28 17:12:41 -07:00
Ishaan Jaff
1ef7cd923c feat - add acreate_batch 2024-05-28 17:03:29 -07:00
Ishaan Jaff
758ed9e923 feat - add litellm.acreate_file 2024-05-28 16:47:27 -07:00
Krrish Dholakia
324bf027f5 fix(anthropic.py): fix parallel streaming on anthropic.py
prevent parallel requests from cancelling each other

Fixes https://github.com/BerriAI/litellm/issues/3881
2024-05-28 16:29:09 -07:00
Ishaan Jaff
938f4703c3 feat- add retrieve_batch() 2024-05-28 15:55:32 -07:00
Ishaan Jaff
38285e53c3 working create_batch 2024-05-28 15:45:23 -07:00
Ishaan Jaff
d5dbf084ed feat - import batches in __init__ 2024-05-28 15:35:11 -07:00
Ishaan Jaff
0af4c9206f test - openai batches file 2024-05-28 14:54:58 -07:00
frob
c6af8977f6
Fix typo 2024-05-28 17:00:08 +02:00
frob
19194ece78
Add tests for ollama image handling 2024-05-28 16:48:15 +02:00
Krrish Dholakia
6b50e656b8 fix(main.py): pass extra headers through for async calls 2024-05-27 19:11:40 -07:00
Krrish Dholakia
24eb79da91 test(test_bedrock_completion.py): refactor test bedrock headers test 2024-05-27 19:01:07 -07:00
Krrish Dholakia
4408b717f0 fix(parallel_request_limiter.py): fix user+team tpm/rpm limit check
Closes https://github.com/BerriAI/litellm/issues/3788
2024-05-27 08:48:23 -07:00
Nir Gazit
7602c6f436 Revert "Revert "Log errors in Traceloop Integration"" 2024-05-26 12:01:10 +03:00
Krrish Dholakia
dde6af7420 test(test_alerting.py): fix test 2024-05-25 21:48:01 -07:00