Commit graph

3617 commits

Author SHA1 Message Date
Krrish Dholakia
58ac2a7e2b docs(supported_embeddings.md): add doc on provider-specific params for embedding models 2024-07-09 12:39:10 -07:00
Ishaan Jaff
6bce7e73a3
Merge pull request #4627 from BerriAI/litellm_fix_thread_auth
[Fix] Authentication on /thread endpoints on Proxy
2024-07-09 12:19:19 -07:00
Ishaan Jaff
e9b14a56d2 test /threads endpoint 2024-07-09 12:17:42 -07:00
Krrish Dholakia
127eaafaa4 test(test_completion.py): skip test 2024-07-09 12:10:34 -07:00
Ishaan Jaff
d2f8269674 test is open ai routes function 2024-07-09 12:10:04 -07:00
Krish Dholakia
aa2fd29e48
Merge pull request #3955 from liuyl/empower-functions-v1
Add empower-functions integration to litellm
2024-07-09 12:09:55 -07:00
Ishaan Jaff
e4ad792d5d async test assistants 2024-07-09 09:44:18 -07:00
Ishaan Jaff
06926920d5 test - create assistants 2024-07-09 08:54:49 -07:00
Krrish Dholakia
a784f7d8df fix(vertex_httpx.py): fix gtool handling 2024-07-09 08:01:49 -07:00
Krrish Dholakia
7541478459 feat(vertex_httpx.py): add support for gemini 'grounding'
Adds support for https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/grounding#rest
2024-07-08 21:37:07 -07:00
maamalama
6e7f2ecf49 test fixes 2024-07-08 21:17:35 -07:00
Yulong Liu
cb025a7f26 Merge branch 'main' into empower-functions-v1 2024-07-08 17:01:15 -07:00
Yulong Liu
3132e5962d add tests 2024-07-08 16:32:58 -07:00
Krrish Dholakia
f3cc57bc6f feat(user_api_key_auth.py): allow restricting calls by IP address
Allows admin to restrict which IP addresses can make calls to the proxy
2024-07-08 15:58:15 -07:00
Peter Muller
afb5ab1591 Fix: use Bedrock region from environment variables before other region definitions 2024-07-08 15:37:07 -07:00
maamalama
5715f3b665 helicone tests 2024-07-08 14:04:26 -07:00
Ishaan Jaff
2cc70ddfd7 test type of budget errors 2024-07-08 12:52:40 -07:00
Ishaan Jaff
fad595fd47
Merge pull request #4603 from BerriAI/litellm_track_user_ip
[Enterprise-Feature: Proxy] Track user-ip address in requests & in LiteLLM_SpendLogs
2024-07-08 12:18:52 -07:00
Ishaan Jaff
49ca74e535 test - spend logs 2024-07-08 12:02:24 -07:00
Krrish Dholakia
c89aa1e626 test(test_amazing_vertex_completion.py): pass pdf as base64 to vertex ai 2024-07-08 10:01:47 -07:00
Krrish Dholakia
f15cb2bdc8 fix(factory.py): flexible handling of image file type in b64 encode
Fixes https://github.com/BerriAI/litellm/issues/4589
2024-07-08 09:46:47 -07:00
Krrish Dholakia
298505c47c fix(whisper---handle-openai/azure-vtt-response-format): Fixes https://github.com/BerriAI/litellm/issues/4595 2024-07-08 09:10:40 -07:00
Ishaan Jaff
d5564dd81f
Merge pull request #4599 from BerriAI/litellm_fix_setting_rpm_tpm
fix - setting rpm/tpm on proxy through admin ui
2024-07-08 07:56:05 -07:00
Ishaan Jaff
db1d9d4799 test test_encrypt_decrypt 2024-07-08 07:54:07 -07:00
Krrish Dholakia
bb905d7243 fix(utils.py): support 'drop_params' for 'parallel_tool_calls'
Closes https://github.com/BerriAI/litellm/issues/4584

 OpenAI-only param
2024-07-08 07:36:41 -07:00
Simon Sanchez Viloria
e2827ee28b (test - watsonx) use MagicMock to mock httpx.AsyncClient endpoint for aembedding test 2024-07-07 18:55:42 +02:00
Simon S. Viloria
d54d4b6734
Merge branch 'BerriAI:main' into main 2024-07-07 18:00:11 +02:00
Simon Sanchez Viloria
ea952a57b0 (test - watsonx) Added tests for watsonx embeddings with mocked endpoints 2024-07-07 17:59:37 +02:00
Krish Dholakia
8661da1980
Merge branch 'main' into litellm_fix_httpx_transport 2024-07-06 19:12:06 -07:00
Krish Dholakia
65bee737c5
Merge branch 'main' into litellm_gemini_stream_tool_calling 2024-07-06 19:07:31 -07:00
Krrish Dholakia
1193ee8803 fix(presidio_pii_masking.py): fix presidio unset url check + add same check for langfuse 2024-07-06 17:50:55 -07:00
Krrish Dholakia
d57d3df1d6 fix(presidio_pii_masking.py): add support for setting 'http://' if unset by render env for presidio base url 2024-07-06 17:42:10 -07:00
Ishaan Jaff
25a0066123 ci/cd run again 2024-07-06 17:04:53 -07:00
Ishaan Jaff
d50ec47331 ci/cd run again 2024-07-06 15:56:17 -07:00
Ishaan Jaff
482913c2e9 test had "assert False" for some reason ? 2024-07-06 15:46:28 -07:00
Ishaan Jaff
d61cc598b0
Merge pull request #4576 from BerriAI/litellm_encrypt_decrypt_using_salt
[Refactor] Use helper function to encrypt/decrypt model credentials
2024-07-06 15:11:09 -07:00
Krish Dholakia
b3ef1ac18c
Merge branch 'main' into litellm_proxy_tts_pricing 2024-07-06 14:56:16 -07:00
Krrish Dholakia
27e9f96380 fix(main.py): fix stream_chunk_builder usage calc
Closes https://github.com/BerriAI/litellm/issues/4496
2024-07-06 14:52:59 -07:00
Ishaan Jaff
3fa64023ea test - test_init_clients_async_mode 2024-07-06 14:08:35 -07:00
Krrish Dholakia
faa88a1ab1 fix(vertex_httpx.py): support tool calling w/ streaming for vertex ai + gemini 2024-07-06 14:02:25 -07:00
Ishaan Jaff
e477b7e3da fix linting error 2024-07-06 11:27:58 -07:00
Krish Dholakia
ea9718a848
Merge branch 'main' into litellm_proxy_tts_pricing 2024-07-06 11:16:07 -07:00
Krrish Dholakia
3f83e8a8d4 fix(caching.py): fix async redis health check 2024-07-06 09:14:29 -07:00
Krrish Dholakia
407639cc7d fix(cost_calculator.py): support openai+azure tts calls 2024-07-05 20:58:08 -07:00
Ishaan Jaff
8958a9bf8c
Merge pull request #4565 from BerriAI/litellm_fix_nvidia_nim_param_mapping
[Fix] Add nvidia nim param mapping based on `model`
2024-07-05 19:55:57 -07:00
Krrish Dholakia
6090fd37fa fix(test_proxy_reject_logging.py): fix test 2024-07-05 19:09:37 -07:00
Krrish Dholakia
fd11f63f71 fix(utils.py): log failure to sync failure callbacks as well 2024-07-05 14:49:34 -07:00
Ishaan Jaff
e5c49548ea fix nvidia nim param mapping 2024-07-05 14:44:12 -07:00
Krrish Dholakia
b1b21b0340 fix(proxy/utils.py): support logging rejected requests to langfuse, etc. 2024-07-05 14:39:35 -07:00
Krrish Dholakia
d528b66db0 fix(proxy_server.py): fix callback check order 2024-07-05 14:06:33 -07:00