Skip to content

bug: fix mcp_component _get_tools return always structure tools type #7570

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 3 commits into
base: main
Choose a base branch
from

Conversation

barnuri
Copy link
Contributor

@barnuri barnuri commented Apr 10, 2025

This pull request includes a change to the src/backend/base/langflow/components/tools/mcp_component.py file, specifically in the _get_tools method. The change ensures that the method returns a list of tool cache values rather than the tools directly.

@dosubot dosubot bot added size:XS This PR changes 0-9 lines, ignoring generated files. bug Something isn't working labels Apr 10, 2025
@barnuri
Copy link
Contributor Author

barnuri commented Apr 10, 2025

original PR: #7521

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working size:XS This PR changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant