@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/test-kit/index.cjs
CHANGED
|
@@ -1597,7 +1597,7 @@ var VertexOpenAIAdapter = class {
|
|
|
1597
1597
|
if (!auth.location) {
|
|
1598
1598
|
throw new Error("VertexOpenAIAdapter: location is required");
|
|
1599
1599
|
}
|
|
1600
|
-
const baseURL = `https://${auth.location}-aiplatform.googleapis.com/
|
|
1600
|
+
const baseURL = `https://${auth.location}-aiplatform.googleapis.com/v1beta1/projects/${auth.projectId}/locations/${auth.location}/endpoints/openapi`;
|
|
1601
1601
|
const googleAuth = new import_google_auth_library.GoogleAuth({
|
|
1602
1602
|
credentials: auth.credentials,
|
|
1603
1603
|
scopes: ["https://www.googleapis.com/auth/cloud-platform"]
|