diff --git a/src/apps/chat/components/composer/Composer.tsx b/src/apps/chat/components/composer/Composer.tsx index bfc144828..3c25bf754 100644 --- a/src/apps/chat/components/composer/Composer.tsx +++ b/src/apps/chat/components/composer/Composer.tsx @@ -170,8 +170,8 @@ export function Composer(props: { const chatLLMSupportsImages = !!props.chatLLM?.interfaces?.includes(LLM_IF_OAI_Vision); // don't load URLs if the user is typing a command or there's no capability - const hasComposerBrowseCapability = useBrowseCapability().inComposer; - const enableLoadURLsInComposer = hasComposerBrowseCapability && !composeText.startsWith('/'); + const browseCapability = useBrowseCapability(); + const enableLoadURLsInComposer = browseCapability.inComposer && !composeText.startsWith('/'); // user message for attachments const { onConversationBeamEdit, onConversationsImportFromFiles } = props; @@ -759,7 +759,7 @@ export function Composer(props: { {showChatAttachments === true && (