Commit graph

11631 commits

Author SHA1 Message Date
Ishaan Jaff
5de31e9318 (ci/cd) run again 2024-05-13 20:54:50 -07:00
Ishaan Jaff
9bde3ccd1d (ci/cd) fixes 2024-05-13 20:49:02 -07:00
Ishaan Jaff
ffcd6b6a63
Merge pull request #3625 from BerriAI/litellm_router_default_fallbacks
Default routing fallbacks
2024-05-13 20:47:54 -07:00
Ishaan Jaff
b8cecd4c40 (ci/cd) run again 2024-05-13 20:38:45 -07:00
Ishaan Jaff
da0e10954a (ci/cd) run again 2024-05-13 20:31:59 -07:00
Ishaan Jaff
5b51acc773 fix type hints on main 2024-05-13 20:21:23 -07:00
Krrish Dholakia
071a70c5fc test: fix watsonx api error 2024-05-13 19:01:19 -07:00
Krrish Dholakia
724d880a45 test(test_completion.py): handle async watsonx call fail 2024-05-13 18:40:51 -07:00
Krrish Dholakia
d4123951d9 test: handle watsonx rate limit error 2024-05-13 18:27:39 -07:00
Ishaan Jaff
3686789c36 feat - reset spend per team, api_key 2024-05-13 18:23:23 -07:00
Krrish Dholakia
155f1f164f refactor(utils.py): trigger local_testing 2024-05-13 18:18:22 -07:00
Krrish Dholakia
4ec3b4d9a8 docs(exception_mapping.md): cleanup docs 2024-05-13 18:17:02 -07:00
Krrish Dholakia
228ed25de5 docs(exception_mapping.md): add watsonx exception mapping to docs 2024-05-13 18:16:05 -07:00
Krrish Dholakia
29449aa5c1 fix(utils.py): fix watsonx exception mapping 2024-05-13 18:13:13 -07:00
Krrish Dholakia
3694b5e7c0 refactor(main.py): trigger new build 2024-05-13 18:12:01 -07:00
Krrish Dholakia
38988f030a fix(router.py): fix typing 2024-05-13 18:06:10 -07:00
Krrish Dholakia
48779cb341 docs(cost_tracking.md): update response object for spend tracking doc 2024-05-13 17:58:33 -07:00
Krrish Dholakia
5488bf4921 feat(router.py): enable default fallbacks
allow user to define a generic list of fallbacks, in case a new deployment is bad

Closes https://github.com/BerriAI/litellm/issues/3623
2024-05-13 17:49:56 -07:00
Ishaan Jaff
f19e6724ee ui - new build 2024-05-13 17:48:24 -07:00
Ishaan Jaff
067749805b
Merge pull request #3624 from BerriAI/litellm_ui_cleanup_2
[UI] Filter Tag Spend by Date + Show Bar Chart
2024-05-13 17:33:43 -07:00
Ishaan Jaff
fa4dcbd37c ui - round up spend per tag 2024-05-13 17:31:29 -07:00
Ishaan Jaff
052cfeb810 ui - how spend per tag in bar chart 2024-05-13 17:31:18 -07:00
Ishaan Jaff
5dfa0ed196 filter tags usage by date 2024-05-13 17:15:39 -07:00
Ishaan Jaff
51961387a2 ui - filter tags by starttime and endtime 2024-05-13 17:15:25 -07:00
Ishaan Jaff
5845d6f958 feat - filter tags by startTime and endTime 2024-05-13 17:15:04 -07:00
Ishaan Jaff
6ea5a276f8 backend - show spend per tag by time 2024-05-13 17:13:48 -07:00
Krrish Dholakia
d7c28509d7 fix(utils.py): watsonx ai exception mapping fix 2024-05-13 17:11:33 -07:00
Marc Abramowitz
94f7353596 Document SLACK_DAILY_REPORT_FREQUENCY
in `docs/my-website/docs/proxy/alerting.md`
2024-05-13 17:10:41 -07:00
Marc Abramowitz
bfec894f6b Cast SLACK_DAILY_REPORT_FREQUENCY to int 2024-05-13 17:08:53 -07:00
Krrish Dholakia
af9489bbfd fix(router.py): overloads fix 2024-05-13 17:04:04 -07:00
Marc Abramowitz
bdb995f436 Revert = None changes
because @krrishdholakia said [here](https://github.com/BerriAI/litellm/pull/3600#discussion_r1599108453)
that they were problematic in the past.
2024-05-13 16:49:36 -07:00
Krrish Dholakia
240c9550f0 fix(utils.py): handle api assistant returning 'null' role
Fixes https://github.com/BerriAI/litellm/issues/3621
2024-05-13 16:46:07 -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
d3f76e33e4 ui - clean up edit team input box 2024-05-13 16:36:21 -07:00
Ishaan Jaff
8c37c47c8d bump: version 1.37.8 → 1.37.9 2024-05-13 16:30:05 -07:00
Krish Dholakia
e92f433566
Merge pull request #3554 from paneru-rajan/Issue-3544-fix-message
Fixes #3544 based on the data-type of message
2024-05-13 16:23:58 -07:00
Krrish Dholakia
c7b3193944 fix(proxy/_types.py): allow jwt admin to access /team/list route 2024-05-13 16:07:31 -07:00
Ishaan Jaff
ea9b4dc439
Merge pull request #3619 from BerriAI/litellm_show_spend_reports
[Feat] -  `/global/spend/report`
2024-05-13 16:06:02 -07:00
Ishaan Jaff
eb2d6ba20a ui - new build 2024-05-13 15:56:59 -07:00
Ishaan Jaff
53ab935151 cleanup PR template 2024-05-13 15:54:58 -07:00
Ishaan Jaff
d0a5c9b363 docs - spend per team 2024-05-13 15:48:26 -07:00
Krrish Dholakia
aa2f6aa5bd bump: version 1.37.7 → 1.37.8 2024-05-13 15:31:59 -07:00
Ishaan Jaff
11d3c86cf1 test /spend/report 2024-05-13 15:26:39 -07:00
Krrish Dholakia
b4a8665d11 fix(utils.py): fix custom pricing when litellm model != response obj model name 2024-05-13 15:25:35 -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
Ishaan Jaff
12cf9d71c7 feat - /spend/report endpoint 2024-05-13 15:01:02 -07:00
Krrish Dholakia
1312eece6d fix(router.py): overloads for better router.acompletion typing 2024-05-13 14:27:16 -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
9d4b727913 fix - show team based spend reports 2024-05-13 13:56:48 -07:00
Krrish Dholakia
7fa203c810 docs(input.md): add mistral to input param docs 2024-05-13 13:50:49 -07:00