Skip to content

Commit c74be7f

Browse files
committed
update
1 parent b94d2c1 commit c74be7f

File tree

1 file changed

+2
-72
lines changed

1 file changed

+2
-72
lines changed

articles/ai-services/openai/includes/api-versions/new-inference-preview.md

Lines changed: 2 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -3446,8 +3446,6 @@ This component uses the property `type` to discriminate between different types:
34463446
| `item_reference` | [OpenAI.ItemReferenceItemParam](#openaiitemreferenceitemparam) |
34473447
| `image_generation_call` | [OpenAI.ImageGenToolCallItemParam](#openaiimagegentoolcallitemparam) |
34483448
| `code_interpreter_call` | [OpenAI.CodeInterpreterToolCallItemParam](#openaicodeinterpretertoolcallitemparam) |
3449-
| `local_shell_call` | [OpenAI.LocalShellToolCallItemParam](#openailocalshelltoolcallitemparam) |
3450-
| `local_shell_call_output` | [OpenAI.LocalShellToolCallOutputItemParam](#openailocalshelltoolcalloutputitemparam) |
34513449
| `mcp_list_tools` | [OpenAI.MCPListToolsItemParam](#openaimcplisttoolsitemparam) |
34523450
| `mcp_approval_request` | [OpenAI.MCPApprovalRequestItemParam](#openaimcpapprovalrequestitemparam) |
34533451
| `mcp_approval_response` | [OpenAI.MCPApprovalResponseItemParam](#openaimcpapprovalresponseitemparam) |
@@ -3488,8 +3486,6 @@ This component uses the property `type` to discriminate between different types:
34883486
| `web_search_call` | [OpenAI.WebSearchToolCallItemResource](#openaiwebsearchtoolcallitemresource) |
34893487
| `reasoning` | [OpenAI.ReasoningItemResource](#openaireasoningitemresource) |
34903488
| `image_generation_call` | [OpenAI.ImageGenToolCallItemResource](#openaiimagegentoolcallitemresource) |
3491-
| `local_shell_call` | [OpenAI.LocalShellToolCallItemResource](#openailocalshelltoolcallitemresource) |
3492-
| `local_shell_call_output` | [OpenAI.LocalShellToolCallOutputItemResource](#openailocalshelltoolcalloutputitemresource) |
34933489
| `mcp_list_tools` | [OpenAI.MCPListToolsItemResource](#openaimcplisttoolsitemresource) |
34943490
| `mcp_approval_request` | [OpenAI.MCPApprovalRequestItemResource](#openaimcpapprovalrequestitemresource) |
34953491
| `mcp_call` | [OpenAI.MCPCallItemResource](#openaimcpcallitemresource) |
@@ -3504,72 +3500,7 @@ This component uses the property `type` to discriminate between different types:
35043500
| Property | Value |
35053501
|----------|-------|
35063502
| **Type** | string |
3507-
| **Values** | `message`<br>`file_search_call`<br>`function_call`<br>`function_call_output`<br>`computer_call`<br>`computer_call_output`<br>`web_search_call`<br>`reasoning`<br>`item_reference`<br>`image_generation_call`<br>`code_interpreter_call`<br>`local_shell_call`<br>`local_shell_call_output`<br>`mcp_list_tools`<br>`mcp_approval_request`<br>`mcp_approval_response`<br>`mcp_call` |
3508-
3509-
### OpenAI.LocalShellExecAction
3510-
3511-
Execute a shell command on the server.
3512-
3513-
| Name | Type | Description | Required | Default |
3514-
|------|------|-------------|----------|---------|
3515-
| command | array | The command to run. | Yes | |
3516-
| env | object | Environment variables to set for the command. | Yes | |
3517-
| timeout_ms | integer | Optional timeout in milliseconds for the command. | No | |
3518-
| type | enum | The type of the local shell action. Always `exec`.<br>Possible values: `exec` | Yes | |
3519-
| user | string | Optional user to run the command as. | No | |
3520-
| working_directory | string | Optional working directory to run the command in. | No | |
3521-
3522-
### OpenAI.LocalShellTool
3523-
3524-
A tool that allows the model to execute shell commands in a local environment.
3525-
3526-
| Name | Type | Description | Required | Default |
3527-
|------|------|-------------|----------|---------|
3528-
| type | enum | The type of the local shell tool. Always `local_shell`.<br>Possible values: `local_shell` | Yes | |
3529-
3530-
### OpenAI.LocalShellToolCallItemParam
3531-
3532-
A tool call to run a command on the local shell.
3533-
3534-
3535-
| Name | Type | Description | Required | Default |
3536-
|------|------|-------------|----------|---------|
3537-
| action | [OpenAI.LocalShellExecAction](#openailocalshellexecaction) | Execute a shell command on the server. | Yes | |
3538-
| call_id | string | The unique ID of the local shell tool call generated by the model. | Yes | |
3539-
| type | enum | <br>Possible values: `local_shell_call` | Yes | |
3540-
3541-
### OpenAI.LocalShellToolCallItemResource
3542-
3543-
A tool call to run a command on the local shell.
3544-
3545-
3546-
| Name | Type | Description | Required | Default |
3547-
|------|------|-------------|----------|---------|
3548-
| action | [OpenAI.LocalShellExecAction](#openailocalshellexecaction) | Execute a shell command on the server. | Yes | |
3549-
| call_id | string | The unique ID of the local shell tool call generated by the model. | Yes | |
3550-
| status | enum | <br>Possible values: `in_progress`, `completed`, `incomplete` | Yes | |
3551-
| type | enum | <br>Possible values: `local_shell_call` | Yes | |
3552-
3553-
### OpenAI.LocalShellToolCallOutputItemParam
3554-
3555-
The output of a local shell tool call.
3556-
3557-
3558-
| Name | Type | Description | Required | Default |
3559-
|------|------|-------------|----------|---------|
3560-
| output | string | A JSON string of the output of the local shell tool call. | Yes | |
3561-
| type | enum | <br>Possible values: `local_shell_call_output` | Yes | |
3562-
3563-
### OpenAI.LocalShellToolCallOutputItemResource
3564-
3565-
The output of a local shell tool call.
3566-
3567-
3568-
| Name | Type | Description | Required | Default |
3569-
|------|------|-------------|----------|---------|
3570-
| output | string | A JSON string of the output of the local shell tool call. | Yes | |
3571-
| status | enum | <br>Possible values: `in_progress`, `completed`, `incomplete` | Yes | |
3572-
| type | enum | <br>Possible values: `local_shell_call_output` | Yes | |
3503+
| **Values** | `message`<br>`file_search_call`<br>`function_call`<br>`function_call_output`<br>`computer_call`<br>`computer_call_output`<br>`web_search_call`<br>`reasoning`<br>`item_reference`<br>`image_generation_call`<br>`code_interpreter_call`<br>`mcp_list_tools`<br>`mcp_approval_request`<br>`mcp_approval_response`<br>`mcp_call` |
35733504

35743505
### OpenAI.Location
35753506

@@ -4924,7 +4855,6 @@ This component uses the property `type` to discriminate between different types:
49244855
| `web_search_preview` | [OpenAI.WebSearchPreviewTool](#openaiwebsearchpreviewtool) |
49254856
| `code_interpreter` | [OpenAI.CodeInterpreterTool](#openaicodeinterpretertool) |
49264857
| `image_generation` | [OpenAI.ImageGenTool](#openaiimagegentool) |
4927-
| `local_shell` | [OpenAI.LocalShellTool](#openailocalshelltool) |
49284858
| `mcp` | [OpenAI.MCPTool](#openaimcptool) |
49294859

49304860
| Name | Type | Description | Required | Default |
@@ -5034,7 +4964,7 @@ A tool that can be used to generate a response.
50344964
|----------|-------|
50354965
| **Description** | A tool that can be used to generate a response. |
50364966
| **Type** | string |
5037-
| **Values** | `file_search`<br>`function`<br>`computer_use_preview`<br>`web_search_preview`<br>`mcp`<br>`code_interpreter`<br>`image_generation`<br>`local_shell` |
4967+
| **Values** | `file_search`<br>`function`<br>`computer_use_preview`<br>`web_search_preview`<br>`mcp`<br>`code_interpreter`<br>`image_generation` |
50384968

50394969
### OpenAI.TranscriptionAudioResponseFormat
50404970

0 commit comments

Comments
 (0)