Skip to content

Commit 18a4472

Browse files
committed
make GET operation public
1 parent 76a11f8 commit 18a4472

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
@@ -160,7 +160,7 @@ impl<C: Config> Client<C> {
160160
}
161161

162162
/// Make a GET request to {path} and deserialize the response body
163-
pub(crate) async fn get<O>(&self, path: &str) -> Result<O, OpenAIError>
163+
pub async fn get<O>(&self, path: &str) -> Result<O, OpenAIError>
164164
where
165165
O: DeserializeOwned,
166166
{

0 commit comments

Comments
 (0)