Commit graph

905 commits

Author SHA1 Message Date
ishaan-jaff
ebb221f743 (fix) ui - don't fail when no DB connected 2024-02-02 20:17:26 -08:00
ishaan-jaff
ed048fb822 (ui) update ui build 2024-02-02 20:08:49 -08:00
ishaan-jaff
cfec3c611e (fix) improve proxy api_key caching 2024-02-02 19:59:13 -08:00
ishaan-jaff
42fcce4645 (fix) /key/info test 2024-02-02 19:22:55 -08:00
Krrish Dholakia
bfe2faa454 test(test_keys.py): separate streaming key info test from normal completion key info test 2024-02-02 19:03:47 -08:00
Krrish Dholakia
1f0598a277 fix(proxy_server.py): load default team config straight from config file 2024-02-02 19:03:47 -08:00
Krrish Dholakia
688193bea3 fix(proxy_server.py): don't silently fail load_team_config 2024-02-02 19:03:47 -08:00
ishaan-jaff
9852462d1f (fix) proxy - clear cache after /key/delete 2024-02-02 18:40:18 -08:00
Krrish Dholakia
24b8abe10d fix(view_key_table_tsx): show abbreviated key name instead of hashed token 2024-02-02 14:56:19 -08:00
Krrish Dholakia
e8785d5dff fix(proxy_server.py): have spend logs be admin controlled only 2024-02-02 13:43:48 -08:00
Krrish Dholakia
ada62192ad fix(proxy_server.py): stronger type checking for team based settings 2024-02-02 13:15:44 -08:00
Krish Dholakia
93fb0134e5
Merge pull request #1761 from BerriAI/litellm_fix_dynamic_callbacks
fix(utils.py): override default success callbacks with dynamic callbacks if set
2024-02-02 13:06:55 -08:00
ishaan-jaff
071d70ec2d (fix) proxy sso - use PROXY_BASE_URL 2024-02-02 11:05:48 -08:00
ishaan-jaff
9ef735370f (fix) docstring for /sso/key/generate 2024-02-02 11:01:46 -08:00
ishaan-jaff
b138caf948 (fix) proxy ui - without sso 2024-02-02 10:40:37 -08:00
Krrish Dholakia
127db122ef test(test_keys.py): add more logging 2024-02-02 10:08:02 -08:00
Krrish Dholakia
61576fa6a9 fix(utils.py): logging fixes 2024-02-02 08:31:17 -08:00
Krrish Dholakia
5f9ea8a94f fix(utils.py): add track cost callback to callback list for team id callbacks 2024-02-02 08:18:06 -08:00
Krrish Dholakia
92058cbcd4 fix(utils.py): override default success callbacks with dynamic callbacks if set 2024-02-02 06:21:43 -08:00
Sébastien Campion
3b19031342 Allow to specify user email created via /user/new 2024-02-02 11:08:47 +01:00
Krrish Dholakia
a301d8aa4b feat(utils.py): support dynamic langfuse params and team settings on proxy 2024-02-01 21:08:24 -08:00
ishaan-jaff
8d7860b077 (fix) handle when users pass Malformed API Key 2024-02-01 16:29:50 -08:00
ishaan-jaff
ed8c62c24a (fix) ci/cd don't let importing litellm._version block starting proxy 2024-02-01 16:23:16 -08:00
ishaan-jaff
e13e61ad3b (docs) proxy ui 2024-02-01 16:17:04 -08:00
ishaan-jaff
44bf1409e0 (fix) ui link 2024-02-01 16:14:29 -08:00
ishaan-jaff
a45ce8c5f5 (fix) only allow master_key to access UI 2024-02-01 16:12:53 -08:00
ishaan-jaff
83cbed8b20 (fix) default UI use master key for auth 2024-02-01 16:05:23 -08:00
ishaan-jaff
99a0fce772 (fix) proxy - show Admin Panel on swagger 2024-02-01 16:02:57 -08:00
Ishaan Jaff
b6a709fd8d
Merge pull request #1748 from BerriAI/litellm_custom_auth_fixes
[Fix] user_custom_auth fixes when user passed bad api_keys
2024-02-01 15:42:39 -08:00
ishaan-jaff
3507812977 (fix) proxy - remove Literal 2024-02-01 15:36:33 -08:00
ishaan-jaff
adf2e98038 (fix) update v 2024-02-01 15:25:30 -08:00
ishaan-jaff
26520dd4e4 (fix) ui improve default flow 2024-02-01 15:03:48 -08:00
ishaan-jaff
df70fd5af5 (feat) proxy raise exceptions for different api_key formats 2024-02-01 14:38:32 -08:00
ishaan-jaff
ce37ead178 (fix) add literals to _get_bearer_token 2024-02-01 14:14:13 -08:00
ishaan-jaff
5ee62b25f5 (fix) passed_in_key 2024-02-01 13:47:00 -08:00
ishaan-jaff
b93a355b05 (fix) user_custom_auth 2024-02-01 13:37:14 -08:00
ishaan-jaff
157870651e (ui) allow auth without sso 2024-02-01 13:35:35 -08:00
ishaan-jaff
932d07c5e6 (fix) proxy - remove PROXY_BASE_URL 2024-02-01 13:09:28 -08:00
ishaan-jaff
891c5ad056 (ui) remove the need for setting PROXY_BASE_URL 2024-02-01 13:07:31 -08:00
ishaan-jaff
24dc49cfcf (ui) new UI build 2024-02-01 12:58:49 -08:00
David Manouchehri
ac2f6edce6
(fix) UI Proxy - Fix accidental redirect. 2024-02-01 15:07:02 -05:00
ishaan-jaff
76f053f85b (ui) update ui build 2024-02-01 09:45:14 -08:00
ishaan-jaff
fe4138853c (fix) proxy - allow _has_user_setup_sso to override allow_auth 2024-02-01 08:51:04 -08:00
ishaan-jaff
48bd58f007 (fix) proxy set global general_settings allow_user_auth 2024-02-01 08:39:42 -08:00
John HU
71376788b2 Set OpenAPI API version metadata
Ref: https://fastapi.tiangolo.com/tutorial/metadata/#metadata-for-api
2024-02-01 05:39:45 +00:00
ishaan-jaff
a6f524680c (fix) UI Proxy - handle base url ending with / 2024-01-31 20:22:22 -08:00
ishaan-jaff
cbb94a77ff (fix) proxy - improve swagger admin ui message 2024-01-31 20:01:39 -08:00
ishaan-jaff
cfbafb4a5a (fix) better error message when no auth provider set ui 2024-01-31 19:56:25 -08:00
ishaan-jaff
399cb4a414 (fix) better error when no sso is setup on proxy 2024-01-31 19:28:18 -08:00
ishaan-jaff
89b9ce64e0 (fix) proxy - give ui key budget = 0 2024-01-31 19:17:59 -08:00