@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.js
CHANGED
|
@@ -1558,7 +1558,7 @@ var VertexOpenAIAdapter = class {
|
|
|
1558
1558
|
if (!auth.location) {
|
|
1559
1559
|
throw new Error("VertexOpenAIAdapter: location is required");
|
|
1560
1560
|
}
|
|
1561
|
-
const baseURL = `https://${auth.location}-aiplatform.googleapis.com/
|
|
1561
|
+
const baseURL = `https://${auth.location}-aiplatform.googleapis.com/v1beta1/projects/${auth.projectId}/locations/${auth.location}/endpoints/openapi`;
|
|
1562
1562
|
const googleAuth = new GoogleAuth({
|
|
1563
1563
|
credentials: auth.credentials,
|
|
1564
1564
|
scopes: ["https://www.googleapis.com/auth/cloud-platform"]
|