Commit graph

15087 commits

Author SHA1 Message Date
Krrish Dholakia
ae693424e4 fix(__init__.py): update init 2024-07-23 17:55:28 -07:00
Krrish Dholakia
7df94100e8 build(model_prices_and_context_window.json): add model pricing for vertex ai llama 3.1 api 2024-07-23 17:36:07 -07:00
Krrish Dholakia
83ef52e180 feat(vertex_ai_llama.py): vertex ai llama3.1 api support
Initial working commit for vertex ai llama 3.1 api support
2024-07-23 17:07:30 -07:00
Krrish Dholakia
169da8b8d0 docs(guardrails.md): add team-based controls to guardrails 2024-07-23 15:39:21 -07:00
Krrish Dholakia
f64a3309d1 fix(utils.py): support raw response headers for streaming requests 2024-07-23 11:58:58 -07:00
Krrish Dholakia
d1ffb4de5f docs(raw_request_response.md): show how to get openai headers from response 2024-07-23 11:40:26 -07:00
Krrish Dholakia
dcb974dd1e feat(utils.py): support passing openai response headers to client, if enabled
Allows openai/openai-compatible provider response headers to be sent to client, if 'return_response_headers' is enabled
2024-07-23 11:30:52 -07:00
Ishaan Jaff
b137207ae6 doc alert_to_webhook_url 2024-07-23 11:04:15 -07:00
Ishaan Jaff
aba600a892 fix triton linting 2024-07-23 11:03:34 -07:00
Krrish Dholakia
a8c88dad64 docs(sidebar.js): add oidc to left nav 2024-07-23 10:37:06 -07:00
Krish Dholakia
5382242f4b
Merge pull request #4836 from Manouchehri/oidc-docs-1
(docs): Add OIDC doc.
2024-07-23 10:34:37 -07:00
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