🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.
TypeScript agentagent-collaborationagent-harnessloop-engineeringmcppersonal-assistantproactive-agentskillssuper-agenttask-management
export interface BusinessModelListGuard {
/**
* Leave a model out of the list entirely, e.g. one a workspace admin has not
* opened to this member. Unlike `isModelRestricted`, nothing here can unlock it.
*/
isModelHidden?: (modelId: string, providerId: string) => boolean;
isModelRestricted?: (modelId: string, providerId: string) => boolean;
onBeforeModelSelect?: (modelId: string, providerId: string) => boolean | Promise<boolean>;
onRestrictedModelClick?: () => void;
/**
* Badge shown on a restricted model. Returning `undefined` keeps the common `pro`
* label; a business override names a different tier per model.
*/
restrictedBadgeLabel?: (modelId: string, providerId: string) => string | undefined;
sortModelLast?: (modelId: string, providerId: string) => boolean;
}
export const useBusinessModelListGuard = (): BusinessModelListGuard => {
return {};
};