Performance Lag and Agent Tool-Calling Issues After Latest Docker Update
After pulling the latest Docker image (langflowai/langflow:latest) and migrating my existing flows, I've encountered two major issues: Severe Performance Degradation: The entire user interface is experiencing significant lag and unresponsiveness. Actions such as dragging components, opening settings, or even typing in a chat input are very slow and frequently freeze. This was not an issue on the previous version I was using. Agent Tool-Use Regression: An Agent that was working perfectly before the upgrade is now failing to correctly use its tools. It seems to struggle with parameter extraction from user input, leading to ValidationError when calling tools that now require additional fields (e.g., a time_range field that was not required before).
For the UI performance lag after the Docker update, this is a known issue that can be related to how Langflow manages state and event delivery, especially after the introduction of streaming and the EventManager in recent versions. Setting LANGFLOW_WORKERS=1 has resolved the lag and freezing for some users, as has changing the backend event_delivery option to "streaming" instead of "polling"—see the backend settings file for this option. These changes help avoid problems with concurrent workers and event delivery across replicas, which can cause the UI to hang or become unresponsive [source].
For the agent tool-calling regression and new ValidationErrors: recent updates introduced stricter parameter schemas for tools, including new required fields like time_range or similar. If your flows or agents were created before these schema changes, you may need to update your tool configurations to include all now-required fields. The backend now validates tool parameters more strictly, and missing required fields will trigger a ValidationError [source].
If you continue to see issues after these changes, double-check that your browser is not caching an old frontend bundle—clearing your browser cache or using incognito mode can help ensure you’re running the latest UI [source].
To reply, just mention @dosu.
How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other
I am encountering an issue where the current_date component successfully retrieves the current date and time (e.g., "2025-06-10T08:51:00+01:00" on June 10, 2025, 08:51 AM BST), but this value is not being passed correctly to a mcp tool within the agent workflow. The time_range parameter in the tool consistently receives an empty value, leading to validation errors or exceptions. @dosu
This issue is likely due to a mismatch between the output name from the current_date component and the expected input name (time_range) in the mcp tool. Langflow requires that the output and input parameter names match exactly or are explicitly mapped in the flow’s edge configuration—there’s no automatic aliasing or dynamic mapping. If the current_date output is named current_date but the mcp tool expects time_range, the value won’t propagate and you’ll see empty values and validation errors.
To fix this, check your flow’s wiring: make sure the edge from current_date’s output is mapped to the time_range input of the mcp tool. If the UI doesn’t allow direct mapping, you may need to use an intermediate node or rename the output/input fields so they match. Manual review of the flow’s node and edge configuration is essential after schema or tool updates, as Langflow does not safeguard against these mismatches by default.
If you’re still seeing issues after confirming the mapping, enable Langflow’s logging to get more details on parameter passing and tool recognition during execution [source].
To reply, just mention @dosu.
How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other
Closing to concentrate reports into a single issue.