From 6c3194cdaafeefccfd55683a7323f519506257cd Mon Sep 17 00:00:00 2001 From: Douwe Maan Date: Wed, 26 Nov 2025 23:13:22 +0000 Subject: [PATCH] Fix link in docs --- docs/input.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/input.md b/docs/input.md index b6f70a75e1..f60516f373 100644 --- a/docs/input.md +++ b/docs/input.md @@ -106,13 +106,13 @@ print(result.output) When you provide a URL using any of `ImageUrl`, `AudioUrl`, `VideoUrl` or `DocumentUrl`, Pydantic AI will typically send the URL directly to the model API so that the download happens on their side. -Some model APIs do no support file URLs at all or for specific file types. In the following cases, Pydantic AI will download the file content and send it as part of the API request instead: +Some model APIs do not support file URLs at all or for specific file types. In the following cases, Pydantic AI will download the file content and send it as part of the API request instead: -- [`BedrockModel`][pydantic_ai.models.bedrock.BedrockModel]: All URLs +- [`OpenAIChatModel`][pydantic_ai.models.openai.OpenAIChatModel]: `AudioUrl` and `DocumentUrl` - [`OpenAIResponsesModel`][pydantic_ai.models.openai.OpenAIResponsesModel]: All URLs - [`AnthropicModel`][pydantic_ai.models.anthropic.AnthropicModel]: `DocumentUrl` with media type `text/plain` -- [`OpenAIChatModel`][pydantic_ai.models.openai.OpenAIChatModel]: `AudioUrl` and `DocumentUrl` - [`GoogleModel`][pydantic_ai.models.google.GoogleModel] using GLA (Gemini Developer API): All URLs except YouTube video URLs and files uploaded to the [Files API](https://ai.google.dev/gemini-api/docs/files). +- [`BedrockConverseModel`][pydantic_ai.models.bedrock.BedrockConverseModel]: All URLs If the model API supports file URLs but may not be able to download a file because of crawling or access restrictions, you can instruct Pydantic AI to download the file content and send that instead of the URL by enabling the `force_download` flag on the URL object. For example, [`GoogleModel`][pydantic_ai.models.google.GoogleModel] on Vertex AI limits YouTube video URLs to one URL per request.