From 2ac01b6112c413ec7fe9bbb95a445f7121eb3ffa Mon Sep 17 00:00:00 2001 From: jacoblee93 Date: Sun, 26 Nov 2023 10:35:13 -0800 Subject: [PATCH] Update secret map --- langchain/src/chat_models/cloudflare_workersai.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/langchain/src/chat_models/cloudflare_workersai.ts b/langchain/src/chat_models/cloudflare_workersai.ts index 694723fd9846..b8d2f5971814 100644 --- a/langchain/src/chat_models/cloudflare_workersai.ts +++ b/langchain/src/chat_models/cloudflare_workersai.ts @@ -77,6 +77,12 @@ export class ChatCloudflareWorkersAI } } + get lc_secrets(): { [key: string]: string } | undefined { + return { + cloudflareApiToken: "CLOUDFLARE_API_TOKEN", + }; + } + _llmType() { return "cloudflare"; }