#llm

Bar chart of TypeScript errors at each stage of upgrading an AI SDK 6 app to version 7, with the codemod stage still failing at runtime

AI SDK 7 upgrade: the codemod compiles, but a tool breaks

We upgraded a 55-line AI SDK 6 chat app to version 7.0.148 and ran the official codemod. TypeScript went from 4 errors to 1, then to 0 after one manual fix, but two things still changed at runtime

Thu Oct 22 2026 · 10 min read · 1 views

AI

Code editor showing an AI SDK 7 result object with usage tokens aggregated across multiple agent steps

AI SDK 7 Changed usage. Your Token Counts Are Now Wrong

If a project upgraded to AI SDK 7 and its per-request token costs suddenly look higher than before, nothing is actually costing more. result.usage used to report only the final step's tokens. In AI

Tue Sep 29 2026 · 6 min read · 6 views

AI

Claude Opus 5 API request parameters that now return a 400 error

Claude Opus 5 returns 400 on temperature. What to do

Set temperature=0.7 on Claude Opus 5 and the request fails. The API returns a 400 error, not a warning and not a silently ignored parameter. The same happens with topp, topk, and with the manual

Fri Aug 21 2026 · 6 min read · 77 views

AI