You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The comment in the above snippet also references hiding the step from a model writing a plan, which means that when writing a plan, summary_mode should be set to True. Am I missing something out here?
The text was updated successfully, but these errors were encountered:
Just figured out that summary_mode is intended to be used to provided agents with a managed agent's summary of work. However, the above mentioned comments should probably be either removed or changed to avoid confusion
In
MultiStepAgent._generate_updated_plan
it mentions thatsummary_mode
is False so as to not extract the previous planning steps from memory.smolagents/src/smolagents/agents.py
Lines 432 to 435 in 2f300dc
However, in
PlanningStep.to_messages
, the previous plan is added to the message history ifsummary_mode
is False.smolagents/src/smolagents/memory.py
Lines 160 to 166 in 2f300dc
The comment in the above snippet also references hiding the step from a model writing a plan, which means that when writing a plan,
summary_mode
should be set to True. Am I missing something out here?The text was updated successfully, but these errors were encountered: