fix(langgraph): accept Sequence[...] for Messages
Description
Broaden the Messages alias from list[...] to Sequence[...] to avoid list invariance errors in type checkers when passing list[BaseMessage] (e.g., to add_messages). This is a typing-only change and does not alter runtime behavior.
Issue Fixes #6207
Dependencies None
Twitter handle —
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
| Project | Deployment | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| langgraph-docs-preview | Preview | Sep 29, 2025 7:30am |
@sydney-runkle is attempting to deploy a commit to the LangChain Team on Vercel.
A member of the Team first needs to authorize it.
Hiya @simone-viozzi, could you please help fix the linting issues? happy to merge after, thanks!
Hi @sydney-runkle, there should be no linting errors now.
I've also rebased to the latest main.