Skip to content

Commit d09bb8b

Browse files
mwildehahnDouweM
andauthored
Update docs/builtin-tools.md
Co-authored-by: Douwe Maan <me@douwe.me>
1 parent 6037a66 commit d09bb8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/builtin-tools.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ assert isinstance(result.output, BinaryImage)
292292
_(This example is complete, it can be run "as is")_
293293

294294
OpenAI Responses models also respect the `aspect_ratio` parameter. Because the OpenAI API only exposes discrete image sizes,
295-
PydanticAI maps `'1:1'` -> `1024x1024`, `'2:3'` -> `1024x1536`, and `'3:2'` -> `1536x1024`. Providing any other aspect ratio
295+
Pydantic AI maps `'1:1'` -> `1024x1024`, `'2:3'` -> `1024x1536`, and `'3:2'` -> `1536x1024`. Providing any other aspect ratio
296296
results in an error, and if you also set `size` it must match the computed value.
297297

298298
To control the aspect ratio when using Gemini image models, include the `ImageGenerationTool` explicitly:

0 commit comments

Comments
 (0)