bxcore: a turn's speaker, SessionUpdated's turn, the session-state messages
Co-Authored-By: ornith-1.5-35b-a3b <agent@wntrmute.dev>
This commit is contained in:
@@ -37,6 +37,10 @@ pub enum LogRecord {
|
||||
User {
|
||||
time: Timestamp,
|
||||
content: String,
|
||||
/// The turn's speaker (M5c spec, section 11). Written only when present, so a log written
|
||||
/// before M5c reads as it is, and a turn without a speaker is logged as before.
|
||||
#[serde(default, skip_serializing_if = "Option::is_none")]
|
||||
speaker: Option<String>,
|
||||
},
|
||||
Assistant {
|
||||
time: Timestamp,
|
||||
|
||||
Reference in New Issue
Block a user