Skip to content
This repository was archived by the owner on Jul 22, 2025. It is now read-only.

Commit da7c97d

Browse files
authored
FIX: Specify type for Rag upload (#895)
Specifying `type` when using `UppyUpload` will be required as of discourse/discourse#29600.
1 parent ab46782 commit da7c97d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

assets/javascripts/discourse/components/rag-uploader.gjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ export default class RagUploader extends Component {
2424
uppyUpload = new UppyUpload(getOwner(this), {
2525
id: "discourse-ai-rag-uploader",
2626
maxFiles: 20,
27+
type: "discourse_ai_rag_upload",
2728
uploadUrl:
2829
"/admin/plugins/discourse-ai/rag-document-fragments/files/upload",
2930
preventDirectS3Uploads: true,

0 commit comments

Comments
 (0)