From 2fe848ecf3b3d6c87428cd6ed66a7c89bcf633ae Mon Sep 17 00:00:00 2001 From: glay Date: Mon, 25 Nov 2024 09:51:02 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89Debug=E6=97=A5=E5=BF=97?= =?UTF-8?q?=E6=89=93=E5=8D=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/bedrock.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/api/bedrock.ts b/app/api/bedrock.ts index 45aa84b2f..87d67287c 100644 --- a/app/api/bedrock.ts +++ b/app/api/bedrock.ts @@ -82,10 +82,10 @@ async function requestBedrock(req: NextRequest) { } catch (e) { throw new Error(`Invalid JSON in request body: ${e}`); } - console.log( - "[Bedrock Request] original Body:", - JSON.stringify(bodyJson, null, 2), - ); + // console.log( + // "[Bedrock Request] original Body:", + // JSON.stringify(bodyJson, null, 2), + // ); // Extract tool configuration if present let tools: any[] | undefined;