chore: formatting across codebase (#32466)

This commit is contained in:
Mason Daugherty
2025-08-08 10:20:10 -04:00
committed by GitHub
parent 02001212b0
commit c31236264e
60 changed files with 635 additions and 369 deletions

View File

@@ -115,7 +115,10 @@ class AzureOpenAIEmbeddings(OpenAIEmbeddings): # type: ignore[override]
"""A model deployment.
If given sets the base client URL to include `/deployments/{azure_deployment}`.
Note: this means you won't be able to use non-deployment endpoints.
.. note::
This means you won't be able to use non-deployment endpoints.
"""
# Check OPENAI_KEY for backwards compatibility.
# TODO: Remove OPENAI_API_KEY support to avoid possible conflict when using
@@ -132,7 +135,7 @@ class AzureOpenAIEmbeddings(OpenAIEmbeddings): # type: ignore[override]
alias="api_version",
)
"""Automatically inferred from env var ``OPENAI_API_VERSION`` if not provided.
Set to ``'2023-05-15'`` by default if env variable ``OPENAI_API_VERSION`` is not
set.
"""