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
c9ddb09dab
docs add video for key based logging
2024-09-05 18:21:42 -07:00
Ishaan Jaff
d401ce3488
ui new build
2024-09-05 18:21:42 -07:00
Ishaan Jaff
538cc6279c
ui show when key expires
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
45953b9924
add error message on test
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
dac4908c1f
add step for ui testing
2024-09-05 18:20:13 -07:00
Ishaan Jaff
96573d93a3
add test for ui usage endpoints
2024-09-05 18:20:13 -07:00
Ishaan Jaff
1a74f50e2c
add test for internal vs admin user
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
3e5485ca77
add ui testing folder
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
1725260938
ui add a check for isAdminOrAdminViewer
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
29c86ebf02
use helper functions per endpoint
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
Ishaan Jaff
16a9f41682
fix allow internal user and internal viewer to view usage
2024-09-05 18:20:13 -07:00
Ishaan Jaff
795db8672a
fix log /audio to langfuse
2024-09-05 16:26:37 -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
0426aa5642
run test again
2024-09-05 15:26:48 -07:00
Krrish Dholakia
c154c5e230
docs(configs.md): update to clarify you can use os.environ/ for any config value
2024-09-05 15:19:12 -07:00
Ishaan Jaff
a30917311e
fix import
2024-09-05 14:42:56 -07:00
Krrish Dholakia
8ca7c2c9af
test(test_function_call_parsing.py): handle anthropic internal server error
2024-09-05 14:37:53 -07:00
OrangeWolf
542b333c95
Update utils.py ( #5530 )
...
fix KeyError (cause by typo?)
2024-09-05 14:37:53 -07:00
Ishaan Jaff
936e486c95
fix import
2024-09-05 12:40:45 -07:00
Ishaan Jaff
219fa492dc
fix import
2024-09-05 10:41:13 -07:00
Ishaan Jaff
e9cb1e0853
fix import error
2024-09-05 10:27:35 -07:00
Ishaan Jaff
e1c989ad3d
fix import error
2024-09-05 10:19:10 -07:00
Ishaan Jaff
25887c1846
fix import error
2024-09-05 10:09:44 -07:00
Ishaan Jaff
ed627bc5d2
fix linting error
2024-09-05 09:56:33 -07:00
Ishaan Jaff
81ee1653af
use correct type hints for audio transcriptions
2024-09-05 09:12:27 -07:00
Krrish Dholakia
a9be7dd79b
docs(pass_through/bedrock.md): add bedrock agents support
2024-09-04 22:30:14 -07:00