mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-09-27 21:56:38 +08:00
Enhance Bedrock API Logging for Request Details
- Updated logging in the Bedrock API handler to include detailed information about the request model, stream status, and message count for improved debugging and monitoring.
This commit is contained in:
parent
4093e4c500
commit
a5caf98db0
@ -77,7 +77,14 @@ export async function handle(
|
|||||||
});
|
});
|
||||||
|
|
||||||
const body = await req.json();
|
const body = await req.json();
|
||||||
console.log("[Bedrock] request body: ", body);
|
console.log(
|
||||||
|
"[Bedrock] Request - Model:",
|
||||||
|
body.model,
|
||||||
|
"Stream:",
|
||||||
|
body.stream,
|
||||||
|
"Messages count:",
|
||||||
|
body.messages.length,
|
||||||
|
);
|
||||||
|
|
||||||
const {
|
const {
|
||||||
messages,
|
messages,
|
||||||
|
Loading…
Reference in New Issue
Block a user