mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-19 18:00:15 +01:00
fix: remove unnecessary content length logging in the chat stream response, simplifying the debug message while retaining essential information about run steps. This change enhances clarity in logging without losing critical context.
This commit is contained in:
parent
626b8a32eb
commit
98f2025f6f
1 changed files with 1 additions and 2 deletions
|
|
@ -67,9 +67,8 @@ router.get('/chat/stream/:streamId', async (req, res) => {
|
|||
if (typeof res.flush === 'function') {
|
||||
res.flush();
|
||||
}
|
||||
const textPart = resumeState.aggregatedContent?.find((p) => p.type === 'text');
|
||||
logger.debug(
|
||||
`[AgentStream] Sent sync event for ${streamId} with ${resumeState.runSteps.length} run steps, content length: ${textPart?.text?.length ?? 0}`,
|
||||
`[AgentStream] Sent sync event for ${streamId} with ${resumeState.runSteps.length} run steps`,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue