objectiveai-sdk 2.2.1

ObjectiveAI SDK, definitions, and utilities
Documentation
//! Object type for streaming agent completion responses.

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

/// The object type for streaming agent completion chunks.
#[derive(
    Debug,
    Clone,
    Copy,
    PartialEq,
    Serialize,
    Deserialize,
    Default,
    JsonSchema,
    arbitrary::Arbitrary,
)]
#[schemars(rename = "agent.completions.response.streaming.Object")]
pub enum Object {
    /// A agent completion chunk object.
    #[serde(rename = "agent.completion.chunk")]
    #[default]
    AgentCompletionChunk,
}