X-Git-Url: http://git.giacomolli.uk/onechat/blobdiff_plain/d7a967f43fae27bcabc6072da3b5a2f923d47764..087d725b5ab41ad34ffd24938482d45a8b99a080:/subagent_run_test.go diff --git a/subagent_run_test.go b/subagent_run_test.go index a39d81c..0341ba6 100644 --- a/subagent_run_test.go +++ b/subagent_run_test.go @@ -344,7 +344,7 @@ func TestTellToAFinishedSubagentGoesOnFromItsLog(t *testing.T) { func TestStopEndsASubagentAndItsCommand(t *testing.T) { server := newModelFake(t) - server.reply = func(w http.ResponseWriter, call ModelFakeCall) { + server.reply = func(w http.ResponseWriter, _ ModelFakeCall) { modelWriteEvents(w, modelCompletedEvent([]any{modelFunctionCallItem("fc_1", "call_1", "shell", `{"command":"touch started && sleep 30"}`)}, 100, 0, 5)) } @@ -396,7 +396,7 @@ func TestCloseEndsTheSubagentsWithNoReport(t *testing.T) { close(release) }) - server.reply = func(w http.ResponseWriter, call ModelFakeCall) { + server.reply = func(_ http.ResponseWriter, _ ModelFakeCall) { close(arrived) <-release }