update cua model

This commit is contained in:
Rohan Mehta 2025-03-11 11:22:37 -07:00
parent 723397b062
commit 1eb48e3857
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.")