Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

364 B
Raw Blame
import { ReactNode } from 'react';

type AgentEditGuardProps = {
  operatorPermission: number;
  children: ReactNode;
};

/**
 * Enterprise seam for the agent canvas editing controls. Open source has no
 * collaborator permissions, so every control stays visible.
 */
export function AgentEditGuard({ children }: AgentEditGuardProps) {
  return <>{children}</>;
}