Skip to content

Commit 0c0c656

Browse files
Merge pull request #3718 from aahill/patch-4
Update computer-use.md
2 parents e08243a + 59e7a86 commit 0c0c656

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

articles/ai-services/openai/how-to/computer-use.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Learn about Computer Use in Azure OpenAI which allows AI to interac
55
manager: nitinme
66
ms.service: azure-ai-openai
77
ms.topic: how-to
8-
ms.date: 03/14/2025
8+
ms.date: 03/25/2025
99
author: aahill
1010
ms.author: aahi
1111
---
@@ -71,9 +71,9 @@ client = AzureOpenAI(
7171
)
7272

7373
response = client.responses.create(
74-
model="computer-use-preview",
74+
model="computer-use-preview", # set this to your model deployment name
7575
tools=[{
76-
"type": "computer-preview",
76+
"type": "computer_use_preview",
7777
"display_width": 1024,
7878
"display_height": 768,
7979
"environment": "browser" # other possible values: "mac", "windows", "ubuntu"
@@ -121,7 +121,7 @@ curl ${MY_ENDPOINT}/openai/responses?api-version=2025-03-01-preview \
121121
}
122122
],
123123
"tools": [{
124-
"type": "computer-preview",
124+
"type": "computer_use_preview",
125125
"display_width": 1024,
126126
"display_height": 768,
127127
"environment": "browser"
@@ -361,4 +361,4 @@ In all cases where `pending_safety_checks` are returned, actions should be hande
361361

362362
## See also
363363

364-
* [Responses API](./responses.md)
364+
* [Responses API](./responses.md)

0 commit comments

Comments
 (0)