@langchain/google-vertexai 2.1.13 → 2.1.14

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/package.json +4 -4
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @langchain/google-vertexai
2
2
 
3
+ ## 2.1.14
4
+
5
+ ### Patch Changes
6
+
7
+ - [#9900](https://github.com/langchain-ai/langchainjs/pull/9900) [`a9b5059`](https://github.com/langchain-ai/langchainjs/commit/a9b50597186002221aaa4585246e569fa44c27c8) Thanks [@hntrl](https://github.com/hntrl)! - Improved abort signal handling for chat models:
8
+ - Added `ModelAbortError` class in `@langchain/core/errors` that contains partial output when a model invocation is aborted mid-stream
9
+ - `invoke()` now throws `ModelAbortError` with accumulated `partialOutput` when aborted during streaming (when using streaming callback handlers)
10
+ - `stream()` throws a regular `AbortError` when aborted (since chunks are already yielded to the caller)
11
+ - All provider implementations now properly check and propagate abort signals in both `_generate()` and `_streamResponseChunks()` methods
12
+ - Added standard tests for abort signal behavior
13
+
14
+ - Updated dependencies []:
15
+ - @langchain/google-gauth@2.1.14
16
+
3
17
  ## 2.1.13
4
18
 
5
19
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@langchain/google-vertexai",
3
- "version": "2.1.13",
3
+ "version": "2.1.14",
4
4
  "description": "LangChain.js support for Google Vertex AI",
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/langchain-google-vertexai/",
16
16
  "dependencies": {
17
- "@langchain/google-gauth": "2.1.13"
17
+ "@langchain/google-gauth": "2.1.14"
18
18
  },
19
19
  "devDependencies": {
20
20
  "@jest/globals": "^29.5.0",
@@ -31,8 +31,8 @@
31
31
  "typescript": "~5.8.3",
32
32
  "zod": "^3.25.76",
33
33
  "@langchain/eslint": "0.1.1",
34
- "@langchain/google-common": "2.1.13",
35
- "@langchain/standard-tests": "0.0.20",
34
+ "@langchain/google-common": "2.1.14",
35
+ "@langchain/standard-tests": "0.0.21",
36
36
  "@langchain/tsconfig": "0.0.1"
37
37
  },
38
38
  "publishConfig": {