mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-05-24 14:40:22 +09: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();
|
||||
console.log("[Bedrock] request body: ", body);
|
||||
console.log(
|
||||
"[Bedrock] Request - Model:",
|
||||
body.model,
|
||||
"Stream:",
|
||||
body.stream,
|
||||
"Messages count:",
|
||||
body.messages.length,
|
||||
);
|
||||
|
||||
const {
|
||||
messages,
|
||||
|
Loading…
Reference in New Issue
Block a user