forked from phoenix/litellm-mirror
fix(team_endpoints.py): update to include the budget in the response
This commit is contained in:
parent
18689c25e9
commit
2119030738
1 changed files with 2 additions and 1 deletions
|
@ -917,7 +917,8 @@ async def team_info(
|
||||||
|
|
||||||
## GET ALL MEMBERSHIPS ##
|
## GET ALL MEMBERSHIPS ##
|
||||||
team_memberships = await prisma_client.db.litellm_teammembership.find_many(
|
team_memberships = await prisma_client.db.litellm_teammembership.find_many(
|
||||||
where={"team_id": team_id}
|
where={"team_id": team_id},
|
||||||
|
include={"litellm_budget_table": True},
|
||||||
)
|
)
|
||||||
return {
|
return {
|
||||||
"team_id": team_id,
|
"team_id": team_id,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue