Skip to content

Conversation

andresgutgon
Copy link
Contributor

@andresgutgon andresgutgon commented Aug 13, 2025

What?

Yesterday I started applying blindly the codemods linked in the Migration guide and I realized this is going to change things in our

  1. Gateway api
  2. Our client sdks

I'm trying a different approach here to just change the translation layer between latitude and Vercel SDK without affecting what users send to our servers if possible

TODO

  • Fix responseMessages in both legacy and new stream manager. Same as the format. Reuse.
  • FORMAT correctly messages in streaming. Instead of content.output use content.result and instead of content.input use content.args old names to keep compatibility.

Things that changed (And affect us)

I'll try to gather here a list of things that we need to change

The reason for this is to try to use gpt-5 as a reasoning model so we
can pass reasoing.effort: `minimal` when we need no-reasoning
@andresgutgon andresgutgon changed the title Quirurjic Vercel SDK migration V4 -> V5 Vercel SDK migration V4 -> V5 Aug 13, 2025
@andresgutgon andresgutgon mentioned this pull request Aug 13, 2025
8 tasks
@andresgutgon andresgutgon changed the title Vercel SDK migration V4 -> V5 [ON_HOLD] Vercel SDK migration V4 -> V5 Aug 14, 2025
@andresgutgon andresgutgon marked this pull request as ready for review August 14, 2025 09:08
@andresgutgon
Copy link
Contributor Author

Apparently is possible to pass reasoning using Vercel SDK v4. We'll put these changes on hold for now.

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