Commit graph

13258 commits

Author SHA1 Message Date
Ishaan Jaff
39ca66f46d fix - remove deprecated clickhouse utils 2024-06-15 15:33:26 -07:00
Krish Dholakia
fa2d8bc794 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
42f6632e9f docs - fix build time errors 2024-06-15 15:11:10 -07:00
Ishaan Jaff
e39c35ce9d docs - fix doc build time errors 2024-06-15 14:58:02 -07:00
Krrish Dholakia
d1ab1c890b docs(utils.py): add comments explaining utils vs. core utils 2024-06-15 14:50:05 -07:00
Krrish Dholakia
bd05a0ca36 test(test_utils.py): fix import 2024-06-15 14:47:46 -07:00
Ishaan Jaff
873c6534d8 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
03ca7ec266 doc fix 2024-06-15 14:22:32 -07:00
Krrish Dholakia
966f9ebc6a test(test_completion_cost.py): fix import 2024-06-15 12:08:49 -07:00
Krrish Dholakia
019533d815 fix(utils.py): move 'set_callbacks' to litellm_logging.py 2024-06-15 12:02:30 -07:00
Ishaan Jaff
e5544e1209 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
7de77ab677 fix(init.py): fix imports 2024-06-15 11:31:09 -07:00
Krrish Dholakia
95aa27c10e fix(litellm_logging.py): fix import 2024-06-15 11:17:39 -07:00
Krrish Dholakia
8f07399c57 fix(types/utils.py): fix import 2024-06-15 11:04:15 -07:00
Krrish Dholakia
6329f0c0bb build(poetry.lock): updating poetry.lock 2024-06-15 11:03:16 -07:00
Krrish Dholakia
9d7f5d503c 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
b0b9bb9906 test fix _get_bearer_token 2024-06-15 10:51:44 -07:00
Ishaan Jaff
5b6f22b5dd test fix key gen prisma 2024-06-15 10:49:14 -07:00
Ishaan Jaff
ed273ef4f0 test - fixes 2024-06-15 10:40:02 -07:00
Ishaan Jaff
4bc2bfb176 fix - proxy refactor user_api_key_auth 2024-06-15 10:33:58 -07:00
Ishaan Jaff
cfa5e8cfd8 test commit 2024-06-15 09:39:00 -07:00
Krrish Dholakia
40efbc6c37 refactor(check_file_length.py): add local pre-commit check for file length 2024-06-15 09:18:53 -07:00
Ishaan Jaff
2e0c7600b3 Merge pull request #3116 from bcvanmeurs/patch-2
fix(build): .dockerignore not picked up
2024-06-15 09:15:01 -07:00
Ishaan Jaff
e44a40bc38 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
e25e323e3a 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
29998245eb 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
0515dfdb1c bump docusaurus version 2024-06-15 09:11:39 -07:00
Krrish Dholakia
9982865d22 docs(reliability.md): add content policy fallback docs to proxy 2024-06-14 22:04:11 -07:00
Krrish Dholakia
e9d294742f docs(routing.md): improve docs 2024-06-14 21:55:27 -07:00
Krrish Dholakia
b4be0426d4 docs(routing.md): update routing fallback docs with proxy examples 2024-06-14 21:53:45 -07:00
Ishaan Jaff
8d35286639 docs emails 2024-06-14 21:49:45 -07:00
Krrish Dholakia
2c1fa8f263 docs(routing.md): add content policy fallbacks to docs 2024-06-14 21:47:55 -07:00
Ishaan Jaff
3325f6ec2e ci/cd run again 2024-06-14 21:37:35 -07:00
Ishaan Jaff
97aebaeb9a ci/cd run again 2024-06-14 21:31:24 -07:00
Ishaan Jaff
113b7e34ce refactor to use _get_async_httpx_client 2024-06-14 21:30:42 -07:00
Ishaan Jaff
8669a0e0be fix cached httpx client 2024-06-14 21:23:13 -07:00
Krrish Dholakia
ffe04e129d 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
6c6c718997 fix - result 2024-06-14 21:15:49 -07:00
Ishaan Jaff
d19efd62cf fix async client 2024-06-14 21:12:32 -07:00
Ishaan Jaff
56cd405972 cache anthropic httpx client 2024-06-14 20:55:40 -07:00
Ishaan Jaff
f3d3a54f4c bump: version 1.40.13 → 1.40.14 2024-06-14 20:45:26 -07:00
Ishaan Jaff
d4f45bd155 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
91eafc8827 ui - new build 2024-06-14 20:33:02 -07:00
Ishaan Jaff
8988b2e909 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
b5aa1ced06 fix redact_message_input_output_from_logging 2024-06-14 20:23:10 -07:00
Ishaan Jaff
f16a9a6d92 fix send emails to team members 2024-06-14 20:11:16 -07:00
Ishaan Jaff
c0dd9d275d fix - send emails on crossing team budget 2024-06-14 19:48:22 -07:00
Krish Dholakia
74c321fb45 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
9e280ba235 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
f012212326 docs(alerting.md): add alerting metadata to docs 2024-06-14 19:04:16 -07:00