Skip to content

Comments

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

Closed
ap-inflection wants to merge 3 commits intovercel:v5from
inflectionxyz:v5-gemini-reasoning-fix
Closed

[v5]: Adds Google/VertexAI reasoning messages#6428
ap-inflection wants to merge 3 commits intovercel:v5from
inflectionxyz:v5-gemini-reasoning-fix

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants