Skip to content
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

fix: include cachedContent in generate request #469

Merged
merged 2 commits into from
Nov 27, 2024

Conversation

cabljac
Copy link
Contributor

@cabljac cabljac commented Nov 18, 2024

This PR fixes context caching for non-streamed generate requests. I was hitting this as a bug when integrating a caching feature into firebase genkit with this SDK. I have manually tested this as a patch and it fixed my issue.

@happy-qiao happy-qiao added the ready to pull copybara github pr import label label Nov 26, 2024
@cabljac cabljac mentioned this pull request Nov 26, 2024
@happy-qiao happy-qiao merged commit a16b9d4 into googleapis:main Nov 27, 2024
5 checks passed
copybara-service bot pushed a commit that referenced this pull request Dec 2, 2024
FUTURE_COPYBARA_INTEGRATE_REVIEW=#469 from invertase:main f846c11
PiperOrigin-RevId: 702052601
copybara-service bot pushed a commit that referenced this pull request Dec 2, 2024
FUTURE_COPYBARA_INTEGRATE_REVIEW=#469 from invertase:main f846c11
PiperOrigin-RevId: 702052601
copybara-service bot pushed a commit that referenced this pull request Dec 2, 2024
FUTURE_COPYBARA_INTEGRATE_REVIEW=#469 from invertase:main f846c11
PiperOrigin-RevId: 702052601
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: aiplatform Issues related to the googleapis/nodejs-vertexai API. ready to pull copybara github pr import label
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants