File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
ModelContextProtocol.ConformanceServer
ModelContextProtocol.ConformanceTests Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1- using ConformanceServer ;
21using ConformanceServer . Prompts ;
32using ConformanceServer . Resources ;
43using ConformanceServer . Tools ;
54using Microsoft . Extensions . AI ;
65using ModelContextProtocol ;
76using ModelContextProtocol . Protocol ;
8- using ModelContextProtocol . Server ;
97using System . Collections . Concurrent ;
108
119var builder = WebApplication . CreateBuilder ( args ) ;
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ public async ValueTask InitializeAsync()
5252 try
5353 {
5454 // Try to connect to the health endpoint
55- var response = await httpClient . GetAsync ( $ "{ _serverUrl } /health") ;
55+ await httpClient . GetAsync ( $ "{ _serverUrl } /health") ;
5656 // Any response (even an error) means the server is up
5757 return ;
5858 }
@@ -95,7 +95,9 @@ public async Task RunConformanceTests()
9595 // Report the results
9696 Assert . True ( result . Success ,
9797 $ "Conformance tests failed.\n \n Stdout:\n { result . Output } \n \n Stderr:\n { result . Error } ") ;
98- } private Process StartConformanceServer ( )
98+ }
99+
100+ private Process StartConformanceServer ( )
99101 {
100102 // The ConformanceServer binary is in a parallel directory to the test binary
101103 // Test binary is in: artifacts/bin/ModelContextProtocol.ConformanceTests/Debug/{tfm}/
You can’t perform that action at this time.
0 commit comments