fix: restore log content column
This commit is contained in:
@@ -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>
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user