Commit graph

11603 commits

Author SHA1 Message Date
Krrish Dholakia
f41b2a09a4 fix(utils.py): fix python 3.8 linting error 2024-05-14 11:25:36 -07:00
Krrish Dholakia
151902f7d9 fix(router.py): error string fix 2024-05-14 11:20:57 -07:00
Krrish Dholakia
7557b3e2ff fix(init.py): set 'default_fallbacks' as a litellm_setting 2024-05-14 11:15:53 -07:00
Ishaan Jaff
7e56e27226 fix security for global_spend_reset 2024-05-14 11:04:50 -07:00
alisalim17
ed7c9e4e87 refactor: logging class to use continue instead of break for streaming logging 2024-05-14 21:21:21 +04:00
alisalim17
68637997c7 chore: fix typo 2024-05-14 21:18:00 +04:00
Ishaan Jaff
0c8f5e5649
Merge pull request #3266 from antonioloison/litellm_add_disk_cache
[Feature] Add cache to disk
2024-05-14 09:24:01 -07:00
Ishaan Jaff
c4dab4e735 docs - alerting test /health/services 2024-05-14 07:47:33 -07:00
alisalim17
18bf68298f Merge remote-tracking branch 'upstream/main' 2024-05-14 18:42:20 +04:00
Anand Taralika
bd2e4cdfe0 Fixed the test alert sequence
Also fixed the issue that MagicMock does not create asynchronous mocks by default.
2024-05-13 22:43:12 -07:00
Krish Dholakia
901254d31e
Merge pull request #3594 from rkataria1000/duplicate_code
Duplicate code
2024-05-13 22:02:50 -07:00
Krish Dholakia
e9d379446d
Merge pull request #3622 from msabramo/abramowi/customizable-slack-report-frequency
Add ability to customize slack report frequency
2024-05-13 22:01:37 -07:00
Krish Dholakia
f282dfc157
Merge branch 'main' into abramowi/customizable-slack-report-frequency 2024-05-13 22:01:21 -07:00
Krish Dholakia
2c867ea9a5
Merge pull request #3600 from msabramo/msabramo/fix-pydantic-warnings
Update pydantic code to fix warnings
2024-05-13 22:00:39 -07:00
Krish Dholakia
5b390b6512
Merge pull request #3602 from msabramo/msabramo/fix_pkg_resources_warning
Fix `pkg_resources` warning
2024-05-13 21:59:52 -07:00
Anand Taralika
3b0c7d2321
Merge branch 'BerriAI:main' into patch-1 2024-05-13 21:31:00 -07:00
Ishaan Jaff
fde1029423 docs - slack alerting 2024-05-13 21:30:16 -07:00
Anand Taralika
30332a6d68
Added tests for ignoring 0 metrics when alerting 2024-05-13 21:29:52 -07:00
Krrish Dholakia
22b9933096 docs(routing.md): add default_fallbacks to routing.md docs 2024-05-13 21:28:15 -07:00
Krrish Dholakia
a1536846fe docs(openai.md): add gpt-4o example 2024-05-13 21:19:09 -07:00
Ishaan Jaff
ffc637969b (ci/cd) run again 2024-05-13 21:07:12 -07:00
Marc Abramowitz
4645451140 Add info about daily reports to alerting.md 2024-05-13 21:05:59 -07:00
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