Skip to content

Commit 39d155f

Browse files
committed
docs: fix out of place README snippet
1 parent f3c721e commit 39d155f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ puts(chat_completion)
4444

4545
We provide support for streaming responses using Server-Sent Events (SSE).
4646

47+
**coming soon:** `openai.chat.completions.stream` will soon come with Python SDK style higher level streaming responses support.
48+
4749
```ruby
4850
stream = openai.chat.completions.stream_raw(
4951
messages: [{role: "user", content: "Say this is a test"}],
@@ -76,8 +78,6 @@ end
7678

7779
Alternatively, you can use the `#next_page?` and `#next_page` methods for more granular control working with pages.
7880

79-
**coming soon:** `openai.chat.completions.stream` will soon come with Python SDK style higher level streaming responses support.
80-
8181
```ruby
8282
if page.next_page?
8383
new_page = page.next_page

0 commit comments

Comments
 (0)