Agent Actions UI Crash
Bug Description
Bug Description
Clicking the "Agent Actions" button in Agent component settings triggers an unexpected error dialog instead of showing actions panel.
Expected Behavior
Agent Actions panel should open showing available actions.
Reproduction
Steps to Reproduce
- Open any Agent component
- Click the "Agent Actions" button (settings icon)
- Error dialog appears: "Sorry, we found an unexpected error!"
Expected behavior
Environment
- Langflow version: Latest (auto-updated 2025-05-18 01:00:50Z)
- Docker deployment
- Confirmed on self-hosted instance
Who can help?
No response
Operating System
Ubuntu 24.04 LTS (kernel 6.8.0-60-generic)
Langflow Version
1.4.1 (latest)
Python Version
3.12
Screenshot
Flow File
To resolve the unexpected error dialog when clicking the "Agent Actions" button in Langflow version 1.4.1, ensure that at least one tool is added to your agent configuration. Langflow requires agents to have tools configured, as indicated by the following code snippet:
if not self.tools:
msg = "Tools are required to run the agent. Please add at least one tool."
raise ValueError(msg)
Adding a tool to the agent should prevent the error from occurring [1].
To continue talking to Dosu, mention @dosu.
Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other
To resolve the unexpected error dialog when clicking the "Agent Actions" button in Langflow version 1.4.1, ensure that at least one tool is added to your agent configuration. Langflow requires agents to have tools configured, as indicated by the following code snippet:
if not self.tools: msg = "Tools are required to run the agent. Please add at least one tool." raise ValueError(msg)Adding a tool to the agent should prevent the error from occurring [1].
To continue talking to Dosu, mention @dosu.
Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other
Hi Dosu,thanks for the quick reply ... but I how do I access these fields when I have no tools attached? I have agents in tool mode for specific tasks, but not some Are not connected to any tools. I still need to name them and describe them. Before the update I could.
Attached a tool, name the agent, disconnect? Or use a LLm module in Tool mode? (If possible?). What is the recommended approach?
Cheers, Menno