chore: revert unrelated changes, keep only MCP support

This commit is contained in:
Sergio Sánchez Vallés
2026-02-12 10:16:52 +01:00
parent 16af3dd1cb
commit 61e9f7f58a
10 changed files with 26 additions and 79 deletions

View File

@@ -250,8 +250,6 @@ class AgentLoop:
messages = self.context.add_tool_result(
messages, tool_call.id, tool_call.name, result
)
# Interleaved CoT: reflect before next action
messages.append({"role": "user", "content": "Reflect on the results and decide next steps."})
else:
# No tool calls, we're done
final_content = response.content
@@ -357,8 +355,6 @@ class AgentLoop:
messages = self.context.add_tool_result(
messages, tool_call.id, tool_call.name, result
)
# Interleaved CoT: reflect before next action
messages.append({"role": "user", "content": "Reflect on the results and decide next steps."})
else:
final_content = response.content
break