multica/apps/gateway
Jiayuan Zhang 81998e6309 fix(telegram): skip tool narration messages, only send final answer
When the agent uses tools (web search, etc.), it generates intermediate
narration text like "Let me search..." before each tool call. These were
being sent as separate Telegram messages, causing message spam. Now we
detect tool_use blocks in the message content and skip sending those
intermediate messages — only the final answer reaches the user.

Applied to both Desktop channel plugin and Gateway Telegram service.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-14 02:04:17 +08:00
..
database refactor: restructure to monorepo architecture 2026-02-10 18:00:23 +08:00
migrations refactor: restructure to monorepo architecture 2026-02-10 18:00:23 +08:00
public refactor: restructure to monorepo architecture 2026-02-10 18:00:23 +08:00
scripts fix(gateway): rewrite Dockerfile to match current source layout 2026-02-12 13:27:41 +08:00
telegram fix(telegram): skip tool narration messages, only send final answer 2026-02-14 02:04:17 +08:00
app.controller.ts refactor: restructure to monorepo architecture 2026-02-10 18:00:23 +08:00
app.module.ts refactor: restructure to monorepo architecture 2026-02-10 18:00:23 +08:00
Dockerfile fix(gateway): rewrite Dockerfile to match current source layout 2026-02-12 13:27:41 +08:00
events.gateway.ts refactor: restructure to monorepo architecture 2026-02-10 18:00:23 +08:00
gateway.module.ts refactor: restructure to monorepo architecture 2026-02-10 18:00:23 +08:00
index.ts refactor: restructure to monorepo architecture 2026-02-10 18:00:23 +08:00
main.ts fix(gateway): enable CORS for HTTP endpoints 2026-02-14 00:42:29 +08:00
package.json refactor: restructure to monorepo architecture 2026-02-10 18:00:23 +08:00
test-app.ts refactor: restructure to monorepo architecture 2026-02-10 18:00:23 +08:00
test-client.ts refactor: restructure to monorepo architecture 2026-02-10 18:00:23 +08:00
tsconfig.json refactor: restructure to monorepo architecture 2026-02-10 18:00:23 +08:00
types.ts refactor: restructure to monorepo architecture 2026-02-10 18:00:23 +08:00