Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit aabcc4a

Browse files
committed
update cua model
1 parent 9946b8b commit aabcc4a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/tools/computer_use.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ async def main():
2828
instructions="You are a helpful agent.",
2929
tools=[ComputerTool(computer)],
3030
# Use the computer using model, and set truncation to auto because its required
31-
model="computer-use-preview-2025-02-04",
31+
model="computer-use-preview",
3232
model_settings=ModelSettings(truncation="auto"),
3333
)
3434
result = await Runner.run(agent, "Search for SF sports news and summarize.")

tests/examples/tools/computer_use.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ async def main():
2828
instructions="You are a helpful agent.",
2929
tools=[ComputerTool(computer)],
3030
# Use the computer using model, and set truncation to auto because its required
31-
model="computer-use-preview-2025-02-04",
31+
model="computer-use-preview",
3232
model_settings=ModelSettings(truncation="auto"),
3333
)
3434
result = await Runner.run(agent, "Search for SF sports news and summarize.")

0 commit comments

Comments
 (0)