diff --git a/express/src/utils/llms.js b/express/src/utils/llms.js index a74c604..a626d31 100644 --- a/express/src/utils/llms.js +++ b/express/src/utils/llms.js @@ -322,7 +322,6 @@ let ChatBaiduWenxinModel = null if( chunk && chunk != 'data: [DONE]' && chunk != 'data: [DONE]\n' && !chunk.startsWith('data: [DONE]') ) { const cleanedChunk = chunk.replace(/^data: /, ''); try { - console.log('cleanedChunk cleanedChunk:', cleanedChunk); const chunkData = JSON.parse(cleanedChunk); if (chunkData && chunkData.choices && Array.isArray(chunkData.choices)) { chunkData.choices.forEach((choice) => { @@ -336,7 +335,7 @@ let ChatBaiduWenxinModel = null } } catch (error) { - console.error('chatDeepSeek Error parsing JSON:', error); + console.error('chatDeepSeek Error parsing JSON:', error, "cleanedChunk:", cleanedChunk); } } });