Skip to content

Commit 273d073

Browse files
authored
fix: non-image gen models (#5381)
1 parent 9455c8e commit 273d073

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

web/src/app/chat/components/input/ChatInputBar.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import {
2222
SendIcon,
2323
StopGeneratingIcon,
2424
} from "@/components/icons/icons";
25-
import { OnyxDocument, SourceMetadata } from "@/lib/search/interfaces";
25+
import { OnyxDocument } from "@/lib/search/interfaces";
2626
import { ChatState } from "@/app/chat/interfaces";
2727
import { useAssistantsContext } from "@/components/context/AssistantsContext";
2828
import { CalendarIcon, TagIcon, XIcon, FolderIcon } from "lucide-react";
@@ -37,7 +37,6 @@ import { UnconfiguredLlmProviderText } from "@/components/chat/UnconfiguredLlmPr
3737
import { DeepResearchToggle } from "./DeepResearchToggle";
3838
import { ActionToggle } from "./ActionManagement";
3939
import { SelectedTool } from "./SelectedTool";
40-
import { getProviderIcon } from "@/app/admin/configuration/llm/utils";
4140

4241
const MAX_INPUT_HEIGHT = 200;
4342

@@ -661,7 +660,7 @@ export const ChatInputBar = React.memo(function ChatInputBar({
661660
<LLMPopover
662661
llmProviders={llmProviders}
663662
llmManager={llmManager}
664-
requiresImageGeneration={true}
663+
requiresImageGeneration={false}
665664
currentAssistant={selectedAssistant}
666665
/>
667666

0 commit comments

Comments
 (0)