Commit graph

1866 commits

Author SHA1 Message Date
ishaan-jaff
d6d5a42115 (feat) cache+proxy - set os.environ/ on proxy config 2024-01-06 15:54:16 +05:30
Krrish Dholakia
40187ed52a build(Dockerfile): moves prisma logic to dockerfile 2024-01-06 14:59:10 +05:30
ishaan-jaff
4a195f09f6 (fix) undo changes that led were trying to control prisma connections 2024-01-06 14:32:40 +05:30
Krrish Dholakia
f526340a5e docs: fix pip install litellm[proxy] instruction 2024-01-06 13:49:15 +05:30
ishaan-jaff
973f418178 Revert "build(Dockerfile): move prisma build to dockerfile"
This reverts commit 2741835605.
2024-01-06 09:51:44 +05:30
ishaan-jaff
b518c5edd9 (ci/cd) add print_verbose for /key/generate 2024-01-05 22:38:46 +05:30
Krrish Dholakia
04dfde3fe5 build(Dockerfile): move prisma build to dockerfile
Seems to solve - https://github.com/BerriAI/litellm/issues/1321
2024-01-05 19:03:41 +05:30
ishaan-jaff
90042ad8ee (fix) reading cache params on proxy 2024-01-05 13:36:48 +05:30
Krrish Dholakia
f3163d287c fix(proxy_server.py): fix prisma client connection error 2024-01-04 18:28:18 +05:30
Krrish Dholakia
ee3f33ca00 fix(proxy_server.py): enable sending test connections when slack alerting added to proxy via ui 2024-01-04 17:00:07 +05:30
Krrish Dholakia
1fb856d3f4 fix(proxy_server.py): update proxy with full model list 2024-01-04 15:56:16 +05:30
Krrish Dholakia
5aecbced99 feat(proxy_server.py): abstract config update/writing and support persisting config in db
allows user to opt into writing to db (SAVE_CONFIG_TO_DB) and removes any api keys before sending to db

 https://github.com/BerriAI/litellm/issues/1322
2024-01-04 14:44:59 +05:30
ishaan-jaff
7a11f5dbba (docs) use s3 Cache on litellm proxy 2024-01-03 17:56:44 +05:30
Krrish Dholakia
e898f3e49c fix(proxy/utils.py): don't keep connecting to db if connection already established 2024-01-03 17:43:44 +05:30
Krrish Dholakia
36c903399d feat(proxy_server.py): allow admins to update config via /config/update endpoint 2024-01-03 17:18:33 +05:30
Krrish Dholakia
84c511ade2 fix(proxy_server.py): fix master key reset, to preserve key from env 2024-01-03 16:10:10 +05:30
Krrish Dholakia
350ff5c870 fix(proxy_server.py): reject bad /model/new POST requests 2024-01-03 15:54:58 +05:30
Krrish Dholakia
687feee520 fix(proxy_server.py): handle base case for /model/info 2024-01-03 15:33:29 +05:30
Krrish Dholakia
c998de0cde fix(proxy_server.py): add support for setting master key via .env 2024-01-03 15:10:25 +05:30
Krrish Dholakia
1e3e130479 refactor(proxy_server.py): more debug statements 2024-01-03 13:59:41 +05:30
Krrish Dholakia
c7688a56ed fix(proxy_server.py): add alerting for responses taking too long
https://github.com/BerriAI/litellm/issues/1298
2024-01-03 11:18:21 +05:30
Krrish Dholakia
901b343519 fix(proxy_server.py): support smtp email auth
previously was a hard resend package dependency. removed in favor of allowing any smtp server connection (including resend)
2024-01-02 22:22:19 +05:30
Ased Mammad
a0611430dd fix(proxy_server.py) Check when '_hidden_params' is None 2024-01-02 19:04:51 +03:30
Krrish Dholakia
5f5a6eb7bc feat(proxy_server.py): add slack alerting to proxy server
add alerting for calls hanging, failing and db read/writes failing

