From 4e7ca736e474addee16da26eef2ac04e92e12c15 Mon Sep 17 00:00:00 2001 From: John L Chen Date: Sun, 27 Oct 2024 15:13:49 +0800 Subject: [PATCH] default maxStopWords = 16 for DeepInfra --- core/llm/llms/DeepInfra.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/core/llm/llms/DeepInfra.ts b/core/llm/llms/DeepInfra.ts index 6b33a4bdc..592d28009 100644 --- a/core/llm/llms/DeepInfra.ts +++ b/core/llm/llms/DeepInfra.ts @@ -6,6 +6,7 @@ class DeepInfra extends OpenAI { static defaultOptions: Partial = { apiBase: "https://api.deepinfra.com/v1/openai/", }; + maxStopWords: number | undefined = 16; } export default DeepInfra;