feat(exec): include user content in ExecuteAsync callback response
Signed-off-by: Boris Bliznioukov <blib@mail.com>
This commit is contained in:
parent
6c28061d67
commit
88da084356
1 changed files with 1 additions and 0 deletions
|
|
@ -170,6 +170,7 @@ func (t *ExecTool) ExecuteAsync(ctx context.Context, args map[string]any, cb Asy
|
|||
if cb != nil {
|
||||
cb(context.Background(), &ToolResult{
|
||||
ForLLM: content,
|
||||
ForUser: content,
|
||||
IsError: result.IsError,
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue