Swap MCP client implementations to rmcp (#3634)

This commit is contained in:
Jack Amadeo
2025-08-01 17:14:41 -04:00
committed by GitHub
parent 7b67007a54
commit 6b3018b77a
30 changed files with 625 additions and 3263 deletions
@@ -97,11 +97,7 @@ impl TaskExecutionTracker {
is_token_cancelled(&self.cancellation_token)
}
fn log_notification_error(
&self,
error: &mpsc::error::TrySendError<ServerNotification>,
context: &str,
) {
fn log_notification_error<T>(&self, error: &mpsc::error::TrySendError<T>, context: &str) {
if !self.is_cancelled() {
tracing::warn!("Failed to send {} notification: {}", context, error);
}