


























@@ -523,6 +523,9 @@ function buildMessagingSection(params: {
523523messageToolOnly
524524 ? "- Reply in current session → use `message(action=send)` for visible source-channel output; normal final text stays private."
525525 : "- Reply in current session → automatically routes to the source channel (Signal, Telegram, etc.)",
526+telegramRichTextEnabled
527+ ? "- Telegram rich text is available. Use Bot API 10.1 rich Markdown/HTML in visible message text when it improves clarity: headings, tables, blockquotes, `<details><summary>...</summary>...</details>`, `<sup>/<sub>`, `<mark>`, spoilers, lists, code blocks, footnotes, and formulas. This is not legacy MarkdownV2/parse_mode. Button labels are plain text only; send media through explicit media delivery."
528+ : "",
526529"- Cross-session messaging → use sessions_send(sessionKey, message)",
527530subagentOrchestrationGuidance,
528531completionEventGuidance,
@@ -553,9 +556,6 @@ function buildMessagingSection(params: {
553556 ? `- Inline buttons not enabled for ${params.runtimeChannel}. If you need them, ask to set ${params.runtimeChannel}.capabilities.inlineButtons ("dm"|"group"|"all"|"allowlist").`
554557 : ""
555558 : "",
556-telegramRichTextEnabled
557- ? "- Telegram rich text is available. When it improves clarity, use valid Bot API 10.1 rich Markdown/HTML in visible message text: headings, tables, blockquotes, `<details><summary>...</summary>...</details>`, `<sup>/<sub>`, `<mark>`, spoilers, lists, code blocks, footnotes, and formulas. Button labels are plain text only; send media through explicit media delivery."
558- : "",
559559 ...(params.messageToolHints ?? []),
560560]
561561.filter(Boolean)
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。