Commit graph

13258 commits

Author SHA1 Message Date
Ishaan Jaff
2f9aa308f1 fix - remove deprecated clickhouse utils 2024-06-15 15:33:26 -07:00
Krish Dholakia
f2b3770869
Merge pull request #4216 from BerriAI/litellm_refactor_logging
refactor(utils.py): Cut down utils.py to <10k lines.
2024-06-15 15:19:42 -07:00
Ishaan Jaff
0865e26bc0 docs - fix build time errors 2024-06-15 15:11:10 -07:00
Ishaan Jaff
69a20c94fd docs - fix doc build time errors 2024-06-15 14:58:02 -07:00
Krrish Dholakia
ffa546d649 docs(utils.py): add comments explaining utils vs. core utils 2024-06-15 14:50:05 -07:00
Krrish Dholakia
6a0b71c1eb test(test_utils.py): fix import 2024-06-15 14:47:46 -07:00
Ishaan Jaff
3a35657420
Merge pull request #4211 from BerriAI/litellm_fix_anthropic_cache_httpclient
[Reliability Fix] Anthropic / Bedrock HTTPX -  Cache Async Httpx client
2024-06-15 14:36:41 -07:00
Ishaan Jaff
1806be559d doc fix 2024-06-15 14:22:32 -07:00
Krrish Dholakia
3f9811c6a9 test(test_completion_cost.py): fix import 2024-06-15 12:08:49 -07:00
Krrish Dholakia
af88e55d46 fix(utils.py): move 'set_callbacks' to litellm_logging.py 2024-06-15 12:02:30 -07:00
Ishaan Jaff
eeb7111855
Merge pull request #4215 from BerriAI/litellm_refactor_proxy
[Refactor-Proxy] Refactor user_api_key_auth to be it's own file
2024-06-15 11:42:25 -07:00
Krrish Dholakia
115adc7c30 fix(init.py): fix imports 2024-06-15 11:31:09 -07:00
Krrish Dholakia
c08e3b62dc fix(litellm_logging.py): fix import 2024-06-15 11:17:39 -07:00
Krrish Dholakia
d7bed031bc fix(types/utils.py): fix import 2024-06-15 11:04:15 -07:00
Krrish Dholakia
478d8c8200 build(poetry.lock): updating poetry.lock 2024-06-15 11:03:16 -07:00
Krrish Dholakia
4f91205530 refactor(utils.py): refactor Logging to it's own class. Cut down utils.py to <10k lines.
Easier debugging

 Reference: https://github.com/BerriAI/litellm/issues/4206
2024-06-15 10:57:20 -07:00
Ishaan Jaff
94aa6ec543 test fix _get_bearer_token 2024-06-15 10:51:44 -07:00
Ishaan Jaff
5cb8c0557e test fix key gen prisma 2024-06-15 10:49:14 -07:00
Ishaan Jaff
35710be7c3 test - fixes 2024-06-15 10:40:02 -07:00
Ishaan Jaff
da3ae00bd6 fix - proxy refactor user_api_key_auth 2024-06-15 10:33:58 -07:00
Ishaan Jaff
40155ade0c test commit 2024-06-15 09:39:00 -07:00
Krrish Dholakia
290bcc09e0 refactor(check_file_length.py): add local pre-commit check for file length 2024-06-15 09:18:53 -07:00
Ishaan Jaff
54cf065048
Merge pull request #3116 from bcvanmeurs/patch-2
fix(build): .dockerignore not picked up
2024-06-15 09:15:01 -07:00
Ishaan Jaff
8c5d7f7028
Merge pull request #4131 from BerriAI/dependabot/npm_and_yarn/ui/litellm-dashboard/braces-3.0.3
build(deps): bump braces from 3.0.2 to 3.0.3 in /ui/litellm-dashboard
2024-06-15 09:13:21 -07:00
Ishaan Jaff
0510a95732
Merge pull request #4130 from BerriAI/dependabot/pip/azure-identity-1.16.1
build(deps): bump azure-identity from 1.15.0 to 1.16.1
2024-06-15 09:12:59 -07:00
Ishaan Jaff
6cc8cc7004
Merge pull request #4213 from BerriAI/litellm_security_fix
[Fix] Security Fix bump docusaurus version
2024-06-15 09:12:30 -07:00
Ishaan Jaff
4500bbfe1d bump docusaurus version 2024-06-15 09:11:39 -07:00
Krrish Dholakia
8247f7fc51 docs(reliability.md): add content policy fallback docs to proxy 2024-06-14 22:04:11 -07:00
Krrish Dholakia
dca23aaa3e docs(routing.md): improve docs 2024-06-14 21:55:27 -07:00
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
2c499fbd64 ci/cd run again 2024-06-14 21:37:35 -07:00
Ishaan Jaff
89a43c872a ci/cd run again 2024-06-14 21:31:24 -07:00
Ishaan Jaff
38995def54 refactor to use _get_async_httpx_client 2024-06-14 21:30:42 -07:00
Ishaan Jaff
5ea6fbbe1e fix cached httpx client 2024-06-14 21:23:13 -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
ec095a814d fix async client 2024-06-14 21:12:32 -07:00
Ishaan Jaff
0e69a81842 cache anthropic httpx client 2024-06-14 20:55:40 -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