[PR #5498] [MERGED] feat: Stream chat message #6848

Closed
opened 2026-03-23 23:16:57 +00:00 by mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/5498
Author: @appflowy
Created: 6/9/2024
Status: Merged
Merged: 6/9/2024
Merged by: @appflowy

Base: mainHead: stream_chat_message


📝 Commits (7)

📊 Changes

46 files changed (+1690 additions, -868 deletions)

View changed files

📝 frontend/appflowy_flutter/lib/plugins/ai_chat/application/chat_ai_message_bloc.dart (+102 -13)
📝 frontend/appflowy_flutter/lib/plugins/ai_chat/application/chat_bloc.dart (+271 -144)
📝 frontend/appflowy_flutter/lib/plugins/ai_chat/application/chat_message_listener.dart (+5 -11)
frontend/appflowy_flutter/lib/plugins/ai_chat/application/chat_related_question_bloc.dart (+0 -103)
📝 frontend/appflowy_flutter/lib/plugins/ai_chat/chat_page.dart (+83 -67)
📝 frontend/appflowy_flutter/lib/plugins/ai_chat/presentation/ai_message_bubble.dart (+17 -27)
📝 frontend/appflowy_flutter/lib/plugins/ai_chat/presentation/chat_input.dart (+64 -44)
📝 frontend/appflowy_flutter/lib/plugins/ai_chat/presentation/chat_loading.dart (+9 -9)
📝 frontend/appflowy_flutter/lib/plugins/ai_chat/presentation/chat_related_question.dart (+0 -36)
frontend/appflowy_flutter/lib/plugins/ai_chat/presentation/chat_stream_text_field.dart (+10 -0)
📝 frontend/appflowy_flutter/lib/plugins/ai_chat/presentation/chat_streaming_error_message.dart (+78 -79)
📝 frontend/appflowy_flutter/lib/plugins/ai_chat/presentation/chat_welcome_page.dart (+25 -21)
frontend/appflowy_flutter/lib/plugins/ai_chat/presentation/message/ai_text_message.dart (+295 -0)
frontend/appflowy_flutter/lib/plugins/ai_chat/presentation/message/user_text_message.dart (+60 -0)
📝 frontend/appflowy_flutter/lib/plugins/ai_chat/presentation/user_message_bubble.dart (+0 -0)
📝 frontend/appflowy_flutter/pubspec.lock (+17 -1)
📝 frontend/appflowy_flutter/pubspec.yaml (+2 -0)
frontend/appflowy_flutter/test/bloc_test/chat_test/chat_load_message_test.dart (+16 -0)
frontend/appflowy_flutter/test/bloc_test/chat_test/util.dart (+44 -0)
📝 frontend/appflowy_flutter/test/util.dart (+0 -10)

...and 26 more files

📄 Description

https://github.com/AppFlowy-IO/AppFlowy/assets/86001920/e81e7db1-02c1-46fb-817a-98cc67c58b0d


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/AppFlowy-IO/AppFlowy/pull/5498 **Author:** [@appflowy](https://github.com/appflowy) **Created:** 6/9/2024 **Status:** ✅ Merged **Merged:** 6/9/2024 **Merged by:** [@appflowy](https://github.com/appflowy) **Base:** `main` ← **Head:** `stream_chat_message` --- ### 📝 Commits (7) - [`0ca5369`](https://github.com/AppFlowy-IO/AppFlowy/commit/0ca53692b349414693c4fbcc77bb360ead40f84d) chore: stream message - [`c83d5e7`](https://github.com/AppFlowy-IO/AppFlowy/commit/c83d5e7cb10c33640467b5c519798a5b1046bf51) chore: stream message - [`d84a9e3`](https://github.com/AppFlowy-IO/AppFlowy/commit/d84a9e3acbee3809e7a3de7941090b5b41b2856b) chore: fix streaming - [`a9c4a10`](https://github.com/AppFlowy-IO/AppFlowy/commit/a9c4a10b1a95f0c01fd41bd2ff4bdeec05a9b257) chore: fix streaming - [`49664db`](https://github.com/AppFlowy-IO/AppFlowy/commit/49664db9fe1f037fc7d5af36f856a68797770253) chore: fix streaming - [`2c99dd5`](https://github.com/AppFlowy-IO/AppFlowy/commit/2c99dd50a614741e64c07d3af6ec4a208fbac018) chore: fix streaming - [`086e705`](https://github.com/AppFlowy-IO/AppFlowy/commit/086e7050415053235b57d44495ea4c571959f3ae) chore: fix clippy ### 📊 Changes **46 files changed** (+1690 additions, -868 deletions) <details> <summary>View changed files</summary> 📝 `frontend/appflowy_flutter/lib/plugins/ai_chat/application/chat_ai_message_bloc.dart` (+102 -13) 📝 `frontend/appflowy_flutter/lib/plugins/ai_chat/application/chat_bloc.dart` (+271 -144) 📝 `frontend/appflowy_flutter/lib/plugins/ai_chat/application/chat_message_listener.dart` (+5 -11) ➖ `frontend/appflowy_flutter/lib/plugins/ai_chat/application/chat_related_question_bloc.dart` (+0 -103) 📝 `frontend/appflowy_flutter/lib/plugins/ai_chat/chat_page.dart` (+83 -67) 📝 `frontend/appflowy_flutter/lib/plugins/ai_chat/presentation/ai_message_bubble.dart` (+17 -27) 📝 `frontend/appflowy_flutter/lib/plugins/ai_chat/presentation/chat_input.dart` (+64 -44) 📝 `frontend/appflowy_flutter/lib/plugins/ai_chat/presentation/chat_loading.dart` (+9 -9) 📝 `frontend/appflowy_flutter/lib/plugins/ai_chat/presentation/chat_related_question.dart` (+0 -36) ➕ `frontend/appflowy_flutter/lib/plugins/ai_chat/presentation/chat_stream_text_field.dart` (+10 -0) 📝 `frontend/appflowy_flutter/lib/plugins/ai_chat/presentation/chat_streaming_error_message.dart` (+78 -79) 📝 `frontend/appflowy_flutter/lib/plugins/ai_chat/presentation/chat_welcome_page.dart` (+25 -21) ➕ `frontend/appflowy_flutter/lib/plugins/ai_chat/presentation/message/ai_text_message.dart` (+295 -0) ➕ `frontend/appflowy_flutter/lib/plugins/ai_chat/presentation/message/user_text_message.dart` (+60 -0) 📝 `frontend/appflowy_flutter/lib/plugins/ai_chat/presentation/user_message_bubble.dart` (+0 -0) 📝 `frontend/appflowy_flutter/pubspec.lock` (+17 -1) 📝 `frontend/appflowy_flutter/pubspec.yaml` (+2 -0) ➕ `frontend/appflowy_flutter/test/bloc_test/chat_test/chat_load_message_test.dart` (+16 -0) ➕ `frontend/appflowy_flutter/test/bloc_test/chat_test/util.dart` (+44 -0) 📝 `frontend/appflowy_flutter/test/util.dart` (+0 -10) _...and 26 more files_ </details> ### 📄 Description https://github.com/AppFlowy-IO/AppFlowy/assets/86001920/e81e7db1-02c1-46fb-817a-98cc67c58b0d --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
mirror 2026-03-23 23:16:57 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AppFlowy-IO/AppFlowy#6848
No description provided.