Commit graph

1097 commits

Author SHA1 Message Date
Sébastien Campion
f7883bd3b9 Allow optional usage of the tls encryption for SMTPA
For local dev, a local SMTP server like mailhog is useful and allow to manually manage user creation
2024-01-27 18:18:59 -08:00
ishaan-jaff
f7e64cd528 (fix) google/login use redirect resp 2024-01-27 18:17:58 -08:00
Krrish Dholakia
00a25ebfb8 build(ui/litellm-dashboard): ui cleanup 2024-01-27 17:34:01 -08:00
ishaan-jaff
4731f869e3 (docstring) /google-login 2024-01-27 16:56:17 -08:00
ishaan-jaff
9d5bfa45c1 (fix) use GOOGLE_REDIRECT_URI. 2024-01-27 16:50:53 -08:00
ishaan-jaff
308351458b Revert "Merge branch 'main' into main"
This reverts commit a92461caa5, reversing
changes made to 9dd857e0a6.
2024-01-27 16:47:10 -08:00
Ishaan Jaff
a92461caa5
Merge branch 'main' into main 2024-01-27 16:43:18 -08:00
ishaan-jaff
9dd857e0a6 (fix) endpoint name 2024-01-27 16:41:11 -08:00
ishaan-jaff
9bd4fa40ff (fix) proxy use env as GOOGLE_REDIRECT_URI 2024-01-27 16:38:56 -08:00
Ishaan Jaff
d8690e50ea
Update proxy_server.py 2024-01-27 16:26:12 -08:00
ishaan-jaff
3699df2b31 (fix) google auth 2024-01-27 15:38:09 -08:00
ishaan-jaff
dc78d16d05 (fix) auth google 2024-01-27 15:25:00 -08:00
ishaan-jaff
020b1ec756 (fix) use dynamic redirect urls 2024-01-27 15:13:43 -08:00
ishaan-jaff
a7bbc0de0f (fix) google-login auth flow proxy 2024-01-27 14:19:11 -08:00
ishaan-jaff
180a1a7f9c (fix) return dict response 2024-01-27 14:17:03 -08:00
ishaan-jaff
1a8dee372a (feat) add google login to litellm proxy 2024-01-27 13:57:04 -08:00
Krrish Dholakia
dda115fcb7 build(ui/litellm_dashboard_v_2): allow app owner to create keys and view their keys 2024-01-27 13:48:35 -08:00
Sébastien Campion
4dd18b553a Merge remote-tracking branch 'src/main' 2024-01-27 19:24:35 +01:00
Sébastien Campion
4ba809b835 Allow optional usage of the tls encryption for SMTPA
For local dev, a local SMTP server like mailhog is useful and allow to manually manage user creation
2024-01-27 19:16:53 +01:00
ishaan-jaff
18624f8490 (docstring) /key/info 2024-01-27 08:17:08 -08:00
ishaan-jaff
a4acece4c1 (docstring) /key/info 2024-01-27 08:17:08 -08:00
Krish Dholakia
e1f1e4fefb
Merge pull request #1642 from BerriAI/litellm_key_aliases
feat(proxy_server.py): save abbreviated key name if `allow_user_auth` enabled
2024-01-26 22:07:17 -08:00
Krrish Dholakia
07a92f93d7 build(schema.prisma): update schema 2024-01-26 20:53:07 -08:00
Krrish Dholakia
b1b582ffe2 fix(proxy_server.py): check if api key string before asserting it starts with sk- 2024-01-26 20:06:57 -08:00
ishaan-jaff
ec3f497db8 (feat) /key/info without using key in query param 2024-01-26 19:26:43 -08:00
ishaan-jaff
8b52333b08 (feat) fix alert formats for budgets 2024-01-26 17:14:47 -08:00
Krrish Dholakia
5dfe54d20d feat(proxy_server.py): save abbreviated key name if allow_user_auth enabled 2024-01-26 15:31:37 -08:00
ishaan-jaff
2c79585e18 (fix) dynamo - use hashed_api keys in table 2024-01-26 14:32:00 -08:00
ishaan-jaff
2873365f02 (fix) proxy - always use hashed_token as /key cache key 2024-01-26 14:30:26 -08:00
Krrish Dholakia
511510a1cc refactor(proxy_server.py): fix docstring for /key/delete to show hashed tokens as well 2024-01-26 13:33:17 -08:00
Krrish Dholakia
e989175c10 fix(proxy/utils.py): accept token hashes for deleting tokens 2024-01-26 13:29:16 -08:00
ishaan-jaff
55b95e87dd (fix) SpendLogs Table 2024-01-26 13:23:51 -08:00
ishaan-jaff
64f1301033 (feat) SpendLogs show total_tokens, prompt_tokens, completion_tokens 2024-01-26 10:26:15 -08:00
ishaan-jaff
b9fc2c3735 (fix) SpendLogs stop logging model params 2024-01-26 10:13:34 -08:00
Sébastien Campion
a5d120a68b fix print verbose take only one argument 2024-01-26 18:03:55 +01:00
Krish Dholakia
612f74a426
Merge pull request #1618 from BerriAI/litellm_sagemaker_cost_tracking_fixes
fix(utils.py): fix sagemaker cost tracking for streaming
2024-01-25 19:01:57 -08:00
ishaan-jaff
5264a3eb53 (fix) do nothing if alerting is not switched on 2024-01-25 16:40:23 -08:00
ishaan-jaff
1c9b02ad99 (fix) alerting debug statements 2024-01-25 16:40:23 -08:00
ishaan-jaff
b8f917624f (docs) config.yaml 2024-01-25 16:40:23 -08:00
ishaan-jaff
3a1c8f453f (docs) track max_budget on proxy config.yaml 2024-01-25 16:40:23 -08:00
ishaan-jaff
229e4920df (fix) better alert message on budgets 2024-01-25 16:40:23 -08:00
ishaan-jaff
81c528f6ce (fix) raise correct error when proxy crossed budget 2024-01-25 16:40:23 -08:00
ishaan-jaff
56f49a87ba (fix) raise exception budget_duration is set and max_budget is Not 2024-01-25 16:40:23 -08:00
ishaan-jaff
7a2a7e047f (feat) slack alerting budgets 2024-01-25 16:40:23 -08:00
ishaan-jaff
55115a75b0 (feat) alerts proxy budgets 2024-01-25 16:40:23 -08:00
ishaan-jaff
565531fe9e v0 basic structure 2024-01-25 16:40:23 -08:00
ishaan-jaff
e56721d6c3 (feat) view spend/logs by user_id, view spend/user by user 2024-01-25 16:12:28 -08:00
Krrish Dholakia
09ec6d6458 fix(utils.py): fix sagemaker async logging for sync streaming
https://github.com/BerriAI/litellm/issues/1592
2024-01-25 12:49:45 -08:00
Ishaan Jaff
06a5dbfb5e
Merge pull request #1615 from BerriAI/litellm_alerts_budget_tracking
[Feat] Alerts for Proxy Budgets
2024-01-25 12:00:18 -08:00
ishaan-jaff
ca12e70369 (fix) do nothing if alerting is not switched on 2024-01-25 11:58:55 -08:00