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: extend UsageMetadata interface #439

Merged

Conversation

oleksii-oleniuk-star
Copy link
Contributor

Related issues and PRs

#395
#433

What was done?

UsageMetadata interface was extended based on the real data that we currently receive from the API

Copy link

conventional-commit-lint-gcf bot commented Oct 10, 2024

🤖 I detect that the PR title and the commit message differ and there's only one commit. To use the PR title for the commit history, you can use Github's automerge feature with squashing, or use automerge label. Good luck human!

-- conventional-commit-lint bot
https://conventionalcommits.org/

@product-auto-label product-auto-label bot added the api: aiplatform Issues related to the googleapis/nodejs-vertexai API. label Oct 10, 2024
@happy-qiao happy-qiao merged commit 33be61f into googleapis:main Oct 16, 2024
5 checks passed
copybara-service bot pushed a commit that referenced this pull request Oct 16, 2024
--
f8a3bdf by Oleksii Oleniuk <[email protected]>:

fix: Add Context Cache support for ChatSessionPreview class (#433)

* add content cache to chat session

* remove logs, add gitignore

---------

Co-authored-by: Oleksii Oleniuk <[email protected]>
Co-authored-by: Yvonne Yu <[email protected]>
--
2c92ef3 by Oleksii Oleniuk <[email protected]>:

extend UsageMetadata interface

COPYBARA_INTEGRATE_REVIEW=#439 from oleksii-oleniuk-star:feature/gemini-context-cache-4 3ab1693
PiperOrigin-RevId: 686671597
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants