@langchain/google-common 0.0.12 → 0.0.14

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.
@@ -109,6 +109,11 @@ class ChatGoogleBase extends chat_models_1.BaseChatModel {
109
109
  static lc_name() {
110
110
  return "ChatGoogle";
111
111
  }
112
+ get lc_secrets() {
113
+ return {
114
+ authOptions: "GOOGLE_AUTH_OPTIONS",
115
+ };
116
+ }
112
117
  constructor(fields) {
113
118
  super((0, failed_handler_js_1.ensureParams)(fields));
114
119
  Object.defineProperty(this, "lc_serializable", {
@@ -30,6 +30,9 @@ export interface ChatGoogleBaseInput<AuthOptions> extends BaseChatModelParams, G
30
30
  */
31
31
  export declare abstract class ChatGoogleBase<AuthOptions> extends BaseChatModel<GoogleAIBaseLanguageModelCallOptions, AIMessageChunk> implements ChatGoogleBaseInput<AuthOptions> {
32
32
  static lc_name(): string;
33
+ get lc_secrets(): {
34
+ [key: string]: string;
35
+ } | undefined;
33
36
  lc_serializable: boolean;
34
37
  model: string;
35
38
  modelName: string;
@@ -106,6 +106,11 @@ export class ChatGoogleBase extends BaseChatModel {
106
106
  static lc_name() {
107
107
  return "ChatGoogle";
108
108
  }
109
+ get lc_secrets() {
110
+ return {
111
+ authOptions: "GOOGLE_AUTH_OPTIONS",
112
+ };
113
+ }
109
114
  constructor(fields) {
110
115
  super(ensureParams(fields));
111
116
  Object.defineProperty(this, "lc_serializable", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@langchain/google-common",
3
- "version": "0.0.12",
3
+ "version": "0.0.14",
4
4
  "description": "Core types and classes for Google services.",
5
5
  "type": "module",
6
6
  "engines": {
@@ -39,7 +39,7 @@
39
39
  "author": "LangChain",
40
40
  "license": "MIT",
41
41
  "dependencies": {
42
- "@langchain/core": "~0.1.56",
42
+ "@langchain/core": "<0.3.0 || >0.1.0",
43
43
  "uuid": "^9.0.0",
44
44
  "zod-to-json-schema": "^3.22.4"
45
45
  },