objectiveai-sdk 2.0.6

ObjectiveAI SDK, definitions, and utilities
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
mod completions;

pub use completions::*;

use schemars::JsonSchema;
use serde::{Deserialize, Serialize};

/// Result of `agents get`.
///
/// Wire: `{"type":"notification","agent":{...GetAgentResponse...}}`.
#[derive(Serialize, Deserialize, Debug, Clone, JsonSchema)]
#[schemars(rename = "cli.output.notification.agents.Agent")]
pub struct Agent {
    pub agent: crate::agent::response::GetAgentResponse,
}