Class VertexAIProviderErrorMapper

java.lang.Object
com.tnsai.llm.errors.AbstractGoogleErrorMapper
com.tnsai.llm.errors.VertexAIProviderErrorMapper
All Implemented Interfaces:
ProviderErrorMapper

public class VertexAIProviderErrorMapper extends AbstractGoogleErrorMapper
ProviderErrorMapper for Google Cloud Vertex AI.

Vertex AI serves Gemini (and other) models through Google Cloud and returns the same canonical Google API-Gateway error envelope as the Generative Language API, so the behaviour is shared via AbstractGoogleErrorMapper.

Since:
0.12.0 (TNS-622)
  • Constructor Details

    • VertexAIProviderErrorMapper

      public VertexAIProviderErrorMapper()