Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust
500 B
Raw Blame
//! Typed reasoning settings for a durable Responses API configuration update.

use crate::openai_models::ReasoningEffort;
use schemars::JsonSchema;
use serde::Deserialize;
use serde::Serialize;
use ts_rs::TS;

/// Reasoning settings interpreted by the backend for the routed model.
#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq, JsonSchema, TS)]
pub struct ConfigurationReasoning {
    pub effort: ReasoningEffort,
}

#[cfg(test)]
#[path = "configuration_update_tests.rs"]
mod tests;