X-Git-Url: https://git.giacomolli.uk/onechat/blobdiff_plain/80e348724041a694002fc38f57e8868b9b9a2be9..c781f79f3c8cb9a7577ee1574d196988da2719b3:/model_test.go?ds=inline diff --git a/model_test.go b/model_test.go index 90d0e93..3ea82d4 100644 --- a/model_test.go +++ b/model_test.go @@ -50,6 +50,7 @@ func TestClientSendsTheFixedRequestFields(t *testing.T) { map[string]any{"type": "input_text", "text": "hello"}, }, }}, body["input"]) + require.Len(t, body["tools"], 1) }