Commit graph

15126 commits

Author SHA1 Message Date
Ishaan Jaff
1355932bf4
Merge pull request #3905 from giritatavarty-8451/litellm_triton_chatcompletion_support
Litellm triton chatcompletion support - Resubmit of #3895
2024-07-23 10:30:26 -07:00
Ishaan Jaff
c38bacf4aa
Merge pull request #4837 from BerriAI/docs_slack_alerting
Fix + Docs - slack alerting separate alerts by webhook url
2024-07-23 10:13:25 -07:00
Ishaan Jaff
2ae5a936ea docs alerting 2024-07-23 10:10:01 -07:00
Ishaan Jaff
0ec2e9aa27 feat alert_to_webhook_url 2024-07-23 10:09:24 -07:00
Ishaan Jaff
d116ff280e feat - set alert_to_webhook_url 2024-07-23 10:08:21 -07:00
Ishaan Jaff
c1593c0cd1 update alert_to_webhook_url 2024-07-23 10:07:08 -07:00
Ishaan Jaff
4559970a44 docs - alert to webhook_url 2024-07-23 10:06:18 -07:00
Ishaan Jaff
c28697133f docs - slack alerting 2024-07-23 09:42:12 -07:00
Ishaan Jaff
96f9313e6c
Merge pull request #4835 from BerriAI/litellm_switch_off_logging_per_team
[Feat-Proxy] Disable Logging per Team
2024-07-23 09:25:35 -07:00
Ishaan Jaff
25dc0877d9 docs Debugging / Troubleshooting 2024-07-23 09:16:53 -07:00
David Manouchehri
bce56c1356
(docs): Make it more obvious where the group name is set in the example. 2024-07-23 16:15:21 +00:00
David Manouchehri
3d390a79f3
(docs): Add OIDC doc. 2024-07-23 16:08:28 +00:00
Ishaan Jaff
69091f31df feat - add success_Callback per request 2024-07-23 08:43:01 -07:00
Ishaan Jaff
24ae0119d1 add debug logging for team callback settings 2024-07-23 08:41:05 -07:00
Ishaan Jaff
1a33c40713 add endpoint to disable logging for a team 2024-07-23 08:38:23 -07:00
Krish Dholakia
b69b7503db
Merge pull request #4830 from BerriAI/litellm_braintrust_integration
Braintrust logging integration
2024-07-22 22:40:47 -07:00
Krish Dholakia
e770ac48a2
Merge branch 'main' into litellm_braintrust_integration 2024-07-22 22:40:39 -07:00
Krish Dholakia
c4db6aa15e
Merge pull request #4810 from BerriAI/litellm_team_modify_guardrails
feat(auth_checks.py): Allow admin to disable team from turning on/off guardrails
2024-07-22 22:32:24 -07:00
Krrish Dholakia
1a83935aa4 fix(proxy/utils.py): add stronger typing for litellm params in failure call logging 2024-07-22 21:31:39 -07:00
Ishaan Jaff
34575293a5 docs - team logging endpoints 2024-07-22 21:30:24 -07:00
Ishaan Jaff
ac3c6a4604 bump: version 1.41.26 → 1.41.27 2024-07-22 21:24:00 -07:00
Ishaan Jaff
290628d66b
Merge pull request #4831 from BerriAI/litellm_api_control_team_logging
[Feat] - API Endpoints to control logging callbacks per Team
2024-07-22 21:22:14 -07:00
Ishaan Jaff
4465675d9a doc - team based logging 2024-07-22 21:20:13 -07:00
Ishaan Jaff
09dcf4f3bb docs - control team logging 2024-07-22 21:13:39 -07:00
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
Ishaan Jaff
2e5da5ea18 GET endpoint to get team callbacks 2024-07-22 20:46:20 -07:00
Ishaan Jaff
447bab4d46 only allow unique callbacks for team callbacks 2024-07-22 20:43:42 -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
Ishaan Jaff
5ed82ba5ce feat add return types on team/callback 2024-07-22 20:35:27 -07:00
Ishaan Jaff
dcd8f7ebf2 control team callbacks using API 2024-07-22 18:29:21 -07:00
Ishaan Jaff
c9e2f977dd feat - return team_metadata in user_api_key_auth 2024-07-22 18:21:50 -07:00
Ishaan Jaff
c34c123fe3 feat - add endpoint to set team callbacks 2024-07-22 18:18:09 -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 Jaff
ff768e7571 types - AddTeamCallback 2024-07-22 18:11:59 -07:00
Krrish Dholakia
92b1262caa test(test_braintrust.py): add testing for braintrust integration 2024-07-22 18:05:11 -07:00
Krrish Dholakia
dd6d58d29b docs(braintrust.md): add braintrust.md to docs 2024-07-22 17:47:08 -07:00
Krrish Dholakia
e4ab50e1a1 feat(braintrust_logging.py): working braintrust logging for successful calls 2024-07-22 17:04:55 -07:00
Ishaan Jaff
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
Krrish Dholakia
1ce029c80e feat(braintrust.py): initial commit for braintrust integration 2024-07-22 15:06:15 -07:00
Ishaan Jaff
4850819ea0
Merge pull request #4821 from elabbarw/main
Fix errors with docker-compose file
2024-07-22 14:54:05 -07:00
Ishaan Jaff
55f0728a7e
Merge pull request #4827 from BerriAI/litellm_use_anthropic_sdk_proxy
[Fix-Proxy] Allow non admin keys to access /v1/messages Anthropic Routes
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