X-Git-Url: https://git.giacomolli.uk/onechat/blobdiff_plain/add3cf6416e33c24331fd1e90e99284f44d2aae2..3cdbd017da9ae7a7045f4272f16d4b262fd01c79:/daemon_children_test.go diff --git a/daemon_children_test.go b/daemon_children_test.go index 16f326f..b9e212f 100644 --- a/daemon_children_test.go +++ b/daemon_children_test.go @@ -335,6 +335,8 @@ func TestChildToolsExcludeCreationAndWhatsApp(t *testing.T) { names := promptToolNames(child.agent.Tools()) require.NotContains(t, names, "agent_create") + require.NotContains(t, names, "image_show") + require.Equal(t, `error: unknown tool "image_show"`, child.tools.run(t.Context(), "image_show", `{"image":"unknown","caption":""}`)) require.NotContains(t, names, "whatsapp_send") require.NotContains(t, names, "whatsapp_find") require.Contains(t, names, "spawn")