Commit graph

11876 commits

Author SHA1 Message Date
Krrish Dholakia
b984fba73f fix(types/router.py): fix arbitrary_types_allowed flag 2024-05-14 16:53:02 -07:00
Krrish Dholakia
e5a1050e8d fix(types/router.py): fix router pydantic v1 errors 2024-05-14 16:49:55 -07:00
Krrish Dholakia
2b41f09268 fix(utils.py): add lru-cache logic to _select_tokenizer
speed up tokenizer load times
2024-05-14 16:39:50 -07:00
Krrish Dholakia
811406a2c6 fix(types/completion.py): fix completion configdict pydantic v1 error 2024-05-14 16:39:50 -07:00
Ishaan Jaff
c503c471dc fix - cost tracking api 2024-05-14 16:15:40 -07:00
Ishaan Jaff
798ef0706a
Merge pull request #3634 from BerriAI/docs_discord_alerting
docs - use discord alerting
2024-05-14 14:43:44 -07:00
Ishaan Jaff
a714086461 docs - use discord alerting 2024-05-14 14:43:21 -07:00
Krrish Dholakia
c80efb856b fix(types/completion.py): linting fixes 2024-05-14 13:19:38 -07:00
Ishaan Jaff
aa1615c757
Merge pull request #3626 from BerriAI/litellm_reset_spend_per_team_api_key
feat - reset spend per team, api_key [Only Master Key]
2024-05-14 11:49:07 -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
Ishaan Jaff
fe1f5369ab docs - global/spend/reset 2024-05-14 11:47:43 -07:00
Ishaan Jaff
787c02c8db fix - return success spend reset 2024-05-14 11:38:39 -07:00
Krrish Dholakia
4f3c7752f9 ci: test linting change for pydantic v1 2024-05-14 11:34:16 -07:00
Krish Dholakia
e1d65366b8
Merge pull request #3444 from elisalimli/main
Logfire Integration
2024-05-14 11:33:48 -07:00
alisalim17
765c382b2a Merge remote-tracking branch 'upstream/main' 2024-05-14 22:32:57 +04:00
Ishaan Jaff
ca41e6590e test - auth on /reset/spend 2024-05-14 11:28:35 -07:00
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