From d05a786b4c25cade3a0256559f66766a43ed73ad Mon Sep 17 00:00:00 2001 From: "1808837298@qq.com" <1808837298@qq.com> Date: Tue, 21 May 2024 20:50:48 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E5=88=A0=E9=99=A4=E6=97=A0=E7=94=A8?= =?UTF-8?q?=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/helpers/render.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/helpers/render.js b/web/src/helpers/render.js index d84b2ebb..8db5091c 100644 --- a/web/src/helpers/render.js +++ b/web/src/helpers/render.js @@ -149,8 +149,8 @@ export function renderModelPrice( if (completionRatio === undefined) { completionRatio = 0; } - let inputRatioPrice = modelRatio * 2.0 * groupRatio; - let completionRatioPrice = modelRatio * completionRatio * 2.0 * groupRatio; + let inputRatioPrice = modelRatio * groupRatio; + let completionRatioPrice = modelRatio * completionRatio * groupRatio; let price = (inputTokens / 1000000) * inputRatioPrice + (completionTokens / 1000000) * completionRatioPrice;