Skip to content

[v5]: Adds Google/VertexAI reasoning messages #6428

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: v5
Choose a base branch
from

Conversation

ap-inflection
Copy link

Background

The v5 branch does not contain the changes made in this PR: #6261, enabling reasoning messages for Google's Gemini models.

Summary

Just ported over the changes from that PR, made some small modifications to support the new message types.

Verification

Tested manually with the scripts in the examples folder.

Tasks

  • 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)
  • Formatting issues have been fixed (run pnpm prettier-fix in the project root)

Future Work

Related Issues

Ports #6261 to v5

Ports the changes from this PR: vercel#6261 to the v5 branch.

Adds support for Gemini's thinking messages and the includeThoughts flag in the google and vertex configs.
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.

1 participant