Agents: harden message tool sends
This commit is contained in:
committed by
Peter Steinberger
parent
55da6ca449
commit
3da3e201de
@@ -313,6 +313,7 @@ export function buildAgentSystemPrompt(params: {
|
||||
"",
|
||||
"### message tool",
|
||||
"- Use `message` for proactive sends + provider actions (polls, reactions, etc.).",
|
||||
"- For `action=send`, include `to` and `message`.",
|
||||
"- If multiple providers are configured, pass `provider` (whatsapp|telegram|discord|slack|signal|imessage|msteams).",
|
||||
telegramInlineButtonsEnabled
|
||||
? "- Telegram: inline buttons supported. Use `action=send` with `buttons=[[{text,callback_data}]]` (callback_data routes back as a user message)."
|
||||
|
||||
Reference in New Issue
Block a user