fix(agent): separate reasoning and tool hints to respect channel config

This commit is contained in:
Sergio Sánchez Vallés
2026-03-05 00:45:15 +01:00
parent c27d2b1522
commit 33f59d8a37

View File

@@ -213,6 +213,7 @@ class AgentLoop:
tool_hint_str = self._tool_hint(response.tool_calls)
if combined_thoughts:
await on_progress(combined_thoughts)
await on_progress(f"{combined_thoughts}\n\n{tool_hint_str}", tool_hint=True)
else:
await on_progress(tool_hint_str, tool_hint=True)