@langchain/google-genai 2.1.1 → 2.1.3-dev-1766726832377

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,14 @@
1
1
  # @langchain/google-genai
2
2
 
3
+ ## 2.1.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#9680](https://github.com/langchain-ai/langchainjs/pull/9680) [`cbd2a96`](https://github.com/langchain-ai/langchainjs/commit/cbd2a96b55e2b772cf54abaea081ba8199df5c8b) Thanks [@christian-bromann](https://github.com/christian-bromann)! - fix(google-genai): add 'medium' as option for thinkingLevel
8
+
9
+ - Updated dependencies [[`df9c42b`](https://github.com/langchain-ai/langchainjs/commit/df9c42b3ab61b85309ab47256e1d93c3188435ee), [`8d2982b`](https://github.com/langchain-ai/langchainjs/commit/8d2982bb94c0f4e4314ace3cc98a1ae87571b1ed), [`af664be`](https://github.com/langchain-ai/langchainjs/commit/af664becc0245b2315ea2f784c9a6c1d7622dbb4), [`ffb2402`](https://github.com/langchain-ai/langchainjs/commit/ffb24026cd93e58219519ee24c6e23ea57cb5bde)]:
10
+ - @langchain/core@1.1.7
11
+
3
12
  ## 2.1.1
4
13
 
5
14
  ### Patch Changes
package/dist/types.d.cts CHANGED
@@ -11,7 +11,7 @@ type GoogleGenerativeAIThinkingConfig = {
11
11
  /** Optional. The level of thoughts tokens that the model should generate. */
12
12
  thinkingLevel?: GoogleGenerativeAIThinkingLevel;
13
13
  };
14
- type GoogleGenerativeAIThinkingLevel = "THINKING_LEVEL_UNSPECIFIED" | "LOW" | "HIGH";
14
+ type GoogleGenerativeAIThinkingLevel = "THINKING_LEVEL_UNSPECIFIED" | "LOW" | "MEDIUM" | "HIGH";
15
15
  //#endregion
16
16
  export { GoogleGenerativeAIThinkingConfig, GoogleGenerativeAIToolType };
17
17
  //# sourceMappingURL=types.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.cts","names":["CodeExecutionTool","FunctionDeclarationsTool","GoogleGenerativeAIFunctionDeclarationsTool","GoogleSearchRetrievalTool","BindToolsInput","GoogleGenerativeAIToolType","GoogleGenerativeAIThinkingConfig","GoogleGenerativeAIThinkingLevel"],"sources":["../src/types.d.ts"],"sourcesContent":["import { CodeExecutionTool, FunctionDeclarationsTool as GoogleGenerativeAIFunctionDeclarationsTool, GoogleSearchRetrievalTool } from \"@google/generative-ai\";\nimport { BindToolsInput } from \"@langchain/core/language_models/chat_models\";\nexport type GoogleGenerativeAIToolType = BindToolsInput | GoogleGenerativeAIFunctionDeclarationsTool | CodeExecutionTool | GoogleSearchRetrievalTool;\nexport type GoogleGenerativeAIThinkingConfig = {\n /** Indicates whether to include thoughts in the response. If true, thoughts are returned only when available. */\n includeThoughts?: boolean;\n /** The number of thoughts tokens that the model should generate. */\n thinkingBudget?: number;\n /** Optional. The level of thoughts tokens that the model should generate. */\n thinkingLevel?: GoogleGenerativeAIThinkingLevel;\n};\nexport type GoogleGenerativeAIThinkingLevel = \"THINKING_LEVEL_UNSPECIFIED\" | \"LOW\" | \"HIGH\";\n//# sourceMappingURL=types.d.ts.map"],"mappings":";;;;KAEYK,0BAAAA,GAA6BD,iBAAiBF,2BAA6CF,oBAAoBG;KAC/GG,gCAAAA;EADAD;EAA6BD,eAAAA,CAAAA,EAAAA,OAAAA;EAAiBF;EAA6CF,cAAAA,CAAAA,EAAAA,MAAAA;EAAoBG;EAAyB,aAAA,CAAA,EAOhII,+BAPgI;AACpJ,CAAA;AAQYA,KAAAA,+BAAAA,GAA+B,4BAAA,GAAA,KAAA,GAAA,MAAA"}
1
+ {"version":3,"file":"types.d.cts","names":["CodeExecutionTool","FunctionDeclarationsTool","GoogleGenerativeAIFunctionDeclarationsTool","GoogleSearchRetrievalTool","BindToolsInput","GoogleGenerativeAIToolType","GoogleGenerativeAIThinkingConfig","GoogleGenerativeAIThinkingLevel"],"sources":["../src/types.d.ts"],"sourcesContent":["import { CodeExecutionTool, FunctionDeclarationsTool as GoogleGenerativeAIFunctionDeclarationsTool, GoogleSearchRetrievalTool } from \"@google/generative-ai\";\nimport { BindToolsInput } from \"@langchain/core/language_models/chat_models\";\nexport type GoogleGenerativeAIToolType = BindToolsInput | GoogleGenerativeAIFunctionDeclarationsTool | CodeExecutionTool | GoogleSearchRetrievalTool;\nexport type GoogleGenerativeAIThinkingConfig = {\n /** Indicates whether to include thoughts in the response. If true, thoughts are returned only when available. */\n includeThoughts?: boolean;\n /** The number of thoughts tokens that the model should generate. */\n thinkingBudget?: number;\n /** Optional. The level of thoughts tokens that the model should generate. */\n thinkingLevel?: GoogleGenerativeAIThinkingLevel;\n};\nexport type GoogleGenerativeAIThinkingLevel = \"THINKING_LEVEL_UNSPECIFIED\" | \"LOW\" | \"MEDIUM\" | \"HIGH\";\n//# sourceMappingURL=types.d.ts.map"],"mappings":";;;;KAEYK,0BAAAA,GAA6BD,iBAAiBF,2BAA6CF,oBAAoBG;KAC/GG,gCAAAA;EADAD;EAA6BD,eAAAA,CAAAA,EAAAA,OAAAA;EAAiBF;EAA6CF,cAAAA,CAAAA,EAAAA,MAAAA;EAAoBG;EAAyB,aAAA,CAAA,EAOhII,+BAPgI;AACpJ,CAAA;AAQYA,KAAAA,+BAAAA,GAA+B,4BAAA,GAAA,KAAA,GAAA,QAAA,GAAA,MAAA"}
package/dist/types.d.ts CHANGED
@@ -11,7 +11,7 @@ type GoogleGenerativeAIThinkingConfig = {
11
11
  /** Optional. The level of thoughts tokens that the model should generate. */
12
12
  thinkingLevel?: GoogleGenerativeAIThinkingLevel;
13
13
  };
14
- type GoogleGenerativeAIThinkingLevel = "THINKING_LEVEL_UNSPECIFIED" | "LOW" | "HIGH";
14
+ type GoogleGenerativeAIThinkingLevel = "THINKING_LEVEL_UNSPECIFIED" | "LOW" | "MEDIUM" | "HIGH";
15
15
  //#endregion
16
16
  export { GoogleGenerativeAIThinkingConfig, GoogleGenerativeAIToolType };
17
17
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","names":["CodeExecutionTool","FunctionDeclarationsTool","GoogleGenerativeAIFunctionDeclarationsTool","GoogleSearchRetrievalTool","BindToolsInput","GoogleGenerativeAIToolType","GoogleGenerativeAIThinkingConfig","GoogleGenerativeAIThinkingLevel"],"sources":["../src/types.d.ts"],"sourcesContent":["import { CodeExecutionTool, FunctionDeclarationsTool as GoogleGenerativeAIFunctionDeclarationsTool, GoogleSearchRetrievalTool } from \"@google/generative-ai\";\nimport { BindToolsInput } from \"@langchain/core/language_models/chat_models\";\nexport type GoogleGenerativeAIToolType = BindToolsInput | GoogleGenerativeAIFunctionDeclarationsTool | CodeExecutionTool | GoogleSearchRetrievalTool;\nexport type GoogleGenerativeAIThinkingConfig = {\n /** Indicates whether to include thoughts in the response. If true, thoughts are returned only when available. */\n includeThoughts?: boolean;\n /** The number of thoughts tokens that the model should generate. */\n thinkingBudget?: number;\n /** Optional. The level of thoughts tokens that the model should generate. */\n thinkingLevel?: GoogleGenerativeAIThinkingLevel;\n};\nexport type GoogleGenerativeAIThinkingLevel = \"THINKING_LEVEL_UNSPECIFIED\" | \"LOW\" | \"HIGH\";\n//# sourceMappingURL=types.d.ts.map"],"mappings":";;;;KAEYK,0BAAAA,GAA6BD,iBAAiBF,2BAA6CF,oBAAoBG;KAC/GG,gCAAAA;EADAD;EAA6BD,eAAAA,CAAAA,EAAAA,OAAAA;EAAiBF;EAA6CF,cAAAA,CAAAA,EAAAA,MAAAA;EAAoBG;EAAyB,aAAA,CAAA,EAOhII,+BAPgI;AACpJ,CAAA;AAQYA,KAAAA,+BAAAA,GAA+B,4BAAA,GAAA,KAAA,GAAA,MAAA"}
1
+ {"version":3,"file":"types.d.ts","names":["CodeExecutionTool","FunctionDeclarationsTool","GoogleGenerativeAIFunctionDeclarationsTool","GoogleSearchRetrievalTool","BindToolsInput","GoogleGenerativeAIToolType","GoogleGenerativeAIThinkingConfig","GoogleGenerativeAIThinkingLevel"],"sources":["../src/types.d.ts"],"sourcesContent":["import { CodeExecutionTool, FunctionDeclarationsTool as GoogleGenerativeAIFunctionDeclarationsTool, GoogleSearchRetrievalTool } from \"@google/generative-ai\";\nimport { BindToolsInput } from \"@langchain/core/language_models/chat_models\";\nexport type GoogleGenerativeAIToolType = BindToolsInput | GoogleGenerativeAIFunctionDeclarationsTool | CodeExecutionTool | GoogleSearchRetrievalTool;\nexport type GoogleGenerativeAIThinkingConfig = {\n /** Indicates whether to include thoughts in the response. If true, thoughts are returned only when available. */\n includeThoughts?: boolean;\n /** The number of thoughts tokens that the model should generate. */\n thinkingBudget?: number;\n /** Optional. The level of thoughts tokens that the model should generate. */\n thinkingLevel?: GoogleGenerativeAIThinkingLevel;\n};\nexport type GoogleGenerativeAIThinkingLevel = \"THINKING_LEVEL_UNSPECIFIED\" | \"LOW\" | \"MEDIUM\" | \"HIGH\";\n//# sourceMappingURL=types.d.ts.map"],"mappings":";;;;KAEYK,0BAAAA,GAA6BD,iBAAiBF,2BAA6CF,oBAAoBG;KAC/GG,gCAAAA;EADAD;EAA6BD,eAAAA,CAAAA,EAAAA,OAAAA;EAAiBF;EAA6CF,cAAAA,CAAAA,EAAAA,MAAAA;EAAoBG;EAAyB,aAAA,CAAA,EAOhII,+BAPgI;AACpJ,CAAA;AAQYA,KAAAA,+BAAAA,GAA+B,4BAAA,GAAA,KAAA,GAAA,QAAA,GAAA,MAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@langchain/google-genai",
3
- "version": "2.1.1",
3
+ "version": "2.1.3-dev-1766726832377",
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.6"
21
+ "@langchain/core": "1.1.8-dev-1766726832377"
22
22
  },
23
23
  "devDependencies": {
24
24
  "@jest/globals": "^29.5.0",
@@ -36,9 +36,9 @@
36
36
  "ts-jest": "^29.1.0",
37
37
  "typescript": "~5.8.3",
38
38
  "zod": "^3.25.76",
39
- "@langchain/core": "1.1.6",
39
+ "@langchain/core": "1.1.8-dev-1766726832377",
40
40
  "@langchain/eslint": "0.1.1",
41
- "@langchain/standard-tests": "0.0.9",
41
+ "@langchain/standard-tests": "0.0.11-dev-1766726832377",
42
42
  "@langchain/tsconfig": "0.0.1"
43
43
  },
44
44
  "publishConfig": {