-
Notifications
You must be signed in to change notification settings - Fork 6.1k
bug: fix mcp_component _get_tools return always structure tools type #7521
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
Conversation
Co-authored-by: Gabriel Luiz Freitas Almeida <[email protected]>
Ref: #7361 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you base this PR from the QoL Branch: #7361
Cause this have the updated MCP Component experience and Error Handling.
done |
@edwinjosechittilappilly why you closed it ? |
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.src/backend/base/langflow/components/tools/mcp_component.py
: Modified the_get_tools
method to return a list of the_tool_cache
values instead ofself.tools
.