Simplify feishu group_policy: default to mention, clean up mention detection

This commit is contained in:
Re-bin
2026-03-12 04:45:57 +00:00
parent 94e9b06086
commit bd1ce8f144
3 changed files with 22 additions and 87 deletions

View File

@@ -48,8 +48,7 @@ class FeishuConfig(Base):
react_emoji: str = (
"THUMBSUP" # Emoji type for message reactions (e.g. THUMBSUP, OK, DONE, SMILE)
)
# Group chat settings
group_policy: Literal["open", "mention"] = "open" # Group response policy (default: open for backward compatibility)
group_policy: Literal["open", "mention"] = "mention" # "mention" responds when @mentioned, "open" responds to all
class DingTalkConfig(Base):