Commit graph

632 commits

Author SHA1 Message Date
Krrish Dholakia
c2813594ea fix(proxy/utils.py): fix isoformat to string logic 2024-01-18 09:32:30 -08:00
Krrish Dholakia
1365e9d3ae fix(proxy/utils.py): prisma client fix get data to handle list return 2024-01-18 07:49:13 -08:00
ishaan-jaff
4f503dc736 (test) use os.environ/ for azure vision enhance 2024-01-17 21:26:47 -08:00
ishaan-jaff
9cf86a04a5 (docs) also test gpt-4 vision enhancements 2024-01-17 18:46:41 -08:00
Krish Dholakia
05682f6eb4 Merge pull request #1483 from BerriAI/litellm_model_access_groups_feature
feat(proxy_server.py): support model access groups
2024-01-17 18:16:53 -08:00
ishaan-jaff
622251ab8d (fix) cleanup 2024-01-17 17:54:18 -08:00
ishaan-jaff
85dc671647 (feat) proxy - set endpoint called in callback 2024-01-17 17:44:28 -08:00
Krrish Dholakia
3bdfb2bc6d fix(proxy_cli.py): ensure proxy always retries if db push fails to connect to db 2024-01-17 17:37:59 -08:00
Krrish Dholakia
7a80df83b2 fix(proxy_server.py): handle empty insert_data response 2024-01-17 17:28:23 -08:00
ishaan-jaff
dda4ef58f9 (feat) proxy - log key metadata in calback 2024-01-17 16:42:49 -08:00
Krrish Dholakia
5242200243 feat(proxy_server.py): support model access groups 2024-01-17 15:45:31 -08:00
ishaan-jaff
d947929b18 (docs) add doc string for /key/delete 2024-01-17 15:27:48 -08:00
ishaan-jaff
e5c2193d7c (fix) /key/delete 2024-01-17 14:54:29 -08:00
ishaan-jaff
20eaea951f (test) expired key prisma 2024-01-17 13:24:15 -08:00
ishaan-jaff
32cc9b1559 (fix) prisma - non expiring keys 2024-01-17 12:56:26 -08:00
ishaan-jaff
dfef9c2986 (feat) improve Prisma Auth Error 2024-01-17 11:57:48 -08:00
ishaan-jaff
1af44af91f (v0) fix 2024-01-16 20:44:00 -08:00
ishaan-jaff
0011f9efa1 (ci/cd) undo change from PR 1464 2024-01-16 19:53:43 -08:00
ishaan-jaff
57af57d4e9 (fix) when budget, spend is None comparison 2024-01-16 17:35:39 -08:00
ishaan-jaff
a05857734d (fix) proxy, dynamo - allow users to set ssl_verify False 2024-01-16 16:13:55 -08:00
ishaan-jaff
ed93164e92 (ci/cd) fixes 2024-01-16 16:03:42 -08:00
ishaan-jaff
cf4128dded (temp) undo ssl_verify=False change 2024-01-16 15:56:21 -08:00
ishaan-jaff
772547d625 (fix) proxy check expires time 2024-01-16 15:38:58 -08:00
ishaan-jaff
e8da289599 (fix) reject Auth if user crosses budget 2024-01-16 14:58:00 -08:00
ishaan-jaff
9bb5061815 (fix) check if budget crossed for api_key 2024-01-16 14:20:19 -08:00
ishaan-jaff
e1c4d3f41d (fix) improve unauthorized error message 2024-01-16 14:04:26 -08:00
ishaan-jaff
8f047df13f (fix) proxy - improve invalid models exception msg 2024-01-16 14:01:01 -08:00
ishaan-jaff
b09c982008 (feat) proxy - auth - raise Value Error when master key is None 2024-01-16 13:27:50 -08:00
ishaan-jaff
e550a4b750 (temp) ssl_verify=False for dynamo 2024-01-16 12:24:40 -08:00
ishaan-jaff
b01321cdc7 (feat) use env variables to set host, port, num_workers 2024-01-16 08:36:29 -08:00
ishaan-jaff
1ff697af3e (feat) print num_workers when starting prox 2024-01-16 08:21:37 -08:00
ishaan-jaff
b3de8e8fa2 v0 num_workers 2024-01-16 08:15:12 -08:00
ishaan-jaff
ae99784aee (fix) proxy:sagemaker, bedrock fix - num_retries=0 2024-01-15 21:18:49 -08:00
ishaan-jaff
a80a2acb06 (docs) add example post call rules to proxy 2024-01-15 20:58:50 -08:00
ishaan-jaff
fc4b5387f1 Revert "Revert "(fix) proxy only import dynamo_db when it's being used""
This reverts commit 8cce2f28ca.
2024-01-15 16:57:36 -08:00
ishaan-jaff
fd997d2f09 Revert "Revert "(fix) dynamoDB import issues""
This reverts commit 6181b95ab3.
2024-01-15 16:48:10 -08:00
ishaan-jaff
becbe177e7 Revert "(fix) proxy only import dynamo_db when it's being used"
This reverts commit 8d3ca785ae.
2024-01-15 14:20:29 -08:00
ishaan-jaff
2194b2fef1 Revert "(fix) dynamoDB import issues"
This reverts commit b931841e60.
2024-01-15 12:04:13 -08:00
ishaan-jaff
ed2287e966 (fix) proxy + dynamo - add some debugging 2024-01-15 12:03:10 -08:00
ishaan-jaff
ebf7168af8 (feat) proxy use ProxyException clas 2024-01-15 10:45:39 -08:00
ishaan-jaff
936df75a1a (test) proxy - add openai exception mapping error 2024-01-15 09:56:20 -08:00
ishaan-jaff
b4218439a5 (test) proxy - add JS OpenAI test 2024-01-15 09:53:57 -08:00
ishaan-jaff
04db5b7bbf (feat) proxy - introduce OpenAIException class 2024-01-15 09:52:23 -08:00
ishaan-jaff
c6c5bb959e (fix) run prisma_setup on startup event 2024-01-13 12:06:23 -08:00
ishaan-jaff
1b696c4129 (fix) proxy only import dynamo_db when it's being used 2024-01-13 11:43:50 -08:00
ishaan-jaff
a3d84ad2e3 (fix) dynamoDB import issues 2024-01-13 11:38:42 -08:00
ishaan-jaff
4a7f42cb73 (fix) gunicorn - show request logs like uvicorn 2024-01-13 11:22:16 -08:00
Krrish Dholakia
61cbac6b4f fix(proxy_cli.py): only run prisma db push if prisma in environment 2024-01-13 19:44:12 +05:30
Krrish Dholakia
ae74c52a33 Merge branch 'litellm_dynamo_db_keys' 2024-01-13 18:38:43 +05:30
Krrish Dholakia
57198db38e fix(dynamo_db.py): allow user to specify table names 2024-01-13 18:35:19 +05:30