@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.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/test-kit/index.cjs +1 -1
- package/dist/test-kit/index.cjs.map +1 -1
- package/dist/test-kit/index.js +1 -1
- package/dist/test-kit/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1609,7 +1609,7 @@ var VertexOpenAIAdapter = class {
|
|
|
1609
1609
|
if (!auth.location) {
|
|
1610
1610
|
throw new Error("VertexOpenAIAdapter: location is required");
|
|
1611
1611
|
}
|
|
1612
|
-
const baseURL = `https://${auth.location}-aiplatform.googleapis.com/
|
|
1612
|
+
const baseURL = `https://${auth.location}-aiplatform.googleapis.com/v1beta1/projects/${auth.projectId}/locations/${auth.location}/endpoints/openapi`;
|
|
1613
1613
|
const googleAuth = new import_google_auth_library.GoogleAuth({
|
|
1614
1614
|
credentials: auth.credentials,
|
|
1615
1615
|
scopes: ["https://www.googleapis.com/auth/cloud-platform"]
|