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.

zeta: Fix completions not being marked as rated (#22952)

Thorsten Balla1cedbece9f4
diff --git a/crates/zeta/src/zeta.rs b/crates/zeta/src/zeta.rs
index a3c6b2928b6..bcd638aa126 100644
--- a/crates/zeta/src/zeta.rs
+++ b/crates/zeta/src/zeta.rs
@@ -733,6 +733,7 @@ and then another
feedback: String,
cx: &mut ModelContext<Self>,
) {
+ self.rated_completions.insert(completion.id);
telemetry::event!(
"Inline Completion Rated",
rating,