diff --git a/core/llm/llms/OpenAI.ts b/core/llm/llms/OpenAI.ts index 9366a7954..0e2ab2ab7 100644 --- a/core/llm/llms/OpenAI.ts +++ b/core/llm/llms/OpenAI.ts @@ -42,8 +42,6 @@ const CHAT_ONLY_MODELS = [ class OpenAI extends BaseLLM { public useLegacyCompletionsEndpoint: boolean | undefined = undefined; - maxStopWords: number | undefined = undefined; - constructor(options: LLMOptions) { super(options); this.useLegacyCompletionsEndpoint = options.useLegacyCompletionsEndpoint; diff --git a/core/llm/llms/WatsonX.ts b/core/llm/llms/WatsonX.ts index d9b61a3f1..822e95cb5 100644 --- a/core/llm/llms/WatsonX.ts +++ b/core/llm/llms/WatsonX.ts @@ -14,7 +14,6 @@ const watsonxConfig = { }, }; class WatsonX extends BaseLLM { - maxStopWords: number | undefined = undefined; constructor(options: LLMOptions) { super(options);