@@ -17,7 +17,7 @@ use serde::{Serialize, de::DeserializeOwned};
1717use crate :: error:: { ApiError , StreamError } ;
1818use crate :: {
1919 Assistants , Audio , Batches , Chat , Completions , Containers , Conversations , Embeddings , Evals ,
20- FineTuning , Models , Responses , Threads , Uploads , Usage , VectorStores , Videos ,
20+ FineTuning , Models , RequestOptions , Responses , Threads , Uploads , Usage , VectorStores , Videos ,
2121 admin:: Admin ,
2222 chatkit:: Chatkit ,
2323 config:: { Config , OpenAIConfig } ,
@@ -26,8 +26,6 @@ use crate::{
2626 image:: Images ,
2727 moderation:: Moderations ,
2828 traits:: AsyncTryFrom ,
29- Assistants , Audio , Batches , Chat , Completions , Containers , Conversations , Embeddings , Evals ,
30- FineTuning , Models , RequestOptions , Responses , Threads , Uploads , Usage , VectorStores , Videos ,
3129} ;
3230
3331#[ cfg( feature = "realtime" ) ]
@@ -223,9 +221,8 @@ impl<C: Config> Client<C> {
223221 }
224222
225223 Ok ( request_builder. build ( ) ?)
226- } ;
227-
228- self . execute ( request_maker) . await
224+ } )
225+ . await
229226 }
230227
231228 /// Make a DELETE request to {path} and deserialize the response body
0 commit comments