diff --git a/core/llm/llms/Flowise.ts b/core/llm/llms/Flowise.ts index a1943f9bd..16748866a 100644 --- a/core/llm/llms/Flowise.ts +++ b/core/llm/llms/Flowise.ts @@ -102,7 +102,12 @@ class Flowise extends BaseLLM { protected _convertArgs(options: CompletionOptions): IFlowiseApiOptions { const finalOptions: IFlowiseApiOptions = { - ...options + temperature: options.temperature, + maxTokens: options.maxTokens, + topP: options.topP, + topK: options.topK, + presencePenalty: options.presencePenalty, + frequencyPenalty: options.frequencyPenalty, }; for (const additionalConfig of this.additionalFlowiseConfiguration) {