@@ -979,27 +979,28 @@ export function createIntegrationTestsSuite(
979979 expect ( tools . tools . length ) . toBeGreaterThan ( 0 ) ;
980980 } ) ;
981981
982- // TEMP: this logic is currently disabled, see src/utils/tools-loader.ts
983- //it.runIf(options.transport === 'streamable-http')('should swap call-actor for add-actor when client supports dynamic tools', async () => {
984- // client = await createClientFn({ clientName: 'Visual Studio Code', tools: ['actors'] });
985- // const names = getToolNames(await client.listTools());
986-
987- // // should not contain call-actor but should contain add-actor
988- // expect(names).not.toContain('call-actor');
989- // expect(names).toContain('add-actor');
990-
991- // await client.close();
992- //});
993- //it.runIf(options.transport === 'streamable-http')(`should swap call-actor for add-actor when client supports dynamic tools for default tools`, async () => {
994- // client = await createClientFn({ clientName: 'Visual Studio Code' });
995- // const names = getToolNames(await client.listTools());
996-
997- // // should not contain call-actor but should contain add-actor
998- // expect(names).not.toContain('call-actor');
999- // expect(names).toContain('add-actor');
1000-
1001- // await client.close();
1002- //});
982+ // TEMP: this logic is currently disabled, see src/utils/tools-loader.ts
983+ // it.runIf(options.transport === 'streamable-http')('should swap call-actor for add-actor when client supports dynamic tools', async () => {
984+ // client = await createClientFn({ clientName: 'Visual Studio Code', tools: ['actors'] });
985+ // const names = getToolNames(await client.listTools());
986+
987+ // // should not contain call-actor but should contain add-actor
988+ // expect(names).not.toContain('call-actor');
989+ // expect(names).toContain('add-actor');
990+
991+ // await client.close();
992+ // });
993+ // it.runIf(options.transport === 'streamable-http')(
994+ // `should swap call-actor for add-actor when client supports dynamic tools for default tools`, async () => {
995+ // client = await createClientFn({ clientName: 'Visual Studio Code' });
996+ // const names = getToolNames(await client.listTools());
997+
998+ // // should not contain call-actor but should contain add-actor
999+ // expect(names).not.toContain('call-actor');
1000+ // expect(names).toContain('add-actor');
1001+
1002+ // await client.close();
1003+ // });
10031004 it . runIf ( options . transport === 'streamable-http' ) ( 'should NOT swap call-actor for add-actor even when client supports dynamic tools' , async ( ) => {
10041005 client = await createClientFn ( { clientName : 'Visual Studio Code' , tools : [ 'actors' ] } ) ;
10051006 const names = getToolNames ( await client . listTools ( ) ) ;
0 commit comments