Commit Graph
15036 Commits
Author SHA1 Message Date
Krrish Dholakia 548e4f53f8 feat(redact_messages.py): allow remove sensitive key information before passing to logging integration 2024-07-22 20:58:02 -07:00
Krrish Dholakia 0b9e93d863 fix(main.py): check if anthropic api base ends with required url
Fixes https://github.com/BerriAI/litellm/issues/4803
2024-07-22 20:36:35 -07:00
Krrish Dholakia f4a388f217 fix(openai.py): check if error body is a dictionary before indexing in 2024-07-22 18:12:04 -07:00
Ishaan JaffandGitHub 92d3b27a6b Merge pull request #4828 from BerriAI/litellm_raise_Correct_provider_content_policy_errors
fix raise correct provider on streaming content policy violation errors
2024-07-22 17:03:21 -07:00
Ishaan Jaff 69e52e0a47 test - openai content policy errors 2024-07-22 16:24:03 -07:00
Ishaan Jaff 8f9638f2c1 fix raise correct provider on content policy violation 2024-07-22 16:03:15 -07:00
Ishaan Jaff 15c109f023 fix checking if _known_custom_logger_compatible_callbacks 2024-07-22 15:43:43 -07:00
Ishaan Jaff d8d08a1ba3 set _known_custom_logger_compatible_callbacks in _init 2024-07-22 15:38:46 -07:00
Ishaan Jaff a0600a30d8 fix using arize as success callback 2024-07-22 15:32:49 -07:00
Ishaan Jaff d3bced56bb docs - langsmith 2024-07-22 15:17:24 -07:00
Ishaan JaffandGitHub 4850819ea0 Merge pull request #4821 from elabbarw/main
Fix errors with docker-compose file
2024-07-22 14:54:05 -07:00
Ishaan JaffandGitHub 55f0728a7e Merge pull request #4827 from BerriAI/litellm_use_anthropic_sdk_proxy
[Fix-Proxy] Allow non admin keys to access /v1/messages Anthropic Routes
v1.41.26.dev1
2024-07-22 14:49:29 -07:00
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
Ishaan Jaff 488aca98a1 doc arize ai 2024-07-22 14:27:45 -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
Wanis ElabbarandGitHub 39611493e8 Merge pull request #1 from elabbarw/elabbarw-patch-1
Fix errors with docker-compose file
2024-07-22 16:48:08 +01:00
Wanis ElabbarandGitHub d7556020b3 Fix errors with docker-compose file
The Docker Compose file is causing an error during the healthcheck, stating "cannot find role 'account used to run compose'". I've modified the file to set a database, username, and password, and ensured the database and username are configured correctly in the healthcheck.
2024-07-22 16:45:59 +01:00
Krish DholakiaandGitHub a32a7af215 Merge pull request #4819 from BerriAI/revert-4613-main
Revert "Fix: use Bedrock region from environment variables before other region definitions"
v1.41.26
2024-07-22 07:41:10 -07:00
Krish DholakiaandGitHub 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 DholakiaandGitHub 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 JaffandGitHub 00d431ea42 Merge pull request #4807 from BerriAI/litellm_return-response_headers
[Feat] Return response headers on `litellm.completion` , `litellm.embedding`
2024-07-20 19:06:03 -07:00
Ishaan JaffandGitHub f6225623e9 Merge branch 'main' into litellm_return-response_headers 2024-07-20 19:05:56 -07:00
Ishaan JaffandGitHub 36cb63cb82 Merge pull request #4811 from BerriAI/revert-4802-litellm_add_tg_models_ui
Revert "[Ui] add together AI, Mistral,  PerplexityAI, OpenRouter models on Admin UI "
2024-07-20 19:04:35 -07:00
Ishaan JaffandGitHub 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
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 JaffandGitHub 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 JaffandGitHub 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
Ishaan Jaff c44cdc3f4b ui - support adding mistral, tg ai, perplexity, open router 2024-07-20 18:14:26 -07:00
Krish DholakiaandGitHub 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 4e301658ca docs _response_headers 2024-07-20 17:32:34 -07:00
Ishaan Jaff 5e4d291244 rename to _response_headers 2024-07-20 17:31:16 -07:00
Ishaan JaffandGitHub 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