X-Git-Url: https://git.giacomolli.uk/onechat/blobdiff_plain/b1be0ee8530df5db8973bfe355f2f6d3149383a0..c781f79f3c8cb9a7577ee1574d196988da2719b3:/prompt_test.go?ds=sidebyside diff --git a/prompt_test.go b/prompt_test.go index 888057f..158784b 100644 --- a/prompt_test.go +++ b/prompt_test.go @@ -65,6 +65,7 @@ func TestPromptEndsWithTheInstructions(t *testing.T) { require.Contains(t, text, `Do the user's tasks yourself, with your tools, following the user's instructions at the end of this prompt: who they are, how their files are organized and how they want work done.`) + require.True(t, strings.HasSuffix(text, "\n\n# The user's instructions\n\nI am Lena. Keep replies short.")) }