mirror of
https://github.com/ArthurDanjou/artagents.git
synced 2026-01-30 03:39:02 +01:00
lint code
This commit is contained in:
@@ -5,7 +5,8 @@ export async function streamToText(stream: ReadableStream<Uint8Array>) {
|
||||
|
||||
while (true) {
|
||||
const { done, value } = await reader.read()
|
||||
if (done) break
|
||||
if (done)
|
||||
break
|
||||
result += decoder.decode(value, { stream: true })
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user