diff --git a/src/message_types.rs b/src/message_types.rs index 72e06e9..81f7373 100644 --- a/src/message_types.rs +++ b/src/message_types.rs @@ -1,4 +1,3 @@ - use serde::{Deserialize, Serialize}; #[derive(Debug, Clone, Copy, PartialEq, Eq, Serialize, Deserialize)] @@ -17,6 +16,8 @@ impl MessageType { pub const SUGGESTION: Self = Self(4); pub const CONTEXT_CHANGE: Self = Self(5); + + pub const TOOL_EXEC: Self = Self(6); } impl From for MessageType { @@ -46,6 +47,7 @@ impl std::fmt::Display for MessageType { 3 => "CONTINUE", 4 => "SUGGESTION", 5 => "CONTEXT_CHANGE", + 6 => "TOOL_EXEC", _ => "UNKNOWN", }; write!(f, "{name}")