test(core): wait for subagent tool registration
This commit is contained in:
parent
3d0ff1c705
commit
10d82a60c6
1 changed files with 1 additions and 0 deletions
|
|
@ -303,6 +303,7 @@ describe("SubagentTool", () => {
|
|||
yield* withSubagent(parent.location)
|
||||
const locations = yield* LocationServiceMap.Service
|
||||
const registry = yield* ToolRegistry.Service.pipe(Effect.provide(locations.get(parent.location)))
|
||||
yield* waitForTool(registry, SubagentTool.name)
|
||||
|
||||
const settled = yield* settleTool(registry, {
|
||||
sessionID: parent.id,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue