refactor(tool): Tool.Context.metadata returns Effect (#21972)
This commit is contained in:
parent
9581bf0670
commit
3dd09147c2
17 changed files with 63 additions and 67 deletions
|
|
@ -109,7 +109,7 @@ export const TaskTool = Tool.define(
|
|||
providerID: msg.info.providerID,
|
||||
}
|
||||
|
||||
ctx.metadata({
|
||||
yield* ctx.metadata({
|
||||
title: params.description,
|
||||
metadata: {
|
||||
sessionId: nextSession.id,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue