Commit graph

11186 commits

Author SHA1 Message Date
Ishaan Jaff
7f461dbf68 fix linting 2024-09-06 16:54:43 -07:00
Ishaan Jaff
c5aa422847 Merge branch 'main' into litellm_ui_regen_keys 2024-09-06 16:48:18 -07:00
Ishaan Jaff
e0ac27c00c fix azure batches test - don't have more quota 2024-09-06 16:44:16 -07:00
Ishaan Jaff
c2e8f63062 fix datadog log exceptions 2024-09-06 14:36:35 -07:00
Ishaan Jaff
4626c5a365
Merge pull request #5548 from BerriAI/litellm_fix_otel_type_hints
[Fix] OTEL - Unsupported | type annotations in python3.9
2024-09-06 08:48:27 -07:00
Ishaan Jaff
aed59abe35 allow passing expiry time to /key/regenerate 2024-09-06 08:36:34 -07:00
Ishaan Jaff
b5349e97c7 run ci/cd again 2024-09-05 19:07:47 -07:00
Ishaan Jaff
b573847dad run ci cd again 2024-09-05 19:07:16 -07:00
Ishaan Jaff
31a5cb1885 fix otel type 2024-09-05 19:04:56 -07:00
Ishaan Jaff
b68a9b1957 Merge branch 'main' into litellm_fix_transcription 2024-09-05 18:22:33 -07:00
Krish Dholakia
ce67858ceb LiteLLM Minor Fixes and Improvements (#5537)
* fix(vertex_ai): Fixes issue where multimodal message without text was failing vertex calls

Fixes https://github.com/BerriAI/litellm/issues/5515

* fix(azure.py): move to using httphandler for oidc token calls

Fixes issue where ssl certificates weren't being picked up as expected

Closes https://github.com/BerriAI/litellm/issues/5522

* feat: Allows admin to set a default_max_internal_user_budget in config, and allow setting more specific values as env vars

* fix(proxy_server.py): fix read for max_internal_user_budget

* build(model_prices_and_context_window.json): add regional gpt-4o-2024-08-06 pricing

Closes https://github.com/BerriAI/litellm/issues/5540

* test: skip re-test
2024-09-05 18:21:42 -07:00
Krish Dholakia
bc20879c23 Update lago.py to accomodate API change (#5495) (#5543)
* Update lago.py to accomodate API change (#5495)

external_customer_id is deprecated. 

external_subscription_id is the replacement.

* fix(lago.py): fixes

\

---------

Co-authored-by: Raymond Weitekamp <19483938+rawwerks@users.noreply.github.com>
2024-09-05 18:21:42 -07:00
Krish Dholakia
0d99a9697f LiteLLM Merged PR's (#5538)
* Fix typo in #5509 (#5532)

* Reapply "(bedrock): Fix usage with Cloudflare AI Gateway, and proxies in gener…" (#5519)

This reverts commit 995019c08a.

* (bedrock): Fix obvious typo

* test: cleanup linting error

---------

Co-authored-by: David Manouchehri <david.manouchehri@ai.moda>
2024-09-05 18:21:42 -07:00
Ishaan Jaff
d401ce3488 ui new build 2024-09-05 18:21:42 -07:00
Ishaan Jaff
2c1f89eb30 fix on /user/info show all keys - even expired ones 2024-09-05 18:21:42 -07:00
Ishaan Jaff
eca20e3293 run ci/cd on main 2024-09-05 18:21:42 -07:00
Ishaan Jaff
96cc51e713 move prisma test to correct location 2024-09-05 18:21:30 -07:00
Ishaan Jaff
49ebf4d0de run ci - cd again 2024-09-05 18:21:30 -07:00
Ishaan Jaff
6c0d578a20 run ci/cd again 2024-09-05 18:20:13 -07:00
Ishaan Jaff
30eb740137 use requirements txt 2024-09-05 18:20:13 -07:00
Ishaan Jaff
2ca91c2156 run ci/cd agaiin 2024-09-05 18:20:13 -07:00
Ishaan Jaff
14d737de14 move folder key gen prisma is in 2024-09-05 18:20:13 -07:00
Ishaan Jaff
c535099fe0 run test again 2024-09-05 18:20:13 -07:00
Ishaan Jaff
34839ae7cc run again 2024-09-05 18:20:13 -07:00
Ishaan Jaff
b75581452a fix tests on viewing spend logs 2024-09-05 18:20:13 -07:00
Ishaan Jaff
b590d807af fix test_call_with_key_over_budget 2024-09-05 18:20:13 -07:00
Ishaan Jaff
a1ca3329d2 fix allow internal user to view their own usage 2024-09-05 18:20:13 -07:00
Ishaan Jaff
bbcc26a91e fix /global/spend/provider 2024-09-05 18:20:13 -07:00
Ishaan Jaff
72f9c92a13 add global/spend/provider 2024-09-05 18:20:13 -07:00
Ishaan Jaff
4e5d4c1583 allow internal user to view global/spend/models 2024-09-05 18:20:13 -07:00
Ishaan Jaff
372fcb6e4c allow internal user to view their own spend 2024-09-05 18:20:13 -07:00
Ishaan Jaff
b3ca358c39 add usage endpoints for internal user 2024-09-05 18:20:13 -07:00
Ishaan Jaff
0fc7d81bf4 show /spend/logs for internal users 2024-09-05 18:20:13 -07:00
Ishaan Jaff
191dfc7e11 fix create view - MonthlyGlobalSpendPerUserPerKey 2024-09-05 18:20:13 -07:00
Ishaan Jaff
9afa39630c add /spend/tags as allowed route for internal user 2024-09-05 18:20:13 -07:00
Krish Dholakia
f584021f7c
LiteLLM Minor Fixes and Improvements (#5537)
* fix(vertex_ai): Fixes issue where multimodal message without text was failing vertex calls

Fixes https://github.com/BerriAI/litellm/issues/5515

* fix(azure.py): move to using httphandler for oidc token calls

Fixes issue where ssl certificates weren't being picked up as expected

Closes https://github.com/BerriAI/litellm/issues/5522

* feat: Allows admin to set a default_max_internal_user_budget in config, and allow setting more specific values as env vars

* fix(proxy_server.py): fix read for max_internal_user_budget

* build(model_prices_and_context_window.json): add regional gpt-4o-2024-08-06 pricing

Closes https://github.com/BerriAI/litellm/issues/5540

* test: skip re-test
2024-09-05 18:03:34 -07:00
Krish Dholakia
7ced9c8c0e
Update lago.py to accomodate API change (#5495) (#5543)
* Update lago.py to accomodate API change (#5495)

external_customer_id is deprecated. 

external_subscription_id is the replacement.

* fix(lago.py): fixes

\

---------

Co-authored-by: Raymond Weitekamp <19483938+rawwerks@users.noreply.github.com>
2024-09-05 17:27:40 -07:00
Krish Dholakia
6cd8951f56
LiteLLM Merged PR's (#5538)
* Fix typo in #5509 (#5532)

* Reapply "(bedrock): Fix usage with Cloudflare AI Gateway, and proxies in gener…" (#5519)

This reverts commit 995019c08a.

* (bedrock): Fix obvious typo

* test: cleanup linting error

---------

Co-authored-by: David Manouchehri <david.manouchehri@ai.moda>
2024-09-05 17:11:31 -07:00
Ishaan Jaff
8e25ba8de1 ui new build 2024-09-05 17:05:39 -07:00
Ishaan Jaff
f42a0528db
Merge branch 'main' into litellm_allow_internal_user_view_usage 2024-09-05 16:46:06 -07:00
Ishaan Jaff
795db8672a fix log /audio to langfuse 2024-09-05 16:26:37 -07:00
Ishaan Jaff
c446ef37b1
Merge pull request #5541 from BerriAI/litellm_fix_expired_keys
[UI] Show when a virtual key expires
2024-09-05 16:11:09 -07:00
Ishaan Jaff
18f019f87d move prisma test to correct location 2024-09-05 15:50:39 -07:00
Ishaan Jaff
53794f773e fix typing error on test 2024-09-05 15:48:41 -07:00
Ishaan Jaff
b27ef1ca5b run ci/cd on main 2024-09-05 15:48:41 -07:00
Ishaan Jaff
ea716d311d fix typing error on test 2024-09-05 15:47:18 -07:00
Ishaan Jaff
30137b0b72 run ci - cd again 2024-09-05 15:42:40 -07:00
Ishaan Jaff
9eb35e47ee run ci/cd on main 2024-09-05 15:39:30 -07:00
Ishaan Jaff
05e02fbe76 run ci/cd again 2024-09-05 15:38:49 -07:00
Ishaan Jaff
004a71b8dc use requirements txt 2024-09-05 15:34:17 -07:00