Your lightweight open-source personal agent.
Python agent-frameworkai-agentai-agentschatbotchatopsdiscord-botllm-agentsllmslocal-llmmcpmodel-context-protocolmulti-agentopenai-compatibleopenclawpersonal-ai-assistantpythonself-hostedtelegram-bot-ai-assistantwebuiworkflow-automation
merge origin/main into pr-1563
Re-bine81b6ceb498b
diff --cc nanobot/config/schema.pyindex 15cf2b45e,1f2f94687..e80c8d039--- a/nanobot/config/schema.py+++ b/nanobot/config/schema.py@@@ -198,6 -199,23 +199,8 @@@ class QQConfig(Base)) # Allowed user openids (empty = public access)-class MatrixConfig(Base):- """Matrix (Element) channel configuration."""-- enabled: bool = False- homeserver: str = "https://matrix.org"- access_token: str = ""- user_id: str = "" # e.g. @bot:matrix.org- device_id: str = ""- e2ee_enabled: bool = True # end-to-end encryption support- sync_stop_grace_seconds: int = 2 # graceful sync_forever shutdown timeout- max_media_bytes: int = 20 * 1024 * 1024 # inbound + outbound attachment limit- allow_from: list[str] = Field(default_factory=list)- group_policy: Literal["open", "mention", "allowlist"] = "open"- group_allow_from: list[str] = Field(default_factory=list)- allow_room_mentions: bool = False++class ChannelsConfig(Base):"""Configuration for chat channels."""@@@ -317,25 -333,11 +321,25 @@@ class MCPServerConfig(Base)command: str = "" # Stdio: command to run (e.g. "npx")args: list[str] = Field(default_factory=list) # Stdio: command argumentsenv: dict[str, str] = Field(default_factory=dict) # Stdio: extra env vars- url: str = "" # HTTP: streamable HTTP endpoint URL- headers: dict[str, str] = Field(default_factory=dict) # HTTP: Custom HTTP Headers- tool_timeout: int = 30 # Seconds before a tool call is cancelled+ url: str = "" # HTTP/SSE: endpoint URL+ headers: dict[str, str] = Field(default_factory=dict) # HTTP/SSE: custom headers+ tool_timeout: int = 30 # seconds before a tool call is cancelled+class TTSConfig(Base):+ """Text-to-Speech configuration."""++ provider: str = "edge_tts" # Default TTS provider+ voice: str = "en-US-ChristopherNeural" # Default voice+ speed: float = 1.0 # Voice speed multiplier+++class AudioConfig(Base):+ """Audio configuration."""++ tts: TTSConfig = Field(default_factory=TTSConfig)++class ToolsConfig(Base):"""Tools configuration."""