Update Azure OpenAI version - #276
Merged
Grant Harris (gwharris7) merged 6 commits intoApr 17, 2026
Merged
Conversation
Dependency ReviewThe following issues were found:
License Issuesnodejs/langchain/sample-agent/package.json
OpenSSF Scorecard
Scanned Files
|
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the default Azure OpenAI API version used by the Node.js LangChain sample agent to a newer supported preview version, and aligns the sample’s environment template accordingly.
Changes:
- Bumps the fallback
azureOpenAIApiVersionin the LangChain sample agent client to2025-03-01-preview. - Updates
.env.exampleto reflect the new defaultAZURE_OPENAI_API_VERSION.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| nodejs/langchain/sample-agent/src/client.ts | Updates the default Azure OpenAI API version used when AZURE_OPENAI_API_VERSION is not set. |
| nodejs/langchain/sample-agent/.env.example | Updates the sample environment template to the new default API version. |
Pujarini Mohapatra (biswapm)
approved these changes
Apr 17, 2026
ajmfehr
approved these changes
Apr 17, 2026
Grant Harris (gwharris7)
deleted the
users/gwharris7/nodejs-langchain-sample
branch
April 17, 2026 21:58
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Update default Azure OpenAI version to a supported version (>= 2025-03-01-preview)