diff --git a/src/openai/lib/azure.py b/src/openai/lib/azure.py index ad64707261..3959f84140 100644 --- a/src/openai/lib/azure.py +++ b/src/openai/lib/azure.py @@ -336,7 +336,7 @@ def _prepare_options(self, options: FinalRequestOptions) -> FinalRequestOptions: # should never be hit raise ValueError("Unable to handle auth") - return options + return super()._prepare_options(options) def _configure_realtime(self, model: str, extra_query: Query) -> tuple[httpx.URL, dict[str, str]]: auth_headers = {} @@ -619,7 +619,7 @@ async def _prepare_options(self, options: FinalRequestOptions) -> FinalRequestOp # should never be hit raise ValueError("Unable to handle auth") - return options + return await super()._prepare_options(options) async def _configure_realtime(self, model: str, extra_query: Query) -> tuple[httpx.URL, dict[str, str]]: auth_headers = {}