From 0cd3f2aa7073d8c5cdd5a5366f5f4fe81856f511 Mon Sep 17 00:00:00 2001 From: "Nathan.fooo" <86001920+appflowy@users.noreply.github.com> Date: Mon, 24 Jun 2024 10:23:27 +0800 Subject: [PATCH] chore: Update frontend/appflowy_flutter/lib/user/application/ai_service.dart Co-authored-by: Lucas.Xu --- frontend/appflowy_flutter/lib/user/application/ai_service.dart | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/frontend/appflowy_flutter/lib/user/application/ai_service.dart b/frontend/appflowy_flutter/lib/user/application/ai_service.dart index dc505c2254ef4..40f573ff086f8 100644 --- a/frontend/appflowy_flutter/lib/user/application/ai_service.dart +++ b/frontend/appflowy_flutter/lib/user/application/ai_service.dart @@ -56,8 +56,7 @@ class AppFlowyAIService implements AIRepository { streamPort: fixnum.Int64(stream.nativePort), ); - // ignore: unawaited_futures - ChatEventCompleteText(payload).send(); + unawaited(ChatEventCompleteText(payload).send()); return stream; } }