@@ -9,6 +9,7 @@ export const chatConfig = {
99 "application/json" ,
1010 "application/xml" ,
1111 "text/markdown" ,
12+ "text/csv" ,
1213 ] ,
1314
1415 // Supported text file extensions
@@ -36,10 +37,10 @@ export const chatConfig = {
3637 imageExtensions : [ "jpg" , "jpeg" , "png" , "gif" , "webp" , "svg" , "bmp" ] ,
3738
3839 // Supported document file extensions
39- documentExtensions : [ "pdf" , "doc" , "docx" , "xls" , "xlsx" , "ppt" , "pptx" ] ,
40+ documentExtensions : [ "pdf" , "doc" , "docx" , "xls" , "xlsx" , "ppt" , "pptx" , "epub" , "html" , "xml" ] ,
4041
4142 // Supported text document extensions
42- supportedTextExtensions : [ "md" , "markdown" , "txt" ] ,
43+ supportedTextExtensions : [ "md" , "markdown" , "txt" , "csv" , "json" ] ,
4344
4445 // File icon mapping configuration
4546 fileIcons : {
@@ -50,7 +51,7 @@ export const chatConfig = {
5051 word : [ "doc" , "docx" ] ,
5152
5253 // Plain text files
53- text : [ "txt" ] ,
54+ text : [ "txt" , "epub" ] ,
5455
5556 // Markdown files
5657 markdown : [ "md" ] ,
@@ -62,7 +63,7 @@ export const chatConfig = {
6263 powerpoint : [ "ppt" , "pptx" ] ,
6364
6465 // HTML files
65- html : [ "html" , "htm" ] ,
66+ html : [ "html" , "htm" , "xml" ] ,
6667
6768 // Code files
6869 code : [ "css" , "js" , "ts" , "jsx" , "tsx" , "php" , "py" , "java" , "c" , "cpp" , "cs" ] ,
0 commit comments