Skip to content

Fixed GH-3355: Fixed the judgment error in the isFunctionalType method of MethodToolCallbackProvider #3479

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sunyuhan1998
Copy link
Contributor

Fixes #3355
As mentioned in the issue, there was an incorrect judgment of the method return type in the isFunctionalType method of MethodToolCallbackProvider. This PR fixes that problem and adds corresponding unit tests.

…thod of

Signed-off-by: Sun Yuhan <sunyuhan1998@users.noreply.github.com>
@sunyuhan1998 sunyuhan1998 changed the title Fixed GH-3355, Fixed the judgment error in the isFunctionalType method of MethodToolCallbackProvider Fixed GH-3355: Fixed the judgment error in the isFunctionalType method of MethodToolCallbackProvider Jun 9, 2025
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.

The isFunctionalType method of MethodToolVNet Provider is incorrect, resulting in some cases where the tool cannot be registered
1 participant