Commit graph

9496 commits

Author SHA1 Message Date
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
Krrish Dholakia
e2d275f1b7 fix(utils.py): add exception mapping for bedrock image internal server error 2024-07-19 19:30:41 -07:00
Krrish Dholakia
4de19cb116 test(test_router_timeout.py): fix test 2024-07-19 19:00:55 -07:00
Krrish Dholakia
335cf65452 fix(anthropic.py): fix streaming client 2024-07-19 18:55:00 -07:00
Krrish Dholakia
9e098326d0 test: skip duplicate test 2024-07-19 18:51:50 -07:00
Krrish Dholakia
ccb8035949 fix(batches/main.py): fix linting error 2024-07-19 18:26:13 -07:00
Krrish Dholakia
99aa311083 fix(user_api_key_auth.py): update team values in token cache if refreshed more recently 2024-07-19 17:35:59 -07:00
Krish Dholakia
614e292bed
Merge pull request #4788 from BerriAI/litellm_ai21_jamba
feat(bedrock_httpx.py): add ai21 jamba instruct as bedrock model
2024-07-19 17:11:36 -07:00
Krrish Dholakia
35e640076b fix(user_api_key_auth.py): update valid token cache with updated team object cache 2024-07-19 17:06:49 -07:00
Ishaan Jaff
f7b1c33208 fix typing errors 2024-07-19 16:43:31 -07:00
Ishaan Jaff
d3e7910c4d
Merge pull request #4798 from BerriAI/litellm_fix_health_check
fix health check - make sure one failing deployment does not stop the health check
2024-07-19 16:41:12 -07:00
Ishaan Jaff
f3ac6493e8 fix typing errors 2024-07-19 16:18:53 -07:00
Ishaan Jaff
43e5890f77 fix health check 2024-07-19 15:56:35 -07:00
Krrish Dholakia
fa7037e48a fix(files/main.py): fix linting error 2024-07-19 15:50:25 -07:00