Support attaching programming language file types to web app for chat

This commit is contained in:
Debanjum
2025-03-29 01:20:43 +05:30
parent bdb6e33108
commit e9132d4fee

View File

@@ -643,7 +643,7 @@ export const ChatInputArea = forwardRef<HTMLTextAreaElement, ChatInputProps>((pr
>
<input
type="file"
accept=".pdf,.doc,.docx,.txt,.md,.org,.jpg,.jpeg,.png,.webp"
accept=".pdf,.doc,.docx,.txt,.md,.org,.jpg,.jpeg,.png,.webp,.py,.js,.json,.html,.css"
multiple={true}
ref={fileInputRef}
onChange={handleFileChange}