fix: all upload files are disabled if upload file feature disabled (#29681)

This commit is contained in:
Joel
2025-12-15 18:02:34 +08:00
committed by GitHub
parent bd7b1fc6fb
commit a8f3061b3c
2 changed files with 4 additions and 4 deletions

View File

@@ -79,7 +79,7 @@ const ChatInputArea = ({
handleDropFile,
handleClipboardPasteFile,
isDragActive,
} = useFile(visionConfig!)
} = useFile(visionConfig!, false)
const { checkInputsForm } = useCheckInputsForms()
const historyRef = useRef([''])
const [currentIndex, setCurrentIndex] = useState(-1)