Skip to content

Your lightweight open-source personal agent.

Merge branch 'main' into pr-1389

Re-bin8aa754cd2e7d
diff --cc nanobot/config/schema.py
index 69cf82671,803cb6139..3c5e315be
--- a/nanobot/config/schema.py
+++ b/nanobot/config/schema.py
@@@ -29,9 -29,10 +29,11 @@@ class TelegramConfig(Base)
enabled: bool = False
token: str = "" # Bot token from @BotFather
allow_from: list[str] = Field(default_factory=list) # Allowed user IDs or usernames
- proxy: str | None = None # HTTP/SOCKS5 proxy URL, e.g. "http://127.0.0.1:7890" or "socks5://127.0.0.1:1080"
+ proxy: str | None = (
+ None # HTTP/SOCKS5 proxy URL, e.g. "http://127.0.0.1:7890" or "socks5://127.0.0.1:1080"
+ )
reply_to_message: bool = False # If true, bot replies quote the original message
+ group_policy: Literal["open", "mention"] = "open" # "open" responds to all, "mention" only when @mentioned or replied to
class FeishuConfig(Base):