From cda074fe243183a3b6e3801f21c954007e221157 Mon Sep 17 00:00:00 2001 From: Yidadaa Date: Tue, 4 Jul 2023 00:40:57 +0800 Subject: [PATCH] fixup --- app/client/platforms/openai.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/app/client/platforms/openai.ts b/app/client/platforms/openai.ts index 79d485562bb..bbd14d61337 100644 --- a/app/client/platforms/openai.ts +++ b/app/client/platforms/openai.ts @@ -50,6 +50,7 @@ export class ChatGPTApi implements LLMApi { temperature: modelConfig.temperature, presence_penalty: modelConfig.presence_penalty, frequency_penalty: modelConfig.frequency_penalty, + top_p: modelConfig.top_p, }; console.log("[Request] openai payload: ", requestPayload);