Closed
Description
Description
generateText have usageMetadata but streamText does not, i need it for gemini models, i would like to have the usageMetadata in response.body . generateText seem to have it
howeer, streamText does not have it :( for both v5 and ai@latest , i know v5 included more token type in the usage field but i want to access token count details audio..etc
AI SDK Version
ai@alpha and ai@latest