v0.3.1
What's Changed
Features
- Graph and Chain now support State, and deprecated StateGraph and StateChain.
- Removed the concept of GraphKey.
- Optimized the read performance of MultiReader during stream merging.
Bug Fixes
- Fixed a missing error check in Chain when calling AddNode.
Incompatible changes
github.com/cloudwego/eino/compose
Incompatible changes:
- GraphInfo.Key: removed
- NewChain: changed from func() *Chain[I, O] to func(...NewGraphOption) *Chain[I, O]
- NewGraph: changed from func() *Graph[I, O] to func(...NewGraphOption) *Graph[I, O]
- WithGraphKey: removed
Full Changelog: v0.3.0...v0.3.1