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

Fix application tool setup #793

Merged
merged 1 commit into from
Jan 19, 2024

Conversation

baxen
Copy link
Contributor

@baxen baxen commented Jan 19, 2024

The previous logic had a bug that would set the last parameter to receive the application even if the type annotation didn't match. That ultimately breaks the tool usage by omitting required parameters from the spec

The previous logic had a bug that would set the last parameter to
recieve the application even if the type annotation didn't match.
That ultimately breaks the tool usage by ommitting required parameters
from the spec
@zzstoatzz zzstoatzz merged commit 3e2f26f into PrefectHQ:main Jan 19, 2024
14 checks passed
@jlowin
Copy link
Member

jlowin commented Jan 19, 2024

Good spot, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants