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

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

No files matched your search

+1 -2
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):