Skip to content

Commit 1b12014

Browse files
committed
fix cherrypick issue
1 parent c005b4f commit 1b12014

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
@@ -234,7 +234,7 @@ impl<C: Config> Client<C> {
234234
where
235235
O: DeserializeOwned,
236236
{
237-
let request_maker = || async {
237+
self.execute(async {
238238
Ok(self
239239
.build_request_builder(reqwest::Method::GET, path, request_options)
240240
.build()?)

0 commit comments

Comments
 (0)