Skip to content

The open alternative to Salesforce, designed for AI.

307 B
Raw Blame
export const getSettingsAiModelsSectionVisibility = ({
  isInboxEnabled,
  canReadSystemPrompts,
}: {
  isInboxEnabled: boolean;
  canReadSystemPrompts: boolean;
}) => ({
  isWorkspaceInstructionsSectionVisible: !isInboxEnabled,
  isSystemPromptsSectionVisible: !isInboxEnabled && canReadSystemPrompts,
});