Skip to content

Commit

Permalink
docs(readme): minor typo fixes (#1154)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored and stainless-bot committed Oct 28, 2024
1 parent 813cb44 commit c6c9f9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ Note that requests which time out will be [retried twice by default](#retries).
## Auto-pagination

List methods in the OpenAI API are paginated.
You can use `for await … of` syntax to iterate through items across all pages:
You can use the `for await … of` syntax to iterate through items across all pages:

```ts
async function fetchAllFineTuningJobs(params) {
Expand All @@ -457,7 +457,7 @@ async function fetchAllFineTuningJobs(params) {
}
```

Alternatively, you can make request a single page at a time:
Alternatively, you can request a single page at a time:

```ts
let page = await client.fineTuning.jobs.list({ limit: 20 });
Expand Down

0 comments on commit c6c9f9a

Please sign in to comment.