feat: add tool filter (#6951)

* updates to tool mode

* fix the update real time table refresh issues.

* Update src/backend/base/langflow/custom/custom_component/component.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* [autofix.ci] apply automated fixes

* [autofix.ci] apply automated fixes

* Update component.py

* Update component.py

* format errors

* [autofix.ci] apply automated fixes

* Update index.tsx

* [autofix.ci] apply automated fixes

* lint error fix

* [autofix.ci] apply automated fixes

* fix format issue

* [autofix.ci] apply automated fixes

* fix typing.override does not exist in your Python version

* filter added

* Update index.tsx

* [autofix.ci] apply automated fixes

* update variables

* modify tool filter

* added dynamic property to set the tools in a better effective way

* filter with property

* lint fix

* [autofix.ci] apply automated fixes

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
Edwin Jose 2025-03-11 12:19:10 -04:00 • committed by GitHub
commit 5a13f32da5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 100 additions and 13 deletions

View file

@ -146,8 +146,7 @@ export default function TableNodeComponent({
const isCustomEdit =
column.formatter &&
((column.formatter === "text" && column.edit_mode === "modal") ||
column.formatter === "json" ||
column.formatter === "boolean");
column.formatter === "json");
return {
field: column.name,
onUpdate: updateComponent,