Skip to content

Commit 7e03fc9

Browse files
committed
feat(providers/google): improve cachedContent, expose rich token metadata and pass mediaResolution
1 parent 396d013 commit 7e03fc9

File tree

4 files changed

+606
-21
lines changed

4 files changed

+606
-21
lines changed

.changeset/clean-jobs-smile.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@ai-sdk/google': minor
3+
---
4+
5+
Enhance Google provider: improve `cachedContent` handling by conditionally sending parameters, expose detailed token usage metadata (including cached, thoughts, prompt, cache, candidates, and tool use details by modality), and enable `mediaResolution` setting.

0 commit comments

Comments
 (0)