Releases: cloudwego/eino
v0.5.11
What's Changed
- feat: message fields add comment by @zhuangjie1125 in #507
Full Changelog: v0.5.10...v0.5.11
v0.5.10
What's Changed
- feat(react): add MessageRewriter configuration by @shentongmartin in #496
- refactor: modify type of ToolChoice in model.CallbackInput by @N3kox in #498
- fix(adk): session now does not store interrupt events by @shentongmartin in #503
Full Changelog: v0.5.9...v0.5.10
v0.5.9
BugFix
Fixed State Access in Graph Callbacks
In v0.5.4, while introducing the Graph Cancel Interrupt feature, we inadvertently moved the execution point of Graph Callbacks. This caused ProcessState to fail when retrieving state content inside a callback, resulting in the following error during ProcessState execution:
err := ProcessState[*State](ctx, func(_ context.Context, state *testStruct) error {
// your code here
return nil
})
if err != nil {
// error: "get state from context fail: have not set state"
}This release fixes the state access issue and includes comprehensive unit tests to prevent future regressions. Graph callbacks now correctly access state via ProcessState as intended.
What's Changed
- fix(compose): support get state in graph on start by @meguminnnnnnnnn in #497
Full Changelog: v0.5.8...v0.5.9
v0.5.8
What's Changed
- feat(adk): define BreakLoopAction by @shentongmartin in #492
- fix(adk): return direct tool event must be in the last event by @meguminnnnnnnnn in #495
Full Changelog: v0.5.7...v0.5.8
v0.5.7
What's Changed
- refactor(schema): Enhance concatMessages to merge multimodal streaming content by @lvxinyu-1117 in #483
New Contributors
- @lvxinyu-1117 made their first contribution in #483
Full Changelog: v0.5.6...v0.5.7
v0.5.6
What's Changed
- fix: exit sequential agent if report error by @meguminnnnnnnnn in #484
Full Changelog: v0.5.5...v0.5.6
v0.5.5
What's Changed
- chore: Improve error handling by @Rinai-R in #478
- feat: message add multi output content for model by @zhuangjie1125 in #459
- fix: break change of RegisterSerializableType by @meguminnnnnnnnn in #482
New Contributors
- @Rinai-R made their first contribution in #478
- @zhuangjie1125 made their first contribution in #459
Full Changelog: v0.5.4...v0.5.5
v0.5.4
What's Changed
- feat: support cancel interrupt by @meguminnnnnnnnn in #425
- fix(build): compile error in Go 1.25 by @git-hulk in #457
- fix: workflow only execute action in the last event by @meguminnnnnnnnn in #463
- fix(adk): ChatModelAgent return directly tool panic by @meguminnnnnnnnn in #464
- feat: optimize Option Designate related comments by @mrh997 in #466
- feat: support agent tool input schema by @meguminnnnnnnnn in #469
- fix: empty slice & empty fields serialization by @meguminnnnnnnnn in #473
- refactor(serialization): provide type registration facade in schema package by @shentongmartin in #468
- fix(adk): getReactHitory by @meguminnnnnnnnn in #472
- feat: default prompt template support multi modal by @meguminnnnnnnnn in #470
- feat: InferTool supports WithSchemaModifier option and is compatible with WithSchemaCustomizer by @mrh997 in #475
New Contributors
Full Changelog: v0.5.3...v0.5.4
v0.5.3
Features
- Support handling interrupt error returned in graph node's pre-handler
What's Changed
- fix: resume support WithSessionValues by @meguminnnnnnnnn in #452
- feat: support prehandler interrupt by @meguminnnnnnnnn in #453
Full Changelog: v0.5.2...v0.5.3
v0.5.2
What's Changed
- fix(serialization): fields with specific type don't need to register by @meguminnnnnnnnn in #451
Full Changelog: v0.5.1...v0.5.2