Files
langflow/src
ogabrielluiz 1340f3071b feat(stepflow): execute the wrapped component for tool-mode tools
Tool-mode components built by component_tool returned a synthetic
"Tool ... executed with inputs" payload instead of running the wrapped
component; only a hard-coded calculator actually executed, so agent flows
appeared to succeed while their tools never ran real component logic.

Resolve the tool's component blob in ToolWrapperInputHandler.prepare (where
the Stepflow context is available), reshape the raw component definition into
the executor's enhanced blob shape, pre-compile it via CustomCodeExecutor, and
wire an async tool_func that runs the real component through
_execute_compiled_component on each invocation. The calculator stays as a
self-contained fast-path.
2026-06-25 15:25:20 -03:00
..