refactor: usage chart
This commit is contained in:
@@ -80,6 +80,15 @@ const useModelsColumns = (): Array<{
|
||||
<AutoTooltip ghost>{text}</AutoTooltip>
|
||||
)
|
||||
},
|
||||
{
|
||||
title: intl.formatMessage({ id: 'usage.table.inputTokensCached' }),
|
||||
dataIndex: 'input_cached_tokens',
|
||||
key: 'input_cached_tokens',
|
||||
sorter: true,
|
||||
render: (text: number, record: ListItem) => (
|
||||
<AutoTooltip ghost>{text ?? '-'}</AutoTooltip>
|
||||
)
|
||||
},
|
||||
{
|
||||
title: intl.formatMessage({ id: 'usage.filter.outputTokens' }),
|
||||
dataIndex: 'output_tokens',
|
||||
|
||||
Reference in New Issue
Block a user