feat: logs show reject reason

This commit is contained in:
Seefs
2026-01-25 14:52:18 +08:00
parent 7af4d07843
commit 68e1e635e9
7 changed files with 33 additions and 0 deletions

View File

@@ -578,6 +578,9 @@ export const getLogsColumns = ({
other?.is_system_prompt_overwritten,
'openai',
);
if (isAdminUser && other?.reject_reason) {
content += `\nBlock reason: ${other.reject_reason}`;
}
return (
<Typography.Paragraph
ellipsis={{