From 5337bac2a2b6436290d37df8a79c1677ea038465 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Fri, 12 Dec 2025 19:31:24 -0500 Subject: Instruct bot to always include text response after tool calls --- Omni/Agent/Telegram.hs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Omni/Agent') diff --git a/Omni/Agent/Telegram.hs b/Omni/Agent/Telegram.hs index ff161db..6b0f891 100644 --- a/Omni/Agent/Telegram.hs +++ b/Omni/Agent/Telegram.hs @@ -570,7 +570,11 @@ telegramSystemPrompt = "", "when you learn something important about the user (preferences, facts, interests), use the 'remember' tool to store it for future reference.", "", - "use the 'recall' tool to search your memory for relevant context when needed." + "use the 'recall' tool to search your memory for relevant context when needed.", + "", + "## important", + "", + "ALWAYS include a text response to the user after using tools. never end your turn with only tool calls." ] -- | Run the Telegram bot main loop. -- cgit v1.2.3