Skip to main content

objectiveai_sdk/cli/output/notification/agents/completions/
create.rs

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