telemetry_events: Rename AssistantEvent
to AssistantEventData
(#28133)
This PR renames the `AssistantEvent` type to `AssistantEventData`, as it no longer represents the event itself, just the data needed to construct it. Pulling out of https://github.com/zed-industries/zed/pull/25179. Release Notes: - N/A
This commit is contained in:
parent
8ab252c42d
commit
03aadb4e5b
10 changed files with 25 additions and 25 deletions
|
@ -96,7 +96,7 @@ pub enum Event {
|
|||
InlineCompletion(InlineCompletionEvent),
|
||||
InlineCompletionRating(InlineCompletionRatingEvent),
|
||||
Call(CallEvent),
|
||||
Assistant(AssistantEvent),
|
||||
Assistant(AssistantEventData),
|
||||
Cpu(CpuEvent),
|
||||
Memory(MemoryEvent),
|
||||
App(AppEvent),
|
||||
|
@ -162,7 +162,7 @@ pub struct CallEvent {
|
|||
}
|
||||
|
||||
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
|
||||
pub struct AssistantEvent {
|
||||
pub struct AssistantEventData {
|
||||
/// Unique random identifier for each assistant tab (None for inline assist)
|
||||
pub conversation_id: Option<String>,
|
||||
/// Server-generated message ID (only supported for some providers)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue