Skip to content

doc: split install commands for copy#327

Closed
yanCode wants to merge 1 commit intoOpenRouterTeam:mainfrom
yanCode:fix/doc/copy-commands
Closed

doc: split install commands for copy#327
yanCode wants to merge 1 commit intoOpenRouterTeam:mainfrom
yanCode:fix/doc/copy-commands

Conversation

@yanCode
Copy link
Copy Markdown

@yanCode yanCode commented Jan 10, 2026

Description

Checklist

  • [ *] I have run pnpm stylecheck and pnpm typecheck
  • [ *] I have run pnpm test and all tests pass
  • I have added tests for my changes (if applicable)
  • [ *] I have updated documentation (if applicable)

Changeset

  • I have run pnpm changeset to create a changeset file

Note: A changeset is required for your changes to trigger a release. If your PR only contains docs, tests, or CI changes that don't need a release, run pnpm changeset --empty instead.

What I did:

Split the install commands into separate code blocks so copy works per package manager in README.md for both v5 and v4 sections.

Without this fix, if a user clicks the copy icon in the install command section, all commands of all package managers will be incorrectly copied.

@robert-j-y
Copy link
Copy Markdown
Contributor

@yanCode when you get the chance, can you make this adjustment for our new v2 release? Which is based on the AI SDK v6, and not v5 anymore. The README in this PR is outdated currently.

@robert-j-y robert-j-y closed this Apr 8, 2026
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