xiongzhu 3 年 前
コミット
9786f59cb5
1 ファイル変更1 行追加0 行削除
  1. 1 0
      src/chatapi/fetch-sse.ts

+ 1 - 0
src/chatapi/fetch-sse.ts

@@ -91,5 +91,6 @@ export async function fetchSSE(
             const str = new TextDecoder().decode(chunk)
             const str = new TextDecoder().decode(chunk)
             feed(str)
             feed(str)
         }
         }
+        onMessage('[DONE]')
     }
     }
 }
 }