Commit graph

9559 commits

Author SHA1 Message Date
Ishaan Jaff
9345c5de2a add test for anthropic routes 2024-07-22 14:48:22 -07:00
Ishaan Jaff
673105c88f update tests 2024-07-22 14:44:47 -07:00
Ishaan Jaff
b64755d2a1 check is_llm_api_route 2024-07-22 14:43:30 -07:00
Ishaan Jaff
b54b1d958b track anthropic_routes 2024-07-22 14:41:12 -07:00
Krrish Dholakia
2f65c950fe fix(vertex_httpx.py): Change non-blocking vertex error to warning
Fixes https://github.com/BerriAI/litellm/issues/4825
2024-07-22 14:00:33 -07:00
Ishaan Jaff
41e6c4a573 feat - arize ai log llm i/o 2024-07-22 13:47:58 -07:00
Ishaan Jaff
0436eba2fa otel - log to arize ai 2024-07-22 13:40:42 -07:00
Ishaan Jaff
cdc8b4f037 test - arize ai basic logging 2024-07-22 11:30:24 -07:00
Ishaan Jaff
1a5aaee386 add arize.py 2024-07-22 11:27:51 -07:00
Ishaan Jaff
68f8fe87e4 feat - arize ai open inference types 2024-07-22 11:07:48 -07:00
Ishaan Jaff
c7f72cbbde feat - add support to init arize ai 2024-07-22 10:58:20 -07:00
Krish Dholakia
227f55f370
Revert "Fix: use Bedrock region from environment variables before other region definitions" 2024-07-22 07:40:24 -07:00
Ishaan Jaff
48c365976f fix bedrock embedding test 2024-07-20 20:05:22 -07:00
Ishaan Jaff
b901a65572 fix make_sync_openai_audio_transcriptions_request 2024-07-20 20:03:12 -07:00
Krish Dholakia
bb6b2c6872
Merge pull request #4613 from petermuller/main
Fix: use Bedrock region from environment variables before other region definitions
2024-07-20 19:19:05 -07:00
Ishaan Jaff
66c73e4425 fix merge conflicts 2024-07-20 19:14:20 -07:00
Krrish Dholakia
f10af7596c fix(utils.py): allow dropping extra_body in additional_drop_params
Fixes https://github.com/BerriAI/litellm/issues/4769
2024-07-20 19:12:58 -07:00
Ishaan Jaff
f6225623e9
Merge branch 'main' into litellm_return-response_headers 2024-07-20 19:05:56 -07:00
Ishaan Jaff
9a545c1ff8
Revert "[Ui] add together AI, Mistral, PerplexityAI, OpenRouter models on Admin UI " 2024-07-20 19:04:22 -07:00
Ishaan Jaff
28bb2919b6 fix - test router debug logs 2024-07-20 18:45:31 -07:00
Krrish Dholakia
8b3c8102a7 feat(auth_checks.py): Allow admin to disable team from turning on/off guardrails. 2024-07-20 18:39:05 -07:00
Ishaan Jaff
8eb839863d bump: version 1.41.25 → 1.41.26 2024-07-20 18:20:54 -07:00
Ishaan Jaff
cf8ec4a888 ui new build 2024-07-20 18:18:54 -07:00
Ishaan Jaff
27e25fb229
Merge pull request #4809 from BerriAI/litellm_refactor_router_prints
router - use verbose logger when using litellm.Router
2024-07-20 18:17:48 -07:00
Ishaan Jaff
df05b11913
Merge pull request #4802 from BerriAI/litellm_add_tg_models_ui
[Ui] add together AI, Mistral,  PerplexityAI, OpenRouter models on Admin UI
2024-07-20 18:17:33 -07:00
Ishaan Jaff
82764d2cec fix make_sync_openai_audio_transcriptions_request 2024-07-20 18:17:21 -07:00
Krish Dholakia
fee4f3385d
Merge pull request #4806 from BerriAI/litellm_drop_invalid_params
fix(openai.py): drop invalid params if `drop_params: true` for azure ai
2024-07-20 17:45:46 -07:00
Ishaan Jaff
2513b64ed4 ci/cd run tests again 2024-07-20 17:44:12 -07:00
Ishaan Jaff
4038b3dcea router - use verbose logger when using litellm.Router 2024-07-20 17:36:25 -07:00
Ishaan Jaff
5e4d291244 rename to _response_headers 2024-07-20 17:31:16 -07:00
Ishaan Jaff
40ee954e8b
Merge pull request #4808 from BerriAI/litellm_Add_mistral_models
feat - add mistral `open-codestral-mamba` `open-mistral-nemo`
2024-07-20 17:23:28 -07:00
Ishaan Jaff
48ae2603e4 feat - add mistral models 2024-07-20 16:59:22 -07:00
Ishaan Jaff
5e52f50a82 return response headers 2024-07-20 15:26:44 -07:00
Krrish Dholakia
a27454b8e3 fix(openai.py): support completion, streaming, async_streaming 2024-07-20 15:23:42 -07:00
Ishaan Jaff
6039e0b2a7 test - response_headers 2024-07-20 15:08:54 -07:00
Krrish Dholakia
86c9e05c10 fix(openai.py): drop invalid params if drop_params: true for azure ai
Fixes https://github.com/BerriAI/litellm/issues/4800
2024-07-20 15:08:15 -07:00
Ishaan Jaff
3427838ce5 openai - return response headers 2024-07-20 15:04:27 -07:00
Ishaan Jaff
46cf4f69ae return response headers in response 2024-07-20 14:59:08 -07:00
Ishaan Jaff
ca8012090c return response_headers in response 2024-07-20 14:58:14 -07:00
Krrish Dholakia
576cccaade fix(main.py): check for ANTHROPIC_BASE_URL in environment
Fixes https://github.com/BerriAI/litellm/issues/4803
2024-07-20 14:38:31 -07:00
Krish Dholakia
9dc10f97a6
Merge pull request #4799 from BerriAI/litellm_proxy_team_cache_update
fix(user_api_key_auth.py): update valid token cache with updated team object cache
2024-07-20 14:33:18 -07:00
Ishaan Jaff
64dbe07593 openai return response headers 2024-07-20 14:07:41 -07:00
Krish Dholakia
156d445597
Merge pull request #4796 from BerriAI/litellm_refactor_requests_factory
fix(factory.py): refactor factory to use httpx client
2024-07-19 21:07:41 -07:00
Krish Dholakia
f797597202
Merge branch 'main' into litellm_proxy_team_cache_update 2024-07-19 21:07:26 -07:00
Krish Dholakia
3053f52c43
Merge pull request #4801 from BerriAI/litellm_dynamic_params_oai_compatible_endpoints
fix(utils.py): support dynamic params for openai-compatible providers
2024-07-19 21:07:06 -07:00
Ishaan Jaff
3bb66ab939 ci/cd run again 2024-07-19 20:08:50 -07:00
Ishaan Jaff
d35aeb3f4f fix test_vertex_ai_medlm_completion_cost 2024-07-19 19:58:44 -07:00
Ishaan Jaff
3708355f91 router fix init openai compatible providers 2024-07-19 19:42:04 -07:00
Krrish Dholakia
95a0f6839f fix(utils.py): fix token_counter to handle empty tool calls in messages
Fixes https://github.com/BerriAI/litellm/pull/4749
2024-07-19 19:39:00 -07:00
Krrish Dholakia
e45956d77e fix(utils.py): fix get_llm_provider to support dynamic params for openai-compatible providers 2024-07-19 19:36:31 -07:00