feat: networked search supports selection of data sources (#209)

* feat: networked search supports selection of data sources

* docs: updating the release note
This commit is contained in:
ayangweb
2025-02-26 16:47:46 +08:00
committed by GitHub
parent 0f74d6c392
commit 4c5676b125
7 changed files with 207 additions and 18 deletions

View File

@@ -166,15 +166,10 @@ pub async fn send_message<R: Runtime>(
};
let body = reqwest::Body::from(serde_json::to_string(&msg).unwrap());
let response = HttpClient::advanced_post(
&server_id,
path.as_str(),
None,
query_params,
Some(body),
)
.await
.map_err(|e| format!("Error cancel session: {}", e))?;
let response =
HttpClient::advanced_post(&server_id, path.as_str(), None, query_params, Some(body))
.await
.map_err(|e| format!("Error cancel session: {}", e))?;
handle_raw_response(response).await?
}