Commit graph

10374 commits

Author SHA1 Message Date
Ishaan Jaff
d08f59ae09 add redirect_ui_middleware 2024-08-06 18:01:23 -07:00
Ishaan Jaff
c11f575029
Merge pull request #5075 from BerriAI/litelm_use_file_checksum
[Feat] /audio/transcription use file checksum for cache key
2024-08-06 16:48:31 -07:00
Ishaan Jaff
237c3a0244
Merge pull request #5077 from BerriAI/litellm_fix_ui_emails
[Fix] Fix testing emails through Admin UI
2024-08-06 16:41:01 -07:00
Krrish Dholakia
907d83e5d9 fix(lakera_ai.py): fix hardcoded prompt_injection string in lakera integration 2024-08-06 16:12:54 -07:00
Ishaan Jaff
e5e5628fc8 update alerting settings on ui 2024-08-06 16:05:33 -07:00
Ishaan Jaff
1e90329c4b add error when trying to send emails 2024-08-06 16:03:20 -07:00
Ishaan Jaff
206acaae9e fix email health checks 2024-08-06 15:59:26 -07:00
Ishaan Jaff
7024fcacec add debug statements on docker 2024-08-06 15:29:49 -07:00
Krrish Dholakia
0e222cf76b feat(lakera_ai.py): support lakera custom thresholds + custom api base
Allows user to configure thresholds to trigger prompt injection rejections
2024-08-06 15:21:45 -07:00
Ishaan Jaff
aa06df4101 use file size _ name to get file check sum 2024-08-06 15:18:50 -07:00
Krish Dholakia
a17593dafb
Merge pull request #5071 from BerriAI/litellm_auth_restricted_domains
feat(proxy_server.py): allow restricting allowed email domains for UI
2024-08-06 14:18:57 -07:00
Ishaan Jaff
c19066e78e use file_checksum 2024-08-06 13:55:22 -07:00
Ishaan Jaff
467c506e33 caching use file_checksum 2024-08-06 13:03:14 -07:00
Krrish Dholakia
2abd4d5363 feat(proxy_server.py): allow restricting allowed email domains for the UI 2024-08-06 12:53:03 -07:00
Ishaan Jaff
645d3ae09d
Merge pull request #5062 from BerriAI/litellm_forward_headers
[Fix-Proxy] allow forwarding headers from request
2024-08-06 12:34:25 -07:00
Krrish Dholakia
834b437eb4 fix(utils.py): fix types 2024-08-06 12:23:22 -07:00
Ishaan Jaff
c277a71c1e init pass through endpoints 2024-08-06 12:04:04 -07:00
Ishaan Jaff
ee74d91de9
Merge pull request #5070 from BerriAI/litellm_add_new_gpt-4o
add OpenAI gpt-4o-2024-08-06
2024-08-06 11:39:32 -07:00
Ishaan Jaff
51ffbbb3fa fix pricing 2024-08-06 11:39:20 -07:00
Ishaan Jaff
79100e44fd add gpt-4o-2024-08-06 2024-08-06 11:37:43 -07:00
Krrish Dholakia
4d0c22f258 fix(encrypt_decrypt_utils.py): add helper line, explaining why there might be a key decryption error 2024-08-06 11:35:40 -07:00
Ishaan Jaff
bd1f323297 use helper to forward headers from request 2024-08-06 11:34:10 -07:00
Krrish Dholakia
34213edb91 fix(utils.py): fix dynamic api base 2024-08-06 11:27:39 -07:00
Ishaan Jaff
1ef814dc97 use prints 2024-08-06 11:07:12 -07:00
Krish Dholakia
036a6821d5
Merge pull request #5057 from BerriAI/litellm_rds_iam_auth
feat(proxy_cli.py): support iam-based auth to rds
2024-08-06 10:44:33 -07:00
Krish Dholakia
bf950926ad
Merge pull request #5061 from BerriAI/litellm_log_hidden_params_text_completion
fix(main.py): log hidden params for text completion calls
2024-08-06 10:39:42 -07:00
Krrish Dholakia
511f4d33d1 feat(utils.py): check env var for api base for openai-compatible endpoints
Closes https://github.com/BerriAI/litellm/issues/5066
2024-08-06 08:32:44 -07:00
Ishaan Jaff
63e853e161 ci/cd run again 2024-08-05 22:33:49 -07:00
Krrish Dholakia
4603eedcc1 fix: fix test 2024-08-05 22:20:33 -07:00
Krrish Dholakia
ea902f40de test(test_router_init.py): cleanup tests 2024-08-05 21:48:43 -07:00
Ishaan Jaff
d1b8c4e08d forward headers from request 2024-08-05 21:45:44 -07:00
Krrish Dholakia
ce39649b2a fix: fix test to specify allowed_fails 2024-08-05 21:39:59 -07:00
Krrish Dholakia
7bf1b4d661 fix(main.py): log hidden params for text completion calls 2024-08-05 21:26:48 -07:00
Ishaan Jaff
797a171962 ci/cd run again 2024-08-05 21:21:01 -07:00
Ishaan Jaff
0bf4554b80 fix test cache_key 2024-08-05 21:09:36 -07:00
Ishaan Jaff
5425861a54 fix cache_key check 2024-08-05 21:04:25 -07:00
Krrish Dholakia
f2fe887e73 fix(rds_iam_token.py): support sts based auth 2024-08-05 21:01:17 -07:00
Ishaan Jaff
d91b1c93d1 use safe init_verbose_loggers 2024-08-05 20:56:48 -07:00
Krrish Dholakia
818a70838d fix(user_api_key_auth.py): fix _get_user_role 2024-08-05 20:54:27 -07:00
Krish Dholakia
2f304c92e4
Merge pull request #5052 from BerriAI/litellm_stability_fixes
fix: bump default allowed_fails + reduce default db pool limit
2024-08-05 20:54:23 -07:00
Ishaan Jaff
764b1ed869
Merge pull request #5058 from BerriAI/litellm_add_debug_statements_connecting_prisma
Fix - add debug statements when connecting to prisma DB
2024-08-05 20:53:55 -07:00
Ishaan Jaff
da848696e3
Merge pull request #5059 from BerriAI/litelm_log_otel_args
OTEL - Log DB queries / functions on OTEL
2024-08-05 20:51:11 -07:00
Krrish Dholakia
e9df81ac19 test(test_key_generate_prisma.py): cleanup test 2024-08-05 20:29:53 -07:00
Ishaan Jaff
f55a0d98f3 otel log failures 2024-08-05 20:23:02 -07:00
Ishaan Jaff
6e4098fa26 otel log service errors 2024-08-05 20:21:26 -07:00
Ishaan Jaff
bec0350127 otel fix async_service_failure_hook 2024-08-05 20:18:40 -07:00
Ishaan Jaff
107c468d05 run ci/cd again 2024-08-05 20:04:19 -07:00
Ishaan Jaff
8d91112726 log event_metadata on otel 2024-08-05 20:03:34 -07:00
Ishaan Jaff
05a2a4462e otel log event_metadata 2024-08-05 20:01:58 -07:00
Ishaan Jaff
09105277cd use otel callbacks 2024-08-05 20:00:06 -07:00