fix: restore log content column

This commit is contained in:
Seefs
2026-02-05 16:59:53 +08:00
parent b6350ce501
commit b5b681398a

View File

@@ -719,19 +719,15 @@ export const getLogsColumns = ({
other?.is_system_prompt_overwritten, other?.is_system_prompt_overwritten,
'openai', 'openai',
); );
// Do not add billing source here; keep details clean.
const summary = [content, text ? `${t('详情')}${text}` : null]
.filter(Boolean)
.join('\n');
return ( return (
<Typography.Paragraph <Typography.Paragraph
ellipsis={{ ellipsis={{
rows: 3, rows: 3,
}} }}
style={{ maxWidth: 240, whiteSpace: 'pre-line' }} style={{ maxWidth: 240, whiteSpace: 'pre-line' }}
> >
{summary} {content}
</Typography.Paragraph> </Typography.Paragraph>
); );
}, },
}, },