X-Git-Url: https://git.giacomolli.uk/onechat/blobdiff_plain/5a93b6124068c2a8748fc0bfbb2a2d151815bcf0..7b8d8e8f4b57bd51fd6d0f0d926b821f06b0e1f0:/daemon_children_test.go?ds=inline 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")