Model Context Protocol in OCaml

fix

Changed files
+2 -2
lib
+2 -2
lib/mcp_server.ml
···
(* Process progress messages if any *)
let progress_msg = Context.report_progress ctx 1.0 1.0 in
(match progress_msg with
-
| Some msg -> Log.debug "Progress complete notification would be sent here";
+
| Some _msg -> Log.debug "Progress complete notification would be sent here";
| None -> ());
Some (create_response ~id:req.id ~result)
···
()
| exn ->
Log.error (Printf.sprintf "Exception while reading: %s" (Printexc.to_string exn));
-
()
+
()