openai_struct/models/run_object_incomplete_details.rs
1/*
2 * OpenAI API
3 *
4 * The OpenAI REST API. Please see pub https://platform.openai.com/docs/api-reference for more details.
5 *
6 * OpenAPI spec pub version: 2.3.0
7 *
8 * Generated pub by: https://github.com/swagger-api/swagger-codegen.git
9 */
10
11/// pub RunObjectIncompleteDetails : Details on why the run is incomplete. Will be `null` if the run is not incomplete.
12
13#[allow(unused_imports)]
14use serde_json::Value;
15
16#[derive(Debug, Serialize, Deserialize)]
17pub struct RunObjectIncompleteDetails {
18 /// The reason why the run is incomplete. This will point to which specific token limit was reached over the course of the run.
19 #[serde(rename = "reason")]
20 pub reason: Option<String>,
21}