From 8d417059918d404946aa73797a6cd6c01304b06e Mon Sep 17 00:00:00 2001 From: Henrique Mello <34276318+hrmello@users.noreply.github.com> Date: Tue, 6 Jan 2026 15:12:23 -0300 Subject: [PATCH] Add environment variable support for azure_deployment --- rlm/clients/azure_openai.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rlm/clients/azure_openai.py b/rlm/clients/azure_openai.py index e65d9e1e2..90e04da3f 100644 --- a/rlm/clients/azure_openai.py +++ b/rlm/clients/azure_openai.py @@ -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. "