Commit graph

946 commits

Author SHA1 Message Date
Ishaan Jaff
dba35536e9 feat - resize logo 2024-05-24 17:54:38 -07:00
Ishaan Jaff
fa49833cdf feat - send email on new key created 2024-05-24 17:30:06 -07:00
Krrish Dholakia
2cdb0584d1 fix(slack_alerting.py): fixes for outage alerting 2024-05-24 17:17:17 -07:00
Krrish Dholakia
f8350b9461 fix(slack_alerting.py): support region based outage alerting 2024-05-24 16:59:16 -07:00
Ishaan Jaff
354fe584e7
Merge pull request #3826 from BerriAI/litellm_send_email_alerts
[Feat] Enterprise - Send Email Alerts when user, key crosses budget
2024-05-24 16:51:01 -07:00
Ishaan Jaff
c43a4dff7f use litellm prefix in all emails 2024-05-24 15:32:51 -07:00
Ishaan Jaff
06370d24b4 feat - email alerts 2024-05-24 15:23:36 -07:00
Ishaan Jaff
c3dd0a1470 feat check SMTP_SENDER_EMAIL + put behind enterprise license 2024-05-24 14:37:53 -07:00
Ishaan Jaff
9bcbb6cc8b feat - send send_email_alert_using_smtp 2024-05-24 14:29:00 -07:00
Krish Dholakia
bcd7534153
Merge pull request #3780 from nirga/traceloop-failures
Log errors in Traceloop Integration
2024-05-24 14:23:26 -07:00
Nir Gazit
7c279e05a7 fix(traceloop): log errors 2024-05-24 22:05:31 +03:00
Ishaan Jaff
966e62adf6
Merge pull request #3071 from vivek-athina/main
Athina callback now handles streaming mode
2024-05-23 15:31:12 -07:00
Krrish Dholakia
851f26b759 fix(slack_alerting.py): fix time check + add more debug values 2024-05-22 20:11:36 -07:00
Ishaan Jaff
33a6647fac fix don't log langfuse cache_hit in tags 2024-05-21 14:18:53 -07:00
Hannes Burrichter
8ed41dee09 Revert set Langfuse output to null for embedding responses 2024-05-21 18:25:24 +02:00
Hannes Burrichter
82391d270c Add null check to parent_observation_id assignment 2024-05-21 18:24:18 +02:00
Hannes Burrichter
b89b3d8c44
Merge branch 'BerriAI:main' into main 2024-05-21 13:51:55 +02:00
alisalim17
01bb26bbba Revert "Revert "Logfire Integration""
This reverts commit b04a8d878a.
2024-05-21 11:07:40 +04:00
Krish Dholakia
707cf24472
Merge branch 'main' into litellm_webhook_support 2024-05-20 18:41:58 -07:00
Krish Dholakia
c6bb6e325b
Merge pull request #3740 from BerriAI/litellm_return_rejected_response
feat(proxy_server.py): allow admin to return rejected response as string to user
2024-05-20 17:48:21 -07:00
Krrish Dholakia
867f9300e3 fix(slack_alerting.py): cleanup webhook event 2024-05-20 16:55:01 -07:00
Krrish Dholakia
da0e5d1b8d feat(slack_alerting.py): support webhook for budget alerts
Closes https://github.com/BerriAI/litellm/issues/3743
2024-05-20 15:30:56 -07:00
Ishaan Jaff
b5f8c63875 try/except deployment metrics error 2024-05-20 15:03:04 -07:00
Ishaan Jaff
02fc507b01 fix divide by 0 bug 2024-05-20 14:26:30 -07:00
Krrish Dholakia
1384ee3c57 fix(slack_alerting.py): prevent alert spam within 24 hr period for budget alerts
Closes https://github.com/BerriAI/litellm/issues/3738
2024-05-20 13:35:19 -07:00
Krrish Dholakia
f11f207ae6 feat(proxy_server.py): refactor returning rejected message, to work with error logging
log the rejected request as a failed call to langfuse/slack alerting
2024-05-20 11:14:36 -07:00
Krrish Dholakia
372323c38a feat(proxy_server.py): allow admin to return rejected response as string to user
Closes https://github.com/BerriAI/litellm/issues/3671
2024-05-20 10:30:23 -07:00
Ishaan Jaff
8281c150f0
Merge pull request #3713 from BerriAI/litellm_ui_infer_azure_prefix
[Feat] Admin UI - use `base_model` for Slack Alerts
2024-05-17 21:55:23 -07:00
Krrish Dholakia
4b3551abfc fix(slack_alerting.py): show langfuse traces on error messages 2024-05-17 18:42:30 -07:00
Ishaan Jaff
be273b3c3b fix - show correct base_model in slack alerts 2024-05-17 16:07:02 -07:00
Krish Dholakia
d9ce94ae23
Merge pull request #3703 from msabramo/msabramo/make-langsmith-integration-work-with-custom-langsmith
Work with custom `LANGSMITH_BASE_URL`
2024-05-16 22:23:09 -07:00
Marc Abramowitz
bf4f08ac30 Work with custom LANGSMITH_BASE_URL
This allows working with a custom Langsmith base URL. For example,
I can use this to test against a local Langsmith instance, running on
my laptop with Docker by adding this to the proxy config:

