Skip to content

feat(ai): upgrade to AI SDK v7 - #1536

Merged
nguyenvantruc92 merged 1 commit into
mainfrom
feat/upgrade-ai-sdk
Oct 24, 2026
Merged

nguyenvantruc92 merged 1 commit into
mainfrom
feat/upgrade-ai-sdk

Conversation

@nguyenvantruc92

Copy link
Copy Markdown
Contributor

No description provided.

@nguyenvantruc92 nguyenvantruc92 changed the title Feat/upgrade ai sdk feat(ai): upgrade to AI SDK v7 Oct 22, 2026
@github-actions github-actions Bot added the feature New feature or request label Oct 22, 2026
@nguyenvantruc92
nguyenvantruc92 force-pushed the feat/upgrade-ai-sdk branch 4 times, most recently from b5814c9 to c01b673 Compare October 23, 2026 04:16
- upgrade the AI SDK packages to v7 across builder, worker and shared AI
  packages
- mcp: gate the endpoint SSRF policy on the cloud edition instead of
  NODE_ENV, so self-hosted installs can reach internal/http MCP servers
- worker: count v7 tool-error step parts via a shared tool stats collector
  (the old isError checks never matched, so toolErrorsCount was always 0)
- worker: bound the wait for each step's first chunk with firstChunkMs
- replace deprecated generateObject with generateText + Output.object in
  extract-data and the call summarizer
- drop unused @ai-sdk provider deps from the worker
- log MCP failures under the err key

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@nguyenvantruc92
nguyenvantruc92 merged commit 91fe963 into main Oct 24, 2026
4 checks passed
hello-jackytruong referenced this pull request in hello-jackytruong/ChatWorkAI Nov 22, 2026
- upgrade the AI SDK packages to v7 across builder, worker and shared AI
  packages
- mcp: gate the endpoint SSRF policy on the cloud edition instead of
  NODE_ENV, so self-hosted installs can reach internal/http MCP servers
- worker: count v7 tool-error step parts via a shared tool stats collector
  (the old isError checks never matched, so toolErrorsCount was always 0)
- worker: bound the wait for each step's first chunk with firstChunkMs
- replace deprecated generateObject with generateText + Output.object in
  extract-data and the call summarizer
- drop unused @ai-sdk provider deps from the worker
- log MCP failures under the err key

Co-authored-by: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant