Add agent metrics (#41991)

Release Notes:

- N/A
This commit is contained in:
Bennet Bo Fenner
2025-11-07 10:07:57 +00:00
committed by GitHub
parent 29cc3d0e18
commit c2416d6bab
16 changed files with 327 additions and 188 deletions
+4 -4
View File
@@ -967,6 +967,10 @@ impl acp_thread::AgentModelSelector for NativeAgentModelSelector {
}
impl acp_thread::AgentConnection for NativeAgentConnection {
fn telemetry_id(&self) -> &'static str {
"zed"
}
fn new_thread(
self: Rc<Self>,
project: Entity<Project>,
@@ -1107,10 +1111,6 @@ impl acp_thread::AgentConnection for NativeAgentConnection {
}
impl acp_thread::AgentTelemetry for NativeAgentConnection {
fn agent_name(&self) -> String {
"Zed".into()
}
fn thread_data(
&self,
session_id: &acp::SessionId,