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 c837da8 commit 3a5c381Copy full SHA for 3a5c381
README.md
@@ -26,8 +26,7 @@ import os
26
from openai import OpenAI
27
28
client = OpenAI(
29
- # This is the default and can be omitted
30
- api_key=os.environ.get("OPENAI_API_KEY"),
+ api_key=os.environ.get("OPENAI_API_KEY"), # This is the default and can be omitted
31
)
32
33
chat_completion = client.chat.completions.create(
@@ -56,8 +55,7 @@ import asyncio
56
55
from openai import AsyncOpenAI
57
58
client = AsyncOpenAI(
59
60
61
62
63
0 commit comments