From b2874f82b9f207453a05aff58f306c326737e6c9 Mon Sep 17 00:00:00 2001 From: Ben Kunkle Date: Thu, 5 Mar 2026 19:05:38 -0600 Subject: [PATCH] zeta2: Don't remove redundant excerpts on the client (#50886) (#50887) Closes #ISSUE Before you mark this PR as ready for review, make sure that you have: - [ ] Added a solid test coverage and/or screenshots from doing manual testing - [ ] Done a self-review taking into account security and performance aspects - [ ] Aligned any UI changes with the [UI checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist) Release Notes: - N/A *or* Added/Fixed/Improved ... --- crates/edit_prediction/src/zeta.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/crates/edit_prediction/src/zeta.rs b/crates/edit_prediction/src/zeta.rs index abcfeabec44b26405153c10c43e6c2739e5e802e..cd74d67c2a2649fb0914b785ce2de99bf95376e5 100644 --- a/crates/edit_prediction/src/zeta.rs +++ b/crates/edit_prediction/src/zeta.rs @@ -383,12 +383,6 @@ pub fn zeta2_prompt_input( let (full_context, full_context_offset_range, excerpt_ranges) = compute_excerpt_ranges(cursor_point, snapshot); - let related_files = crate::filter_redundant_excerpts( - related_files, - excerpt_path.as_ref(), - full_context.start.row..full_context.end.row, - ); - let full_context_start_offset = full_context_offset_range.start; let full_context_start_row = full_context.start.row;