Skip to content

Commit

Permalink
Update openai.test.w
Browse files Browse the repository at this point in the history
  • Loading branch information
eladb authored Mar 19, 2024
1 parent ddbb605 commit dcc07cc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions openai/openai.test.w
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ bring "./openai.w" as openai;

bring cloud;

let key = new cloud.Secret(name: "my-openai-key");
let oai = new openai.OpenAI(apiKeySecret: key);
let oai = new openai.OpenAI(apiKey: "dummy-key");

test "basic completion" {
let answer = oai.createCompletion("tell me a short joke", maxTokens: 1024);
Expand Down

0 comments on commit dcc07cc

Please sign in to comment.