mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-28 04:04:31 +00:00
fix(team_endpoints.py): update to include the budget in the response
This commit is contained in:
parent
a8ea301bbe
commit
fd26e7b335
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