@langchain/google-genai 2.1.27 → 2.1.28
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 +7 -0
- package/dist/chat_models.cjs +1 -1
- package/dist/chat_models.js +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @langchain/google-genai
|
|
2
2
|
|
|
3
|
+
## 2.1.28
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`589f29c`](https://github.com/langchain-ai/langchainjs/commit/589f29ce844eb252c2d5e6b0f8d26de37763a0d7), [`2e9e696`](https://github.com/langchain-ai/langchainjs/commit/2e9e6969e248a53ede0659a41d0ac8dbaf291ab4)]:
|
|
8
|
+
- @langchain/core@1.1.41
|
|
9
|
+
|
|
3
10
|
## 2.1.27
|
|
4
11
|
|
|
5
12
|
### Patch Changes
|
package/dist/chat_models.cjs
CHANGED
|
@@ -424,7 +424,7 @@ var ChatGoogleGenerativeAI = class extends _langchain_core_language_models_chat_
|
|
|
424
424
|
model: modelOrFields
|
|
425
425
|
} : modelOrFields;
|
|
426
426
|
super(fields);
|
|
427
|
-
this._addVersion("@langchain/google-genai", "2.1.
|
|
427
|
+
this._addVersion("@langchain/google-genai", "2.1.28");
|
|
428
428
|
this.model = fields.model.replace(/^models\//, "");
|
|
429
429
|
this.maxOutputTokens = fields.maxOutputTokens ?? this.maxOutputTokens;
|
|
430
430
|
if (this.maxOutputTokens && this.maxOutputTokens < 0) throw new Error("`maxOutputTokens` must be a positive integer");
|
package/dist/chat_models.js
CHANGED
|
@@ -424,7 +424,7 @@ var ChatGoogleGenerativeAI = class extends BaseChatModel {
|
|
|
424
424
|
model: modelOrFields
|
|
425
425
|
} : modelOrFields;
|
|
426
426
|
super(fields);
|
|
427
|
-
this._addVersion("@langchain/google-genai", "2.1.
|
|
427
|
+
this._addVersion("@langchain/google-genai", "2.1.28");
|
|
428
428
|
this.model = fields.model.replace(/^models\//, "");
|
|
429
429
|
this.maxOutputTokens = fields.maxOutputTokens ?? this.maxOutputTokens;
|
|
430
430
|
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.
|
|
3
|
+
"version": "2.1.28",
|
|
4
4
|
"description": "Google Generative AI integration for LangChain.js",
|
|
5
5
|
"author": "LangChain",
|
|
6
6
|
"license": "MIT",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"uuid": "^11.1.0"
|
|
19
19
|
},
|
|
20
20
|
"peerDependencies": {
|
|
21
|
-
"@langchain/core": "^1.1.
|
|
21
|
+
"@langchain/core": "^1.1.41"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"@tsconfig/recommended": "^1.0.3",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"typescript": "~5.8.3",
|
|
29
29
|
"vitest": "^4.1.2",
|
|
30
30
|
"zod": "^3.25.76",
|
|
31
|
-
"@langchain/core": "^1.1.
|
|
31
|
+
"@langchain/core": "^1.1.41",
|
|
32
32
|
"@langchain/standard-tests": "0.0.23",
|
|
33
33
|
"@langchain/tsconfig": "0.0.1"
|
|
34
34
|
},
|