We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b96fd4 commit 7eb6e73Copy full SHA for 7eb6e73
components/Chat/Chat.tsx
@@ -146,9 +146,7 @@ export const Chat = memo(({stopConversationRef}: Props) => {
146
let queue: any[] = [];
147
let text = '';
148
let notFinishData = ""
149
- let a = 0
150
- while ((!done || queue.length !== 0) && a < 100) {
151
- a+=1
+ while (!done || queue.length !== 0) {
152
const {value} = await reader.read();
153
let chunkValue = decoder.decode(value);
154
const regex = /(?<=})(?={)/g;
0 commit comments