fix logs a bit more and refactor code

This commit is contained in:
Adil Hafeez 2025-01-27 15:44:41 -08:00
parent a0b13b99ce
commit cc730d8b3d
No known key found for this signature in database
GPG key ID: 9B18EF7691369645
4 changed files with 40 additions and 21 deletions

View file

@ -79,7 +79,7 @@ impl HttpContext for StreamContext {
};
debug!(
"developer => archgw: {}",
"developer => archgw request body: {}",
String::from_utf8_lossy(&body_bytes)
);
@ -152,7 +152,7 @@ impl HttpContext for StreamContext {
}
};
debug!("archgw => archfc: {}", json_data);
debug!("archgw => modelserver request body: {}", json_data);
let mut headers = vec![
(ARCH_UPSTREAM_HOST_HEADER, MODEL_SERVER_NAME),