@@ -1781,7 +1781,6 @@ public void testVersionNotSupportedErrorOnMessageSend() {
17811781 .defaultInputModes (List .of ("text" ))
17821782 .defaultOutputModes (List .of ("text" ))
17831783 .skills (List .of ())
1784- .protocolVersion ("1.0" )
17851784 .build ();
17861785
17871786 JSONRPCHandler handler = new JSONRPCHandler (agentCard , requestHandler , internalExecutor );
@@ -1821,7 +1820,6 @@ public void testVersionNotSupportedErrorOnMessageSendStream() throws Exception {
18211820 .defaultInputModes (List .of ("text" ))
18221821 .defaultOutputModes (List .of ("text" ))
18231822 .skills (List .of ())
1824- .protocolVersion ("1.0" )
18251823 .build ();
18261824
18271825 JSONRPCHandler handler = new JSONRPCHandler (agentCard , requestHandler , internalExecutor );
@@ -1898,7 +1896,6 @@ public void testCompatibleVersionSuccess() {
18981896 .defaultInputModes (List .of ("text" ))
18991897 .defaultOutputModes (List .of ("text" ))
19001898 .skills (List .of ())
1901- .protocolVersion ("1.0" )
19021899 .build ();
19031900
19041901 JSONRPCHandler handler = new JSONRPCHandler (agentCard , requestHandler , internalExecutor );
@@ -1942,7 +1939,6 @@ public void testNoVersionDefaultsToCurrentVersionSuccess() {
19421939 .defaultInputModes (List .of ("text" ))
19431940 .defaultOutputModes (List .of ("text" ))
19441941 .skills (List .of ())
1945- .protocolVersion ("1.0" )
19461942 .build ();
19471943
19481944 JSONRPCHandler handler = new JSONRPCHandler (agentCard , requestHandler , internalExecutor );
0 commit comments