[PR #6982] [MERGED] fix: AI chat initial rag_ids #7669

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

📋 Pull Request Information

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

Base: mainHead: chore/filter-by-layout


📝 Commits (2)

  • da8a75f chore: only add document views to initial rag_ids
  • cd06716 chore: filter out views that are in the trash

📊 Changes

4 files changed (+48 additions, -5 deletions)

View changed files

📝 frontend/rust-lib/flowy-core/src/deps_resolve/chat_deps.rs (+5 -1)
📝 frontend/rust-lib/flowy-core/src/deps_resolve/folder_deps.rs (+16 -3)
📝 frontend/rust-lib/flowy-folder-pub/src/query.rs (+6 -1)
📝 frontend/rust-lib/flowy-folder/src/manager.rs (+21 -0)

📄 Description

@LucasXu0, this doesn't affect anything on existing features so I'm merging this.

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/6982 **Author:** [@richardshiue](https://github.com/richardshiue) **Created:** 12/12/2024 **Status:** ✅ Merged **Merged:** 12/13/2024 **Merged by:** [@richardshiue](https://github.com/richardshiue) **Base:** `main` ← **Head:** `chore/filter-by-layout` --- ### 📝 Commits (2) - [`da8a75f`](https://github.com/AppFlowy-IO/AppFlowy/commit/da8a75fb876cb37e18ec30c2df9c2420cb90936c) chore: only add document views to initial rag_ids - [`cd06716`](https://github.com/AppFlowy-IO/AppFlowy/commit/cd067160e038f35e24adebe0ff5c7394bb9ef682) chore: filter out views that are in the trash ### 📊 Changes **4 files changed** (+48 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `frontend/rust-lib/flowy-core/src/deps_resolve/chat_deps.rs` (+5 -1) 📝 `frontend/rust-lib/flowy-core/src/deps_resolve/folder_deps.rs` (+16 -3) 📝 `frontend/rust-lib/flowy-folder-pub/src/query.rs` (+6 -1) 📝 `frontend/rust-lib/flowy-folder/src/manager.rs` (+21 -0) </details> ### 📄 Description @LucasXu0, this doesn't affect anything on existing features so I'm merging this. ### 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:40 +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#7669
No description provided.