Merge d7716e0f26 into sapling-pr-archive-bolinfest

This commit is contained in:
Michael Bolin
2026-04-22 09:21:45 -07:00
committed by GitHub
89 changed files with 3383 additions and 487 deletions
+4
View File
@@ -2117,6 +2117,10 @@ pub struct TurnCompleteEvent {
#[serde(default, skip_serializing_if = "Option::is_none")]
#[ts(type = "number | null", optional)]
pub duration_ms: Option<i64>,
/// Duration between turn start and the first model token in milliseconds, if known.
#[serde(default, skip_serializing_if = "Option::is_none")]
#[ts(type = "number | null", optional)]
pub time_to_first_token_ms: Option<i64>,
}
#[derive(Debug, Clone, Deserialize, Serialize, JsonSchema, TS)]