summaryrefslogtreecommitdiff
path: root/Omni/Agent
diff options
context:
space:
mode:
authorBen Sima <ben@bensima.com>2025-12-12 19:31:24 -0500
committerBen Sima <ben@bensima.com>2025-12-12 19:31:24 -0500
commit5337bac2a2b6436290d37df8a79c1677ea038465 (patch)
tree82d609fc96e6dd0afd18ed500ef1f88707fe654e /Omni/Agent
parentd83457550a972328dab94a7a8a636a03ecd15196 (diff)
Instruct bot to always include text response after tool calls
Diffstat (limited to 'Omni/Agent')
-rw-r--r--Omni/Agent/Telegram.hs6
1 files changed, 5 insertions, 1 deletions
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.