We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dec9d0c commit 362cf74Copy full SHA for 362cf74
README.md
@@ -31,8 +31,7 @@ import os
31
from openai import OpenAI
32
33
client = OpenAI(
34
- # This is the default and can be omitted
35
- api_key=os.environ.get("OPENAI_API_KEY"),
+ api_key=os.environ.get("OPENAI_API_KEY"), # This is the default and can be omitted
36
)
37
38
chat_completion = client.chat.completions.create(
@@ -153,8 +152,7 @@ import asyncio
153
152
from openai import AsyncOpenAI
154
155
client = AsyncOpenAI(
156
157
158
159
160
0 commit comments