New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@langchain/google-genai

Package Overview
Dependencies
Maintainers
0
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@langchain/google-genai - npm Package Compare versions

Comparing version 0.1.5 to 0.1.6

4

dist/chat_models.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc