Skip to content

Commit 364b711

Browse files
committed
re-add computer use names
1 parent 88de1ed commit 364b711

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

pydantic_ai_slim/pydantic_ai/models/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,8 @@
233233
'moonshotai:moonshot-v1-8k-vision-preview',
234234
'openai:chatgpt-4o-latest',
235235
'openai:codex-mini-latest',
236+
'openai:computer-use-preview',
237+
'openai:computer-use-preview-2025-03-11',
236238
'openai:gpt-3.5-turbo',
237239
'openai:gpt-3.5-turbo-0125',
238240
'openai:gpt-3.5-turbo-0301',

pydantic_ai_slim/pydantic_ai/models/openai.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1197,7 +1197,7 @@ def _process_response( # noqa: C901
11971197
items.append(file_part)
11981198
items.append(return_part)
11991199
elif isinstance(item, responses.ResponseComputerToolCall): # pragma: no cover
1200-
# Pydantic AI doesn't yet support the ComputerUse built-in tool
1200+
# OpenAI's `computer-use` model is no longer available
12011201
pass
12021202
elif isinstance(item, responses.ResponseCustomToolCall): # pragma: no cover
12031203
# Support is being implemented in https://github.com/pydantic/pydantic-ai/pull/2572

0 commit comments

Comments
 (0)