@jambonz/llm 0.2.2 → 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1565,7 +1565,7 @@ var VertexOpenAIAdapter = class {
1565
1565
  if (!auth.location) {
1566
1566
  throw new Error("VertexOpenAIAdapter: location is required");
1567
1567
  }
1568
- const baseURL = `https://${auth.location}-aiplatform.googleapis.com/v1/projects/${auth.projectId}/locations/${auth.location}/endpoints/openapi`;
1568
+ const baseURL = `https://${auth.location}-aiplatform.googleapis.com/v1beta1/projects/${auth.projectId}/locations/${auth.location}/endpoints/openapi`;
1569
1569
  const googleAuth = new GoogleAuth({
1570
1570
  credentials: auth.credentials,
1571
1571
  scopes: ["https://www.googleapis.com/auth/cloud-platform"]