mirror of
https://github.com/QuantumNous/new-api.git
synced 2026-04-18 17:07:27 +00:00
feat: logs show reject reason
This commit is contained in:
@@ -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