Change default name casing of McpServerXx.Create tools/prompts/resources (#568)
This commit is contained in:
parent
4e290f8de9
commit
4411f1ce5e
1 changed files with 104 additions and 49 deletions
|
|
@ -54,7 +54,7 @@ public class CancellationTests : ClientServerTestBase
|
|||
await using var client = await CreateMcpClientForServer();
|
||||
|
||||
var tools = await client.ListToolsAsync(cancellationToken: TestContext.Current.CancellationToken);
|
||||
var waitTool = tools.First(t => t.Name == nameof(WaitForCancellation));
|
||||
var waitTool = tools.First(t => t.Name == "wait_for_cancellation");
|
||||
|
||||
CancellationTokenSource cts = new();
|
||||
var waitTask = waitTool.InvokeAsync(cancellationToken: cts.Token);
|
||||
|
|
|
|||
Loading…
Reference in a new issue