make linter happy (#661)

This commit is contained in:
Alexander Baranov
2024-02-15 16:02:48 +04:00
committed by GitHub
parent a7954c854c
commit 11ad4b69d0
7 changed files with 22 additions and 22 deletions

View File

@@ -169,7 +169,7 @@ func TestAzureEmbeddingEndpoint(t *testing.T) {
server.RegisterHandler(
"/openai/deployments/text-embedding-ada-002/embeddings",
func(w http.ResponseWriter, r *http.Request) {
func(w http.ResponseWriter, _ *http.Request) {
resBytes, _ := json.Marshal(openai.EmbeddingResponse{Data: sampleEmbeddings})
fmt.Fprintln(w, string(resBytes))
},