mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-22 09:01:09 +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
|
private contextCache?: FlowiseGoogleAICacheManager
|
||||||
|
|
||||||
get _isMultimodalModel() {
|
get _isMultimodalModel() {
|
||||||
return this.modelName.includes('vision') || this.modelName.startsWith('gemini-1.5')
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
constructor(fields?: GoogleGenerativeAIChatInput) {
|
constructor(fields?: GoogleGenerativeAIChatInput) {
|
||||||
|
|||||||
Reference in New Issue
Block a user