Skip to content

Commit 96fa995

Browse files
docs: add note in azure_deployment docstring (#1188)
1 parent 249ecbd commit 96fa995

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/openai/lib/azure.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ def __init__(
155155
azure_ad_token_provider: A function that returns an Azure Active Directory token, will be invoked on every request.
156156
157157
azure_deployment: A model deployment, if given sets the base client URL to include `/deployments/{azure_deployment}`.
158-
Note: this means you won't be able to use non-deployment endpoints.
158+
Note: this means you won't be able to use non-deployment endpoints. Not supported with Assistants APIs.
159159
"""
160160
if api_key is None:
161161
api_key = os.environ.get("AZURE_OPENAI_API_KEY")
@@ -388,7 +388,7 @@ def __init__(
388388
azure_ad_token_provider: A function that returns an Azure Active Directory token, will be invoked on every request.
389389
390390
azure_deployment: A model deployment, if given sets the base client URL to include `/deployments/{azure_deployment}`.
391-
Note: this means you won't be able to use non-deployment endpoints.
391+
Note: this means you won't be able to use non-deployment endpoints. Not supported with Assistants APIs.
392392
"""
393393
if api_key is None:
394394
api_key = os.environ.get("AZURE_OPENAI_API_KEY")

0 commit comments

Comments
 (0)