pub trait InferenceHttpClient {
// Required method
fn post_json(&self, url: &str, body: &Value) -> Result<HttpResponse>;
}Expand description
Minimal HTTP client abstraction for inference requests.
This keeps send_request testable without depending directly on reqwest in tests.