@langchain/google-vertexai-web 2.3.5 → 2.3.6
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/CHANGELOG.md +8 -0
- package/README.md +3 -5
- package/dist/chat_models.cjs +1 -1
- package/dist/chat_models.js +1 -1
- package/dist/llms.cjs +1 -1
- package/dist/llms.js +1 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @langchain/google-vertexai-web
|
|
2
2
|
|
|
3
|
+
## 2.3.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#12141](https://github.com/langchain-ai/langchainjs/pull/12141) [`4585842`](https://github.com/langchain-ai/langchainjs/commit/4585842d7e7d04ca14dc8976569c7984ad97218d) Thanks [@hntrl](https://github.com/hntrl)! - Only route Google chat models through the LangSmith gateway when no credentials are passed. Explicit `apiKey`, `authOptions`, `credentials`, or `googleAuthOptions` now go straight to Google.
|
|
8
|
+
- Updated dependencies []:
|
|
9
|
+
- @langchain/google-webauth@2.3.6
|
|
10
|
+
|
|
3
11
|
## 2.3.5
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -50,11 +50,9 @@ console.log(response.content);
|
|
|
50
50
|
```
|
|
51
51
|
|
|
52
52
|
Vertex Express requests do not require Google web credentials when a gateway API
|
|
53
|
-
key is configured.
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
OAuth. An explicit `apiKey` takes precedence over the gateway key. An explicit
|
|
57
|
-
`endpoint` opts out of automatic gateway routing and gateway-key selection.
|
|
53
|
+
key is configured. Passing your own credentials (`authOptions` or `apiKey`) or an
|
|
54
|
+
explicit `endpoint` opts out of gateway routing and sends requests straight to
|
|
55
|
+
Vertex AI.
|
|
58
56
|
|
|
59
57
|
Keep gateway API keys in trusted server or edge runtimes, not public browser
|
|
60
58
|
bundles.
|
package/dist/chat_models.cjs
CHANGED
|
@@ -303,7 +303,7 @@ var ChatVertexAI = class extends _langchain_google_webauth.ChatGoogle {
|
|
|
303
303
|
...fields,
|
|
304
304
|
platformType: "gcp"
|
|
305
305
|
});
|
|
306
|
-
this._addVersion("@langchain/google-vertexai-web", "2.3.
|
|
306
|
+
this._addVersion("@langchain/google-vertexai-web", "2.3.6");
|
|
307
307
|
}
|
|
308
308
|
};
|
|
309
309
|
exports.ChatVertexAI = ChatVertexAI;
|
package/dist/chat_models.js
CHANGED
|
@@ -303,7 +303,7 @@ var ChatVertexAI = class extends ChatGoogle {
|
|
|
303
303
|
...fields,
|
|
304
304
|
platformType: "gcp"
|
|
305
305
|
});
|
|
306
|
-
this._addVersion("@langchain/google-vertexai-web", "2.3.
|
|
306
|
+
this._addVersion("@langchain/google-vertexai-web", "2.3.6");
|
|
307
307
|
}
|
|
308
308
|
};
|
|
309
309
|
export { ChatVertexAI };
|
package/dist/llms.cjs
CHANGED
|
@@ -18,7 +18,7 @@ var VertexAI = class extends _langchain_google_webauth.GoogleLLM {
|
|
|
18
18
|
...fields,
|
|
19
19
|
platformType: "gcp"
|
|
20
20
|
});
|
|
21
|
-
this._addVersion("@langchain/google-vertexai-web", "2.3.
|
|
21
|
+
this._addVersion("@langchain/google-vertexai-web", "2.3.6");
|
|
22
22
|
}
|
|
23
23
|
};
|
|
24
24
|
exports.VertexAI = VertexAI;
|
package/dist/llms.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@langchain/google-vertexai-web",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.6",
|
|
4
4
|
"description": "LangChain.js support for Google Vertex AI Web",
|
|
5
5
|
"author": "LangChain",
|
|
6
6
|
"license": "MIT",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
},
|
|
15
15
|
"homepage": "https://github.com/langchain-ai/langchainjs/tree/main/libs/providers/langchain-google-vertexai-web/",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@langchain/google-webauth": "2.3.
|
|
17
|
+
"@langchain/google-webauth": "2.3.6"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@tsconfig/recommended": "^1.0.3",
|
|
@@ -23,9 +23,9 @@
|
|
|
23
23
|
"typescript": "~7.0.2",
|
|
24
24
|
"vitest": "^5.0.5",
|
|
25
25
|
"zod": "^3.25.76",
|
|
26
|
-
"@langchain/google-common": "2.3.
|
|
27
|
-
"@langchain/
|
|
28
|
-
"@langchain/
|
|
26
|
+
"@langchain/google-common": "2.3.6",
|
|
27
|
+
"@langchain/tsconfig": "0.0.1",
|
|
28
|
+
"@langchain/standard-tests": "0.0.23"
|
|
29
29
|
},
|
|
30
30
|
"publishConfig": {
|
|
31
31
|
"access": "public"
|