feat: update log content format

This commit is contained in:
JustSong
2025-01-31 18:15:43 +08:00
parent d0402f9086
commit ea0721d525
4 changed files with 13 additions and 6 deletions

View File

@@ -328,7 +328,7 @@ const LogsTable = () => {
}}
width={isAdminUser ? 4 : 6}
>
详情
详情模型倍率 × 分组倍率 × 补全倍率
</Table.HeaderCell>
</Table.Row>
</Table.Header>
@@ -360,7 +360,10 @@ const LogsTable = () => {
<Table.Cell>{log.prompt_tokens ? log.prompt_tokens : ''}</Table.Cell>
<Table.Cell>{log.completion_tokens ? log.completion_tokens : ''}</Table.Cell>
<Table.Cell>{log.quota ? renderQuota(log.quota, 6) : ''}</Table.Cell>
<Table.Cell>{log.content}</Table.Cell>
<Table.Cell>{log.content}{<>
<br/>
<code>{log.request_id}</code>
</>}</Table.Cell>
</Table.Row>
);
})}