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

VertexAI stop serializing unset fields into event #3236

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

Conversation

aabmass
Copy link
Member

@aabmass aabmass commented Feb 3, 2025

Description

A new Part.thought field was added in the Vertex API which caused logs to always have "thought": false. This change only serializes fields which have been explicitly set.

This only appears in the "preview" API so I added a test for to confirm it's fixed.

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • New test case

Does This PR Require a Core Repo Change?

  • Yes. - Link to PR:
  • No.

Checklist:

See contributing.md for styleguide, changelog guidelines, and more.

  • Followed the style guidelines of this project
  • Changelogs have been updated
  • Unit tests have been added
  • Documentation has been updated

@aabmass aabmass changed the title Vertex stop serializing unset fields into event VertexAI stop serializing unset fields into event Feb 3, 2025
@aabmass aabmass force-pushed the vertex-fix-thought branch 2 times, most recently from ea73db6 to e6f241e Compare February 3, 2025 23:09
@aabmass aabmass marked this pull request as ready for review February 3, 2025 23:10
@aabmass aabmass requested a review from a team as a code owner February 3, 2025 23:10
@aabmass aabmass force-pushed the vertex-fix-thought branch 2 times, most recently from c66f1e8 to 71431ab Compare February 4, 2025 22:13
@aabmass aabmass force-pushed the vertex-fix-thought branch from 71431ab to ec4c39a Compare February 7, 2025 15:58
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.

8 participants