chore(py): Bump Python SDK version to 0.6.0#5356
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Code Review
This pull request updates the version of the Genkit Python package and its associated plugins from 0.5.2 to 0.6.0. It also introduces a new sample application, flow-sample1, which demonstrates core framework features such as traced steps, streaming, and error handling. Feedback was provided regarding a redundant string conversion in the new sample code.
aebfde4 to
15482d8
Compare
pavelgj
approved these changes
May 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Python SDK v0.6.0 Release Notes
This release bumps the Genkit Python SDK to version
0.6.0.New Features
Existing API Changes
In your Genkit code, if you invoke prompts with custom configuration defined in code, you will need to migrate your usage code such that
configis named as an explicit kwarg.In v0.5.2, decorating a function with @ai.tool registered the action behind the scenes, but returned the original raw Python function. In v0.6.0, decorating a function with @ai.tool now returns a wrapper instance of the Tool class. This change shouldn't require any migration on your end for typical Genkit usage.
Bug Fixes & Refactoring
define_tool(fix(py): enforce object root JSON Schema for tool inputs at define_tool #5059) and parallelize tool calls in generate loop (fix(py): parallelize tool calls in generate loop #5054).fastapiplugin (fix(py): Fix pyproject.toml on fastapi plugin #5030) and bumpmistunedependency (chore(deps): bump mistune from 3.2.0 to 3.2.1 in /py #5289).firebase/genkittogenkit-ai/genkit(chore(global): update repository URLs and references from firebase/genkit to genkit-ai/genkit #5155).gemini-*latest(chore(py): Update samples to use gemini-*latest #5328).run_in_new_span+ hand-writeSpanMetadata(chore(py): unify span creation throughrun_in_new_span+ hand-writeSpanMetadata#5311).