Merge pull request #2606 from Lash-L/maxStopWords_fix
Fix Max Stop Words not being set for openai and watsonx models
This commit is contained in:
commit
7a4eac4aa1
2 changed files with 0 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -14,7 +14,6 @@ const watsonxConfig = {
|
|||
},
|
||||
};
|
||||
class WatsonX extends BaseLLM {
|
||||
maxStopWords: number | undefined = undefined;
|
||||
|
||||
constructor(options: LLMOptions) {
|
||||
super(options);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue