Skip to content

Anthropic models hosted on vertex do not work #685

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
portkey-support opened this issue Oct 17, 2024 · 1 comment
Closed

Anthropic models hosted on vertex do not work #685

portkey-support opened this issue Oct 17, 2024 · 1 comment
Labels
bug Something isn't working triage

Comments

@portkey-support
Copy link

portkey-support commented Oct 17, 2024

What Happened?

On October 17, 2024; Venge wrote

I just created a Vertex AI virtual key. The Gemini models work fine but the Anthropic models fail. Seems you are using a wrong endpoint: "vertex-ai error: Publisher Model projects/celtic-pulsar-437515-n6/locations/europe-west3/publishers/google/models/claude-3-5-sonnet@20240620 not found."

What Should Have Happened?

Right endpoint is "publishers/anthropic/models/claude-3-5-sonnet". We really need this, would be great if you could fix this soon!

Relevant Code Snippet

No response

Your Twitter/LinkedIn

No response

@portkey-support portkey-support added the bug Something isn't working label Oct 17, 2024
@portkey-support
Copy link
Author

Hey @venge sorry if the documentation was missing this info, but in the model for anthropic hosted on vertex you need to pass it this way:
anthropic.claude-3-5-sonnet@20240620
that should fix # 1
Updated the docs with this info
https://portkey.ai/docs/integrations/llms/vertex-ai#3-invoke-chat-completions-with-vertex-ai-and-gemini

@portkey-support portkey-support closed this as not planned Won't fix, can't repro, duplicate, stale Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage
Projects
None yet
Development

No branches or pull requests

1 participant