Skip to content

Commit ef4bb6a

Browse files
authored
fix: --list-models crash when using simulator (#99)
1 parent 9344f73 commit ef4bb6a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/platform/endpoint/test/node/testEndpointProvider.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ import { CHAT_MODEL, EMBEDDING_MODEL } from '../../../configuration/common/confi
99
import { IChatEndpoint, IEmbeddingEndpoint } from '../../../networking/common/networking';
1010
import { ChatEndpointFamily, EmbeddingsEndpointFamily, IChatModelInformation, IEmbeddingModelInformation, IEndpointProvider } from '../../common/endpointProvider';
1111
import { EmbeddingEndpoint } from '../../node/embeddingsEndpoint';
12+
import { AzureTestEndpoint } from './azureEndpoint';
1213
import { CAPITestEndpoint, modelIdToTokenizer } from './capiEndpoint';
1314
import { CustomNesEndpoint } from './customNesEndpoint';
1415
import { TestModelMetadataFetcher } from './testModelMetadataFetcher';
15-
import { AzureTestEndpoint } from './azureEndpoint';
1616

1717
async function getModelMetadataMap(modelMetadataFetcher: TestModelMetadataFetcher): Promise<Map<string, IChatModelInformation>> {
1818
let metadataArray: IChatModelInformation[] = [];
@@ -77,7 +77,6 @@ export class TestEndpointProvider implements IEndpointProvider {
7777

7878
async getAllChatEndpoints(): Promise<IChatEndpoint[]> {
7979
const modelIDs: Set<string> = new Set([
80-
CHAT_MODEL.DEEPSEEK_CHAT,
8180
CHAT_MODEL.CUSTOM_NES
8281
]);
8382
const modelLabMetadata: Map<string, IChatModelInformation> = await this._modelLabChatModelMetadata;

0 commit comments

Comments
 (0)