Hello
I am starting to use computer-use-preview :
response = client.responses.create(
model=“computer-use-preview”,
previous_response_id=response.id,
tools=[{
“type”: “computer_use_preview”,
“display_width”: 1920,
“display_height”: 1080,
“environment”: “windows”
}],
input=[{
“call_id”: last_call_id,
“type”: “computer_call_output”,
"output": {
"type": "input_image",
"image_url": f"data:image/png;base64,{screenshot_base64}"
}
}],
truncation="auto"
)
It’s run ok but sometimes i have this error :
openai.BadRequestError: Error code: 400 - {‘error’: {‘message’: “Computer tool has unacknowledged safety check for [‘cu_sc_67da7f14b4948191989061fef39f9be8091314287585598d’]”, ‘type’: ‘invalid_request_error’, ‘param’: ‘input’, ‘code’: None}}
The error usually occurs when he has to click on an icon, but it’s not systematic.
Apparently, there’s a security issue with certain types of tasks, since I’m asking him to act directly on the Windows environment. How can I stop getting this error or have him ignore it and continue with his actions?
Thanks for help