agent: Add selected tool names to agent panel telemetry (#28247)

Release Notes:

- N/A
This commit is contained in:
Thomas Mickley-Doyle 2025-04-10 08:43:52 -05:00 committed by GitHub
parent 90bcde116f
commit cb1ee01a66
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1547,6 +1547,13 @@ impl Thread {
let thread_id = self.id().clone();
let client = self.project.read(cx).client();
let enabled_tool_names: Vec<String> = 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,