Skip to content

Commit adb5f16

Browse files
authored
restore correct service creation for list-models (#1090)
1 parent 027a33a commit adb5f16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/simulationMain.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@ function listTests(allSuites: readonly SimulationSuite[], opts: SimulationOption
496496
}
497497

498498
async function listChatModels(skipCache: boolean = false) {
499-
const accessor = createExtensionUnitTestingServices(undefined, { skipModelMetadataCache: skipCache }).createTestingAccessor();
499+
const accessor = createExtensionUnitTestingServices(undefined, undefined, { skipModelMetadataCache: skipCache }).createTestingAccessor();
500500
const endpointProvider = accessor.get(IEndpointProvider);
501501
const chatEndpoints = await endpointProvider.getAllChatEndpoints();
502502
console.log('Available Chat Models:\n');

0 commit comments

Comments
 (0)