Changing method in MCP notifications (#1684)

- Changing the codex/event type
This commit is contained in:
aibrahim-oai
2025-07-26 10:35:49 -07:00
committed by GitHub
parent c66c99c5b5
commit 5a0079fea2
3 changed files with 50 additions and 12 deletions

View File

@@ -278,8 +278,9 @@ pub struct Event {
}
/// Response event from the agent
#[derive(Debug, Clone, Deserialize, Serialize)]
#[derive(Debug, Clone, Deserialize, Serialize, Display)]
#[serde(tag = "type", rename_all = "snake_case")]
#[strum(serialize_all = "lowercase")]
pub enum EventMsg {
/// Error while executing a submission
Error(ErrorEvent),