feat: logs show reject reason
This commit is contained in:
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={{
|
||||
|
||||
Reference in new issue
Block a user