Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
chore: sync main -> v2 #5630
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
base: v2
Are you sure you want to change the base?
Uh oh!
There was an error while loading. Please reload this page.
chore: sync main -> v2 #5630
Changes from 1 commit
92cad99b2daf83add8e86a27ce47f75de5989299076ee03628082893642d3377fa13ed1104523b3e99629fec503dcee290eb4674b6f29775aaa03ac4d7b95116a1a18064f0d2203d7b733d4847f641b1a7913a3b898c4e58850916e1913a6435f7c737973da1b0584219ac6791445ad59da9dee7dd9359da438fa5cf2ca3e51b6492b49163bbad9eca2209109199189114deef6a1c90b83393ab3a374ce0f3850f62daf4fa60bacae2d970fccac46123bd95b9e73ab820748896fd0f856b1600fd62558c0fedb3bb0715d7dcc485be63d991cb4dd422cbb523e3567a62626ad75fab9839a193049d4ecbee7d8160abcf14c0acee31547766af2c68ebcbcb5e6a64a8e480a7ecf9b9faa45195ba71a9df8f8bc572870c5fc8494c360a4c938767dc2eb454188dd337ddf47fa7b79ca8c38768684864ed1a65c6f6febf84e2cb8e8f6b7774a0fe12b0af1af1b4ad69477fa977aa36b1ffa3110aecfae1f2e648b7a648846be58eb0d74fe48d87987c8094a4627a278421758432a234fbedf36ab8f1b580891782796fd6594a14c0c6db7623ff1557877260b90730ebf78be967f28f2a117987cd3106380f6a74f235b7ae83b27744cfece113a8e3060cabdece0034713fb179380f6942aacf95ac4862d7ee0d76003771f8c5bd935df5c6d02c82565cc6909a8c245ae084b848390a69f8619a0d2f7533776e4d5438c0c4f1575ce33b9c3d50db1cdd1e70447e9366bfedc7a7083cc263426f0c787f78a885134c750570a7add3838dd416952bd599079b02deeb9407323849985c9b0b8b31c65dd55af1b00af1532f9784350d2d61cb67de5bc5c87ee1ef45597498f961c684a6e71deab6dad937fe6d2ada83e282d2662354a029b87ded8b31ce1e652d23439732b04996282db874a786abf57b05d8788d1cdbec8e95e49cfa4e81af6740557c828606622fae7e69fa777ce578fff8b4c59955996803d6208fc272039d1bb4b92c06fe398f28f3a1eadc01f1fc9e5fa99083f9817211e2ceb58ce57153c7f73117e09fb92aad83ae4050bc767ee83399588421f8e7316dc91cb5c69c5de58c13f2e4192f19d0821f2d2d423e833cf6cb6d89d21218ea768dd914776b9f0bcd78d87380d261327c45ffd8b4926e53472e377cb5f9097cbe04a468c35a579cfe8d2c8de1ae89f3897388ebd4227e71f3115124c85f397df5b765deed9bd3bb2efb69a1e75f05247970cb9ae9File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
…ging in BigQuery plugin This PR addresses three distinct issues in the BigQuery Agent Analytics Plugin: 1. Fix false-positive fork detection: When the plugin is deployed via Vertex AI Agent Engine, it undergoes a pickle/unpickle lifecycle which resets `_init_pid` to 0. Previously, `_ensure_started()` would incorrectly detect this as a fork since `os.getpid()` is never 0, causing unnecessary cold-start latency and log noise. The PID check now distinguishes `_init_pid == 0` (unpickled) from a real fork. 2. Correct GCS offload unit mismatch: Separates the evaluation limits for offloading text content to GCS. It evaluates the byte-based storage guard (`inline_text_limit`) and the character-based truncation limit (`max_length`) independently, preventing mismatched unit comparisons. 3. Add AGENT_RESPONSE logging: Logs final response events emitted by agents to BigQuery. This explicitly filters out intermediate steps such as function calls/responses, streaming partials, and invisible internal reasoning ("thoughts") so that only the final visible response text is captured. Co-authored-by: Haiyuan Cao <haiyuan@google.com> PiperOrigin-RevId: 910770002Uh oh!
There was an error while loading. Please reload this page.
There are no files selected for viewing
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.