Hello - how can I use the anthropic sonnet models ...
# agents
p
Hello - how can I use the anthropic sonnet models on Google Vertex AI using the google LLM plugin or if there is any other way to do this using anthropic plugin itself? Has anyone made it work for anthropic sonnet models on Google LLM plugin. I am getting the below error when I pass the sonnet model Id
Copy code
llm = google.LLM(vertexai=True, model="claude-3-5-sonnet-20241022")
I am passing the
GOOGLE_APPLICATION_CREDENTIALS
file in the environment var which has access to this model. I test this by using LiteLLM and the access is working
Copy code
livekit.agents._exceptions.APIStatusError: gemini llm: client error (status_code=404, request_id=25a6bfa035c0, body={
  "error": {
    "code": 404,
    "message": "Publisher Model `projects/****/locations/us-central1/publishers/google/models/claude-3-5-sonnet-20241022` not found.",
    "status": "NOT_FOUND"
  }