https://github.com/BerriAI/litellm/issues/1298
2024-01-02 17:45:18 +05:30
ishaan-jaff
7d9ff31a95 (feat) proxy swagger - make admin link clickable 2024-01-02 17:04:32 +05:30
ishaan-jaff
e1c121737c (feat) use - user router for aembedding 2024-01-02 12:27:08 +05:30
ishaan-jaff
dc5984c41d (feat) proxy - use user_config for /chat/compeltions 2024-01-02 12:10:34 +05:30
Krrish Dholakia
4c4e8d0290 build(user.py): fix page param read issue 2024-01-01 17:25:52 +05:30
Krrish Dholakia
81bb382f98 fix(proxy_server.py): enabling user auth via ui
https://github.com/BerriAI/litellm/issues/1231
2024-01-01 17:14:24 +05:30
Krrish Dholakia
dcfcf99d63 fix(proxy_server.py): check if user email in user db 2024-01-01 14:19:59 +05:30
ishaan-jaff
e599c1655f (feat) proxy - only use print_verbose 2024-01-01 13:52:11 +05:30
Krrish Dholakia
b9e6379977 feat(proxy_server.py): introduces new /user/auth endpoint for handling user email auth
decouples streamlit ui from proxy server. this then requires the proxy to handle user auth separately.
2024-01-01 13:44:47 +05:30
ishaan-jaff
829fd5868f (feat) proxy - remove streamlit ui on startup 2024-01-01 12:54:23 +05:30
ishaan-jaff
869bac5f9d (fix) proxy - remove extra print statemet 2024-01-01 10:52:09 +05:30
ishaan-jaff
f1c68e06fa (fix) proxy - remove errant print statement 2024-01-01 10:48:12 +05:30
Krrish Dholakia
e7fec954c6 fix(proxy_server.py): router model group alias routing
check model alias group routing before specific deployment routing, to deal with an alias being the same as a deployment name (e.g. gpt-3.5-turbo)

n
2023-12-30 17:55:24 +05:30
Krrish Dholakia
e1925d0e29 fix(router.py): support retry and fallbacks for atext_completion 2023-12-30 11:19:32 +05:30
Krrish Dholakia
8188475c16 feat(admin_ui.py): support creating keys on admin ui 2023-12-28 16:59:11 +05:30
Krrish Dholakia
1a7a7b0cc1 refactor(proxy_server.py): make print statements into print_verbose 2023-12-28 15:08:23 +05:30
Krrish Dholakia
f3846d4c30 refactor(proxy_server.py): move admin ui to be locally hosted within proxy 2023-12-28 15:06:32 +05:30
ishaan-jaff
cc1133d0cb (docs) proxy - swagger docs, add tags for model/info 2023-12-28 13:13:04 +05:30
Krrish Dholakia
b20bbaf96d fix(proxy_server.py): return [DONE] end of stream chunk 2023-12-28 11:30:49 +05:30
Krrish Dholakia
2285282ef8 feat(health_check.py): more detailed health check calls 2023-12-28 09:12:57 +05:30
ishaan-jaff
eba2969bff (fix) proxy - remove bloat - deprecated log_input_output 2023-12-27 17:36:53 +05:30
ishaan-jaff
636920c128 (feat) proxy remove appdirs as a dep 2023-12-27 17:33:47 +05:30
ishaan-jaff
2988cb0292 (feat) proxy - remove subprocess install 2023-12-27 17:28:03 +05:30
Krrish Dholakia
85549c3d66 fix(google_kms.py): support enums for key management system 2023-12-27 13:19:33 +05:30
Krrish Dholakia
6bd6d68990 feat(proxy_server.py): support maxage cache control 2023-12-26 17:50:27 +05:30
Krrish Dholakia
6f695838e5 feat(utils.py): support google kms for secret management
https://github.com/BerriAI/litellm/issues/1235
2023-12-26 15:39:40 +05:30
Krrish Dholakia
8f3732eeeb docs(user_keys.md): docs on passing user keys to litellm proxy 2023-12-26 13:55:28 +05:30