Skip to content

Commit 59e7a86

Browse files
authored
Update model and tool type names
1 parent 64a6134 commit 59e7a86

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ 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=[{
7676
"type": "computer_use_preview",
7777
"display_width": 1024,
@@ -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"

0 commit comments

Comments
 (0)