Improve Vercel/LangChain integration docs, publish hardening, and deployed /api/chat E2E#143
Merged
saschabuehrle merged 2 commits intomainfrom Feb 20, 2026
Merged
Conversation
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.
Summary
This PR closes the remaining integration-level gaps for Vercel + LangChain and adds deploy-level validation for real
/api/chatpaths.1) Vercel example upgrade (Next.js v2 era alignment)
examples/vercel-ai-nextjsto current Next.js line (^16.1.6).next build --webpack,next dev --webpack) for compatibility with existing custom webpack config.next.config.jsso example builds resolve local integration/core output instead of stale store artifacts.2) LangChain/Vercel docs + model references refresh
claude-haiku-4-5-20251001claude-opus-4-6docs/guides/langchain_integration.mdpackages/langchain-cascadeflow/README.mdpackages/langchain-cascadeflow/docs/COST_TRACKING.mdpackages/langchain-cascadeflow/examples/*docs/guides/integrate_fast.mdsrc/models.tsandsrc/utils.ts.3) Publish workflow hardening
continue-on-errorin npm and PyPI publish steps.skip-existing: truefor PyPI/TestPyPI publish actions..github/workflows/publish.yml4) Real deploy-level E2E workflow
.github/workflows/vercel-deploy-e2e.ymlssoProtection) for direct API probingOPENAI_API_KEY/api/chat5) Deployment protection docs
ssoProtectionnote and real deployed/api/chatsmoke-test instructions to:examples/vercel-ai-nextjs/README.mdpackages/integrations/vercel-ai/README.mddocs/guides/integrate_fast.mdValidation
Local:
pnpm --filter @cascadeflow/langchain buildpnpm --filter @cascadeflow/langchain testpnpm --filter @cascadeflow/langchain typecheckpnpm --filter @cascadeflow/vercel-ai testpnpm --filter @cascadeflow/core buildpnpm -C examples/vercel-ai-nextjs buildReal APIs / deployed path:
/api/chatstream end-to-end (cascadeflow-ok).GitHub Actions (new workflow):
Vercel Deploy E2Erun passed on this branch:Scope / Safety