@langchain/google-genai 2.1.21 → 2.1.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # @langchain/google-genai
2
2
 
3
+ ## 2.1.22
4
+
3
5
  ## 2.1.21
4
6
 
5
7
  ### Patch Changes
@@ -425,7 +425,7 @@ var ChatGoogleGenerativeAI = class extends _langchain_core_language_models_chat_
425
425
  model: modelOrFields
426
426
  } : modelOrFields;
427
427
  super(fields);
428
- this._addVersion("@langchain/google-genai", "2.1.21");
428
+ this._addVersion("@langchain/google-genai", "2.1.22");
429
429
  this.model = fields.model.replace(/^models\//, "");
430
430
  this.maxOutputTokens = fields.maxOutputTokens ?? this.maxOutputTokens;
431
431
  if (this.maxOutputTokens && this.maxOutputTokens < 0) throw new Error("`maxOutputTokens` must be a positive integer");
@@ -425,7 +425,7 @@ var ChatGoogleGenerativeAI = class extends BaseChatModel {
425
425
  model: modelOrFields
426
426
  } : modelOrFields;
427
427
  super(fields);
428
- this._addVersion("@langchain/google-genai", "2.1.21");
428
+ this._addVersion("@langchain/google-genai", "2.1.22");
429
429
  this.model = fields.model.replace(/^models\//, "");
430
430
  this.maxOutputTokens = fields.maxOutputTokens ?? this.maxOutputTokens;
431
431
  if (this.maxOutputTokens && this.maxOutputTokens < 0) throw new Error("`maxOutputTokens` must be a positive integer");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@langchain/google-genai",
3
- "version": "2.1.21",
3
+ "version": "2.1.22",
4
4
  "description": "Google Generative AI integration for LangChain.js",
5
5
  "author": "LangChain",
6
6
  "license": "MIT",