File size: 500 Bytes
afa0cbf
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! 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;