Skip to content

Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.

chore: callback

Nathanf413b9e070fc
diff --git a/frontend/appflowy_flutter/lib/ai/service/appflowy_ai_service.dart b/frontend/appflowy_flutter/lib/ai/service/appflowy_ai_service.dart
index 723e11a17f..e3093b6bbf 100644
--- a/frontend/appflowy_flutter/lib/ai/service/appflowy_ai_service.dart
+++ b/frontend/appflowy_flutter/lib/ai/service/appflowy_ai_service.dart
@@ -151,6 +151,10 @@ class AppFlowyCompletionStream extends CompletionStream {
await onProcess(event.substring(5));
}
+ if (event.startsWith("comment:")) {
+ await onComment(event.substring(8));
+ }
+
if (event.startsWith("finish:")) {
await onEnd();
}