From dead673f9f252882a06ea3c05952c9fd5a1c4fc5 Mon Sep 17 00:00:00 2001 From: "marsal.sans" Date: Fri, 2 Aug 2024 22:51:08 +0200 Subject: [PATCH] google-common[patch]: Add `method` property to GoogleAISafetySetting interface (#6310) * feat: Add method property to GoogleAISafetySetting interface * fix make param optional --- libs/langchain-google-common/src/types.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/langchain-google-common/src/types.ts b/libs/langchain-google-common/src/types.ts index a07c32e67555..305b7a7eda78 100644 --- a/libs/langchain-google-common/src/types.ts +++ b/libs/langchain-google-common/src/types.ts @@ -45,6 +45,7 @@ export interface GoogleConnectionParams export interface GoogleAISafetySetting { category: string; threshold: string; + method?: string; } export type GoogleAIResponseMimeType = "text/plain" | "application/json";