openai_struct/models/
computer_call_output_item_param.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 ComputerCallOutputItemParam : The output of a computer tool call.
12
13#[allow(unused_imports)]
14use serde_json::Value;
15
16#[derive(Debug, Serialize, Deserialize)]
17pub struct ComputerCallOutputItemParam {
18    #[serde(rename = "acknowledged_safety_checks")]
19    pub acknowledged_safety_checks: Option<Value>,
20    /// The ID of the computer tool call that produced the output.
21    #[serde(rename = "call_id")]
22    pub call_id: String,
23    #[serde(rename = "id")]
24    pub id: Option<Value>,
25    #[serde(rename = "output")]
26    pub output: crate::models::ComputerScreenshotImage,
27    #[serde(rename = "status")]
28    pub status: Option<Value>,
29    /// The type of the computer tool call output. Always `computer_call_output`.
30    #[serde(rename = "type")]
31    pub _type: String,
32}