👁️‍🗨️ refactor: use PermissionBits.VIEW in useAgentsMap for requiredPermission

This commit is contained in:
Danny Avila 2025-08-13 00:35:12 -04:00
parent 803ade8601
commit b742c8c7f9
No known key found for this signature in database
GPG key ID: BF31EEB2C5CA0956
7 changed files with 32 additions and 36 deletions

View file

@ -225,6 +225,7 @@ export type AgentPanelContextType = {
setActivePanel: React.Dispatch<React.SetStateAction<Panel>>;
setCurrentAgentId: React.Dispatch<React.SetStateAction<string | undefined>>;
agent_id?: string;
agentsConfig?: t.TAgentsEndpoint;
};
export type AgentModelPanelProps = {