Skip to content

Fix article typo in README max-tokens example#246

Closed
alewolf wants to merge 1 commit into
WordPress:trunkfrom
alewolf:claude/amazing-varahamihira-74a419
Closed

Fix article typo in README max-tokens example#246
alewolf wants to merge 1 commit into
WordPress:trunkfrom
alewolf:claude/amazing-varahamihira-74a419

Conversation

@alewolf

@alewolf alewolf commented Jun 4, 2026

Copy link
Copy Markdown

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-versean 80-verse in the max-tokens code example.

Props

Props @vyskoczilova for surfacing the issue.

🤖 Generated with Claude Code

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>
Copilot AI review requested due to automatic review settings June 4, 2026 09:24

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@github-actions

github-actions Bot commented Jun 4, 2026

Copy link
Copy Markdown

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 props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: alewolf <alekv@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@alewolf

alewolf commented Jun 4, 2026

Copy link
Copy Markdown
Author

Superseded by #250, which consolidates this typo fix with the related semicolon fix (#249) since both touch the same README code block.

@alewolf alewolf closed this Jun 4, 2026
@alewolf alewolf deleted the claude/amazing-varahamihira-74a419 branch June 4, 2026 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants