From c546a344e7e73ae601362ca4ee1bf2ccf392a184 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mar=C3=ADa=20Craig?= Date: Tue, 26 May 2026 15:48:29 -0300 Subject: [PATCH] Fix agent_profile_switched telemetry event name (#57739) The `agent_profile_switched` event fired from the profile picker was using snake_case instead of the title case used by every other agent telemetry event. This caused it to land in Amplitude as a separate event from the `Agent Profile Switched` event fired by keyboard cycling, making it impossible to track profile switches in a single chart. Renames the event to `Agent Profile Switched` to match. The `source` property (`"picker"` vs `"cycle"`) still distinguishes the two code paths. Release Notes: - N/A --- crates/agent_ui/src/profile_selector.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/agent_ui/src/profile_selector.rs b/crates/agent_ui/src/profile_selector.rs index 5919abbbc9..4ca3241161 100644 --- a/crates/agent_ui/src/profile_selector.rs +++ b/crates/agent_ui/src/profile_selector.rs @@ -541,7 +541,7 @@ impl PickerDelegate for ProfilePickerDelegate { provider.set_profile(profile_id.clone(), cx); telemetry::event!( - "agent_profile_switched", + "Agent Profile Switched", profile_id = profile_id.as_str(), source = "picker" );