From cb1ee01a6619bdd29657df33a507f49e3f8f5b2d Mon Sep 17 00:00:00 2001 From: Thomas Mickley-Doyle Date: Thu, 10 Apr 2025 08:43:52 -0500 Subject: [PATCH] agent: Add selected tool names to agent panel telemetry (#28247) Release Notes: - N/A --- crates/agent/src/thread.rs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/crates/agent/src/thread.rs b/crates/agent/src/thread.rs index bebae477de..036e1892d8 100644 --- a/crates/agent/src/thread.rs +++ b/crates/agent/src/thread.rs @@ -1547,6 +1547,13 @@ impl Thread { let thread_id = self.id().clone(); let client = self.project.read(cx).client(); + let enabled_tool_names: Vec = self + .tools() + .enabled_tools(cx) + .iter() + .map(|tool| tool.name().to_string()) + .collect(); + self.message_feedback.insert(message_id, feedback); cx.notify(); @@ -1570,6 +1577,7 @@ impl Thread { "Assistant Thread Rated", rating, thread_id, + enabled_tool_names, message_id = message_id.0, message_content, thread_data,