From 5fe7bcbdccf1ad1d21ab801994b6f714782bc379 Mon Sep 17 00:00:00 2001 From: perseus <51974392+tcconnally@users.noreply.github.com> Date: Mon, 15 Jun 2026 14:33:25 -0500 Subject: [PATCH] fix: display agent result when human_input=True regardless of verbose When human_input=True but verbose=False, CrewAI shows the 'Provide feedback on the Final Result above' prompt but the result was never displayed. The _show_logs method gated the result rendering on agent.verbose or crew.verbose, but the human feedback gate fires purely on human_input=True. This fix adds ask_for_human_input to the verbose check so results are always displayed when human feedback is required. Closes #6072 --- lib/crewai/src/crewai/agents/crew_agent_executor.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/crewai/src/crewai/agents/crew_agent_executor.py b/lib/crewai/src/crewai/agents/crew_agent_executor.py index de2315e3a9..dbb2edba52 100644 --- a/lib/crewai/src/crewai/agents/crew_agent_executor.py +++ b/lib/crewai/src/crewai/agents/crew_agent_executor.py @@ -1549,7 +1549,8 @@ def _show_logs(self, formatted_answer: AgentAction | AgentFinish) -> None: agent_role=self.agent.role, formatted_answer=formatted_answer, verbose=self.agent.verbose - or (hasattr(self, "crew") and getattr(self.crew, "verbose", False)), + or (hasattr(self, "crew") and getattr(self.crew, "verbose", False)) + or getattr(self, "ask_for_human_input", False), ), )