pub fn build_response(
protocol_results: Vec<ActionResult>,
protocol_label: &str,
method: &str,
uri: &str,
status_tx: &UnboundedSender<String>,
default_response: Option<(u16, Vec<(String, String)>, String)>,
) -> Result<Response<Full<Bytes>>, Infallible>Expand description
Build HTTP response from LLM execution results