vercel / ai

Build AI-powered applications with React, Svelte, Vue, and Solid
https://sdk.vercel.ai/docs
Other
9.43k stars 1.38k forks source link

Support models other than Gemini in Google Vertex Provider #1813

Open wong2 opened 3 months ago

wong2 commented 3 months ago

Feature Description

Google Vertex Model Gardens provides a variety of AI models other than the Gemini family, for example, it has support of Anthropic Claude models. But when using them with Vertex Provider currently, we will get the following error:

/locations/us-west2/publishers/google/models/claude-3-opus 404

Use Case

No response

Additional context

No response

fry69 commented 3 weeks ago

FYI: There is a pull request for an anthropic-vertex provider -> https://github.com/vercel/ai/pull/2482