litellm/ui/litellm-dashboard/src/components/agents
Tin Chi Lo ba9f6d75d8 refactor(ui): derive the dashboard object_permission type from the generated schema
The dashboard declared the server-owned object_permission shape by hand
in five places, each with a different subset of fields and none matching
the OpenAPI schema. That is what hid LIT-4766: KeyResponse.object_permission
never declared mcp_toolsets, so a form that wrote the field without reading
it compiled cleanly and silently wiped the grant

Replace four of those copies with one alias over the generated
LiteLLM_ObjectPermissionTable. The agent shape stays separate because the
agent endpoint really does return a narrower type, so it points at its own
generated AgentObjectPermission
2026-07-24 16:05:52 -07:00
..
types.ts refactor(ui): derive the dashboard object_permission type from the generated schema 2026-07-24 16:05:52 -07:00