RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.
Go agent-harnessagent-native-databaseagentic-aiagentic-retrievalagentic-searchaiai-agentscontext-enginecontext-engineeringcontext-managementharness-engineeringknowledge-compilationragretrieval-augmented-generationretrieval-harnesssearch-harness
export type UploadBillingResponse = {
code?: number;
message?: string;
detail?: { current?: number; limit?: number; [key: string]: any };
};
/**
* Enterprise seam for the file-upload billing errors. Open source has no
* billing, so every upload failure is handled by the default error path.
*/
export function useUploadBillingError() {
const handleUploadError = (_ret?: UploadBillingResponse) => {
void _ret;
return false;
};
return { handleUploadError };
}