Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
xytrux committed Oct 21, 2023
2 parents 044b162 + b48c48e commit d47d985
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ai-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ async function sendUserMessageToAI(userMessage) {
}
// Convert the chunk value to a string
const chunkString = new TextDecoder().decode(value);
console.log(chunkString)
botResponse += chunkString
// if (chunkString != undefined){
// botResponse += chunkString
Expand All @@ -91,8 +90,8 @@ async function sendUserMessageToAI(userMessage) {
});
};
await readChunk()

console.log(botResponse)

removeTypingIndicator();
appendBotMessage(botResponse);
})
Expand Down

0 comments on commit d47d985

Please sign in to comment.