feat: logs show reject reason

This commit is contained in:
Seefs committed 2026-01-25 14:52:18 +08:00
1 parent 7af4d07843
commit 68e1e635e9
7 files changed
+33

No files matched your search

@@ -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={{