Enhance log security

This commit is contained in:
glay 2024-12-08 08:33:45 +08:00
parent 5ac651ad8e
commit 603415f9e1
1 changed files with 4 additions and 4 deletions

View File

@ -103,10 +103,10 @@ async function requestBedrock(req: NextRequest) {
}); });
// Make request to AWS Bedrock // Make request to AWS Bedrock
console.log( // console.log(
"[Bedrock Request] Final Body:", // "[Bedrock Request] Final Body:",
JSON.stringify(requestBody, null, 2), // JSON.stringify(requestBody, null, 2),
); // );
const res = await fetch(endpoint, { const res = await fetch(endpoint, {
method: "POST", method: "POST",
headers, headers,