diff --git a/assets/javascripts/discourse/components/rag-uploader.gjs b/assets/javascripts/discourse/components/rag-uploader.gjs index 64f9b01b..b9636cf2 100644 --- a/assets/javascripts/discourse/components/rag-uploader.gjs +++ b/assets/javascripts/discourse/components/rag-uploader.gjs @@ -24,6 +24,7 @@ export default class RagUploader extends Component { uppyUpload = new UppyUpload(getOwner(this), { id: "discourse-ai-rag-uploader", maxFiles: 20, + type: "discourse_ai_rag_upload", uploadUrl: "/admin/plugins/discourse-ai/rag-document-fragments/files/upload", preventDirectS3Uploads: true,