Enhance log security
This commit is contained in:
parent
5ac651ad8e
commit
603415f9e1
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue