Skip to content

Commit ae0aa20

Browse files
author
Frank Zhang
committed
refactor(Client): Made post function public
1 parent 6d70a33 commit ae0aa20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

async-openai/src/client.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ impl<C: Config> Client<C> {
225225
}
226226

227227
/// Make a POST request to {path} and deserialize the response body
228-
pub(crate) async fn post<I, O>(&self, path: &str, request: I) -> Result<O, OpenAIError>
228+
pub async fn post<I, O>(&self, path: &str, request: I) -> Result<O, OpenAIError>
229229
where
230230
I: Serialize,
231231
O: DeserializeOwned,

0 commit comments

Comments
 (0)