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
998
+
// expect(names).not.toContain('call-actor');
999
+
// expect(names).toContain('add-actor');
1000
+
1001
+
// await client.close();
1002
+
//});
1003
+
it.runIf(options.transport==='streamable-http')('should NOT swap call-actor for add-actor even when client supports dynamic tools',async()=>{
983
1004
client=awaitcreateClientFn({clientName: 'Visual Studio Code',tools: ['actors']});
984
1005
constnames=getToolNames(awaitclient.listTools());
985
1006
986
1007
// should not contain call-actor but should contain add-actor
987
-
expect(names).not.toContain('call-actor');
988
-
expect(names).toContain('add-actor');
1008
+
expect(names).toContain('call-actor');
1009
+
expect(names).not.toContain('add-actor');
989
1010
990
1011
awaitclient.close();
991
1012
});
992
-
it.runIf(options.transport==='streamable-http')(`should swap call-actor for add-actor when client supports dynamic tools for default tools`,async()=>{
1013
+
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
1014
client=awaitcreateClientFn({clientName: 'Visual Studio Code'});
994
1015
constnames=getToolNames(awaitclient.listTools());
995
1016
996
1017
// should not contain call-actor but should contain add-actor
0 commit comments