Rename AZUREAI_OPENAI_BASE_URL to AZUREAI_BASE_URL in Docs#3042
Rename AZUREAI_OPENAI_BASE_URL to AZUREAI_BASE_URL in Docs#3042lon-tierney wants to merge 1 commit intoUKGovernmentBEIS:mainfrom
Conversation
Code seems to expect a different environment variable.
|
I think the real fix here is to make that environment variable work properly. Note that we already have AZUREAI_MISTRAL_BASE_URL and AZUREAI_ANTHROPIC_BASE_URL so we want both (a) Consistency in how environment variables are formed; and (b) The ability to have separate environment variables per model provider (as a generic AZUREAI_BASE_URL wouldn't work if you were using multiple model providers on Azure). Let me take a look and see whether there is an easy fix for the error you are seeing. |
|
Yes, It might be good if you could just provide a snippet of |
Code seems to expect a different environment variable.
This PR contains:
What is the current behavior? (You can also link to an open issue here)
Execution complains that AZUREAI_BASE_URL environment variable is missing. Changing AZUREAI_OPENAI_BASE_URL to AZUREAI_BASE_URL resolves issues.
What is the new behavior?
Correct docs to match codebase expectation
Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
No
Other information: