Fix article typo in README max-tokens example#246
Conversation
Change 'a 80-verse' to 'an 80-verse' in the README text generation example. Co-authored-by: Karolína Vyskočilová <3611726+vyskoczilova@users.noreply.github.com> Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
There was a problem hiding this comment.
Pull request overview
Note
Copilot was unable to run its full agentic suite in this review.
Updates the README example prompt to use correct English grammar in the sample AiClient::prompt(...) call.
Changes:
- Corrected the indefinite article in a README code example (“a 80-verse” → “an 80-verse”).
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
Summary
Fixes a small article typo in the README's "Text generation using max tokens" example. The example prompt read
'Write a 80-verse poem ...'; since "eighty" begins with a vowel sound, it should be'Write an 80-verse poem ...'.Changes
README.md:a 80-verse→an 80-versein the max-tokens code example.Props
Props @vyskoczilova for surfacing the issue.
🤖 Generated with Claude Code