Refine 2.0.0 concept documentation (#1742)

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 782b5bad-4046-49ec-93a6-72768b5b7521
Copilot-Session: 4b938335-418c-4ee7-8287-6c70d9148b89
This commit is contained in:
Jeff Handley 2026-07-27 20:15:16 -07:00 • committed by GitHub
commit 314bdb2f49
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -22,7 +22,7 @@ public class LongRunningTools
{
await Task.Delay(stepDuration * 1000);
// <snippet_SendProgress >
// <snippet_SendProgress>
if (progressToken is not null)
{
await server.SendNotificationAsync("notifications/progress", new ProgressNotificationParams
@ -36,7 +36,7 @@ public class LongRunningTools
},
});
}
// </snippet_SendProgress >
// </snippet_SendProgress>
}
return $"Long running tool completed. Duration: {duration} seconds. Steps: {steps}.";