fix: 修复自定义渠道出错 #243

This commit is contained in:
CaIon
2024-05-13 14:32:32 +08:00
parent e8800415b8
commit fd19798c92
5 changed files with 11 additions and 17 deletions

View File

@@ -1,4 +1,3 @@
import { Label } from 'semantic-ui-react';
import { Tag } from '@douyinfe/semi-ui';
export function renderText(text, limit) {
@@ -152,9 +151,9 @@ export function renderModelPrice(
let completionRatioPrice =
modelRatio * completionRatio * 0.002 * groupRatio;
return (
'输入$' +
'输入 $' +
inputRatioPrice.toFixed(3) +
'/1K tokens补全$' +
'/1K tokens补全 $' +
completionRatioPrice.toFixed(3) +
'/1K tokens'
);