Skip to content

Commit

Permalink
Merge pull request #47 from winglang/openai-joker
Browse files Browse the repository at this point in the history
chore: update openai version
  • Loading branch information
ShaiBer authored Mar 19, 2024
2 parents faee8b9 + c8f5f1d commit b848941
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
Binary file added .DS_Store
Binary file not shown.
Binary file added examples/.DS_Store
Binary file not shown.
2 changes: 2 additions & 0 deletions examples/openai-joker/main.w
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ bring openai;
//{
// "OAIAPIKey": "<your key here>"
//}
// Alternatively, you can set the secret value in the OpenAI constructor directly in line 18, like this:
// this.openai = new openai.OpenAI(apiKey: <your key here>);
let apiKeySecret = new cloud.Secret(name: "OAIAPIKey") as "OpenAI Secret";

class Assistant {
Expand Down
8 changes: 4 additions & 4 deletions examples/openai-joker/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/openai-joker/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"dependencies": {
"@winglibs/openai": "^0.0.1",
"@winglibs/openai": "^0.0.2",
"openai": "^4.28.4"
}
}

0 comments on commit b848941

Please sign in to comment.