From e36e11414dc2a312f1a8b3697b69f26162dc13c1 Mon Sep 17 00:00:00 2001 From: Simone Vellei Date: Sun, 10 Sep 2023 19:48:15 +0200 Subject: [PATCH] fix --- embeddings_test.go | 1 - 1 file changed, 1 deletion(-) diff --git a/embeddings_test.go b/embeddings_test.go index f52cd314a..9c48c5b8f 100644 --- a/embeddings_test.go +++ b/embeddings_test.go @@ -121,7 +121,6 @@ func TestEmbeddingEndpoint(t *testing.T) { var resBytes []byte switch { case req.User == "invalid": - w.WriteHeader(http.StatusBadRequest) return case req.EncodingFormat == EmbeddingEncodingFormatBase64: