FIX: Specify type for Rag upload (#895)
Specifying `type` when using `UppyUpload` will be required as of https://github.com/discourse/discourse/pull/29600.
This commit is contained in:
parent
ab4678275d
commit
da7c97d294
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue