Commit 99f00404 by 1808837298@qq.com

chore: 删除无用代码

parent 9b2fdc13
...@@ -149,8 +149,8 @@ export function renderModelPrice( ...@@ -149,8 +149,8 @@ export function renderModelPrice(
if (completionRatio === undefined) { if (completionRatio === undefined) {
completionRatio = 0; completionRatio = 0;
} }
let inputRatioPrice = modelRatio * 2.0 * groupRatio; let inputRatioPrice = modelRatio * groupRatio;
let completionRatioPrice = modelRatio * completionRatio * 2.0 * groupRatio; let completionRatioPrice = modelRatio * completionRatio * groupRatio;
let price = let price =
(inputTokens / 1000000) * inputRatioPrice + (inputTokens / 1000000) * inputRatioPrice +
(completionTokens / 1000000) * completionRatioPrice; (completionTokens / 1000000) * completionRatioPrice;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment