Skip to content

Commit 593c282

Browse files
committed
Add test cases for CreateBatchWithChatCompletions and CreateBatchWithEmbeddings methods
1 parent 19d6833 commit 593c282

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

client_test.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -402,6 +402,12 @@ func TestClientReturnsRequestBuilderErrors(t *testing.T) {
402402
{"CreateBatchWithUploadFile", func() (any, error) {
403403
return client.CreateBatchWithUploadFile(ctx, CreateBatchWithUploadFileRequest{})
404404
}},
405+
{"CreateBatchWithChatCompletions", func() (any, error) {
406+
return client.CreateBatchWithChatCompletions(ctx, CreateBatchWithChatCompletionsRequest{})
407+
}},
408+
{"CreateBatchWithEmbeddings", func() (any, error) {
409+
return client.CreateBatchWithEmbeddings(ctx, CreateBatchWithEmbeddingsRequest{})
410+
}},
405411
{"RetrieveBatch", func() (any, error) {
406412
return client.RetrieveBatch(ctx, "")
407413
}},

0 commit comments

Comments
 (0)