mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-28 01:28:14 +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._should_force_answer():
|
||||||
if self.have_forced_answer:
|
if self.have_forced_answer:
|
||||||
return AgentFinish(
|
return AgentFinish(
|
||||||
|
thought="",
|
||||||
output=self._i18n.errors(
|
output=self._i18n.errors(
|
||||||
"force_final_answer_error"
|
"force_final_answer_error"
|
||||||
).format(formatted_answer.text),
|
).format(formatted_answer.text),
|
||||||
|
|||||||
Reference in New Issue
Block a user