```yaml
litellm_settings:
  success_callback: ["langsmith"]

environment_variables:
  LANGSMITH_BASE_URL: "http://localhost:1984"
  LANGSMITH_PROJECT: "litellm-proxy"
```
2024-05-16 17:13:01 -07:00
Ishaan Jaff
a292583ff1 fix - allow users to opt into specific alert types 2024-05-16 16:52:44 -07:00
Krrish Dholakia
a7b9a03991 docs(billing.md): add tutorial on billing with litellm + lago to docs 2024-05-16 14:13:39 -07:00
Krrish Dholakia
e273e66618 feat(lago.py): adding support for usage-based billing with lago
Closes https://github.com/BerriAI/litellm/issues/3639
2024-05-16 10:54:18 -07:00
Hannes Burrichter
5bf59d5295
Merge branch 'BerriAI:main' into main 2024-05-15 16:44:05 +02:00
Krrish Dholakia
4ff0703a31 fix(slack_alerting.py): fix timezone utc issue 2024-05-14 22:54:33 -07:00
Krrish Dholakia
54587db402 fix(alerting.py): fix datetime comparison logic 2024-05-14 22:10:09 -07:00
Krish Dholakia
b04a8d878a
Revert "Logfire Integration" 2024-05-14 17:38:47 -07:00
Krish Dholakia
adaafd72be
Merge pull request #3599 from taralika/patch-1
Ignore 0 failures and 0s latency in daily slack reports
2024-05-14 11:47:46 -07:00
alisalim17
18bf68298f Merge remote-tracking branch 'upstream/main' 2024-05-14 18:42:20 +04:00
Hannes Burrichter
1bd6a1ba05
Merge branch 'BerriAI:main' into main 2024-05-14 13:31:07 +02:00
Anand Taralika
3b0c7d2321
Merge branch 'BerriAI:main' into patch-1 2024-05-13 21:31:00 -07:00
Marc Abramowitz
bfec894f6b Cast SLACK_DAILY_REPORT_FREQUENCY to int 2024-05-13 17:08:53 -07:00
Marc Abramowitz
01da3b0a7a Add ability to customize slack report frequency
via `SLACK_DAILY_REPORT_FREQUENCY` env var

Addresses one thing that @taralika mentioned in
https://github.com/BerriAI/litellm/issues/3597
2024-05-13 16:39:44 -07:00
Ishaan Jaff
1be6ea0c0d
Merge pull request #3603 from alexanderepstein/langfuse_turn_off_messaging
feat(langfuse.py): Allow for individual call message/response redaction
2024-05-13 15:21:41 -07:00
Krrish Dholakia
bd2f46fd75 fix(slack_alerting.py): if 'turn_off_message_logging' enabled, do not log the message to logging integration 2024-05-13 14:02:43 -07:00
Ishaan Jaff
21845bc061
Merge pull request #3609 from BerriAI/litellm_send_daily_spend_report
[Feat] send weekly spend reports by Team/Tag
2024-05-13 12:45:37 -07:00
Ishaan Jaff
3fbebe16aa fix - spend reports on alerts 2024-05-13 10:51:59 -07:00
Ishaan Jaff
55f747fb1d fix - show monthly spend in slack reports 2024-05-13 10:17:09 -07:00