Commit graph

1350 commits

Author SHA1 Message Date
Krrish Dholakia
f9a9556f6c test(test_models.py): assert model id in db is the model id passed in 2024-04-15 17:37:45 -07:00
Ishaan Jaff
45b7eb9ef5 fix /key/delete bug 2024-04-15 16:54:05 -07:00
Ishaan Jaff
004833e862 feat - improve error messages on key/delete 2024-04-15 16:48:34 -07:00
Ishaan Jaff
4f29b126ac fix - deleting keys on Admin UI 2024-04-15 16:45:14 -07:00
Krish Dholakia
14d5ee2f36
Merge pull request #3015 from zJuuu/model-id-as-key
[Fix] Set model_id in db on model creation + modal on model deletion
2024-04-15 16:43:51 -07:00
Krrish Dholakia
e4bcc51e44 build(ui): add vertex ai models via ui 2024-04-15 15:59:36 -07:00
Krish Dholakia
a4a21aff41
Merge pull request #3034 from BerriAI/litellm_team_table_fix
fix(proxy_server.py): fix /team/update endpoint
2024-04-15 14:40:12 -07:00
Ishaan Jaff
adae555fb1
Merge branch 'main' into litellm_fix_using_wildcard_openai_models_proxy 2024-04-15 14:35:06 -07:00
Ishaan Jaff
020fb54ea7 fix using wildcard models on proxy 2024-04-15 14:04:37 -07:00
Ishaan Jaff
4c5bf508fc
Merge pull request #3041 from BerriAI/docs_add_team_based_langfuse
Docs -  add team based logging langfuse on langfuse proxy docs
2024-04-15 14:01:09 -07:00
Ishaan Jaff
ecc6aa060f test - team based logging on proxy 2024-04-15 13:26:55 -07:00
Krrish Dholakia
8a32d8825c fix(proxy_server.py): fix /team/update endpoint
this also removes the functionality for modifying membership via `/team/update`. This is not considered a breaking change, as we've been pointing to usage of `/team/member_add` and `/team/member_delete` for this. Previous behaviour for this endpoint was causing it to be non-functional. If you're impacted, please let us know.
2024-04-15 10:29:21 -07:00
Krrish Dholakia
43c37c31ea fix(proxy_server.py): return none if no model list set in router
https://github.com/BerriAI/litellm/issues/2979
2024-04-15 09:02:18 -07:00
zJ
04f6342589
Merge branch 'BerriAI:main' into model-id-as-key 2024-04-14 02:58:23 +02:00
zJ
aff8e6a97a
Merge branch 'BerriAI:main' into model-id-as-key 2024-04-14 02:47:15 +02:00
Ishaan Jaff
11d1a0fd95 test - slack alerting 2024-04-13 17:44:57 -07:00
Ishaan Jaff
f2c6f1d837 ui - edit slack alerting settings 2024-04-13 17:31:13 -07:00
Ishaan Jaff
451b1a5fe0 fix - instantly propogate langfuse callback shange 2024-04-13 17:17:07 -07:00
Ishaan Jaff
48069b4e23 fix - test langfuse callbacks 2024-04-13 16:28:46 -07:00
Ishaan Jaff
39ed7dfa5d fix return service config to get/config/callbacks 2024-04-13 14:34:51 -07:00
Ishaan Jaff
885ae139b8 fix - testing lagfuse service 2024-04-13 13:44:17 -07:00
Ishaan Jaff
ffb1393b94 feat - test langfuse /health/service 2024-04-13 13:42:49 -07:00
Ishaan Jaff
28cc9a11c4 feat - load proxy models on proxy startup events 2024-04-13 13:28:58 -07:00
zJ
a5153377a0 set model_id in db correctly on add 2024-04-13 19:23:14 +02:00
Krish Dholakia
fd7760d3db
Merge pull request #2996 from BerriAI/litellm_semaphores
fix(router.py): initial commit for semaphores on router
2024-04-12 23:23:36 -07:00
Ishaan Jaff
081adf87e3 fix - proxy /health checks 2024-04-12 20:30:15 -07:00
Ishaan Jaff
91d89a7b9b fix - use copy.deepcopy on /model/info endpoints 2024-04-12 20:17:11 -07:00
Krrish Dholakia
a4e415b23c fix(router.py): initial commit for semaphores on router 2024-04-12 17:59:05 -07:00
Krrish Dholakia
f4c7f4f901 fix(proxy_server.py): support tracking org spend
currently works when org set for jwt auth
2024-04-11 23:01:21 -07:00
Krish Dholakia
d89644d46c
Merge pull request #2970 from BerriAI/litellm_keys
fix(handle_jwt.py): User cost tracking via JWT Auth
2024-04-11 21:44:15 -07:00
Krrish Dholakia
77097f8e7d test(test_jwt.py): add testing to make sure user api key auth returns the expected values 2024-04-11 20:18:55 -07:00
Krrish Dholakia
36ff593c02 feat(proxy_server.py): support cost tracking on user id via JWT-Auth
allows admin to track cost for LiteLLM_UserTable via JWT
2024-04-11 18:47:46 -07:00
Ishaan Jaff
beabec620e fix - delete updated keys from cache 2024-04-11 17:21:44 -07:00
Ishaan Jaff
68e0c93246 fix - better debugging for adding new models 2024-04-11 14:49:00 -07:00
Ishaan Jaff
fc832f2196 fix - issue when loading models through ui 2024-04-11 13:06:10 -07:00
Ishaan Jaff
7cb40d3b35 UI - add /fallback/login route 2024-04-11 11:20:41 -07:00
Ishaan Jaff
96cd038a73 security fix - disable demo accounts 2024-04-11 07:40:34 -07:00
Krish Dholakia
6749306239
Merge pull request #2945 from ushuz/hotfix
Fix image generation pre call hook call type
2024-04-10 21:53:00 -07:00
Krish Dholakia
83e7ed94ce
Merge pull request #2942 from BerriAI/litellm_fix_router_loading
Router Async Improvements
2024-04-10 20:16:53 -07:00
Ishaan Jaff
e90645bd5d fix - setting env vars on proxy 2024-04-10 17:50:28 -07:00
John HU
c9b05828ff Fix image generation pre call hook call type 2024-04-11 00:18:35 +00:00
Ishaan Jaff
c86213ac98 fix - error on setting env vars 2024-04-10 14:15:40 -07:00
Ishaan Jaff
f6fc21e917 fix- user not allowed to access key info 2024-04-10 14:01:03 -07:00
Ishaan Jaff
195840b761 fix - error user not allowed to access info 2024-04-10 13:34:22 -07:00
Krrish Dholakia
b2741933dc fix(proxy_cli.py): don't double load the router config
was causing callbacks to be instantiated twice - double couting usage in cache
2024-04-10 13:23:56 -07:00
Ishaan Jaff
25347b1f6f feat - set env vars on proxy 2024-04-10 11:44:27 -07:00
Krrish Dholakia
8857c9b978 test(test_key_generate_prisma.py): add better unit testing for spend logs on proxy server 2024-04-09 17:58:18 -07:00
Krrish Dholakia
28940c3b71 fix(proxy_server.py): fixes logging to spend logs db url 2024-04-09 17:38:48 -07:00
Krrish Dholakia
dbbf605653 fix(proxy_server.py): fix sso callback check to work for user email 2024-04-09 14:50:39 -07:00
Krrish Dholakia
df62f931e7 fix(proxy_server.py): allow 'upperbound_key_generate' params to be set via 'os.environ/' 2024-04-09 07:48:29 -07:00