update cua model
This commit is contained in:
parent
9946b8b58d
commit
aabcc4aba1
2 changed files with 2 additions and 2 deletions
|
|
@ -28,7 +28,7 @@ async def main():
|
||||||
instructions="You are a helpful agent.",
|
instructions="You are a helpful agent.",
|
||||||
tools=[ComputerTool(computer)],
|
tools=[ComputerTool(computer)],
|
||||||
# Use the computer using model, and set truncation to auto because its required
|
# 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"),
|
model_settings=ModelSettings(truncation="auto"),
|
||||||
)
|
)
|
||||||
result = await Runner.run(agent, "Search for SF sports news and summarize.")
|
result = await Runner.run(agent, "Search for SF sports news and summarize.")
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,7 @@ async def main():
|
||||||
instructions="You are a helpful agent.",
|
instructions="You are a helpful agent.",
|
||||||
tools=[ComputerTool(computer)],
|
tools=[ComputerTool(computer)],
|
||||||
# Use the computer using model, and set truncation to auto because its required
|
# 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"),
|
model_settings=ModelSettings(truncation="auto"),
|
||||||
)
|
)
|
||||||
result = await Runner.run(agent, "Search for SF sports news and summarize.")
|
result = await Runner.run(agent, "Search for SF sports news and summarize.")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue