Skip to content
This repository was archived by the owner on Dec 2, 2025. It is now read-only.

Commit b2d98ff

Browse files
committed
refactor(hgTransformersProvider): update transformers package version and clean up imports
1 parent 12c946c commit b2d98ff

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1136,7 +1136,7 @@
11361136
"@mozilla/readability": "^0.5.0",
11371137
"@octokit/rest": "^20.1.1",
11381138
"@unit-mesh/treesitter-artifacts": "^1.6.3",
1139-
"@xenova/transformers": "^2.17.1",
1139+
"@xenova/transformers": "^2.17.2",
11401140
"cheerio": "^1.0.0-rc.12",
11411141
"csv-parse": "^5.5.5",
11421142
"graphology": "^0.25.4",
@@ -1195,4 +1195,4 @@
11951195
"vite-tsconfig-paths": "^4.3.2",
11961196
"vitest": "^1.4.0"
11971197
}
1198-
}
1198+
}

src/base/common/language-models/providers/hgTransformersProvider.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import path from 'node:path';
33
import { fileURLToPath } from 'node:url';
44

55
import { chunkArray } from '@langchain/core/utils/chunk_array';
6-
// @ts-expect-error vite esm => cjs
76
import { type FeatureExtractionPipeline } from '@xenova/transformers';
87
import { type CancellationToken } from 'vscode';
98

0 commit comments

Comments
 (0)