Comment modified.

This commit is contained in:
famez
2026-02-28 23:23:19 +01:00
parent 016dbcf333
commit 1d483dbe82

View File

@@ -957,7 +957,7 @@ Call create_plan with the new steps OR feasible=False."""
self.state_manager.transition_to(AgentState.THINKING)
self.conversation_history.append(AgentMessage(role="user", content=message))
# Filter out 'finish' tool - not needed for single-shot assist mode
# Filter out 'finish' tool - not needed for interact mode, we read finish_reason
assist_tools = [t for t in self.tools if t.name != "finish"]