feat: 完善日志详情

This commit is contained in:
CaIon
2024-05-13 15:08:01 +08:00
parent 5ac3d25f54
commit 39f6812a2b
3 changed files with 23 additions and 14 deletions

View File

@@ -316,6 +316,8 @@ const LogsTable = () => {
}
let other = JSON.parse(record.other);
let content = renderModelPrice(
record.prompt_tokens,
record.completion_tokens,
other.model_ratio,
other.model_price,
other.completion_ratio,
@@ -326,10 +328,6 @@ const LogsTable = () => {
<Paragraph
ellipsis={{
rows: 2,
showTooltip: {
type: 'popover',
opts: { style: { width: 240 } },
},
}}
style={{ maxWidth: 240 }}
>