objectiveai-sdk 2.0.6

ObjectiveAI SDK, definitions, and utilities
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! OpenRouter agent types.

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

/// OpenRouter upstream marker.
#[derive(Debug, Clone, Copy, Default, PartialEq, Eq, Hash, Serialize, Deserialize, JsonSchema, arbitrary::Arbitrary)]
#[serde(rename_all = "snake_case")]
#[schemars(rename = "agent.openrouter.Upstream")]
pub enum Upstream {
    #[default]
    Openrouter,
}