Skip to content

Update Azure OpenAI version - #276

Merged
Grant Harris (gwharris7) merged 6 commits into
mainfrom
users/gwharris7/nodejs-langchain-sample
Apr 17, 2026
Merged

Update Azure OpenAI version#276
Grant Harris (gwharris7) merged 6 commits into
mainfrom
users/gwharris7/nodejs-langchain-sample

Conversation

@gwharris7

@gwharris7 Grant Harris (gwharris7) commented Apr 17, 2026

Copy link
Copy Markdown
Contributor

Update default Azure OpenAI version to a supported version (>= 2025-03-01-preview)

Copilot AI review requested due to automatic review settings April 17, 2026 02:06
@gwharris7
Grant Harris (gwharris7) requested a review from a team as a code owner April 17, 2026 02:06
@gwharris7 Grant Harris (gwharris7) changed the title Update OpenAI version Update Azure OpenAI version Apr 17, 2026
@github-actions

github-actions Bot commented Apr 17, 2026

Copy link
Copy Markdown

⚠️ Deprecation Warning: The deny-licenses option is deprecated for possible removal in the next major release. For more information, see issue 997.

Dependency Review

The following issues were found:
  • ✅ 0 vulnerable package(s)
  • ✅ 0 package(s) with incompatible licenses
  • ✅ 0 package(s) with invalid SPDX license definitions
  • ⚠️ 6 package(s) with unknown licenses.
See the Details below.

License Issues

nodejs/langchain/sample-agent/package.json

PackageVersionLicenseIssue Type
@microsoft/agents-a365-notifications^0.2.0-preview.1NullUnknown License
@microsoft/agents-a365-observability^0.2.0-preview.1NullUnknown License
@microsoft/agents-a365-observability-hosting^0.2.0-preview.1NullUnknown License
@microsoft/agents-a365-runtime^0.2.0-preview.1NullUnknown License
@microsoft/agents-a365-tooling^0.2.0-preview.1NullUnknown License
@microsoft/agents-a365-tooling-extensions-langchain^0.2.0-preview.1NullUnknown License
Denied Licenses: GPL-3.0-only, AGPL-3.0-only

OpenSSF Scorecard

PackageVersionScoreDetails
npm/@microsoft/agents-a365-notifications ^0.2.0-preview.1 UnknownUnknown
npm/@microsoft/agents-a365-observability ^0.2.0-preview.1 UnknownUnknown
npm/@microsoft/agents-a365-observability-hosting ^0.2.0-preview.1 UnknownUnknown
npm/@microsoft/agents-a365-runtime ^0.2.0-preview.1 UnknownUnknown
npm/@microsoft/agents-a365-tooling ^0.2.0-preview.1 UnknownUnknown
npm/@microsoft/agents-a365-tooling-extensions-langchain ^0.2.0-preview.1 UnknownUnknown

Scanned Files

  • nodejs/langchain/sample-agent/package.json

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

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 azureOpenAIApiVersion in the LangChain sample agent client to 2025-03-01-preview.
  • Updates .env.example to reflect the new default AZURE_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.

Comment thread nodejs/langchain/sample-agent/src/client.ts
@gwharris7
Grant Harris (gwharris7) merged commit b5b6c4f into main Apr 17, 2026
34 of 36 checks passed
@gwharris7
Grant Harris (gwharris7) deleted the users/gwharris7/nodejs-langchain-sample branch April 17, 2026 21:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants