fix: all upload files are disabled if upload file feature disabled (#29681)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user