Add support for JSON file type in AllowedFileTypes across assistant modules

This commit is contained in:
Max 2024-12-15 09:54:18 +08:00
parent 773e050925
commit 3fbcd4a5e1
2 changed files with 2 additions and 0 deletions

View file

@ -16,6 +16,7 @@ import (
// AllowedFileTypes the allowed file types
var AllowedFileTypes = map[string]string{
"application/json": "json",
"application/pdf": "pdf",
"application/msword": "doc",
"application/vnd.openxmlformats-officedocument.wordprocessingml.document": "docx",

View file

@ -16,6 +16,7 @@ import (
// AllowedFileTypes the allowed file types
var AllowedFileTypes = map[string]string{
"application/json": "json",
"application/pdf": "pdf",
"application/msword": "doc",
"application/vnd.openxmlformats-officedocument.wordprocessingml.document": "docx",