Commit graph

3588 commits

Author SHA1 Message Date
Krrish Dholakia
1ba3fcc3fb feat(utils.py): accept 'api_key' as param for validate_environment
Closes https://github.com/BerriAI/litellm/issues/4375
2024-07-11 12:02:23 -07:00
Krrish Dholakia
2163434ff3 fix(llm_cost_calc/google.py): fix google embedding cost calculation
Fixes https://github.com/BerriAI/litellm/issues/4630
2024-07-11 11:55:48 -07:00
Ishaan Jaff
e3470d8e91
Merge pull request #4658 from BerriAI/litellm_check_otel_spans
[Test-Proxy] Otel Traces
2024-07-11 10:41:51 -07:00
Ishaan Jaff
8d7db56deb fix Local only test. WIP 2024-07-11 10:30:40 -07:00
Krrish Dholakia
57607dfc47 test(test_alangfuse.py): fix test to expect correct response object 2024-07-11 09:00:31 -07:00
Ishaan Jaff
cb6ddaf1f9 test - otel spans 2024-07-11 08:01:18 -07:00
Krish Dholakia
dacce3d78b
Merge pull request #4635 from BerriAI/litellm_anthropic_adapter
Anthropic `/v1/messages` endpoint support
2024-07-10 22:41:53 -07:00
Krrish Dholakia
31829855c0 feat(proxy_server.py): working /v1/messages with config.yaml
Adds async router support for adapter_completion call
2024-07-10 18:53:54 -07:00
Krrish Dholakia
2f8dbbeb97 feat(proxy_server.py): working /v1/messages endpoint
Works with claude engineer
2024-07-10 18:15:38 -07:00
Ishaan Jaff
f49837df19 ci/cd run again 2024-07-10 18:06:09 -07:00
Ishaan Jaff
ca76d2fd72 fix test_completion_bedrock_httpx_models 2024-07-10 17:42:40 -07:00
Ishaan Jaff
7efe9beac5 fix test_bedrock_httpx_streaming 2024-07-10 17:14:53 -07:00
Ishaan Jaff
de0dacc42d fix test proxy routes 2024-07-10 16:58:53 -07:00
Ishaan Jaff
a741586519 test openai files endpoints 2024-07-10 15:54:55 -07:00
Ishaan Jaff
f18754b6ed test - delete file 2024-07-10 15:42:15 -07:00
Ishaan Jaff
5187569e11 test retrieve file 2024-07-10 15:00:27 -07:00
Ishaan Jaff
7e82d98299 test assistants endpoint 2024-07-10 11:15:28 -07:00
Ishaan Jaff
3480382495 test - delete assistants 2024-07-10 10:35:30 -07:00
Krrish Dholakia
5d6e172d5c feat(anthropic_adapter.py): support for translating anthropic params to openai format 2024-07-10 00:32:28 -07:00
Krrish Dholakia
43d86528c1 style: initial commit 2024-07-09 13:38:33 -07:00
Krrish Dholakia
a1986fab60 fix(vertex_httpx.py): add sync vertex image gen support
Fixes https://github.com/BerriAI/litellm/issues/4623
2024-07-09 13:33:54 -07:00
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