X-Git-Url: https://git.giacomolli.uk/onechat/blobdiff_plain/7b8d8e8f4b57bd51fd6d0f0d926b821f06b0e1f0..59948b44c0fe2165b90e3aa0d18646f6c3d74af3:/subagent_run_test.go diff --git a/subagent_run_test.go b/subagent_run_test.go index c5ad299..71c96ea 100644 --- a/subagent_run_test.go +++ b/subagent_run_test.go @@ -29,7 +29,8 @@ func TestSpawnRunsASubagentInTheBackground(t *testing.T) { last := subagentTestLastItem(call) switch { case subagentTestCall(call) && last["type"] == "function_call_output": - // The report comes after the reply of the turn of the spawn. + // The report comes after the reply of the turn of the + // spawn. test.events.WaitFor(t, "reply", 1) modelWriteEvents(w, modelCompletedEvent([]any{modelMessageItem("There are 3 files.")}, 100, 0, 5)) case subagentTestCall(call):