diff --git a/src/smolagents/agents.py b/src/smolagents/agents.py index 1c81727..b3d0c5a 100644 --- a/src/smolagents/agents.py +++ b/src/smolagents/agents.py @@ -748,7 +748,7 @@ Now begin!""", plan_update = self.model( [plan_update_message] + agent_memory + [plan_update_message_user], stop_sequences=[""], - ) + ).content # Log final facts and plan final_plan_redaction = PLAN_UPDATE_FINAL_PLAN_REDACTION.format(