去掉Debug日志打印
This commit is contained in:
parent
0abfd279e4
commit
2fe848ecf3
|
@ -82,10 +82,10 @@ async function requestBedrock(req: NextRequest) {
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
throw new Error(`Invalid JSON in request body: ${e}`);
|
throw new Error(`Invalid JSON in request body: ${e}`);
|
||||||
}
|
}
|
||||||
console.log(
|
// console.log(
|
||||||
"[Bedrock Request] original Body:",
|
// "[Bedrock Request] original Body:",
|
||||||
JSON.stringify(bodyJson, null, 2),
|
// JSON.stringify(bodyJson, null, 2),
|
||||||
);
|
// );
|
||||||
|
|
||||||
// Extract tool configuration if present
|
// Extract tool configuration if present
|
||||||
let tools: any[] | undefined;
|
let tools: any[] | undefined;
|
||||||
|
|
Loading…
Reference in New Issue