Skip to content

Commit d06b7d7

Browse files
authored
Bugfix/Google Gemini Image Input (#4515)
always allow image input for all gemini llms
1 parent 07b251b commit d06b7d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/components/nodes/chatmodels/ChatGoogleGenerativeAI/FlowiseChatGoogleGenerativeAI.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ class LangchainChatGoogleGenerativeAI
9292
private contextCache?: FlowiseGoogleAICacheManager
9393

9494
get _isMultimodalModel() {
95-
return this.modelName.includes('vision') || this.modelName.startsWith('gemini-1.5')
95+
return true
9696
}
9797

9898
constructor(fields?: GoogleGenerativeAIChatInput) {

0 commit comments

Comments
 (0)