Compare commits

...

4 Commits

Author SHA1 Message Date
Brandon Hancock (bhancock_ai)
c9cf47e6ff Merge branch 'main' into fix/_should_force_answer 2025-01-07 13:29:07 -05:00
Shahar Yair
7fd71749f4 Merge branch 'main' into fix/_should_force_answer 2025-01-02 15:24:23 +02:00
Shahar Yair
ea413ae03b Merge branch 'main' into fix/_should_force_answer 2024-12-28 11:17:46 +02:00
Shahar Yair
f1299f484d fix _should_force_answer bug 2024-12-28 11:10:16 +02:00

View File

@@ -26,7 +26,7 @@ class CrewAgentExecutorMixin:
def _should_force_answer(self) -> bool:
"""Determine if a forced answer is required based on iteration count."""
return (self.iterations >= self.max_iter) and not self.have_forced_answer
return self.iterations >= self.max_iter
def _create_short_term_memory(self, output) -> None:
"""Create and save a short-term memory item if conditions are met."""