mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-05-22 13:40:16 +09:00
去掉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
Block a user