mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-10 00:28:31 +00:00
fix: Add empty thought since its required
This commit is contained in:
@@ -151,6 +151,7 @@ class CrewAgentExecutor(CrewAgentExecutorMixin):
|
||||
if self._should_force_answer():
|
||||
if self.have_forced_answer:
|
||||
return AgentFinish(
|
||||
thought="",
|
||||
output=self._i18n.errors(
|
||||
"force_final_answer_error"
|
||||
).format(formatted_answer.text),
|
||||
|
||||
Reference in New Issue
Block a user