Commit cc39f56
authored
chore: version packages (#11172)
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and the packages will
be published to npm automatically. If you're not ready to do a release
yet, that's fine, whenever you add more changesets to main, this PR will
be updated.
# Releases
## @langchain/core@1.2.2
### Patch Changes
- [#11171](#11171)
[`82bef01`](82bef01)
Thanks [@christian-bromann](https://github.com/christian-bromann)! -
fix(core): coerce string v1 AIMessage content to text blocks
Prevent `contentBlocks.push is not a function` when constructing an
`AIMessage` with `response_metadata.output_version === "v1"` and string
`content` (common in serialized LangGraph stream payloads).
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>1 parent 82bef01 commit cc39f56
3 files changed
Lines changed: 11 additions & 10 deletions
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
3 | 13 | | |
4 | 14 | | |
5 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments