Skip to content

Comments

fix (provider/google-vertex): fix anthropic support for image urls in messages#5523

Merged
lgrammel merged 2 commits intomainfrom
shaper/pr/vertex-anthropic-image
Apr 3, 2025
Merged

fix (provider/google-vertex): fix anthropic support for image urls in messages#5523
lgrammel merged 2 commits intomainfrom
shaper/pr/vertex-anthropic-image

Conversation

@shaper
Copy link
Collaborator

@shaper shaper commented Apr 3, 2025

No description provided.

@lgrammel lgrammel merged commit 292f543 into main Apr 3, 2025
7 checks passed
@lgrammel lgrammel deleted the shaper/pr/vertex-anthropic-image branch April 3, 2025 07:37
baseURL,
headers: options.headers ?? {},
fetch: options.fetch,
supportsImageUrls: false,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this set to false?? @lgrammel

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SDK is throwing errors URL sources are not supported for vertex now, it is not converting urls to base64 anymore

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems broken after .14 version aeba38e#diff-6b314517fe13fd78e5d279e3bede3255a255a1ac00b6ca85e7f00835c282a892R57-R61 because this method supportsUrl was introduced.

@gr2m gr2m added ai/provider provider/anthropic provider/google-vertex Issues related to the @ai-sdk/google-vertex provider labels Oct 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai/provider provider/anthropic provider/google-vertex Issues related to the @ai-sdk/google-vertex provider

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants