From b20de667a418401bdbfb06ad0d821a7452732a01 Mon Sep 17 00:00:00 2001 From: heimoshuiyu Date: Sat, 16 Mar 2024 18:31:27 +0800 Subject: [PATCH] fix: set logprobs to default false --- src/app.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app.tsx b/src/app.tsx index c8497ac..c1e4c08 100644 --- a/src/app.tsx +++ b/src/app.tsx @@ -87,7 +87,7 @@ export const newChatStore = ( image_gen_api = "https://api.openai.com/v1/images/generations", image_gen_key = "", json_mode = false, - logprobs = true + logprobs = false ): ChatStore => { return { chatgpt_api_web_version: CHATGPT_API_WEB_VERSION, @@ -290,7 +290,7 @@ export function App() { chatStore.image_gen_api, chatStore.image_gen_key, chatStore.json_mode, - chatStore.logprobs + false // logprobs default to false ) ); setSelectedChatIndex(newKey as number);