Skip to content

fix(ai-orchestrator): upgrade @langchain/anthropic and openai to ^0.3.x#133

Merged
SteveJRobertson merged 1 commit into
mainfrom
129-upgrade-langchain-deps
Jun 2, 2026
Merged

fix(ai-orchestrator): upgrade @langchain/anthropic and openai to ^0.3.x#133
SteveJRobertson merged 1 commit into
mainfrom
129-upgrade-langchain-deps

Conversation

@SteveJRobertson

Copy link
Copy Markdown
Owner

Summary

Resolves #129

Upgraded @langchain/anthropic from 0.1.0 to ^0.3.34 and @langchain/openai from 0.2.0 to ^0.3.17 to support Claude 3.5 Sonnet API calls. The older anthropic 0.1.0 package sends the 2023-06-01 API header which blocks access to models released after June 2024. The 0.3.x versions use the current Anthropic API version header.

Changes

  • Updated root package.json: @langchain/anthropic 0.1.0 → ^0.3.x, @langchain/openai 0.2.0 → ^0.3.x
  • Aligned libs/ai-orchestrator/package.json dependencies to match root versions
  • Regenerated pnpm-lock.yaml with updated dependency tree
  • All 275 ai-orchestrator unit tests pass with upgraded packages
  • No breaking changes to LLM client constructors or usage patterns

Copilot Review Triage

  • Blocker (security/correctness): None identified
  • Major (correctness/reliability): None identified
  • Minor (coverage/completeness): None identified
  • Nit (style/naming): None identified

Deferred follow-ups

None


Acceptance Criteria Met:
package.json reflects v0.3.x for @langchain/anthropic and @langchain/openai
✓ All ai-orchestrator unit tests pass (275 passing)
✓ Ready for Mac Mini integration test: /query with a11y persona to verify Claude 3.5 Sonnet API communication

Copilot AI review requested due to automatic review settings June 2, 2026 20:23
@vercel

vercel Bot commented Jun 2, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
isolate-ui Ready Ready Preview, Comment Jun 2, 2026 8:25pm

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

Upgrades LangChain provider integrations used by the ai-orchestrator Nx project so the system can call newer Anthropic (Claude 3.5 Sonnet) models, and updates the pnpm lockfile accordingly.

Changes:

  • Bumped @langchain/anthropic and @langchain/openai to the 0.3.x line in the root package.json.
  • Aligned libs/ai-orchestrator/package.json LangChain dependencies to match the root versions.
  • Regenerated pnpm-lock.yaml, bringing in newer transitive deps (notably @anthropic-ai/sdk@0.65.0).

Reviewed changes

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

File Description
package.json Updates root LangChain dependency ranges for Anthropic/OpenAI.
libs/ai-orchestrator/package.json Aligns orchestrator LangChain dependencies to the root versions.
pnpm-lock.yaml Records the resolved dependency graph for the LangChain upgrades (and updated transitive deps).
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

Comment thread package.json
Comment thread libs/ai-orchestrator/package.json
@SteveJRobertson SteveJRobertson merged commit c5da812 into main Jun 2, 2026
7 checks passed
@SteveJRobertson SteveJRobertson deleted the 129-upgrade-langchain-deps branch June 2, 2026 20:30
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.

fix: upgrade LangChain dependencies to support Claude 3.5 Sonnet (resolve 404)

2 participants