Repository navigation
fix(py)!: accept model and embedder handlers with context in either position #133
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
Merged
Merged
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
1caceff
fix(py): export missing public types, require input on typed actions,…
huangjeff5 1363fb4
fix(py): keep ActionResponse out of genkit.plugin_api
huangjeff5 0df3bdc
docs(py): clarify why ref config TypeVars default to Any
huangjeff5 18cff5d
chore(py): remove unused CheckOpFn and CancelOpFn aliases
huangjeff5 43c4f81
Merge remote-tracking branch 'origin/main' into HEAD
huangjeff5 0d36862
chore(py): unquote ActionContext annotation after merge
huangjeff5 3bdcf41
fix(py): drop Tool.__new__ overloads so copy and subclassing work again
huangjeff5 047575f
fix(py): keep ModelFn and McpServerEntry out of the public exports
huangjeff5 74676ca
fix(py): restore typed GenerationUsage.from_messages signature
huangjeff5 fd66387
fix(py): keep McpServerEntry exported for mcp_servers built in a vari…
huangjeff5 756770e
fix(py): let flows and tools with a defaulted input run with no input
huangjeff5 2d3806a
fix(py): make action input contravariant
huangjeff5 c31cc69
fix(py)!: tools treat an explicit None as a value, like flows
huangjeff5 848b91d
fix(py)!: type defaulted flows and tools as DefaultedFlow / Defaulted…
huangjeff5 62ac92f
fix(py): type a defaulted input followed by a context
huangjeff5 fbcbdee
fix(py): add a catch-all handler overload and pin every shape in cont…
huangjeff5 d4f9c0c
fix(py): reject keyword-only handler params and drop the catch-all ov…
huangjeff5 a31fe32
fix(py): accept model and embedder handlers with context in either po…
huangjeff5 54115f8
test(py): separate an omitted input from an explicit None in the shap…
huangjeff5 9f5dddf
Merge remote-tracking branch 'origin/fix/py-1.0-pr2-static-typing' in…
huangjeff5 ec7d06d
fix(py): accept a ref picked between providers when no config is passed
huangjeff5 b95011d
Merge branch 'fix/py-1.0-pr2-static-typing' into fix/py-model-embedde…
huangjeff5 d784714
test(py): note the ty overload-order bug behind the define_prompt pin
huangjeff5 d1c2bc4
Merge branch 'fix/py-1.0-pr2-static-typing' into fix/py-model-embedde…
huangjeff5 041b309
Merge remote-tracking branch 'origin/main' into HEAD
huangjeff5 adcec42
fix(py): keep lambdas typed for model and embedder handlers, reject s…
huangjeff5 a5d6364
fix(py)!: reject *args and **kwargs on action handlers
huangjeff5 0164ecb
style(py): single quotes in the variadic handler error
huangjeff5 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.