X-Git-Url: https://git.giacomolli.uk/onechat/blobdiff_plain/a4cfb030bf949e2fc9cd0ddace9e33f24b791b18..6e3e9c5c10f3d35bae7e9846334974a09418aef7:/prompt_test.go?ds=inline diff --git a/prompt_test.go b/prompt_test.go index 902cb86..5b10597 100644 --- a/prompt_test.go +++ b/prompt_test.go @@ -16,6 +16,7 @@ func TestPromptNamesTheAgent(t *testing.T) { require.Contains(t, text, "- reply: Ada's replies") require.Contains(t, text, "Goal: let Ada work later") require.Contains(t, text, `- work: an agent's report, starting "[Name]"`) + require.Contains(t, text, "- zoom(id, 1) gives message id whole\n- zoom(\"Name\") gives an agent's whole chat\n") require.NotContains(t, text, promptName) // The old agent name is built from parts, so the source does not spell @@ -25,7 +26,7 @@ func TestPromptNamesTheAgent(t *testing.T) { func TestPromptLeavesOutAbsentFeatures(t *testing.T) { text := prompt("Ada", "") - for _, absent := range []string{"image", "ubagent", "computer", "device", `zoom("Name")`, "instructions at the end"} { + for _, absent := range []string{"image", "ubagent", "computer", "device", "instructions at the end"} { require.NotContains(t, text, absent) } }