diff --git a/packages/components/nodes/chatmodels/ChatGoogleGenerativeAI/FlowiseChatGoogleGenerativeAI.ts b/packages/components/nodes/chatmodels/ChatGoogleGenerativeAI/FlowiseChatGoogleGenerativeAI.ts index 4824810eb..8854485c9 100644 --- a/packages/components/nodes/chatmodels/ChatGoogleGenerativeAI/FlowiseChatGoogleGenerativeAI.ts +++ b/packages/components/nodes/chatmodels/ChatGoogleGenerativeAI/FlowiseChatGoogleGenerativeAI.ts @@ -92,7 +92,7 @@ class LangchainChatGoogleGenerativeAI private contextCache?: FlowiseGoogleAICacheManager get _isMultimodalModel() { - return this.modelName.includes('vision') || this.modelName.startsWith('gemini-1.5') + return true } constructor(fields?: GoogleGenerativeAIChatInput) {