More assistant events (#18032)

Release Notes:

- N/A
This commit is contained in:
Conrad Irwin 2024-09-18 18:07:39 -06:00 committed by GitHub
parent eef44aff7f
commit b43b800a54
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 66 additions and 5 deletions

View file

@ -834,6 +834,7 @@ pub struct AssistantEventRow {
// AssistantEventRow
conversation_id: String,
kind: String,
phase: String,
model: String,
response_latency_in_ms: Option<i64>,
error_message: Option<String>,
@ -866,6 +867,7 @@ impl AssistantEventRow {
time: time.timestamp_millis(),
conversation_id: event.conversation_id.unwrap_or_default(),
kind: event.kind.to_string(),
phase: event.phase.to_string(),
model: event.model,
response_latency_in_ms: event
.response_latency