Skip to content

Commit

Permalink
Add test cases for CreateBatchWithChatCompletions and `CreateBatchW…
Browse files Browse the repository at this point in the history
…ithEmbeddings` methods
  • Loading branch information
eiixy committed Jul 29, 2024
1 parent 19d6833 commit 593c282
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -402,6 +402,12 @@ func TestClientReturnsRequestBuilderErrors(t *testing.T) {
{"CreateBatchWithUploadFile", func() (any, error) {
return client.CreateBatchWithUploadFile(ctx, CreateBatchWithUploadFileRequest{})
}},
{"CreateBatchWithChatCompletions", func() (any, error) {
return client.CreateBatchWithChatCompletions(ctx, CreateBatchWithChatCompletionsRequest{})
}},
{"CreateBatchWithEmbeddings", func() (any, error) {
return client.CreateBatchWithEmbeddings(ctx, CreateBatchWithEmbeddingsRequest{})
}},
{"RetrieveBatch", func() (any, error) {
return client.RetrieveBatch(ctx, "")
}},
Expand Down

0 comments on commit 593c282

Please sign in to comment.