diff --git a/web/screens/Thread/ThreadCenterPanel/ChatInput/index.tsx b/web/screens/Thread/ThreadCenterPanel/ChatInput/index.tsx
index 1981964845..0ba50880b6 100644
--- a/web/screens/Thread/ThreadCenterPanel/ChatInput/index.tsx
+++ b/web/screens/Thread/ThreadCenterPanel/ChatInput/index.tsx
@@ -231,30 +231,24 @@ const ChatInput = () => {
)}
>
- {
- if (activeAssistant?.model.settings?.vision_model) {
- imageInputRef.current?.click()
- setShowAttacmentMenus(false)
- }
- }}
- >
-
- Image
-
- }
- content="This feature only supports multimodal models."
- disabled={activeAssistant?.model.settings?.vision_model}
- />
+ - {
+ if (activeAssistant?.model.settings?.vision_model) {
+ imageInputRef.current?.click()
+ setShowAttacmentMenus(false)
+ }
+ }}
+ >
+
+ Image
+
{
const experimentalFeature = useAtomValue(experimentalFeatureEnabledAtom)
const activeThread = useAtomValue(activeThreadAtom)
const activeAssistant = useAtomValue(activeAssistantAtom)
+ const chatWidth = useAtomValue(chatWidthAtom)
const upload = uploader()
const acceptedFormat: Accept = activeAssistant?.model.settings?.vision_model
? {
@@ -235,7 +237,14 @@ const ThreadCenterPanel = () => {
{reloadModel && }
{activeModel && isGeneratingResponse && }
-
+
+
+