diff --git a/examples/tools/computer_use.py b/examples/tools/computer_use.py index 35fc865..ae33955 100644 --- a/examples/tools/computer_use.py +++ b/examples/tools/computer_use.py @@ -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.") diff --git a/tests/examples/tools/computer_use.py b/tests/examples/tools/computer_use.py index 35fc865..ae33955 100644 --- a/tests/examples/tools/computer_use.py +++ b/tests/examples/tools/computer_use.py @@ -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.")