Commit graph

485 commits

Author SHA1 Message Date
Krrish Dholakia
ee82cfba52 fix(proxy/utils.py): if langfuse trace id passed in, just send that as part of alert 2024-02-05 16:34:33 -08:00
Krrish Dholakia
96c2c64dce feat(utils.py): support cost tracking for openai/azure image gen models 2024-02-03 17:09:54 -08:00
Krrish Dholakia
aa40663150 fix(utils.py): add track cost callback to callback list for team id callbacks 2024-02-02 08:18:06 -08:00
Krrish Dholakia
dbf2b0b2c8 fix(utils.py): override default success callbacks with dynamic callbacks if set 2024-02-02 06:21:43 -08:00
ishaan-jaff
3946264ecd (docs) proxy ui 2024-02-01 16:17:04 -08:00
ishaan-jaff
9abfe59f34 (fix) ui link 2024-02-01 16:14:29 -08:00
ishaan-jaff
779c23ddbb (fix) default UI use master key for auth 2024-02-01 16:05:23 -08:00
ishaan-jaff
4db5668b08 (fix) ui improve default flow 2024-02-01 15:03:48 -08:00
Krish Dholakia
a9059eef10 Merge branch 'main' into litellm_no_store_cache_control 2024-01-30 21:44:57 -08:00
Krrish Dholakia
f5c88018dd feat(proxy_server.py): enable cache controls per key + no-store cache flag 2024-01-30 20:46:50 -08:00
ishaan-jaff
1b4ba3be1d (feat) allow users to use UI without SSO 2024-01-30 17:00:40 -08:00
Krrish Dholakia
c91ab81fde fix(test_parallel_request_limiter): increase time limit for waiting for success logging event to happen 2024-01-30 13:26:17 -08:00
Sébastien Campion
93113b1d2d Merge remote-tracking branch 'src/main' 2024-01-27 19:24:35 +01:00
Sébastien Campion
3ae7ae4f84 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
d26b61aa9e (feat) fix alert formats for budgets 2024-01-26 17:14:47 -08:00
Krrish Dholakia
61f5e3b6e3 fix(proxy/utils.py): accept token hashes for deleting tokens 2024-01-26 13:29:16 -08:00
ishaan-jaff
07449d3cf3 (feat) SpendLogs show total_tokens, prompt_tokens, completion_tokens 2024-01-26 10:26:15 -08:00
ishaan-jaff
643554f4b9 (fix) SpendLogs stop logging model params 2024-01-26 10:13:34 -08:00
Sébastien Campion
a40b960585 fix print verbose take only one argument 2024-01-26 18:03:55 +01:00
ishaan-jaff
4cee08da5d (fix) do nothing if alerting is not switched on 2024-01-25 16:40:23 -08:00
ishaan-jaff
cec08f6800 (fix) alerting debug statements 2024-01-25 16:40:23 -08:00
ishaan-jaff
9cd48b3b22 (fix) better alert message on budgets 2024-01-25 16:40:23 -08:00
ishaan-jaff
71a6f7fcc4 (feat) slack alerting budgets 2024-01-25 16:40:23 -08:00
ishaan-jaff
1f62453719 (feat) alerts proxy budgets 2024-01-25 16:40:23 -08:00
ishaan-jaff
1d36b8da31 v0 basic structure 2024-01-25 16:40:23 -08:00
Krrish Dholakia
402235dc5d 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
Krrish Dholakia
d1b563fbf4 fix(proxy/utils.py): handle item not existing during batch updates 2024-01-24 21:49:47 -08:00
Krrish Dholakia
2f25a8db8d test(test_keys.py): reset proxy spend 2024-01-24 21:08:09 -08:00
Krish Dholakia
f1d309d700 Merge branch 'main' into litellm_global_spend_updates 2024-01-24 20:20:15 -08:00
ishaan-jaff
40a8c1af2d (fix) log cache hits on SpendLogs table 2024-01-24 18:51:39 -08:00
ishaan-jaff
52fb8c5b40 (fix) use litellm.cache for getting key 2024-01-24 18:34:22 -08:00
ishaan-jaff
c8b2e5c80b (feat) add cache_key in spend_log 2024-01-24 17:56:00 -08:00
Krrish Dholakia
7a8f10c1c0 test(test_key_generate_prisma.py): add unit testing for global proxy budget 2024-01-24 17:43:01 -08:00
ishaan-jaff
a0f2bae4e2 (fix) bug from bb7705b494 2024-01-24 17:34:17 -08:00
Krrish Dholakia
8518e2e2d1 fix(proxy_server.py): enforce budget limit if global proxy limit reached 2024-01-24 17:11:40 -08:00
Ishaan Jaff
6dac4ab8aa Merge pull request #1601 from BerriAI/litellm_improve_slack_alertign
[Feat] Proxy - Improve Slack Alerting
2024-01-24 16:43:23 -08:00
ishaan-jaff
2addde9279 (FIX) improve slack alerting messages 2024-01-24 16:07:46 -08:00
Krrish Dholakia
d536374be0 fix(proxy_server.py): track cost for global proxy 2024-01-24 16:06:10 -08:00
ishaan-jaff
2686d1f087 (fix) only alert users when requests are hanging 2024-01-24 15:58:07 -08:00
Krrish Dholakia
39ed3d42f4 test(test_users.py): test budgets with resets 2024-01-24 15:30:30 -08:00
ishaan-jaff
0f51cd0bab (fix) alerting - show timestamps in alert 2024-01-24 15:25:40 -08:00
ishaan-jaff
44718e59e9 (feat) add request_info to slack alerts 2024-01-24 15:17:33 -08:00
Krish Dholakia
65c971e60e Merge pull request #1600 from BerriAI/litellm_global_budget
feat(proxy_server.py): support global budget and resets
2024-01-24 14:55:36 -08:00
ishaan-jaff
3fe475c9ce (feat) slack alerting - log request/response 2024-01-24 14:55:21 -08:00
Krish Dholakia
e92cf9e6a3 Merge pull request #1590 from BerriAI/litellm_spend_logs_by_key
feat(proxy_server.py): enable returning spend logs by api key
2024-01-24 14:45:25 -08:00
Krrish Dholakia
f21e003f5b feat(proxy_server.py): support global budget and resets 2024-01-24 14:27:13 -08:00
ishaan-jaff
5211e5ca99 (fix) stop logging messages, response in SpendLogs 2024-01-24 13:16:34 -08:00
Ishaan Jaff
00c98f3169 Merge branch 'main' into litellm_spend_per_user 2024-01-24 12:24:15 -08:00
ishaan-jaff
b1c91a987a (feat) /spend/users endpoint 2024-01-24 11:34:28 -08:00
ishaan-jaff
722a5a5132 (test) setting model in SpendTable logs 2024-01-24 11:09:20 -08:00