From 2f3d9defe6a146bdc23cd1fed5954e89154ef6e2 Mon Sep 17 00:00:00 2001 From: jacoblee93 Date: Tue, 11 Jun 2024 13:17:56 -0700 Subject: [PATCH] Fix type --- langchain/src/chains/openai_moderation.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/langchain/src/chains/openai_moderation.ts b/langchain/src/chains/openai_moderation.ts index f6f4194d9650..c1be1dbe911f 100644 --- a/langchain/src/chains/openai_moderation.ts +++ b/langchain/src/chains/openai_moderation.ts @@ -13,6 +13,8 @@ import { BaseChain, ChainInputs } from "./base.js"; export interface OpenAIModerationChainInput extends ChainInputs, AsyncCallerParams { + apiKey?: string; + /** @deprecated Use "apiKey" instead. */ openAIApiKey?: string; openAIOrganization?: string; throwError?: boolean;