refactor(tool): Tool.Context.metadata returns Effect (#21972)

This commit is contained in:
Kit Langton 2026-04-10 23:12:04 -04:00 committed by GitHub
commit 3dd09147c2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
17 changed files with 63 additions and 67 deletions

View file

@ -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,