Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
edit prediction: Remove zeta codename from action (#23835)
Bennet Bo Fennerfb9b4ee84267
diff --git a/crates/zeta/src/zeta.rs b/crates/zeta/src/zeta.rsindex e7ee1aa0b5f..35867f99508 100644--- a/crates/zeta/src/zeta.rs+++ b/crates/zeta/src/zeta.rs@@ -40,7 +40,7 @@ const EDITABLE_REGION_START_MARKER: &'static str = "<|editable_region_start|>";const EDITABLE_REGION_END_MARKER: &'static str = "<|editable_region_end|>";const BUFFER_CHANGE_GROUPING_INTERVAL: Duration = Duration::from_secs(1);-actions!(zeta, [ClearHistory]);+actions!(edit_prediction, [ClearHistory]);#[derive(Copy, Clone, Default, Debug, PartialEq, Eq, Hash)]pub struct InlineCompletionId(Uuid);@@ -1067,7 +1067,11 @@ impl inline_completion::InlineCompletionProvider for ZetaInlineCompletionProvide}Err(error) => Err(error),};- let Some(new_completion) = completion.log_err().flatten() else {+ let Some(new_completion) = completion+ .context("edit prediction failed")+ .log_err()+ .flatten()+ else {return;};