1 2 3 4 5 6 7 8 9 10 11
use schemars::JsonSchema; use serde::{Deserialize, Serialize}; /// Final assistant message text returned by `agents completions create`. /// /// Wire: `{"type":"notification","content":"...text..."}`. #[derive(Serialize, Deserialize, Debug, Clone, JsonSchema)] #[schemars(rename = "cli.output.notification.agents.completions.Content")] pub struct Content { pub content: String, }