Commit Graph
14166 Commits
Author SHA1 Message Date
Ishaan Jaff 96be4eaeec docs - guardrails 2024-07-03 17:03:44 -07:00
Ishaan Jaff 1028be6308 feat- control lakera ai per llm call 2024-07-03 16:34:23 -07:00
Ishaan Jaff 228997b074 docs - setup guardrails on config.yaml 2024-07-03 15:17:17 -07:00
Ishaan Jaff 80dd14d59e test - default on/off guardrails 2024-07-03 14:50:13 -07:00
Ishaan JaffandGitHub b1e6cee000 Merge branch 'main' into litellm_allow_setting_guardrails_config 2024-07-03 14:21:51 -07:00
Ishaan Jaff 129c2e0c4f init guardrails on proxy 2024-07-03 14:18:12 -07:00
Ishaan Jaff a2b6baab16 add new GuardrailItem type 2024-07-03 14:03:34 -07:00
Ishaan Jaff 50443d3d48 fix checks on litellm license 2024-07-03 14:02:07 -07:00
Krish DholakiaandGitHub 944f22a089 Merge pull request #4499 from petermuller/main
Allow calling SageMaker endpoints from different regions
2024-07-03 13:09:21 -07:00
Krrish Dholakia 3d61a316cb fix(router.py): bump azure default api version
Allows 'tool_choice' to be passed to azure
v1.41.4.dev1
2024-07-03 12:00:00 -07:00
Krrish Dholakia d18dc2648c fix(replicate.py): correctly handly invalid replicate response 2024-07-03 10:09:46 -07:00
Krrish Dholakia c6962bda80 fix(user_api_key_auth.py): expose /health as an info route
this still requires key access. Allows users to check model health
2024-07-03 10:02:50 -07:00
Krrish Dholakia 606d04b05b fix(_service_logging.py): only trigger otel if in service_callback
Fixes https://github.com/BerriAI/litellm/issues/4511
2024-07-03 09:48:38 -07:00
Krish DholakiaandGitHub 2116dbcdc1 Merge pull request #4089 from paneru-rajan/ollama-func-calls
Fix: Output Structure of Ollama chat
2024-07-03 08:57:31 -07:00
Krrish Dholakia 67433a04a2 test: fix test v1.41.4 2024-07-02 22:13:41 -07:00
Peter Muller d8fc8252fa Revert imports changes, update tests to match 2024-07-02 19:09:22 -07:00
Ishaan Jaff 3da8ce6a75 ci/cd run again 2024-07-02 18:39:53 -07:00
Krrish Dholakia ac00639301 fix(azure.py): fix httpx call for dall e 3 2024-07-02 18:30:21 -07:00
Ishaan Jaff 540db53ccb docs switch guardrails on / off 2024-07-02 18:13:36 -07:00
Ishaan Jaff b288835b47 doc secret detection 2024-07-02 18:10:41 -07:00
Ishaan Jaff c30061fd09 bump: version 1.41.3 → 1.41.4 2024-07-02 18:03:04 -07:00
Ishaan JaffandGitHub 2dcf06ce7d Merge pull request #4525 from BerriAI/litellm_control_lakera_per_llm_call
[Feat] Control Lakera AI per Request
2024-07-02 18:02:43 -07:00
Ishaan JaffandGitHub 0d852d7011 Merge pull request #4524 from BerriAI/litellm_allow_controlling_guardrails_per_key
[Enterprise] Check if Key should run secret_detection callback
2024-07-02 18:02:34 -07:00
Ishaan Jaff 62ebcc0bb5 doc controlling guardrail per api key 2024-07-02 18:01:21 -07:00
Krish DholakiaandGitHub 2d6b6662d4 Merge pull request #4502 from BerriAI/litellm_support_dynamic_rpm_limiting
feat(dynamic_rate_limiter.py): support dynamic rate limiting on rpm
2024-07-02 17:51:23 -07:00
Krish DholakiaandGitHub 21d3a28e51 Merge branch 'main' into litellm_support_dynamic_rpm_limiting 2024-07-02 17:51:18 -07:00
Ishaan Jaff 23f8d23acb correct guardrail name 2024-07-02 17:50:23 -07:00
Ishaan Jaff 11d1f4e430 doc - control guradrail per api key 2024-07-02 17:50:09 -07:00
Ishaan Jaff f61eb8dfa1 docs control lakera ai per request 2024-07-02 17:38:07 -07:00
Ishaan Jaff 64e86c3305 docs control lakera ai per call 2024-07-02 17:34:48 -07:00
Ishaan Jaff b6af67344c feat - control lakera per call 2024-07-02 17:34:05 -07:00
Krish DholakiaandGitHub f87535140c Merge pull request #4523 from BerriAI/litellm_azure_img_gen_refactor
refactor(azure.py): move azure dall-e calls to httpx client
2024-07-02 17:15:41 -07:00
Krrish Dholakia cf5334fe8a refactor(azure.py): refactor sync azure calls to httpx 2024-07-02 17:06:48 -07:00
Ishaan Jaff 9f8572e427 check if key does not want secret detection to run 2024-07-02 17:05:53 -07:00
Ishaan JaffandGitHub 174b2b69df Merge pull request #4518 from BerriAI/litellm_fix_background_health_checks
[Fix-Proxy] Background health checks use deep copy of model list for _run_background_health_check
2024-07-02 16:42:34 -07:00
Ishaan JaffandGitHub 90a0db5618 Merge pull request #4519 from BerriAI/litellm_re_use_openai_azure_clients_whisper
[Fix+Test] /audio/transcriptions - use initialized OpenAI / Azure OpenAI clients
2024-07-02 16:42:22 -07:00
Peter Muller 47c97e1fa2 Fix test name typo in comment 2024-07-02 15:38:15 -07:00
Krrish Dholakia 589c1c6280 refactor(azure.py): replaces the custom transport logic for just using our httpx client
Done to fix all the http/https proxy issues people are facing with proxy.
2024-07-02 15:32:53 -07:00
Peter Muller d9e9a8645b Add tests for SageMaker region selection 2024-07-02 15:30:39 -07:00
Krish DholakiaandGitHub 612af8f5be Merge pull request #4492 from Manouchehri/gemini-context-caching-1
feat(vertex_httpx.py): Support cachedContent.
2024-07-02 14:09:25 -07:00
Krish DholakiaandGitHub c4e11e03d7 Merge pull request #4520 from BerriAI/litellm_fix_request_hanging_alert
fix(slack_alerting.py): use in-memory cache for checking request status
2024-07-02 13:48:19 -07:00
Krrish Dholakia 66c6992f8a fix(slack_alerting.py): use in-memory cache for checking request status 2024-07-02 13:01:59 -07:00
Ishaan Jaff ce7fade15e test whisper re-using openai/azure clients 2024-07-02 12:35:15 -07:00
Ishaan Jaff 2b5f3c6105 fix use router level client for OpenAI / Azure transcription calls 2024-07-02 12:33:31 -07:00
Krrish Dholakia 3d3f725ef5 docs(user_keys.md): add langchain js example to docs 2024-07-02 12:06:48 -07:00
Ishaan Jaff cd6b121642 use deep copy of router for _run_background_health_check 2024-07-02 11:29:24 -07:00
Krrish Dholakia 79670ab82e fix(main.py): get the region name from boto3 client if dynamic var not set 2024-07-02 09:24:07 -07:00
Krrish Dholakia 5aae2313f3 fix(aws_secret_manager.py): fix string replace v1.41.3.dev2 2024-07-02 00:42:12 -07:00
Krrish Dholakia 196b94455e fix(dynamic_rate_limiter.py): add rpm allocation, priority + quota reservation to docs 2024-07-01 23:35:42 -07:00
Krish DholakiaandGitHub 4ab83f0f46 Merge pull request #4497 from BerriAI/litellm_disable_cooldowns
fix(router.py): disable cooldowns
2024-07-01 23:10:18 -07:00