[PR #7006] [MERGED] feat: regenerate ai response #7684

Closed
opened 2026-03-23 23:20:44 +00:00 by mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/7006
Author: @richardshiue
Created: 12/18/2024
Status: Merged
Merged: 12/19/2024
Merged by: @richardshiue

Base: mainHead: feat/regenerate-ai-response


📝 Commits (9)

  • 6489aae feat: regenerate ai response
  • 7b0c3ac chore: find question id instead of assuming
  • 20c6d7f chore: fix clippy
  • 2af7405 chore: show local messages if they were there
  • 986ace0 chore: remove duplicate code
  • 0039984 chore: fix loading message
  • 94ddace chore: revert unintended translation key removal
  • cf051b7 chore: update translation for ai service unavailable
  • 9548683 chore: fix initial chat message load

📊 Changes

29 files changed (+479 additions, -158 deletions)

View changed files

📝 frontend/appflowy_flutter/lib/mobile/presentation/widgets/flowy_mobile_quick_action_button.dart (+1 -1)
📝 frontend/appflowy_flutter/lib/plugins/ai_chat/application/chat_bloc.dart (+87 -40)
📝 frontend/appflowy_flutter/lib/plugins/ai_chat/application/chat_entity.dart (+6 -0)
📝 frontend/appflowy_flutter/lib/plugins/ai_chat/chat_page.dart (+9 -14)
📝 frontend/appflowy_flutter/lib/plugins/ai_chat/presentation/message/ai_message_bubble.dart (+92 -27)
📝 frontend/appflowy_flutter/lib/plugins/ai_chat/presentation/message/ai_text_message.dart (+3 -5)
📝 frontend/appflowy_tauri/src-tauri/Cargo.lock (+12 -12)
📝 frontend/appflowy_tauri/src-tauri/Cargo.toml (+1 -1)
📝 frontend/appflowy_web_app/src-tauri/Cargo.lock (+12 -12)
📝 frontend/appflowy_web_app/src-tauri/Cargo.toml (+1 -1)
📝 frontend/resources/translations/en.json (+4 -3)
📝 frontend/rust-lib/Cargo.lock (+14 -28)
📝 frontend/rust-lib/Cargo.toml (+2 -2)
📝 frontend/rust-lib/flowy-ai-pub/src/cloud.rs (+7 -0)
📝 frontend/rust-lib/flowy-ai/src/ai_manager.rs (+19 -0)
📝 frontend/rust-lib/flowy-ai/src/chat.rs (+80 -5)
📝 frontend/rust-lib/flowy-ai/src/entities.rs (+13 -0)
📝 frontend/rust-lib/flowy-ai/src/event_handler.rs (+18 -0)
📝 frontend/rust-lib/flowy-ai/src/event_map.rs (+4 -0)
📝 frontend/rust-lib/flowy-ai/src/middleware/chat_service_mw.rs (+12 -0)

...and 9 more files

📄 Description

requires deploy https://github.com/AppFlowy-IO/AppFlowy-Cloud/pull/1082

Feature Preview


PR Checklist

  • My code adheres to AppFlowy's Conventions
  • I've listed at least one issue that this PR fixes in the description above.
  • I've added a test(s) to validate changes in this PR, or this PR only contains semantic changes.
  • All existing tests are passing.

🔄 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/7006 **Author:** [@richardshiue](https://github.com/richardshiue) **Created:** 12/18/2024 **Status:** ✅ Merged **Merged:** 12/19/2024 **Merged by:** [@richardshiue](https://github.com/richardshiue) **Base:** `main` ← **Head:** `feat/regenerate-ai-response` --- ### 📝 Commits (9) - [`6489aae`](https://github.com/AppFlowy-IO/AppFlowy/commit/6489aaef26dc762c51b67e7507e9250e12c5e4f8) feat: regenerate ai response - [`7b0c3ac`](https://github.com/AppFlowy-IO/AppFlowy/commit/7b0c3acd7e4440ac1dbc2a437690dfb82601c097) chore: find question id instead of assuming - [`20c6d7f`](https://github.com/AppFlowy-IO/AppFlowy/commit/20c6d7f06b01737a46f0355c8c41f3395eb19998) chore: fix clippy - [`2af7405`](https://github.com/AppFlowy-IO/AppFlowy/commit/2af740577c61a7ceee8783f67c044e2db7b4f9d0) chore: show local messages if they were there - [`986ace0`](https://github.com/AppFlowy-IO/AppFlowy/commit/986ace09e8175d332aaf67f2aa5aa82e46a6f85a) chore: remove duplicate code - [`0039984`](https://github.com/AppFlowy-IO/AppFlowy/commit/00399846d0794bb54a62e46b81f9fad5edfa8d81) chore: fix loading message - [`94ddace`](https://github.com/AppFlowy-IO/AppFlowy/commit/94ddace9f909a8dc55de2617b8eaa9c5c31875c2) chore: revert unintended translation key removal - [`cf051b7`](https://github.com/AppFlowy-IO/AppFlowy/commit/cf051b7b2bb54d5444a73f46e2b2050e1e83b082) chore: update translation for ai service unavailable - [`9548683`](https://github.com/AppFlowy-IO/AppFlowy/commit/9548683718f6e421743b6f99df865bdcbb5b48d8) chore: fix initial chat message load ### 📊 Changes **29 files changed** (+479 additions, -158 deletions) <details> <summary>View changed files</summary> 📝 `frontend/appflowy_flutter/lib/mobile/presentation/widgets/flowy_mobile_quick_action_button.dart` (+1 -1) 📝 `frontend/appflowy_flutter/lib/plugins/ai_chat/application/chat_bloc.dart` (+87 -40) 📝 `frontend/appflowy_flutter/lib/plugins/ai_chat/application/chat_entity.dart` (+6 -0) 📝 `frontend/appflowy_flutter/lib/plugins/ai_chat/chat_page.dart` (+9 -14) 📝 `frontend/appflowy_flutter/lib/plugins/ai_chat/presentation/message/ai_message_bubble.dart` (+92 -27) 📝 `frontend/appflowy_flutter/lib/plugins/ai_chat/presentation/message/ai_text_message.dart` (+3 -5) 📝 `frontend/appflowy_tauri/src-tauri/Cargo.lock` (+12 -12) 📝 `frontend/appflowy_tauri/src-tauri/Cargo.toml` (+1 -1) 📝 `frontend/appflowy_web_app/src-tauri/Cargo.lock` (+12 -12) 📝 `frontend/appflowy_web_app/src-tauri/Cargo.toml` (+1 -1) 📝 `frontend/resources/translations/en.json` (+4 -3) 📝 `frontend/rust-lib/Cargo.lock` (+14 -28) 📝 `frontend/rust-lib/Cargo.toml` (+2 -2) 📝 `frontend/rust-lib/flowy-ai-pub/src/cloud.rs` (+7 -0) 📝 `frontend/rust-lib/flowy-ai/src/ai_manager.rs` (+19 -0) 📝 `frontend/rust-lib/flowy-ai/src/chat.rs` (+80 -5) 📝 `frontend/rust-lib/flowy-ai/src/entities.rs` (+13 -0) 📝 `frontend/rust-lib/flowy-ai/src/event_handler.rs` (+18 -0) 📝 `frontend/rust-lib/flowy-ai/src/event_map.rs` (+4 -0) 📝 `frontend/rust-lib/flowy-ai/src/middleware/chat_service_mw.rs` (+12 -0) _...and 9 more files_ </details> ### 📄 Description requires deploy https://github.com/AppFlowy-IO/AppFlowy-Cloud/pull/1082 <!--- Thank you for submitting a pull request to AppFlowy. The team will dedicate their best efforts to reviewing and approving your pull request. If you have any questions about the project or feedback for us, please join our [Discord](https://discord.gg/wdjWUXXhtw). --> <!--- If your pull request adds a new feature, please drag and drop a video into this section to showcase what you've done! If not, you may delete this section. --> ### Feature Preview <!--- List at least one issue here that this PR addresses. If it fixes the issue, please use the [fixes](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/using-keywords-in-issues-and-pull-requests) keyword to close the issue. For example: fixes https://github.com/AppFlowy-IO/AppFlowy/pull/2106 --> --- <!--- Before you mark this PR ready for review, run through this checklist! --> #### PR Checklist - [x] My code adheres to [AppFlowy's Conventions](https://docs.appflowy.io/docs/documentation/software-contributions/conventions) - [ ] I've listed at least one issue that this PR fixes in the description above. - [ ] I've added a test(s) to validate changes in this PR, or this PR only contains semantic changes. - [x] All existing tests are passing. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
mirror 2026-03-23 23:20:44 +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#7684
No description provided.