From 7f7f5559835de96589d037a746de85d5c15ae1d7 Mon Sep 17 00:00:00 2001 From: daniel Date: Thu, 7 May 2026 15:15:41 -0500 Subject: [PATCH] Fix send_message docstring: remove unicode dashes that broke tool spec --- agentclaw/app/agent_claw_main/main.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/agentclaw/app/agent_claw_main/main.py b/agentclaw/app/agent_claw_main/main.py index 7f60893..cd17a12 100644 --- a/agentclaw/app/agent_claw_main/main.py +++ b/agentclaw/app/agent_claw_main/main.py @@ -66,13 +66,7 @@ app = BedrockAgentCoreApp() @tool def send_message(text: str) -> str: - """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. - """ + """Send a message to the user. Use multiple calls to send incrementally - send the direct answer first, then elaboration. Each call delivers immediately to the user.""" return messaging.send(text)