MCPcopy Create free account
hub / github.com/AI45Lab/Code / post

Method post

core/src/llm/openai.rs:1244–1252  ·  view source on GitHub ↗
(
            &self,
            _url: &str,
            _headers: Vec<(&str, &str)>,
            _body: &serde_json::Value,
            _cancel: tokio_util::sync::CancellationToken,
        )

Source from the content-addressed store, hash-verified

1242 #[async_trait::async_trait]
1243 impl crate::llm::http::HttpClient for MockSseHttp {
1244 async fn post(
1245 &self,
1246 _url: &str,
1247 _headers: Vec<(&str, &str)>,
1248 _body: &serde_json::Value,
1249 _cancel: tokio_util::sync::CancellationToken,
1250 ) -> anyhow::Result<crate::llm::http::HttpResponse> {
1251 anyhow::bail!("post is unused in the streaming test")
1252 }
1253
1254 async fn post_streaming(
1255 &self,

Callers 1

send_requestMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected