fix: workflow tool closes stream writer correctly (#1839)
This commit is contained in:
@@ -33,7 +33,7 @@ type asToolImpl struct {
|
||||
repo workflow.Repository
|
||||
}
|
||||
|
||||
func (a *asToolImpl) WithMessagePipe() (einoCompose.Option, *schema.StreamReader[*entity.Message]) {
|
||||
func (a *asToolImpl) WithMessagePipe() (einoCompose.Option, *schema.StreamReader[*entity.Message], func()) {
|
||||
return execute.WithMessagePipe()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user