fmt: cleaned up graph implementation

This commit is contained in:
2026-05-21 11:27:29 -06:00
parent fd0e4e6d0e
commit d46b9fec32
20 changed files with 95 additions and 243 deletions
+2 -2
View File
@@ -5,8 +5,8 @@ use futures_util::StreamExt;
use futures_util::stream::BoxStream;
use mpsc::error::SendError;
use mpsc::{OwnedPermit, Receiver, Sender, channel};
use reqwest::Client;
use reqwest::header::{HeaderMap, HeaderName, HeaderValue};
use reqwest::{Client, header};
use rmcp::model::{ClientJsonRpcMessage, ServerJsonRpcMessage};
use std::collections::HashMap;
use std::error::Error;
@@ -52,7 +52,7 @@ impl LegacySseTransport {
let response = client
.get(sse_url)
.header(reqwest::header::ACCEPT, "text/event-stream")
.header(header::ACCEPT, "text/event-stream")
.send()
.await
.context("Failed to open SSE connection")?