openai_struct/models/
computer_tool_call_output_resource.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#[allow(unused_imports)]
12use serde_json::Value;
13
14#[derive(Debug, Serialize, Deserialize)]
15pub struct ComputerToolCallOutputResource {
16    /// The safety checks reported by the API that have been acknowledged by the  developer.
17    #[serde(rename = "acknowledged_safety_checks")]
18    pub acknowledged_safety_checks: Option<Vec<crate::models::ComputerToolCallSafetyCheck>>,
19    /// The ID of the computer tool call that produced the output.
20    #[serde(rename = "call_id")]
21    pub call_id: String,
22    /// The unique ID of the computer call tool output.
23    #[serde(rename = "id")]
24    pub id: String,
25    #[serde(rename = "output")]
26    pub output: crate::models::ComputerScreenshotImage,
27    /// The status of the message input. One of `in_progress`, `completed`, or `incomplete`. Populated when input items are returned via API.
28    #[serde(rename = "status")]
29    pub status: Option<String>,
30    /// The type of the computer tool call output. Always `computer_call_output`.
31    #[serde(rename = "type")]
32    pub _type: String,
33}