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: tools metadata fields, added info and updated the metadata Table Display Names #5107

Closed
wants to merge 5 commits into from

Conversation

edwinjosechittilappilly
Copy link
Collaborator

This pull request includes changes to enhance the metadata display for tools in the Langflow backend. The most important changes involve updating the tool schema and incorporating additional metadata information.

Changes to tool metadata:

  • src/backend/base/langflow/base/tools/constants.py: Updated the TOOL_TABLE_SCHEMA to include more descriptive display names and descriptions for tool fields. Added a new constant TOOLS_METADATA_INFO to provide additional information about tool metadata.

Integration of new metadata information:

Screenshot 2024-12-05 at 4 17 44 PM Screenshot 2024-12-05 at 4 17 37 PM

@github-actions github-actions bot added the bug Something isn't working label Dec 5, 2024
Copy link

codspeed-hq bot commented Dec 5, 2024

CodSpeed Performance Report

Merging #5107 will degrade performances by 41.62%

Comparing fix-tools-metadata-fields (187cfba) with main (77a82d7)

Summary

⚡ 4 improvements
❌ 1 regressions
✅ 10 untouched benchmarks

⚠️ Please fix the performance issues or acknowledge them on CodSpeed.

Benchmarks breakdown

Benchmark main fix-tools-metadata-fields Change
test_get_and_cache_all_types_dict 2,276.8 µs 948.3 µs ×2.4
test_setup_llm_caching 1.2 ms 2 ms -41.62%
test_build_flow 5,030.8 ms 431 ms ×12
test_successful_run_with_input_type_text 347.7 ms 249.4 ms +39.43%
test_successful_run_with_output_type_debug 339.9 ms 249.1 ms +36.43%

@edwinjosechittilappilly
Copy link
Collaborator Author

@ogabrielluiz I have requested a review of the text from Jonathan and Simon.

@github-actions github-actions bot added bug Something isn't working and removed bug Something isn't working labels Dec 13, 2024
@edwinjosechittilappilly
Copy link
Collaborator Author

Bug Fix in tool mode requires a few changes in Schema! Hence, merging
#5248

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant