Skip to content

Conversation

@aayush-kapoor
Copy link
Contributor

Background

Follow up to PR #10983

Summary

Added codemods for the breaking change highlighted in the migration guide of the PR.

Manual Verification

Tests and fixtures were added

Checklist

  • Tests have been added / updated (for bug fixes / features)
  • Documentation has been added / updated (for bug fixes / features)
  • A patch changeset for relevant packages has been added (for bug fixes / features - run pnpm changeset in the project root)

| `rename-tool-call-options-to-tool-execution-options` | Renames the `ToolCallOptions` type to `ToolExecutionOptions` |
| `rename-core-message-to-model-message` | Renames the `CoreMessage` type to `ModelMessage` |
| `rename-converttocoremessages-to-converttomodelmessages` | Renames `convertToCoreMessages` function to `convertToModelMessages` |
| `rename-vertex-provider-metadata-key` | Renames `google` to `vertex` in `providerMetadata` and `providerOptions` for Google Vertex files |
Copy link
Collaborator

Choose a reason for hiding this comment

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

maybe add a note to the vertex key rename section that a codemod exists? could be good for other sections with codemods as well, so people immediately know.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

will create a follow up PR for this

@aayush-kapoor aayush-kapoor merged commit 32044aa into main Dec 11, 2025
29 checks passed
@aayush-kapoor aayush-kapoor deleted the aayush/codemod-vertex branch December 11, 2025 18:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants