X-Git-Url: http://git.giacomolli.uk/onechat/blobdiff_plain/ec38dadaaf127d8bd2ffb72df450e8d3f5ac88c0..a4cfb030bf949e2fc9cd0ddace9e33f24b791b18:/prompt_test.go 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) }