From b69fdd479a82f132f024bf90d0f3e9c129c1b79a Mon Sep 17 00:00:00 2001 From: daniel Date: Thu, 7 May 2026 14:54:21 -0500 Subject: [PATCH] Prompt send_message to fire incrementally instead of buffering --- agentclaw/app/agent_claw_main/main.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/agentclaw/app/agent_claw_main/main.py b/agentclaw/app/agent_claw_main/main.py index 716622f..7f60893 100644 --- a/agentclaw/app/agent_claw_main/main.py +++ b/agentclaw/app/agent_claw_main/main.py @@ -66,7 +66,13 @@ app = BedrockAgentCoreApp() @tool def send_message(text: str) -> str: - """Send a message to the user through their channel (Telegram, Slack, etc.)""" + """Send a message to the user through their channel (Telegram, Slack, etc.). + + Use this proactively throughout your response — don't wait until fully done. + Send the direct answer first, then elaboration if needed, then any caveats. + Each call appears to the user immediately. Prefer 2-4 focused messages over + one long wall of text. + """ return messaging.send(text)