objectiveai_sdk/cli/output/notification/agents/mod.rs
1mod completions;
2
3pub use completions::*;
4
5use schemars::JsonSchema;
6use serde::{Deserialize, Serialize};
7
8/// Result of `agents get`.
9///
10/// Wire: `{"type":"notification","agent":{...GetAgentResponse...}}`.
11#[derive(Serialize, Deserialize, Debug, Clone, JsonSchema)]
12#[schemars(rename = "cli.output.notification.agents.Agent")]
13pub struct Agent {
14 pub agent: crate::agent::response::GetAgentResponse,
15}