You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// // 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
+
// });
1004
+
it.runIf(options.transport==='streamable-http')('should NOT swap call-actor for add-actor even when client supports dynamic tools',async()=>{
983
1005
client=awaitcreateClientFn({clientName: 'Visual Studio Code',tools: ['actors']});
984
1006
constnames=getToolNames(awaitclient.listTools());
985
1007
986
1008
// should not contain call-actor but should contain add-actor
987
-
expect(names).not.toContain('call-actor');
988
-
expect(names).toContain('add-actor');
1009
+
expect(names).toContain('call-actor');
1010
+
expect(names).not.toContain('add-actor');
989
1011
990
1012
awaitclient.close();
991
1013
});
992
-
it.runIf(options.transport==='streamable-http')(`should swap call-actor for add-actor when client supports dynamic tools for default tools`,async()=>{
1014
+
it.runIf(options.transport==='streamable-http')(`should NOT swap call-actor for add-actor even when client supports dynamic tools for default tools`,async()=>{
993
1015
client=awaitcreateClientFn({clientName: 'Visual Studio Code'});
994
1016
constnames=getToolNames(awaitclient.listTools());
995
1017
996
1018
// should not contain call-actor but should contain add-actor
0 commit comments