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:
@@ -88,7 +88,7 @@ impl Broker {
|
||||
}
|
||||
}
|
||||
|
||||
/// The snake_case wire name of a message: all twenty-six kinds, none with a leading underscore.
|
||||
/// The snake_case wire name of a message: all twenty-eight kinds, none with a leading underscore.
|
||||
pub fn kind(msg: &Message) -> &'static str {
|
||||
match msg {
|
||||
Message::ToolRequest(_) => "tool_request",
|
||||
@@ -117,6 +117,8 @@ pub fn kind(msg: &Message) -> &'static str {
|
||||
Message::Reindexed(_) => "reindexed",
|
||||
Message::MemoryAdmin(_) => "memory_admin",
|
||||
Message::MemoryAdminReply(_) => "memory_admin_reply",
|
||||
Message::SessionState(_) => "session_state",
|
||||
Message::SessionStateReply(_) => "session_state_reply",
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user