feat: unify provider reaction tools

This commit is contained in:
Peter Steinberger
2026-01-07 04:10:13 +01:00
parent 551a8d5683
commit 3afef2d504
41 changed files with 1169 additions and 82 deletions

View File

@@ -45,6 +45,8 @@ export function buildAgentSystemPromptAppend(params: {
image: "Analyze an image with the configured image model",
discord: "Send Discord reactions/messages and manage threads",
slack: "Send Slack messages and manage channels",
telegram: "Send Telegram reactions",
whatsapp: "Send WhatsApp reactions",
};
const toolOrder = [
@@ -68,6 +70,8 @@ export function buildAgentSystemPromptAppend(params: {
"image",
"discord",
"slack",
"telegram",
"whatsapp",
];
const normalizedTools = (params.toolNames ?? [])