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