@langchain/google-genai
Advanced tools
Comparing version 0.1.5 to 0.1.6
@@ -360,3 +360,5 @@ import { GoogleGenerativeAI as GenerativeAI, } from "@google/generative-ai"; | ||
get _isMultimodalModel() { | ||
return this.model.includes("vision") || this.model.startsWith("gemini-1.5"); | ||
return (this.model.includes("vision") || | ||
this.model.startsWith("gemini-1.5") || | ||
this.model.startsWith("gemini-2")); | ||
} | ||
@@ -363,0 +365,0 @@ constructor(fields) { |
{ | ||
"name": "@langchain/google-genai", | ||
"version": "0.1.5", | ||
"version": "0.1.6", | ||
"description": "Google Generative AI integration for LangChain.js", | ||
@@ -5,0 +5,0 @@ "type": "module", |
Sorry, the diff of this file is not supported yet
145367
3730