Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaiBer committed Mar 19, 2024
1 parent d4fb8ed commit 0077892
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openai/openai.test.w
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ let key = new cloud.Secret(name: "my-openai-key");
let oai = new openai.OpenAI(apiKeySecret: key);

test "basic completion" {
let answer = oai.createCompletion("tell me a short joke", max_tokens: 1024);
let answer = oai.createCompletion("tell me a short joke", max_tokens: 1024, model :"gpt-3.5-turbo");

// in tests, the response is just an echo of the request
expect.equal(answer, Json.stringify({
Expand Down

0 comments on commit 0077892

Please sign in to comment.