From 6e3c57c1f358b4d171dd46fd0a3f9de7128b2cec Mon Sep 17 00:00:00 2001 From: C1-BA-B1-F3 Date: Fri, 26 Jun 2026 22:54:22 +0800 Subject: [PATCH] fix: update human_input feedback prompt to not reference non-existent result The feedback prompt previously said 'Provide feedback on the Final Result above' but no result was displayed above the prompt at that point in execution. Changed to 'The agent has completed its task.' which is contextually accurate regardless of whether the result is visible to the user. Fixes #6072 --- lib/crewai/src/crewai/core/providers/human_input.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/crewai/src/crewai/core/providers/human_input.py b/lib/crewai/src/crewai/core/providers/human_input.py index b82e408d9d..abc40666a4 100644 --- a/lib/crewai/src/crewai/core/providers/human_input.py +++ b/lib/crewai/src/crewai/core/providers/human_input.py @@ -343,7 +343,7 @@ def _prompt_input(crew: Crew | None) -> str: title = "🎓 Training Feedback Required" else: prompt_text = ( - "Provide feedback on the Final Result above.\n\n" + "The agent has completed its task.\n\n" "• If you are happy with the result, simply hit Enter without typing anything.\n" "• Otherwise, provide specific improvement requests.\n" "• You can provide multiple rounds of feedback until satisfied." @@ -396,7 +396,7 @@ async def _prompt_input_async(crew: Crew | None) -> str: title = "🎓 Training Feedback Required" else: prompt_text = ( - "Provide feedback on the Final Result above.\n\n" + "The agent has completed its task.\n\n" "• If you are happy with the result, simply hit Enter without typing anything.\n" "• Otherwise, provide specific improvement requests.\n" "• You can provide multiple rounds of feedback until satisfied."