edit prediction: Remove zeta codename from action (#23835)

Release Notes:

- N/A
This commit is contained in:
Bennet Bo Fenner
2025-01-29 14:00:10 +01:00
committed by GitHub
parent 07161d65d0
commit fb9b4ee842

View File

@@ -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;
};