docs: update docstrings for message metadata and reply fields; fix markdown capability check in format instructions; improve streaming card update logic in Feishu

This commit is contained in:
jxxghp
2026-05-13 08:36:27 +08:00
parent 7b4cb2097b
commit 19526146c5
4 changed files with 13 additions and 8 deletions
+1 -1
View File
@@ -312,7 +312,7 @@ class PromptManager:
根据渠道能力动态生成格式指令
"""
instructions = []
if ChannelCapability.RICH_TEXT not in caps.capabilities:
if ChannelCapability.MARKDOWN not in caps.capabilities:
instructions.append(
"- Formatting: Use **Plain Text ONLY**. The channel does NOT support Markdown."
)