redacts de3u api-key from diagnostic logs

This commit is contained in:
nai-degen 2024-05-26 15:13:21 -05:00
parent 2d82e55d72
commit a59b6555e7
1 changed files with 1 additions and 0 deletions

View File

@ -45,6 +45,7 @@ app.use(
'res.headers["set-cookie"]',
"req.headers.authorization",
'req.headers["x-api-key"]',
'req.headers["api-key"]',
// Don't log the prompt text on transform errors
"body.messages",
"body.prompt",