Skip to content

fix: serialize validated node data in JSON mode - #8248

Open
laoyyu wants to merge 1 commit into
google:mainfrom
laoyyu:fix/8240-json-mode-node-data
Open

laoyyu wants to merge 1 commit into
google:mainfrom
laoyyu:fix/8240-json-mode-node-data

Conversation

@laoyyu

@laoyyu laoyyu commented Nov 19, 2026

Copy link
Copy Markdown

Fixes #8240

Summary

  • Dump validated Pydantic node data with \mode='json'\ so date, datetime, Decimal, and UUID values remain JSON serializable when task-node input is converted to user content.
  • Added regression coverage for the primitive types reported in the issue.

Validation

  • \git diff --check\ passes.
  • The focused pytest file could not import \google.adk\ in the bare system environment because project dependencies are not installed.

@google-cla

google-cla Bot commented Nov 19, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants