Confirm this is an issue with the Python library and not an underlying OpenAI API
Describe the bug
Calling with_options() on an AzureOpenAI or AsyncAzureOpenAI client instance throws a ValueError exception:
ValueError: Must provide either the api_version argument or the OPENAI_API_VERSION environment variable
To Reproduce
Initialize an AzureOpenAI client and call with_options() on it.
Code snippets
from openai import AsyncAzureOpenAI
client = AsyncAzureOpenAI(
    azure_endpoint="",
    api_key="mykey",
    api_version="2023-07-01-preview",
)
copied_client = client.with_options(timeout=30)OS
ubuntu 22.04
Python version
v3.10.12
Library version
opeanai v1.1.2