Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions rlm/clients/azure_openai.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ def __init__(
if api_version is None:
api_version = os.getenv("AZURE_OPENAI_API_VERSION", "2024-02-01")

if azure_deployment is None:
azure_deployment = os.getenv("AZURE_OPENAI_DEPLOYMENT")

if azure_endpoint is None:
raise ValueError(
"azure_endpoint is required for Azure OpenAI client. "
Expand Down