Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

sweep: Set `use_bytes` flag (#43687)

Agus Zubiaga77656a4091c4
diff --git a/crates/zeta/src/sweep_ai.rs b/crates/zeta/src/sweep_ai.rs
index f40e9711f23..427051a6b82 100644
--- a/crates/zeta/src/sweep_ai.rs
+++ b/crates/zeta/src/sweep_ai.rs
@@ -164,6 +164,7 @@ impl SweepAi {
file_chunks,
retrieval_chunks: vec![],
recent_user_actions: vec![],
+ use_bytes: true,
// TODO
privacy_mode_enabled: false,
};
@@ -275,6 +276,7 @@ struct AutocompleteRequest {
pub multiple_suggestions: bool,
pub privacy_mode_enabled: bool,
pub changes_above_cursor: bool,
+ pub use_bytes: bool,
}
#[derive(Debug, Clone, Serialize)]