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

Commit 12c946c

Browse files
committed
refactor(hgTransformersProvider): streamline import statement for FeatureExtractionPipeline
1 parent f64020c commit 12c946c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@ import path from 'node:path';
33
import { fileURLToPath } from 'node:url';
44

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

1110
import { ConfigurationService } from '../../configuration/configurationService';

0 commit comments

Comments
 (0)