remove test debug/info statements

This commit is contained in:
Adil Hafeez 2026-01-06 23:30:31 -08:00
parent a3c80e8e90
commit 163bb09887
No known key found for this signature in database
GPG key ID: 9B18EF7691369645
2 changed files with 2 additions and 11 deletions

View file

@ -158,7 +158,7 @@ async fn handle_agent_chat(
.unwrap()
.to_string();
let (request_headers, request_id) = {
let request_headers = {
let mut headers = request.headers().clone();
headers.remove(common::consts::ENVOY_ORIGINAL_PATH_HEADER);
@ -173,17 +173,10 @@ async fn handle_agent_chat(
hyper::header::HeaderValue::from_str(&request_id).unwrap(),
);
}
let request_id = headers
.get(common::consts::REQUEST_ID_HEADER)
.and_then(|v| v.to_str().ok())
.unwrap()
.to_string();
(headers, request_id)
headers
};
info!("Processing request with Request ID: {}", request_id);
let chat_request_bytes = request.collect().await?.to_bytes();
debug!(

View file

@ -668,8 +668,6 @@ impl PipelineProcessor {
)
.expect("Failed to build headers for initialization");
info!("Initialize request headers: {:?}", headers);
let response = self
.send_mcp_request(&initialize_request, &headers, agent_id)
.await