feat(proxy/utils.py): enable end_user + team id tracking in spend logs

allows separating proxy owner vs. end user in the spen
d logs
This commit is contained in:
Krrish Dholakia 2024-02-29 16:04:52 -08:00
parent aee004ad49
commit c371009faf
5 changed files with 18 additions and 6 deletions

View file

@ -138,10 +138,13 @@ const AdminPanel: React.FC<AdminPanelProps> = ({
console.log(`admins: ${admins?.length}`);
return (
<div className="w-full m-2">
<Title level={4}>Proxy Admins</Title>
<Title level={4}>Restricted Access</Title>
<Paragraph>
Add other people to just view global spend. They cannot create teams or
grant users access to new models.
Add other people to just view spend. They cannot create keys, teams or
grant users access to new models.{" "}
<a href="https://docs.litellm.ai/docs/proxy/ui#restrict-ui-access">
Requires SSO Setup
</a>
</Paragraph>
<Grid numItems={1} className="gap-2 p-0 w-full">
<Col numColSpan={1}>