Skip to content

feat(providers/google): add thoughts / includeThoughts to google provider, improve cachedContent workflow [v5] #6382

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: v5
Choose a base branch
from

Conversation

ItsWendell
Copy link

Background

Thinking config supports includeThoughts and has been recently enabled experimentally in gemini 2.5 models.

https://cloud.google.com/vertex-ai/generative-ai/docs/reference/rest/v1/GenerationConfig#ThinkingConfig

Summary

Added includeThoughts to thinkingConfig in AI SDK v5

@ItsWendell ItsWendell marked this pull request as draft May 18, 2025 21:27
@ItsWendell ItsWendell force-pushed the feat/v5-include-thoughts branch from 10c5abe to c9afc42 Compare May 20, 2025 12:10
@ItsWendell ItsWendell changed the title feat(providers/google): feat(providers/google): add includeThoughts to thinkingConfig in AI SDK v5 feat(providers/google): add thoughts / includeThoughts to google provider, improve cachedContent workflow May 20, 2025
@ItsWendell ItsWendell force-pushed the feat/v5-include-thoughts branch from c9afc42 to ecefaed Compare May 20, 2025 12:25
@ItsWendell ItsWendell marked this pull request as ready for review May 20, 2025 12:27
@ItsWendell
Copy link
Author

ItsWendell commented May 20, 2025

Related: #6256

@ItsWendell ItsWendell changed the title feat(providers/google): add thoughts / includeThoughts to google provider, improve cachedContent workflow feat(providers/google): add thoughts / includeThoughts to google provider, improve cachedContent workflow [v5] May 20, 2025
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