mirror of
https://github.com/zed-industries/zed.git
synced 2026-06-01 03:14:56 +07:00
Do not report rejected sweep predictions to cloud (#44075)
Release Notes: - N/A Co-authored-by: MrSubidubi <dev@bahn.sh>
This commit is contained in:
parent
bf878e9a95
commit
95a553ea94
1 changed files with 5 additions and 0 deletions
|
|
@ -998,6 +998,11 @@ impl Zeta {
|
|||
reason: EditPredictionRejectReason,
|
||||
was_shown: bool,
|
||||
) {
|
||||
match self.edit_prediction_model {
|
||||
ZetaEditPredictionModel::Zeta1 | ZetaEditPredictionModel::Zeta2 => {}
|
||||
ZetaEditPredictionModel::Sweep => return,
|
||||
}
|
||||
|
||||
self.reject_predictions_tx
|
||||
.unbounded_send(EditPredictionRejection {
|
||||
request_id: prediction_id.to_string(),
|
||||
|
|
|
|||
Loading…
Reference in a new issue