mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-22 07:01:07 +03:00
Bugfix/Google Gemini Image Input (#4515)
always allow image input for all gemini llms
This commit is contained in:
+1
-1
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user