Bugfix/Google Gemini Image Input (#4515)
always allow image input for all gemini llms
This commit is contained in:
parent
07b251b4bc
commit
d06b7d7aef
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue