Skip to content

fix(build): use AZURE_OPENAI_API_KEY env var name consistently#2310

Merged
peterj merged 3 commits into
kagent-dev:mainfrom
mesutoezdil:fix/azure-openai-env-var
Jul 22, 2026
Merged

fix(build): use AZURE_OPENAI_API_KEY env var name consistently#2310
peterj merged 3 commits into
kagent-dev:mainfrom
mesutoezdil:fix/azure-openai-env-var

Conversation

@mesutoezdil

Copy link
Copy Markdown
Contributor

The Makefile checked and passed AZUREOPENAI_API_KEY while the Go and Python code read AZURE_OPENAI_API_KEY, so the helm-install targets silently passed an empty Azure key. This renames the Makefile variable and the two helm README export examples to match the code. Split out of #2144 since it changes Makefile behavior rather than docs.

Signed-off-by: mesutoezdil <mesudozdil@gmail.com>
Copilot AI review requested due to automatic review settings July 21, 2026 18:06
@mesutoezdil
mesutoezdil requested a review from a team as a code owner July 21, 2026 18:06

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.

Aligns Azure OpenAI API key environment variable naming across build tooling and Helm docs to prevent helm-install from passing an empty Azure key.

Changes:

  • Rename Makefile references from AZUREOPENAI_API_KEY to AZURE_OPENAI_API_KEY.
  • Update Helm README export examples to use AZURE_OPENAI_API_KEY.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
helm/README.md Updates environment-variable examples to match the code’s expected Azure OpenAI key name.
Makefile Uses AZURE_OPENAI_API_KEY for validation and Helm --set injection to avoid empty Azure key values.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread Makefile
Comment thread Makefile
Comment thread helm/README.md
@github-actions github-actions Bot added the bug Something isn't working label Jul 21, 2026

@EItanya EItanya left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, I thought we changed these already a while back

@peterj
peterj merged commit c68d85f into kagent-dev:main Jul 22, 2026
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants