From 32c48cf9fab2b12203f8b97ee36581a3ab003036 Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Wed, 7 Aug 2024 20:58:19 +0300 Subject: [PATCH] Fix default value for OpenRouter Top A --- default/content/presets/openai/Default.json | 2 +- public/scripts/openai.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/default/content/presets/openai/Default.json b/default/content/presets/openai/Default.json index e32590a32..e2345c687 100644 --- a/default/content/presets/openai/Default.json +++ b/default/content/presets/openai/Default.json @@ -22,7 +22,7 @@ "count_penalty": 0, "top_p": 1, "top_k": 0, - "top_a": 1, + "top_a": 0, "min_p": 0, "repetition_penalty": 1, "openai_max_context": 4095, diff --git a/public/scripts/openai.js b/public/scripts/openai.js index ea5c685da..b8c0efd8d 100644 --- a/public/scripts/openai.js +++ b/public/scripts/openai.js @@ -238,7 +238,7 @@ const default_settings = { top_p_openai: 1.0, top_k_openai: 0, min_p_openai: 0, - top_a_openai: 1, + top_a_openai: 0, repetition_penalty_openai: 1, stream_openai: false, websearch_cohere: false, @@ -318,7 +318,7 @@ const oai_settings = { top_p_openai: 1.0, top_k_openai: 0, min_p_openai: 0, - top_a_openai: 1, + top_a_openai: 0, repetition_penalty_openai: 1, stream_openai: false, websearch_cohere: false,