X-Git-Url: https://git.giacomolli.uk/onechat/blobdiff_plain/f2d227db9c3b556c7b0e1cfe735ccc54311850e5..4a931bccab5879ab708647b2df8dadc052f128bf:/prompt_test.go?ds=sidebyside diff --git a/prompt_test.go b/prompt_test.go index c9d3691..902cb86 100644 --- a/prompt_test.go +++ b/prompt_test.go @@ -47,7 +47,7 @@ func TestPromptWithoutInstructionsHasNoClause(t *testing.T) { } func TestAgentToolsAreStrictAndStable(t *testing.T) { - tools := agentTools() + tools := promptTools() names := make([]string, len(tools)) for n, tool := range tools { names[n] = tool.Name @@ -67,7 +67,7 @@ func TestAgentToolsAreStrictAndStable(t *testing.T) { require.NoError(t, err) for range 10 { - again, err := json.Marshal(agentTools()) + again, err := json.Marshal(promptTools()) require.NoError(t, err) require.Equal(t, first, again) }