Skip to content

Commit

Permalink
docs: fix typo in example (#950)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-bot committed Dec 8, 2023
1 parent 2c8add6 commit 54f0ce0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ from openai import AsyncOpenAI
client = AsyncOpenAI()

stream = await client.chat.completions.create(
prompt="Say this is a test",
model="gpt-4",
messages=[{"role": "user", "content": "Say this is a test"}],
stream=True,
)
Expand Down

0 comments on commit 54f0ce0

Please sign in to comment.