Commit Graph

13220 Commits

Author SHA1 Message Date
Krrish Dholakia
a7a63f8392 docs(routing.md): update routing fallback docs with proxy examples 2024-06-14 21:53:45 -07:00
Ishaan Jaff
28c32caee8 docs emails 2024-06-14 21:49:45 -07:00
Krrish Dholakia
31a7328279 docs(routing.md): add content policy fallbacks to docs 2024-06-14 21:47:55 -07:00
Ishaan Jaff
89a43c872a ci/cd run again 2024-06-14 21:31:24 -07:00
Krrish Dholakia
74d8605f5c fix(slack_alerting.py): check if webhook is in alerting list before triggering it
Fixes https://github.com/BerriAI/litellm/issues/4193
2024-06-14 21:20:58 -07:00
Ishaan Jaff
cb7521b11f fix - result 2024-06-14 21:15:49 -07:00
Ishaan Jaff
5fa09a61c0 bump: version 1.40.13 → 1.40.14 2024-06-14 20:45:26 -07:00
Ishaan Jaff
fb3ad643fc
Merge pull request #4210 from BerriAI/litellm_fix_redact_message_input_output_from_logging_deepcopy
[Fix] redact_message_input_output_from_logging deepcopy bug
2024-06-14 20:41:27 -07:00
Ishaan Jaff
18f36b38f0 ui - new build 2024-06-14 20:33:02 -07:00
Ishaan Jaff
4bfd46d0a6
Merge pull request #4209 from BerriAI/litellm_send_email_alerts_budget_exceeded
[Feat] send email alerts when budget exceeded
2024-06-14 20:23:19 -07:00
Ishaan Jaff
b6fee33307 fix redact_message_input_output_from_logging 2024-06-14 20:23:10 -07:00
Ishaan Jaff
09b1d52ea1 fix send emails to team members 2024-06-14 20:11:16 -07:00
Ishaan Jaff
408899dac8 fix - send emails on crossing team budget 2024-06-14 19:48:22 -07:00
Krish Dholakia
6c2527ce98
Merge pull request #4151 from BerriAI/litellm_bump_pydantic
build(pyproject.toml): require pydantic v2
2024-06-14 19:04:57 -07:00
Krish Dholakia
3ef5d40b73
Merge pull request #4205 from BerriAI/litellm_alerting_metadata
fix(slack_alerting.py): allow new 'alerting_metadata' arg
2024-06-14 19:04:30 -07:00
Krrish Dholakia
4eca63ede6 docs(alerting.md): add alerting metadata to docs 2024-06-14 19:04:16 -07:00
Krish Dholakia
28a52fe5fb
Merge pull request #4207 from BerriAI/litellm_content_policy_fallbacks
feat(router.py): support content policy fallbacks
2024-06-14 18:55:11 -07:00
Ishaan Jaff
0ec52e57b4 fix - send team budget crossed 2024-06-14 18:52:13 -07:00
Ishaan Jaff
eafcd5effa fix show email on config 2024-06-14 18:41:51 -07:00
Ishaan Jaff
f6d0c6c272 add email alerting for budgets 2024-06-14 18:40:56 -07:00
Ishaan Jaff
4baf72b34e
Merge pull request #4203 from BerriAI/litellm_fix_bug_tem_budget
[Bug fix] Don't cache team, user, customer budget after calling /update, /delete
2024-06-14 18:36:41 -07:00
Ishaan Jaff
84b281bf2a feat - send email alert to team members 2024-06-14 18:36:04 -07:00
Ishaan Jaff
52b54da354 fix -better debugging before sending emails 2024-06-14 17:38:33 -07:00
Krrish Dholakia
6f715b4782 feat(router.py): support content policy fallbacks
Closes https://github.com/BerriAI/litellm/issues/2632
2024-06-14 17:15:44 -07:00
Ishaan Jaff
b31c084b53 add team_alias in alerting info 2024-06-14 17:05:59 -07:00
Ishaan Jaff
75d5609705 send team_alias on team budget alerts 2024-06-14 17:00:43 -07:00
Krrish Dholakia
9e8eacbc77 test(test_alerting.py): fix tests 2024-06-14 16:20:54 -07:00
Krrish Dholakia
e18002023a fix(slack_alerting.py): allow new 'alerting_metadata' arg
Allows user to pass in additional alerting metadata for debugging
2024-06-14 16:06:47 -07:00
Ishaan Jaff
6bd7e24fdd fix - team budget exceeded 2024-06-14 15:54:14 -07:00
Ishaan Jaff
14f7ca899a
Merge pull request #4197 from BerriAI/litellm_fix_router_level_alerting
[Fix + Refactor] - Router Alerting for llm exceptions  + use separate util for sending alert
2024-06-14 15:52:31 -07:00
Ishaan Jaff
f398498d53
Merge pull request #4198 from BerriAI/litellm_ui_fix_team_usage_crashing
ui - fix team based usage crashing
2024-06-14 15:18:28 -07:00
Ishaan Jaff
2d2650a2b6 fix use safe access for router alerting 2024-06-14 15:17:32 -07:00
Krrish Dholakia
0404d30a9c fix(main.py): include traceback in error string 2024-06-14 15:15:53 -07:00
Krrish Dholakia
2732ff5d56 fix(utils.py): return traceback on unmapped exception error
Fixes https://github.com/BerriAI/litellm/issues/4201
2024-06-14 15:08:01 -07:00
Krrish Dholakia
ab3ece37c0 docs(users.md): update user docs to show reset budget 2024-06-14 14:46:23 -07:00
Krrish Dholakia
d8acda9f39 fix(proxy/utils.py): fix reset monthly budget
fix to reset at the same time each month (not at start of month)
2024-06-14 14:41:06 -07:00
Ishaan Jaff
e736e4952e ui - fix team based usage crashing 2024-06-14 10:21:06 -07:00
Ishaan Jaff
bd5d1be1f6 feat - send llm exception alert on acompletion, aembedding etc 2024-06-14 10:11:24 -07:00
Ishaan Jaff
63ddc3d012 test_alerting 2024-06-14 08:45:04 -07:00
Ishaan Jaff
a0ecc6f414 fix - send alert on router level exceptions 2024-06-14 08:41:12 -07:00
Krish Dholakia
056913fd70
Merge pull request #3559 from Intellegam/main
Langfuse integration support for `parent_observation_id` parameter
2024-06-14 06:55:45 -07:00
Krrish Dholakia
57d3b591ba bump: version 1.40.12 → 1.40.13 2024-06-13 22:07:46 -07:00
Krish Dholakia
dfe3b4ed6f
Merge pull request #4150 from BerriAI/litellm_redis_cache_usage
fix(parallel_request_limiter.py): rate limit keys across instances
2024-06-13 22:07:29 -07:00
Krish Dholakia
e61cd2e1e2
Merge branch 'main' into litellm_redis_cache_usage 2024-06-13 22:07:21 -07:00
Krrish Dholakia
c4df6cfe15 test(test_spend_logs.py): fix test 2024-06-13 21:32:26 -07:00
Krish Dholakia
d499477f54
Merge pull request #4178 from BerriAI/litellm_http_handler
Retry on connection disconnect
2024-06-13 21:14:56 -07:00
Krrish Dholakia
64f50c08da docs(team_budgets.md): fix docs 2024-06-13 21:13:29 -07:00
Krrish Dholakia
7117e567b7 bump: version 1.40.11 → 1.40.12 2024-06-13 21:13:29 -07:00
Krrish Dholakia
acdd8f16ea build(ui): new build 2024-06-13 21:13:29 -07:00
Krrish Dholakia
8498600d42 feat(proxy/utils.py): allow budget duration in months
Closes https://github.com/BerriAI/litellm/issues/4042
2024-06-13 21:13:29 -07:00