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

[core-kit] Improve schema handling for runJavascript nodes #2410

Merged
merged 5 commits into from
Jul 3, 2024

Conversation

aomarks
Copy link
Member

@aomarks aomarks commented Jul 3, 2024

  • Adds inputSchema and outputSchema properties, to replace the now deprecated schema property (which is now the fallback for outputSchema).

  • The code helper now automatically serializes both the input and output schemas.

  • Fixes a bug relating to returning JSON Schema directly from describe, instead of wrapping it in unsafeSchema.

Fixes #2396
Fixes #2296

Copy link

changeset-bot bot commented Jul 3, 2024

🦋 Changeset detected

Latest commit: cd004e2

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 9 packages
Name Type
@google-labs/core-kit Patch
@breadboard-ai/build Patch
@google-labs/breadboard-cli Patch
@google-labs/gemini-kit Patch
@breadboard-ai/google-drive-kit Patch
@google-labs/json-kit Patch
@breadboard-ai/python-wasm Patch
@google-labs/template-kit Patch
@google-labs/visual-editor Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@aomarks aomarks enabled auto-merge (squash) July 3, 2024 17:09
@aomarks aomarks disabled auto-merge July 3, 2024 17:10
@aomarks aomarks enabled auto-merge (squash) July 3, 2024 17:10
@aomarks aomarks merged commit 9d93cf8 into main Jul 3, 2024
10 checks passed
@aomarks aomarks deleted the run-javascript-schema branch July 3, 2024 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant