update cua model

This commit is contained in:
Rohan Mehta 2025-03-11 11:22:37 -07:00
parent 9946b8b58d
commit aabcc4aba1
2 changed files with 2 additions and 2 deletions

View file

@ -28,7 +28,7 @@ async def main():
instructions="You are a helpful agent.",
tools=[ComputerTool(computer)],
# Use the computer using model, and set truncation to auto because its required
model="computer-use-preview-2025-02-04",
model="computer-use-preview",
model_settings=ModelSettings(truncation="auto"),
)
result = await Runner.run(agent, "Search for SF sports news and summarize.")

View file

@ -28,7 +28,7 @@ async def main():
instructions="You are a helpful agent.",
tools=[ComputerTool(computer)],
# Use the computer using model, and set truncation to auto because its required
model="computer-use-preview-2025-02-04",
model="computer-use-preview",
model_settings=ModelSettings(truncation="auto"),
)
result = await Runner.run(agent, "Search for SF sports news and summarize.")